pvp
Reconstructed91.4% of control flow structuredAnchor ◇A8eZ1qbbSJvw9UiBKY76PtCJNM9P18SbtTBWDCDYTzX3decompiled 13 Oct 2026
- Loader
- ■v3 · upgradeable
- sBPF
- ■v3
- Size
- ■1,069,976 bytes
- Instructions
- ●119,369
- Functions
- ●746
- SHA-256
- ●a3d96e72…8288d17d
- Upgrade authority
- ■BmeF…7ZYs
- Last deploy slot
- ■456,472,960
❝ Published by the authors · nothing, so everything here is revrsly outputVerified build · noneIDL · none publishedsecurity.txt · none
Loading the reconstruction…
pseudocode.cfn fn_310b0 · .text+0x310b0 · 172 ins · 44 blocks · 212 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_310b0 · 172 instructions · 2 callers · 8 gotos
2// panic locations in this function: programs/pvp/src/lib.rs:2204, programs/pvp/src/lib.rs:2206, programs/pvp/src/state.rs:342, programs/pvp/src/state.rs:375, library/alloc/src/string.rs:2916
3u64 fn_310b0(u64 r1, u64 r2, u64 r3) {
4
u64 local_1000;
34 r8 = *(u64 *)(r2 + 0x30);
35 r1 = *(u64 *)(r6 + 0x68);
37 r0 = fn_f4cd8(r1, 0, r8, 0);
41 r3 = *(u64 *)(r6 + 0x60);
43 r0 = fn_f4cd8(r8, 0, r3, 0);
56 r0 = fn_f7128(r0, r2, 0xe8d4a51000, 0);
57 r2 = *(u64 *)(r6 + 0x20);
58 r4 = *(u64 *)(r6 + 0x28);
69 r0 = fn_ea788(&Location("programs/pvp/src/state.rs:375:25"), r2, r3, r4, r5);■ string · 32 B
72 r3 = *(u64 *)(r6 + 0x38);
80 r0 = fn_ea738(&Location("programs/pvp/src/state.rs:375:9"), r2, r3, r4, r5);■ string · 31 B
82 *(u64 *)(r6 + 0x38) = r1;
85 r0 = fn_ea788(&Location("programs/pvp/src/lib.rs:2204:5"), r2, r3, r4, r5);■ string · 30 B
88 *(u64 *)(r6 + 0x30) = r9;
91 r0 = fn_344d0(&local_fc8, 0xb00); // .rodata+0xb00
95 local_ff0 = 0xc900; // .rodata+0xc900
96 local_ff8 = &local_fe0;
97 local_fe8 = 0x60000020;
98 r0 = fn_791e8(0xb00, &local_ff8, r3, r4, r5); // .rodata+0xb00
100 r0 = fn_e8b10("a Display implementation returned an error unexpectedly", 0x37, &local_1000, 0xc930, &Location("library/alloc/src/string.rs:2916:14")); // .rodata+0xc930■ string · 55 B
102 local_f68 = local_fd0;
103 local_f70 = local_fd8;
104 local_f78 = local_fe0;
105 local_f90 = local_fc8;
106 local_f88 = local_fc0;
107 local_f80 = local_fb8;
108 local_fa8 = 0xca0; // .rodata+0xca0
109 local_f18 = 0x178e; // custom Anchor error 6030 (#30)?
114 r0 = fn_d52d8(&local_fb0);
119 r1 = *(u64 *)(r3 + 0x90);
121 r0 = fn_ea788(&Location("programs/pvp/src/lib.rs:2206:5"), r2, r3, r4, r5);■ string · 30 B
123 *(u64 *)(r3 + 0x90) = r1 - r2;
124 r0 = fn_f4cd8(local_ef0, 0, r9, 0);
127 r0 = fn_f4cd8(r9, 0, local_ef8, 0);
136 r0 = fn_ea760(&Location("programs/pvp/src/state.rs:342:9"), r2, r3, r4, r5);■ string · 31 B
138 r0 = fn_f7128(r0, r2, 0xe8d4a51000, 0);
139 *(u64 *)(r6 + 0x28) = r1;
140 *(u64 *)(r6 + 0x20) = r0;
147 r0 = fn_ea760(&Location("programs/pvp/src/state.rs:342:9"), r2, r3, r4, r5);■ string · 31 B
149 r0 = fn_f7128(r0, r2, 0xe8d4a51000, 0);
150 *(u64 *)(r6 + 0x28) = r1;
151 *(u64 *)(r6 + 0x20) = r0;
159 r0 = fn_f7128(r0, r2, 0xe8d4a51000, 0);
160 *(u64 *)(r6 + 0x28) = r1;
161 *(u64 *)(r6 + 0x20) = r0;
165 r0 = fn_ea760(&Location("programs/pvp/src/state.rs:342:9"), r2, r3, r4, r5);■ string · 31 B
170 r0 = fn_ea760(&Location("programs/pvp/src/state.rs:342:9"), r2, r3, r4, r5);■ string · 31 B
172 r0 = fn_f7128(r0, r2, 0xe8d4a51000, 0);
173 *(u64 *)(r6 + 0x28) = r1;
174 *(u64 *)(r6 + 0x20) = r0;
182 r0 = fn_ea788(&Location("programs/pvp/src/state.rs:375:25"), r2, r3, r4, r5);■ string · 32 B
184 goto L_31248;● kept as goto
189 goto L_31238;● kept as goto
191 goto L_31458;● kept as goto
194 goto L_31448;● kept as goto
196 goto L_31230;● kept as goto
198 r0 = fn_ea760(&Location("programs/pvp/src/state.rs:342:9"), r2, r3, r4, r5);■ string · 31 B
204 r0 = fn_ea760(&Location("programs/pvp/src/state.rs:342:9"), r2, r3, r4, r5);■ string · 31 B
206 goto L_311d8;● kept as goto
209 goto L_311b0;● kept as goto
211 goto L_31178;● kept as goto