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…
pvp · revrsly1// 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
3fn fn_310b0(mut r1: u64, mut r2: u64
,
mut
r3:
u64
) ->
u64
{
4 let mut local_1000: u64 = 0;
5 let mut local_ff8: u64 = 0;
6 let mut local_ff0: u64 = 0;
7 let mut local_fe8: u64 = 0;
8 let mut local_fe0: u64 = 0;
9 let mut local_fd8: u64 = 0;
10 let mut local_fd0: u64 = 0;
11 let mut local_fc8: u64 = 0;
12 let mut local_fc0: u64 = 0;
13 let mut local_fb8: u64 = 0;
14 let mut local_fb0: u64 = 0;
15 let mut local_fa8: u64 = 0;
16 let mut local_fa0: u64 = 0;
17 let mut local_f98: u32 = 0;
18 let mut local_f90: u64 = 0;
19 let mut local_f88: u64 = 0;
20 let mut local_f80: u64 = 0;
21 let mut local_f78: u64 = 0;
22 let mut local_f70: u64 = 0;
23 let mut local_f68: u64 = 0;
24 let mut local_f60: u8 = 0;
25 let mut local_f18: u32 = 0;
26 let mut local_f10: u64 = 0;
27 let mut local_f08: u64 = 0;
28 let mut local_f00: u64 = 0;
29 let mut local_ef8: u64 = 0;
30 let mut local_ef0: u64 = 0;
34 r8 = *((r2 + 0x30) as *const u64);
35 r1 = *((r6 + 0x68) as *const u64);
37 r0 = fn_f4cd8(r1, 0, r8, 0);
41 r3 = *((r6 + 0x60) as *const u64);
43 r0 = fn_f4cd8(r8, 0, r3, 0);
56 r0 = fn_f7128(r0, r2, 0xe8d4a51000, 0);
57 r2 = *((r6 + 0x20) as *const u64);
58 r4 = *((r6 + 0x28) as *const u64);
69 r0 = fn_ea788(&Location("programs/pvp/src/state.rs:375:25"), r2, r3, r4, r5);■ string · 32 B
72 r3 = *((r6 + 0x38) as *const u64);
80 r0 = fn_ea738(&Location("programs/pvp/src/state.rs:375:9"), r2, r3, r4, r5);■ string · 31 B
82 *((r6 + 0x38) as *mut u64) = r1;
85 r0 = fn_ea788(&Location("programs/pvp/src/lib.rs:2204:5"), r2, r3, r4, r5);■ string · 30 B
88 *((r6 + 0x30) as *mut u64) = 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 = *((r3 + 0x90) as *const u64);
121 r0 = fn_ea788(&Location("programs/pvp/src/lib.rs:2206:5"), r2, r3, r4, r5);■ string · 30 B
123 *((r3 + 0x90) as *mut u64) = 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 *((r6 + 0x28) as *mut u64) = r1;
140 *((r6 + 0x20) as *mut u64) = 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 *((r6 + 0x28) as *mut u64) = r1;
151 *((r6 + 0x20) as *mut u64) = r0;
159 r0 = fn_f7128(r0, r2, 0xe8d4a51000, 0);
160 *((r6 + 0x28) as *mut u64) = r1;
161 *((r6 + 0x20) as *mut u64) = 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 *((r6 + 0x28) as *mut u64) = r1;
174 *((r6 + 0x20) as *mut u64) = r0;
182 r0 = fn_ea788(&Location("programs/pvp/src/state.rs:375:25"), r2, r3, r4, r5);■ string · 32 B
184 /* continues at L_31248; not expressible as structured Rust */● an edge Rust can't hold
189 /* continues at L_31238; not expressible as structured Rust */● an edge Rust can't hold
191 /* continues at L_31458; not expressible as structured Rust */● an edge Rust can't hold
194 /* continues at L_31448; not expressible as structured Rust */● an edge Rust can't hold
196 /* continues at L_31230; not expressible as structured Rust */● an edge Rust can't hold
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 /* continues at L_311d8; not expressible as structured Rust */● an edge Rust can't hold
209 /* continues at L_311b0; not expressible as structured Rust */● an edge Rust can't hold
211 /* continues at L_31178; not expressible as structured Rust */● an edge Rust can't hold