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