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_ed2b8 · .text+0xed2b8 · 900 ins · 223 blocks · 929 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_ed2b8 · 900 instructions · 1 caller · 50 gotos
2// panic locations in this function: library/core/src/num/bignum.rs:388, library/core/src/num/flt2dec/strategy/dragon.rs:267, library/core/src/num/flt2dec/strategy/dragon.rs:268, library/core/src/num/flt2dec/strategy/dragon.rs:269, library/core/src/num/flt2dec/strategy/dragon.rs:370, library/core/src/num/flt2dec/strategy/dragon.rs:375, library/core/src/num/flt2dec/strategy/dragon.rs:388, library/core/src/num/flt2dec/strategy/dragon.rs:358, library/core/src/num/flt2dec/strategy/dragon.rs:332, library/core/src/num/flt2dec/strategy/dragon.rs:271, library/core/src/num/flt2dec/strategy/dragon.rs:270
3u64 fn_ed2b8(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) {
45 r0 = fn_e8e78("assertion failed: d.mant > 0", 0x1c, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:267:5"), r4, r5);■ string · 28 B
47 r0 = *(u64 *)(r2 + 8);
49 r0 = fn_e8e78("assertion failed: d.minus > 0", 0x1d, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:268:5"), r4, r5);■ string · 29 B
51 r4 = *(u64 *)(r2 + 0x10);
53 r0 = fn_e8e78("assertion failed: d.plus > 0", 0x1c, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:269:5"), r4, r5);■ string · 28 B
57 r0 = fn_e8e78("assertion failed: d.mant.checked_add(d.plus).is_some()", 0x36, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:270:5"), r4, r5);■ string · 54 B
60 r0 = fn_e8e78("assertion failed: d.mant.checked_sub(d.minus).is_some()", 0x37, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:271:5"), r4, r5);■ string · 55 B
64 r8 = *(u16 *)(r2 + 0x18) << 0x30;
74 r2 = (r2 | r2 >> 0x20) ^ -1;
75 r2 -= (r2 >> 1 & 0x5555555555555555); // text "UUUUUUUU"
76 r3 = 0x3333333333333333;
77 r6 = (r2 & r3) + (r2 >> 2 & r3);
78 r6 = (r6 + (r6 >> 4) & 0xf0f0f0f0f0f0f0f) * 0x101010101010101 >> 0x38;
89 r0 = fn_f4cb0(&local_d58, 0, 0x98);
90 r0 = fn_f4cb0(&local_e04, 0, 0x9c);
91 r6 = (r8 - r6) * 0x4d104d42 + 0x1344135080 >> 0x20;
95 r8 = sar64(neg64(r8) << 0x30, 0x30);
100 r0 = fn_e5c50(r1, r8, r3, r4, r5);
102 if ((i64)sar64(r6 << 0x30, 0x30) <= -1) {
103 r2 = neg64(r2) & 0xffff;
109 r0 = fn_f10f0(r1, r2, r3, r4, r5);
110 r0 = fn_f4c90(&local_1000, &local_e08, 0xa8);
130 r3 = r3 << 0x20 | *(u32 *)(r4);
131 r5 = r3 / 0x3b9aca00;
141 goto L_ed6b8;● kept as goto
143 r0 = fn_e9c88(0, r2, 0x28, &Location("library/core/src/num/bignum.rs:388:1"), r5);■ string · 36 B
146 r1 = *(u32 *)(0xbff0 + (r1 << 2)) << 1 << 0x20 >> 0x20; // .rodata+0xbff0
148 r0 = fn_e8e78("assertion failed: other > 0", 0x1b, &Location("library/core/src/num/bignum.rs:388:1"), r4, r5);■ string · 27 B
167 r3 = r3 << 0x20 | *(u32 *)(r4);
183 goto L_ed850;● kept as goto
204 r1 = &local_e08 + r4;
206 r1 = *(u32 *)(r1 - 4);
218 r3 = sar64(local_c88 << 0x30, 0x30);
219 r5 = sar64(r6 << 0x30, 0x30);
220 local_cb0 = &local_d64;
221 local_ca8 = &local_e0c;
238 r0 = fn_e9c88(0, r9, 0x28, &Location("library/core/src/num/bignum.rs:388:1"), r5);■ string · 36 B
259 r0 = fn_e8bc0(r1, r9, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:370:36"), r4, r5);■ string · 54 B
261 if ((*(u8 *)(r8 + r1) & 1) != 0) {
264 r0 = fn_e9c88(0, r7, r9, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:375:47"), r5);■ string · 54 B
275 if (*(u8 *)(r2 - 1) == 0x39) {
279 *(u8 *)(r1) = *(u8 *)(r1) + 1;
280 r0 = fn_f4cb0(r1 + 1, 0x30, r3 + -1);
288 r0 = fn_f4cb0(r1 + 1, 0x30, r7 + -1);
290 local_ca0 = local_ca0 + 1;
291 if ((i64)local_c70 >= local_c78) {
303 r0 = fn_e9c88(0, r7, r9, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:388:18"), r5);■ string · 54 B
308 *(u16 *)(r2 + 0x10) = r6;
309 *(u64 *)(r2 + 8) = r1;
324 r0 = fn_e9c88(0, r7, r9, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:388:18"), r5);■ string · 54 B
328 *(u16 *)(r2 + 0x10) = r6;
329 *(u64 *)(r2 + 8) = r1;
334 goto L_eeb60;● kept as goto
336 goto L_eeb08;● kept as goto
341 goto L_eeac8;● kept as goto
343 goto L_eeb08;● kept as goto
347 goto L_eeae8;● kept as goto
349 goto L_eeab0;● kept as goto
359 r0 = *(u32 *)(r5) * 5 + r6;
373 r0 = fn_e8bc0(0x28, 0x28, &Location("library/core/src/num/bignum.rs:388:1"), r4, r5);■ string · 36 B
378 goto L_eea00;● kept as goto
381 if ((r5 - r3) < r2) {
382 r5 = sar64(r6 - local_c88 << 0x30, 0x30);
389 goto L_ee950;● kept as goto
391 goto L_eea00;● kept as goto
399 r0 = fn_f4c90(r6, r7, 0xa8);
400 r0 = fn_e5c50(r6, 1, r3, r4, r5);
402 r0 = fn_f4c90(r6, r7, 0xa8);
403 r0 = fn_e5c50(r6, 2, r3, r4, r5);
405 r0 = fn_f4c90(r6, r7, 0xa8);
406 r0 = fn_e5c50(r6, 3, r3, r4, r5);
410 local_c30 = local_e10;
411 local_c38 = local_eb8;
412 local_c40 = local_f60;
414 local_c68 = &local_eb4;
435 r0 = fn_e9c88(r1, r4, r3, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:332:34"), r5);■ string · 54 B
439 r0 = fn_f4cb0(r6 + r1, 0x30, r4 - r1);
443 *(u16 *)(r1 + 0x10) = local_ca0;
444 *(u64 *)(r1 + 8) = r4;
463 r1 = *(u32 *)(r6) + (*(u32 *)(r4) ^ 0xffffffff);
464 r7 = r1 << 0x20 >> 0x20;
470 if ((r7 << 0x20 >> 0x20) != r7) {
484 goto L_edf78;● kept as goto
487 goto L_ee010;● kept as goto
543 if (r3 != local_c98) {
544 *(u8 *)(local_c90 + r3) = r7 + 0x30;
564 goto L_eea00;● kept as goto
566 goto L_ee950;● kept as goto
574 r0 = *(u32 *)(r4) * 0xa + r6;
601 goto L_ee7b8;● kept as goto
603 r0 = fn_e8bc0(0x28, 0x28, &Location("library/core/src/num/bignum.rs:388:1"), r4, r5);■ string · 36 B
606 r0 = fn_e8bc0(r1, r1, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:358:13"), r4, r5);■ string · 54 B
615 r2 = *(u32 *)(r6) + (*(u32 *)(r4) ^ 0xffffffff);
616 r7 = r2 << 0x20 >> 0x20;
622 if ((r7 << 0x20 >> 0x20) != r7) {
630 if (r3 >= local_cb8) {
636 goto L_ee598;● kept as goto
639 goto L_ee638;● kept as goto
645 goto L_ee6a0;● kept as goto
647 r0 = fn_e8e78("assertion failed: noborrow", 0x1a, &Location("library/core/src/num/bignum.rs:388:1"), r4, r5);■ string · 26 B
660 goto L_ee548;● kept as goto
663 goto L_ee6b0;● kept as goto
665 r0 = fn_e9c88(0, r2, 0x28, &Location("library/core/src/num/bignum.rs:388:1"), r5);■ string · 36 B
668 goto L_ee4d0;● kept as goto
676 r4 = *(u32 *)(r6) + (*(u32 *)(r3) ^ 0xffffffff);
677 r7 = r4 << 0x20 >> 0x20;
683 if ((r7 << 0x20 >> 0x20) != r7) {
691 if (r2 >= local_cb8) {
697 goto L_ee398;● kept as goto
700 goto L_ee438;● kept as goto
706 goto L_ee4a0;● kept as goto
708 r0 = fn_e8e78("assertion failed: noborrow", 0x1a, &Location("library/core/src/num/bignum.rs:388:1"), r4, r5);■ string · 26 B
710 r1 = &local_d60 + r2;
714 r0 = *(u32 *)(r1 - 4);
721 goto L_ee4b0;● kept as goto
723 goto L_ee348;● kept as goto
725 r0 = fn_e9c88(0, r2, 0x28, &Location("library/core/src/num/bignum.rs:388:1"), r5);■ string · 36 B
729 goto L_ee2d8;● kept as goto
737 r3 = *(u32 *)(r6) + (*(u32 *)(r4) ^ 0xffffffff);
738 r7 = r3 << 0x20 >> 0x20;
744 if ((r7 << 0x20 >> 0x20) != r7) {
752 if (r2 >= local_cb8) {
758 goto L_ee198;● kept as goto
761 goto L_ee238;● kept as goto
767 goto L_ee2a0;● kept as goto
769 r0 = fn_e8e78("assertion failed: noborrow", 0x1a, &Location("library/core/src/num/bignum.rs:388:1"), r4, r5);■ string · 26 B
771 r1 = &local_d60 + r4;
775 r0 = *(u32 *)(r1 - 4);
782 goto L_ee148;● kept as goto
789 goto L_ee2d0;● kept as goto
792 goto L_ee2d8;● kept as goto
794 r0 = fn_e9c88(0, r4, 0x28, &Location("library/core/src/num/bignum.rs:388:1"), r5);■ string · 36 B
797 goto L_ee0a8;● kept as goto
799 r0 = fn_e8e78("assertion failed: noborrow", 0x1a, &Location("library/core/src/num/bignum.rs:388:1"), r4, r5);■ string · 26 B
801 r1 = &local_d60 + r4;
805 r0 = *(u32 *)(r1 - 4);
813 goto L_ee088;● kept as goto
815 goto L_edf40;● kept as goto
817 r0 = fn_e9c88(0, r3, 0x28, &Location("library/core/src/num/bignum.rs:388:1"), r5);■ string · 36 B
820 goto L_edec0;● kept as goto
822 r0 = fn_e9c88(0, r2, 0x28, &Location("library/core/src/num/bignum.rs:388:1"), r5);■ string · 36 B
824 goto L_ee818;● kept as goto
829 goto L_ee930;● kept as goto
831 goto L_edcb8;● kept as goto
834 goto L_edb30;● kept as goto
843 goto L_edbc8;● kept as goto
851 r5 = *(u32 *)(r4) * 0xa + r0;
865 goto L_edbb8;● kept as goto
871 goto L_edbb8;● kept as goto
873 r0 = fn_e8bc0(0x28, 0x28, &Location("library/core/src/num/bignum.rs:388:1"), r4, r5);■ string · 36 B
875 r0 = fn_e9c88(0, r4, 0x28, &Location("library/core/src/num/bignum.rs:388:1"), r5);■ string · 36 B
883 r3 = *(u32 *)(r1) + *(u32 *)(r4);
884 r9 = r3 << 0x20 >> 0x20;
890 if ((r9 << 0x20 >> 0x20) != r9) {
904 goto L_ed8b0;● kept as goto
907 goto L_ed938;● kept as goto
912 *(u32 *)(&local_1000 + (r2 << 2)) = 1;
919 goto L_ed9f0;● kept as goto
921 goto L_ed9f8;● kept as goto
923 r0 = fn_e8bc0(0x28, 0x28, &Location("library/core/src/num/bignum.rs:388:1"), r4, r5);■ string · 36 B
925 goto L_ed9d0;● kept as goto
928 r0 = fn_e9c88(0, r2, 0x28, &Location("library/core/src/num/bignum.rs:388:1"), r5);■ string · 36 B