Program Tess…GLQH
Reconstructed92.2% of control flow structuredNative ◇TessVdML9pBGgG9yGks7o4HewRaXVAMuoVj4x83GLQHdecompiled 14 Oct 2026
- Loader
- ■v3 · upgradeable
- sBPF
- ■v0
- Size
- ■347,936 bytes
- Instructions
- ●37,198
- Functions
- ●328
- SHA-256
- ●d7709524…4430763f
- Upgrade authority
- ■7bJ9…BPhK
- Last deploy slot
- ■446,053,401
❝ Published by the authors · nothing, so everything here is revrsly outputVerified build · noneIDL · none publishedsecurity.txt · none
Loading the reconstruction…
pseudocode.cfn fn_3a678 · .text+0x3a678 · 915 ins · 250 blocks · 922 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_3a678 · 915 instructions · 1 caller · 43 gotos
2// panic locations in this function: library/core/src/num/flt2dec/strategy/dragon.rs:266, 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:369, library/core/src/num/flt2dec/strategy/dragon.rs:374, library/core/src/num/flt2dec/strategy/dragon.rs:387, library/core/src/num/flt2dec/strategy/dragon.rs:357, library/core/src/num/flt2dec/strategy/dragon.rs:331, library/core/src/num/flt2dec/strategy/dragon.rs:270, library/core/src/num/flt2dec/strategy/dragon.rs:269, library/core/src/num/bignum.rs:428
3u64
fn_3a678(
u64
r1,
u64
r2,
u64
r3,
u64
r4,
u64
r5) {
37 r0 = fn_3ff48("assertion failed: d.mant > 0", 0x1c, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:266:5"), r4, r5);■ string · 28 B
39 r3 = *(u64 *)(r2 + 8);
41 r0 = fn_3ff48("assertion failed: d.minus > 0", 0x1d, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:267:5"), r4, r5);■ string · 29 B
43 r0 = *(u64 *)(r2 + 0x10);
45 r0 = fn_3ff48("assertion failed: d.plus > 0", 0x1c, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:268:5"), r4, r5);■ string · 28 B
53 r0 = fn_3ff48("assertion failed: d.mant.checked_add(d.plus).is_some()", 0x36, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:269:5"), r4, r5);■ string · 54 B
56 r0 = fn_3ff48("assertion failed: d.mant.checked_sub(d.minus).is_some()", 0x37, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:270:5"), r4, r5);■ string · 55 B
59 r6 = *(u16 *)(r2 + 0x18);
67 r2 = (r2 | r2 >> 0x20) ^ -1;
68 r2 -= (r2 >> 1 & 0x5555555555555555); // text "UUUUUUUU"
69 r3 = 0x3333333333333333;
70 r7 = (r2 & r3) + (r2 >> 2 & r3);
71 r7 = (r7 + (r7 >> 4) & 0xf0f0f0f0f0f0f0f) * 0x101010101010101 >> 0x38;
90 r0 = fn_493f8(&local_340, 0, 0x98);
91 r0 = fn_493f8(&local_29c, 0, 0x9c);
95 r8 = (r6 - r7) * 0x4d104d42 + 0x1344135080 >> 0x20;
101 r0 = fn_47020(r1, sar64(r6 << 0x30, 0x30), r3, r4, r5);
102 r3 = sar64(r8 << 0x30, 0x30);
114 r0 = fn_38090(r1, r2 & 0xffff);
117 r0 = fn_490d0(&local_a8, r2, 0xa0);
136 r0 = fn_45270(r1, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
144 r5 = r5 << 0x20 | *(u32 *)(r0);
145 r6 = r5 / 0x3b9aca00;
147 r5 -= r6 * 0x3b9aca00;
154 goto L_3ac60;● kept as goto
157 r4 = *(u32 *)(0x4d5bc + (r2 << 2)); // .rodata+0x12dc
159 r0 = fn_3ff48("assertion failed: other > 0", 0x1b, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 27 B
168 r1 = r1 << 0x20 | *(u32 *)(r5);
195 r9 = *(u32 *)(r4) + *(u32 *)(r2);
196 r8 = r9 << 0x20 >> 0x20;
202 if ((r8 << 0x20 >> 0x20) != r8) {
216 goto L_3ae40;● kept as goto
219 goto L_3af00;● kept as goto
234 r0 = fn_45270(r1, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
240 r1 = &local_2a0 + r2;
242 r1 = *(u32 *)(r1 - 4);
243 r4 = *(u32 *)(r4 - 4);
255 r3 = sar64(r8 << 0x30, 0x30);
256 r4 = sar64(local_360 << 0x30, 0x30);
260 r4 = sar64(r8 - local_360 << 0x30, 0x30);
270 r0 = fn_490d0(r8, r7, 0xa0);
271 local_158 = local_350;
272 r0 = fn_47020(r8, 1, r3, r4, r5);
275 r0 = fn_490d0(r6, r7, 0xa0);
277 r0 = fn_47020(r6, 2, r3, r4, r5);
280 r0 = fn_490d0(r6, r7, 0xa0);
282 r0 = fn_47020(r6, 3, r3, r4, r5);
288 local_3a0 = local_158;
289 local_398 = local_b0;
313 r0 = fn_45270(r3, r9, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:331:34"), r4, r5);■ string · 54 B
316 r0 = fn_493f8(local_358 + r0, 0x30, r3 - r0);
320 *(u16 *)(r2 + 0x10) = r6;
321 *(u64 *)(r2 + 8) = r3;
322 *(u64 *)(r2) = local_358;
326 if (r1 > local_390) {
344 r6 = *(u32 *)(r8) + ((*(u32 *)(r3) ^ -1) << 0x20 >> 0x20);
345 r4 = r6 << 0x20 >> 0x20;
351 if ((r4 << 0x20 >> 0x20) != r4) {
365 goto L_3b510;● kept as goto
368 goto L_3b5c0;● kept as goto
380 if (r1 > local_398) {
391 local_368 = local_368 | 4;
396 if (r1 > local_3a0) {
407 local_368 = local_368 + 2;
424 local_368 = local_368 + 1;
429 *(u8 *)(local_358 + r2) = local_368 + 0x30;
439 if (local_380 > r3) {
449 r0 = fn_45270(r1, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
459 r0 = *(u32 *)(r5) * 5 + r6;
474 r0 = fn_3ffc8(0x28, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
486 r0 = fn_45270(r1, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
491 r3 = *(u32 *)(&local_348 + r1 - 4);
492 r5 = *(u32 *)(&local_2a0 + r1 - 4);
506 goto L_3bf60;● kept as goto
509 goto L_3bfe8;● kept as goto
516 if ((r2 & r3) == 0) {
519 *(u16 *)(r2 + 0x10) = r4;
520 *(u64 *)(r2 + 8) = r7;
521 *(u64 *)(r2) = local_358;
524 r0 = fn_45270(r7, r9, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:387:54"), r4, r5);■ string · 54 B
528 r0 = fn_3ffc8(r1, r9, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:369:36"), r4, r5);■ string · 54 B
531 if ((*(u8 *)(local_358 + r1) & 1) != 0) {
535 r0 = fn_45270(r7, r2, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:374:87"), r4, r5);■ string · 54 B
545 if (*(u8 *)(r2 - 1) == 0x39) {
552 *(u8 *)(local_358) = 0x31;
555 r0 = fn_493f8(local_358 + 1, 0x30, r7 + -1);
560 if ((i64)sar64(local_360 << 0x30, 0x30) <= sar64(r8 << 0x30, 0x30)) {
565 r0 = fn_45270(r7, r9, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:387:54"), r4, r5);■ string · 54 B
568 *(u16 *)(r2 + 0x10) = r4;
569 *(u64 *)(r2 + 8) = r7;
570 *(u64 *)(r2) = local_358;
576 *(u16 *)(r2 + 0x10) = r4;
577 *(u64 *)(r2 + 8) = r7;
578 *(u64 *)(r2) = local_358;
581 r0 = fn_45270(r7, r9, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:387:54"), r4, r5);■ string · 54 B
585 *(u8 *)(r1) = *(u8 *)(r1) + 1;
587 if ((r7 - r3 + 1) < r7) {
588 r0 = fn_493f8(r1 + 1, 0x30, r3 + -1);
594 *(u16 *)(r2 + 0x10) = r4;
595 *(u64 *)(r2 + 8) = r7;
596 *(u64 *)(r2) = local_358;
599 r0 = fn_45270(r7, r9, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:387:54"), r4, r5);■ string · 54 B
607 *(u16 *)(r2 + 0x10) = r4;
608 *(u64 *)(r2 + 8) = r7;
609 *(u64 *)(r2) = local_358;
612 r0 = fn_45270(r7, r9, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:387:54"), r4, r5);■ string · 54 B
615 goto L_3c120;● kept as goto
622 r7 = *(u32 *)(r0) * 0xa + r4;
635 goto L_3bde0;● kept as goto
640 goto L_3bde0;● kept as goto
642 r0 = fn_3ffc8(0x28, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
645 r0 = fn_45270(r1, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
647 r0 = fn_3ffc8(r9, r9, &Location("library/core/src/num/flt2dec/strategy/dragon.rs:357:13"), r4, r5);■ string · 54 B
654 r6 = *(u32 *)(r0) + ((*(u32 *)(r3) ^ -1) << 0x20 >> 0x20);
655 r4 = r6 << 0x20 >> 0x20;
661 if ((r4 << 0x20 >> 0x20) != r4) {
675 goto L_3bb70;● kept as goto
678 goto L_3bc10;● kept as goto
682 goto L_3bc90;● kept as goto
684 r0 = fn_3ff48("assertion failed: noborrow", 0x1a, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 26 B
686 goto L_3bcb8;● kept as goto
700 goto L_3bcb8;● kept as goto
702 goto L_3bb30;● kept as goto
705 r0 = fn_45270(r1, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
708 goto L_3bab8;● kept as goto
715 r6 = *(u32 *)(r0) + ((*(u32 *)(r3) ^ -1) << 0x20 >> 0x20);
716 r4 = r6 << 0x20 >> 0x20;
722 if ((r4 << 0x20 >> 0x20) != r4) {
736 goto L_3b950;● kept as goto
739 goto L_3b9f0;● kept as goto
744 goto L_3ba70;● kept as goto
746 r0 = fn_3ff48("assertion failed: noborrow", 0x1a, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 26 B
748 goto L_3baa0;● kept as goto
750 r0 = &local_348 + r3;
751 r4 = &local_1f8 + r3;
753 r4 = *(u32 *)(r4 - 4);
754 r0 = *(u32 *)(r0 - 4);
761 goto L_3baa0;● kept as goto
763 goto L_3b910;● kept as goto
766 r0 = fn_45270(r1, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
769 goto L_3b890;● kept as goto
776 r6 = *(u32 *)(r0) + ((*(u32 *)(r3) ^ -1) << 0x20 >> 0x20);
777 r4 = r6 << 0x20 >> 0x20;
783 if ((r4 << 0x20 >> 0x20) != r4) {
797 goto L_3b720;● kept as goto
800 goto L_3b7c0;● kept as goto
805 goto L_3b840;● kept as goto
807 r0 = fn_3ff48("assertion failed: noborrow", 0x1a, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 26 B
809 goto L_3b870;● kept as goto
811 r0 = &local_348 + r3;
812 r4 = &local_150 + r3;
814 r4 = *(u32 *)(r4 - 4);
815 r0 = *(u32 *)(r0 - 4);
822 goto L_3b870;● kept as goto
824 goto L_3b6e0;● kept as goto
827 r0 = fn_45270(r1, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
830 goto L_3b660;● kept as goto
832 r0 = fn_3ff48("assertion failed: noborrow", 0x1a, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 26 B
834 goto L_3b640;● kept as goto
836 r0 = &local_348 + r3;
839 r4 = *(u32 *)(r4 - 4);
840 r0 = *(u32 *)(r0 - 4);
848 goto L_3b4d8;● kept as goto
850 goto L_3b640;● kept as goto
853 r0 = fn_45270(r1, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
856 goto L_3b408;● kept as goto
860 r0 = fn_45270(r1, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
863 goto L_3be20;● kept as goto
874 r5 = *(u32 *)(r4) * 0xa + r0;
892 goto L_3b128;● kept as goto
894 r0 = fn_3ffc8(0x28, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
897 goto L_3b0f8;● kept as goto
900 goto L_3b118;● kept as goto
902 goto L_3b028;● kept as goto
905 r4 = &local_a8 + (r1 << 2);
908 goto L_3af90;● kept as goto
910 r0 = fn_3ffc8(0x28, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
912 goto L_3af90;● kept as goto
914 r0 = fn_45270(r1, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
917 r0 = fn_45270(r1, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
919 r0 = fn_45270(r1, 0x28, &Location("library/core/src/num/bignum.rs:428:1"), r4, r5);■ string · 36 B
921 goto L_3ac70;● kept as goto