once ❝ published name Reconstructed 91.5% of control flow structured Anchor ◇ GRzKU9i3Cs7A5Euf9gGZjbRnpypw7DzaU3hWRfUgpYTa copy decompiled 22 Oct 2026
Identity · published metadata ▾
Loader ■ v3 · upgradeable
sBPF ■ v0
Size ■ 556,728 bytes
Instructions ● 58,814
Functions ● 412
SHA-256 ● 23200e76…1d4a7b42
Upgrade authority ■ 8gop…M677
Last deploy slot ■ 459,519,774 ❝ Published by the authors · their claims, not revrsly output Verified build github.com/call-once/once-program @ 1ee2ebf · ✓ hash matches this bytecode IDL · none publishedsecurity.txt · embedded ■ read from the bytes view Loading the reconstruction…
Functions
Other functions 354
+ 293 more · type to filter
fn_687a0 ▾
pseudocode.c fn fn_687a0 · .text+0x687a0 · 1,038 ins · 285 blocks · 1,126 lines · structured where the control flow allows copy ↓ .c download pseudocode.c 1 // fn_687a0 · 1038 instructions · 1 caller · 65 gotos
2 // panic locations in this function: library/core/src/num/flt2dec/strategy/dragon.rs:118, library/core/src/num/flt2dec/strategy/dragon.rs:119, library/core/src/num/flt2dec/strategy/dragon.rs:120, library/core/src/num/flt2dec/strategy/dragon.rs:123, library/core/src/num/flt2dec/strategy/dragon.rs:194, library/core/src/num/flt2dec/strategy/dragon.rs:251, library/core/src/num/flt2dec/strategy/dragon.rs:258, library/core/src/num/flt2dec/strategy/dragon.rs:122, library/core/src/num/flt2dec/strategy/dragon.rs:121, library/core/src/num/bignum.rs:427
Evidence why revrsly believes it ×
Function ● Derived
fn_687a0
· The binary doesn't name this function. fn_687a0 is its offset in .text.
● .text+0x687a0 · 1,038 instructions · 285 blocks
● 1 caller
◇ takes 4 arguments (from register use)
3
u64 fn_687a0( u64 r1, u64 r2, u64 r3, u64 r4) {
45 r0 = fn_6f4e0( "assertion failed: d.mant > 0" , 0x1c , & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:118:5" )); ■ string · 28 B
47 r8 = *( u64 *)(r2 + 8 );
49 r0 = fn_6f4e0( "assertion failed: d.minus > 0" , 0x1d , & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:119:5" )); ■ string · 29 B
51 r7 = *( u64 *)(r2 + 0x10 );
53 r0 = fn_6f4e0( "assertion failed: d.plus > 0" , 0x1c , & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:120:5" )); ■ string · 28 B
57 if ((r0 + r7) >= r0) {
61 r0 = fn_6f4e0( "assertion failed: d.mant.checked_add(d.plus).is_some()" , 0x36 , & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:121:5" )); ■ string · 54 B
64 r0 = fn_6f4e0( "assertion failed: d.mant.checked_sub(d.minus).is_some()" , 0x37 , & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:122:5" )); ■ string · 55 B
67 r0 = fn_6f4e0( "assertion failed: buf.len() >= MAX_SIG_DIGITS" , 0x2d , & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:123:5" )); ■ string · 45 B
87 r3 = (r3 | r3 >> 0x20 ) ^ - 1 ;
88 r3 -= (r3 >> 1 & 0x5555555555555555 ); // text "UUUUUUUU"
89 r4 = 0x3333333333333333 ;
90 r9 = (r3 & r4) + (r3 >> 2 & r4);
91 r9 = (r9 + (r9 >> 4 ) & 0xf0f0f0f0f0f0f0f ) * 0x101010101010101 >> 0x38 ;
95 goto L_689c0; ● kept as goto
98 local_548 = *( u16 *)(r2 + 0x18 );
99 local_580 = *( u8 *)(r2 + 0x1a );
107 r0 = memset (&local_538, 0 , 0x98 );
119 r0 = memset (&local_490, 0 , 0x98 );
131 r0 = memset (&local_3e8, 0 , 0x98 );
132 r0 = memset (&local_344, 0 , 0x9c );
134 r8 = sar64(r2 << 0x30 , 0x30 );
135 local_5a8 = (r8 - r9) * 0x4d104d42 + 0x1344135080 >> 0x20 ;
139 r2 = sar64(neg64(r2) << 0x30 , 0x30 );
142 r0 = fn_75440(&local_540, r2);
143 r0 = fn_75440(&local_498, r8);
147 r0 = fn_75440(r1, r2);
150 if (( i64 )sar64(r2 << 0x30 , 0x30 ) <= - 1 ) {
151 r6 = neg64(r2) & 0xffff ;
152 r0 = fn_68228(&local_540, r6);
153 r0 = fn_68228(&local_498, r6);
160 r0 = fn_68228(r1, r2);
161 r0 = memcpy (&local_a8, &local_540, 0xa8 );
182 r3 = &local_348 + r1;
185 r4 = *( u32 *)(r4 - 4 );
186 r5 = *( u32 *)(r3 - 4 );
207 if (( i64 )sar64(r3 << 0x38 , 0x38 ) < local_580) {
208 local_5a8 = local_5a8 + 1 ;
212 r0 = memcpy (r8, r6, 0xa8 );
213 r0 = fn_75440(r8, 1 );
215 r0 = memcpy (r8, r6, 0xa8 );
216 r0 = fn_75440(r8, 2 );
218 r0 = memcpy (r8, r6, 0xa8 );
219 r0 = fn_75440(r8, 3 );
229 local_548 = local_2a8;
230 local_590 = local_200;
231 local_588 = local_158;
294 *( u8 *)(r1 + r8) = r3 + 0x30 ;
312 goto L_69de8; ● kept as goto
314 r3 = &local_540 + r1;
315 r2 = &local_498 + r1;
317 r2 = *( u32 *)(r2 - 4 );
318 r3 = *( u32 *)(r3 - 4 );
332 goto L_69db8; ● kept as goto
335 goto L_69da8; ● kept as goto
340 r0 = memcpy (&local_a8, &local_540, 0xa8 );
350 if (r1 <= local_548) {
366 r2 = &local_348 + r1;
369 r4 = *( u32 *)(r3 - 4 );
370 r5 = *( u32 *)(r2 - 4 );
384 goto L_6a0b8; ● kept as goto
387 goto L_6a0a8; ● kept as goto
394 if (( i64 )sar64(r4 << 0x38 , 0x38 ) >= r2) {
395 if (( i64 )sar64(r3 << 0x38 , 0x38 ) >= r2) {
418 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
422 goto L_69490; ● kept as goto
429 r6 = *( u32 *)(r0) * 0xa + r5;
446 goto L_69490; ● kept as goto
448 goto L_6a418; ● kept as goto
453 goto L_6a3c0; ● kept as goto
455 r0 = fn_6f548( 0x28 , 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
462 r6 = *( u32 *)(r0) * 0xa + r5;
475 goto L_6a2f0; ● kept as goto
480 goto L_6a2e8; ● kept as goto
482 r0 = fn_6f548( 0x28 , 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
490 r7 = *( u32 *)(r0) * 0xa + r5;
504 goto L_6a218; ● kept as goto
509 goto L_6a208; ● kept as goto
511 r0 = fn_6f548( 0x28 , 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
514 if (( i64 )sar64(r3 << 0x38 , 0x38 ) < r2) {
515 if (( i64 )sar64(r4 << 0x38 , 0x38 ) < r2) {
516 r0 = fn_75440(&local_540, 1 );
523 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
547 if ((r8 + r3) != - 1 ) {
550 if (*( u8 *)(r2) == 0x39 ) {
557 r0 = memset (r5 + 1 , 0x30 , r8);
562 r0 = fn_6f548(r1, r9, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:251:13" )); ■ string · 54 B
569 *( u16 *)(r1 + 0x10 ) = r2;
570 *( u64 *)(r1 + 8 ) = r8;
574 r0 = fn_740e8(r8, r9, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:258:18" )); ■ string · 54 B
578 *( u8 *)(r2 + 1 ) = *( u8 *)(r2 + 1 ) + 1 ;
579 if ((r1 + 2 ) <= r8) {
580 r0 = memset (r5 + r8 + r3 + 2 , 0x30 , r3 ^ - 1 );
586 r0 = fn_740e8(r8, r9, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:258:18" )); ■ string · 54 B
589 *( u16 *)(r1 + 0x10 ) = r2;
590 *( u64 *)(r1 + 8 ) = r8;
598 r0 = fn_740e8(r8, r9, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:258:18" )); ■ string · 54 B
601 *( u16 *)(r1 + 0x10 ) = r2;
602 *( u64 *)(r1 + 8 ) = r8;
608 goto L_6a528; ● kept as goto
614 r0 = fn_740e8(r8, r9, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:258:18" )); ■ string · 54 B
617 *( u16 *)(r1 + 0x10 ) = r2;
618 *( u64 *)(r1 + 8 ) = r8;
623 goto L_6a528; ● kept as goto
629 r0 = fn_740e8(r8, r9, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:258:18" )); ■ string · 54 B
632 *( u16 *)(r1 + 0x10 ) = r2;
633 *( u64 *)(r1 + 8 ) = r8;
638 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
646 r2 = *( u32 *)(r4) + *( u32 *)(r3);
647 r8 = r2 << 0x20 >> 0x20 ;
653 if ((r8 << 0x20 >> 0x20 ) != r8) {
667 goto L_69e98; ● kept as goto
670 goto L_69f20; ● kept as goto
679 if (r1 > local_548) {
680 goto L_6a020; ● kept as goto
682 goto L_6a018; ● kept as goto
686 *( u32 *)(&local_a8 + (r1 << 2 )) = 1 ;
688 goto L_69ff0; ● kept as goto
690 r0 = fn_6f548( 0x28 , 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
692 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
695 goto L_69e48; ● kept as goto
697 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
700 goto L_69d00; ● kept as goto
702 r0 = fn_6f548(r9, r9, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:194:9" )); ■ string · 53 B
709 r8 = *( u32 *)(r4) + ((*( u32 *)(r2) ^ - 1 ) << 0x20 >> 0x20 );
710 r7 = r8 << 0x20 >> 0x20 ;
716 if ((r7 << 0x20 >> 0x20 ) != r7) {
730 goto L_69ab0; ● kept as goto
733 goto L_69b48; ● kept as goto
737 goto L_69ca8; ● kept as goto
739 r0 = fn_6f4e0( "assertion failed: noborrow" , 0x1a , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 26 B
745 goto L_69cc8; ● kept as goto
749 r5 = &local_540 + r1;
750 r4 = &local_348 + r1;
752 r4 = *( u32 *)(r4 - 4 );
753 r5 = *( u32 *)(r5 - 4 );
760 goto L_69b98; ● kept as goto
762 goto L_69a70; ● kept as goto
765 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
769 goto L_699f8; ● kept as goto
776 r8 = *( u32 *)(r5) + ((*( u32 *)(r4) ^ - 1 ) << 0x20 >> 0x20 );
777 r7 = r8 << 0x20 >> 0x20 ;
783 if ((r7 << 0x20 >> 0x20 ) != r7) {
797 goto L_698e8; ● kept as goto
800 goto L_69980; ● kept as goto
804 goto L_69c60; ● kept as goto
806 r0 = fn_6f4e0( "assertion failed: noborrow" , 0x1a , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 26 B
813 goto L_699f8; ● kept as goto
815 goto L_699f0; ● kept as goto
817 r0 = &local_540 + r4;
818 r5 = &local_2a0 + r4;
820 r5 = *( u32 *)(r5 - 4 );
821 r0 = *( u32 *)(r0 - 4 );
828 goto L_699d0; ● kept as goto
830 goto L_698a8; ● kept as goto
832 r0 = fn_740e8(r2, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
836 goto L_69830; ● kept as goto
843 r8 = *( u32 *)(r5) + ((*( u32 *)(r4) ^ - 1 ) << 0x20 >> 0x20 );
844 r7 = r8 << 0x20 >> 0x20 ;
850 if ((r7 << 0x20 >> 0x20 ) != r7) {
864 goto L_69720; ● kept as goto
867 goto L_697b8; ● kept as goto
871 goto L_69c18; ● kept as goto
873 r0 = fn_6f4e0( "assertion failed: noborrow" , 0x1a , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 26 B
880 goto L_69830; ● kept as goto
882 goto L_69828; ● kept as goto
884 r0 = &local_540 + r2;
885 r5 = &local_1f8 + r2;
887 r5 = *( u32 *)(r5 - 4 );
888 r0 = *( u32 *)(r0 - 4 );
895 goto L_69808; ● kept as goto
897 goto L_696e0; ● kept as goto
899 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
906 r7 = *( u32 *)(r4) + ((*( u32 *)(r3) ^ - 1 ) << 0x20 >> 0x20 );
907 r6 = r7 << 0x20 >> 0x20 ;
913 if ((r6 << 0x20 >> 0x20 ) != r6) {
927 goto L_69550; ● kept as goto
930 goto L_695e8; ● kept as goto
933 goto L_69bc8; ● kept as goto
935 r0 = fn_6f4e0( "assertion failed: noborrow" , 0x1a , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 26 B
941 goto L_69660; ● kept as goto
943 goto L_69658; ● kept as goto
945 r3 = &local_540 + r2;
946 r5 = &local_150 + r2;
948 r5 = *( u32 *)(r5 - 4 );
949 r0 = *( u32 *)(r3 - 4 );
957 goto L_69640; ● kept as goto
959 goto L_69510; ● kept as goto
961 r0 = fn_6f548(r9, r9, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:194:9" )); ■ string · 53 B
963 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
983 r7 = *( u32 *)(r6) * 0xa + r0;
⋯ ⋯ 126 more lines in this function. Download pseudocode.c for all of it.