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…
1// fn_5e6f8 · 505 instructions · 4 callers · 112 gotos
2// panic locations in this function: programs/pvp/src/names.rs:35
3fn fn_5e6f8(mut r1: u64, mut r2: u64, mut r3: u64
) ->
u64
{
4 let mut local_1000: u64 = 0;
5 let mut local_ffc: u32 = 0;
6 let mut local_ff8: u32 = 0;
7 let mut local_ff0: u64 = 0;
8 let mut local_fe8: u64 = 0;
9 let mut local_fe0: 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: u64 = 0;
28 *((r2 + 0x10) as *mut u64) = local_fc0;
29 *((r2 + 8) as *mut u64) = local_fc8;
30 *((r2) as *mut u64) = local_fd0;
35 r1 = *((0x300000000) as *const u64);
50 if r0 <= 0x300000007 {
51 r0 = fn_e2de8(r1, r3, r3, r4, r5);
54 *((0x300000000) as *mut u64) = r0;
59 local_fa0 = &local_fe0;
64 r2 = sar64(*((r6) as *const u8) << 0x38, 0x38);
65 if (r2 as i64) <= -1 {
66 r1 = *((r6 + 1) as *const u8) & 0x3f;
71 if (r2 + -0xff01) < 0x5e {
76 r0 = fn_eabf8(&local_1000, r2);
81 *((r3 + 8) as *mut u32) = local_ff8;
82 *((r3) as *mut u64) = local_1000;
86 r0 = fn_f2d48(&local_ff0);
88 r0 = r0 << 0x20 >> 0x20;
89 if (r0 as i64) > 0x3c8 {
90 if (r0 as i64) <= 0x441 {
91 if (r0 as i64) <= 0x439 {
92 if (r0 as i64) <= 0x42f {
96 if (r7 + -0x30) >= 0xa {
98 if ((r7 & 0x5f) + -0x41) >= 0x1a {
107 if r8 > (local_fd0 - r9) {
108 r0 = fn_18d8(&local_fd0, r9, r8, 1, 1);
109 local_fb8 = local_fc8;
110 r1 = local_fb8 + local_fc0;
113 *((r1) as *mut u8) = r7;
116 r3 = r7 & 0x3f | -0x80;
120 r2 = r2 & 0x3f | -0x80;
122 r7 = r7 >> 0x12 | -0x10;
123 *((r1 + 3) as *mut u8) = r3;
124 *((r1 + 2) as *mut u8) = r2;
125 *((r1 + 1) as *mut u8) = r4 & 0x3f | -0x80;
126 /* continues at L_5ef08; not expressible as structured Rust */● an edge Rust can't hold
128 *((r1 + 2) as *mut u8) = r3;
129 *((r1 + 1) as *mut u8) = r2;
130 *((r1) as *mut u8) = r4 | 0xe0;
133 *((r1 + 1) as *mut u8) = r3;
134 *((r1) as *mut u8) = r2 | 0xc0;
140 /* continues at L_5ef08; not expressible as structured Rust */● an edge Rust can't hold
142 /* continues at L_5f538; not expressible as structured Rust */● an edge Rust can't hold
148 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
170 /* continues at L_5f500; not expressible as structured Rust */● an edge Rust can't hold
173 /* continues at L_5f698; not expressible as structured Rust */● an edge Rust can't hold
179 /* continues at L_5f500; not expressible as structured Rust */● an edge Rust can't hold
189 /* continues at L_5f600; not expressible as structured Rust */● an edge Rust can't hold
193 if (r7 + -0x30) >= 0xa {
194 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
196 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
202 if (r7 + -0x30) >= 0xa {
203 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
205 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
212 if (r7 + -0x30) < 0xa {
213 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
215 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
221 if (r7 + -0x30) >= 0xa {
222 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
224 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
228 /* continues at L_5f400; not expressible as structured Rust */● an edge Rust can't hold
231 r7 = 0x65; // Anchor error 101 InstructionFallbackNotFound?
232 if (r7 + -0x30) >= 0xa {
233 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
235 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
242 if (r0 as i64) > 0x43d {
246 if (r7 + -0x30) >= 0xa {
247 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
249 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
255 if (r7 + -0x30) >= 0xa {
256 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
258 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
262 /* continues at L_5f2e8; not expressible as structured Rust */● an edge Rust can't hold
264 /* continues at L_5f400; not expressible as structured Rust */● an edge Rust can't hold
272 if (r7 + -0x30) >= 0xa {
273 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
275 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
280 if (r7 + -0x30) >= 0xa {
281 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
283 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
289 if (r7 + -0x30) >= 0xa {
290 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
292 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
295 /* continues at L_5f400; not expressible as structured Rust */● an edge Rust can't hold
303 if (r0 as i64) > 0x474 {
304 if (r0 as i64) > 0x51a {
307 /* continues at L_5f4b0; not expressible as structured Rust */● an edge Rust can't hold
310 /* continues at L_5f3b0; not expressible as structured Rust */● an edge Rust can't hold
313 /* continues at L_5f400; not expressible as structured Rust */● an edge Rust can't hold
320 if (r7 + -0x30) >= 0xa {
321 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
323 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
327 /* continues at L_5f338; not expressible as structured Rust */● an edge Rust can't hold
330 /* continues at L_5f400; not expressible as structured Rust */● an edge Rust can't hold
332 r7 = 0x64; // Anchor error 100 InstructionMissing?
333 if (r7 + -0x30) >= 0xa {
334 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
336 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
343 if (r0 as i64) > 0x454 {
347 if (r7 + -0x30) >= 0xa {
348 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
350 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
356 if (r7 + -0x30) >= 0xa {
357 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
359 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
363 /* continues at L_5f400; not expressible as structured Rust */● an edge Rust can't hold
366 if (r7 + -0x30) >= 0xa {
367 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
369 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
378 if (r7 + -0x30) >= 0xa {
379 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
381 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
387 if (r7 + -0x30) >= 0xa {
388 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
390 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
396 if (r7 + -0x30) >= 0xa {
397 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
399 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
402 /* continues at L_5f400; not expressible as structured Rust */● an edge Rust can't hold
409 if (r0 as i64) <= 0x3b1 {
410 if (r0 as i64) <= 0x36 {
411 if (r0 as i64) <= 0x32 {
413 /* continues at L_5f2b0; not expressible as structured Rust */● an edge Rust can't hold
416 /* continues at L_5f400; not expressible as structured Rust */● an edge Rust can't hold
418 /* continues at L_5f288; not expressible as structured Rust */● an edge Rust can't hold
423 /* continues at L_5f0e0; not expressible as structured Rust */● an edge Rust can't hold
426 /* continues at L_5f4b0; not expressible as structured Rust */● an edge Rust can't hold
429 /* continues at L_5f388; not expressible as structured Rust */● an edge Rust can't hold
431 /* continues at L_5f400; not expressible as structured Rust */● an edge Rust can't hold
437 if (r0 as i64) > 0x250 {
439 /* continues at L_5f4b0; not expressible as structured Rust */● an edge Rust can't hold
442 r7 = 0x67; // Anchor error 103 InstructionDidNotSerialize?
443 if (r7 + -0x30) >= 0xa {
444 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
446 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
450 /* continues at L_5f4b0; not expressible as structured Rust */● an edge Rust can't hold
452 /* continues at L_5f400; not expressible as structured Rust */● an edge Rust can't hold
458 /* continues at L_5f230; not expressible as structured Rust */● an edge Rust can't hold
461 /* continues at L_5f208; not expressible as structured Rust */● an edge Rust can't hold
464 /* continues at L_5f288; not expressible as structured Rust */● an edge Rust can't hold
466 /* continues at L_5f400; not expressible as structured Rust */● an edge Rust can't hold
473 if (r0 as i64) > 0x3bc {
474 if (r0 as i64) > 0x3c3 {
476 /* continues at L_5f230; not expressible as structured Rust */● an edge Rust can't hold
480 if (r7 + -0x30) >= 0xa {
481 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
483 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
487 /* continues at L_5f400; not expressible as structured Rust */● an edge Rust can't hold
489 /* continues at L_5f1e0; not expressible as structured Rust */● an edge Rust can't hold
495 /* continues at L_5f3d8; not expressible as structured Rust */● an edge Rust can't hold
498 /* continues at L_5f2b0; not expressible as structured Rust */● an edge Rust can't hold
501 /* continues at L_5f360; not expressible as structured Rust */● an edge Rust can't hold
503 /* continues at L_5f400; not expressible as structured Rust */● an edge Rust can't hold
509 if (r0 as i64) > 0x3b6 {
512 if (r7 + -0x30) >= 0xa {
513 /* continues at L_5f4c8; not expressible as structured Rust */● an edge Rust can't hold
515 /* continues at L_5f4e8; not expressible as structured Rust */● an edge Rust can't hold
519 /* continues at L_5f288; not expressible as structured Rust */● an edge Rust can't hold
522 /* continues at L_5f400; not expressible as structured Rust */● an edge Rust can't hold
524 /* continues at L_5f1a0; not expressible as structured Rust */● an edge Rust can't hold
530 /* continues at L_5f208; not expressible as structured Rust */● an edge Rust can't hold
533 /* continues at L_5f310; not expressible as structured Rust */● an edge Rust can't hold
536 /* continues at L_5f0e0; not expressible as structured Rust */● an edge Rust can't hold
538 /* continues at L_5f400; not expressible as structured Rust */● an edge Rust can't hold
552 *((r2 + 0x10) as *mut u64) = local_fc0;
553 *((r2 + 8) as *mut u64) = local_fc8;
554 *((r2) as *mut u64) = local_fd0;
559 /* continues at L_5ee90; not expressible as structured Rust */● an edge Rust can't hold
562 /* continues at L_5ee90; not expressible as structured Rust */● an edge Rust can't hold
569 r3 = r2 << 0x20 >> 0x20;
571 if *((0x1130 + (r4 << 3)) as *const u32) > r3 {
575 if *((0x1130 + (r4 << 3)) as *const u32) > r3 {
579 if *((0x1130 + (r4 << 3)) as *const u32) > r3 {
583 if *((0x1130 + (r4 << 3)) as *const u32) > r3 {
587 if *((0x1130 + (r4 << 3)) as *const u32) > r3 {
591 if *((0x1130 + (r4 << 3)) as *const u32) > r3 {
595 if *((0x1130 + (r4 << 3)) as *const u32) > r3 {
599 if *((0x1130 + (r4 << 3)) as *const u32) > r3 {
603 if *((0x1130 + (r4 << 3)) as *const u32) > r3 {
607 if *((0x1130 + (r4 << 3)) as *const u32) > r3 {
609 r5 = *((0x1130 + (r1 << 3)) as *const u32); // .rodata+0x1130
614 /* continues at L_5ee38; not expressible as structured Rust */● an edge Rust can't hold
618 r2 = *((0x1130 + (r1 << 3) + 4) as *const u8); // .rodata+0x1130
619 /* continues at L_5ee38; not expressible as structured Rust */● an edge Rust can't hold
624 /* continues at L_5edb0; not expressible as structured Rust */● an edge Rust can't hold
627 /* continues at L_5ed68; not expressible as structured Rust */● an edge Rust can't hold
630 /* continues at L_5ed18; not expressible as structured Rust */● an edge Rust can't hold
633 /* continues at L_5ecc8; not expressible as structured Rust */● an edge Rust can't hold
636 /* continues at L_5ec78; not expressible as structured Rust */● an edge Rust can't hold
639 /* continues at L_5ec28; not expressible as structured Rust */● an edge Rust can't hold
642 /* continues at L_5ebd8; not expressible as structured Rust */● an edge Rust can't hold
645 /* continues at L_5eb88; not expressible as structured Rust */● an edge Rust can't hold
648 /* continues at L_5eb38; not expressible as structured Rust */● an edge Rust can't hold
651 /* continues at L_5eae8; not expressible as structured Rust */● an edge Rust can't hold
654 /* continues at L_5ea98; not expressible as structured Rust */● an edge Rust can't hold
657 /* continues at L_5ea30; not expressible as structured Rust */● an edge Rust can't hold
659 r1 = r1 << 6 | *((r6 + 2) as *const u8) & 0x3f;
664 r1 = r1 << 6 | *((r6 + 3) as *const u8) & 0x3f | r3 << 0x12 & 0x1c0000;
668 if (r2 + -0xff01) >= 0x5e {
669 /* continues at L_5ea18; not expressible as structured Rust */● an edge Rust can't hold
671 /* continues at L_5ee30; not expressible as structured Rust */● an edge Rust can't hold
674 if (r2 + -0xff01) >= 0x5e {
675 /* continues at L_5ea18; not expressible as structured Rust */● an edge Rust can't hold
677 /* continues at L_5ee30; not expressible as structured Rust */● an edge Rust can't hold
679 r0 = fn_e8bc0(0x557, 0x557, &Location("programs/pvp/src/names.rs:35:18"), r4, r5);■ string · 31 B
682 if r0 <= 0x300000007 {
683 r0 = fn_e2de8(r1, r3, r3, r4, r5);
685 /* continues at L_5e868; not expressible as structured Rust */● an edge Rust can't hold
688 /* continues at L_5e848; not expressible as structured Rust */● an edge Rust can't hold
690 /* continues at L_5e7c0; not expressible as structured Rust */● an edge Rust can't hold
692 r0 = fn_e2de8(r1, r3, r3, r4, r5);