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…
once · revrsly
Functions
Other functions 354
+ 293 more · type to filter
fn_687a0 ▾
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
fn fn_687a0( mut r1: u64 , mut r2: u64 , mut r3: u64 , mut r4: u64 ) -> u64 {
4 let mut local_5b0: u64 = 0 ;
5 let mut local_5a8: u64 = 0 ;
6 let mut local_5a0: u64 = 0 ;
7 let mut local_598: u64 = 0 ;
8 let mut local_590: u64 = 0 ;
9 let mut local_588: u64 = 0 ;
10 let mut local_580: u64 = 0 ;
11 let mut local_578: u64 = 0 ;
12 let mut local_570: u64 = 0 ;
13 let mut local_568: u64 = 0 ;
14 let mut local_560: u64 = 0 ;
15 let mut local_558: u64 = 0 ;
16 let mut local_550: u64 = 0 ;
17 let mut local_548: u64 = 0 ;
18 let mut local_544: u64 = 0 ;
19 let mut local_540: u32 = 0 ;
20 let mut local_53c: u32 = 0 ;
21 let mut local_538: u64 = 0 ;
22 let mut local_4a0: u64 = 0 ;
23 let mut local_498: u32 = 0 ;
24 let mut local_494: u32 = 0 ;
25 let mut local_490: u64 = 0 ;
26 let mut local_3f8: u64 = 0 ;
27 let mut local_3f0: u32 = 0 ;
28 let mut local_3ec: u32 = 0 ;
29 let mut local_3e8: u64 = 0 ;
30 let mut local_350: u64 = 0 ;
31 let mut local_34c: u64 = 0 ;
32 let mut local_348: u32 = 0 ;
33 let mut local_344: u64 = 0 ;
34 let mut local_2a8: u64 = 0 ;
35 let mut local_2a0: u64 = 0 ;
36 let mut local_200: u64 = 0 ;
37 let mut local_1f8: u64 = 0 ;
38 let mut local_158: u64 = 0 ;
39 let mut local_150: u64 = 0 ;
40 let mut local_b0: u64 = 0 ;
41 let mut local_a8: u64 = 0 ;
42 let mut local_8: u64 = 0 ;
43 r0 = *((r2) as * const u64 );
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 = *((r2 + 8 ) as * const u64 );
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 = *((r2 + 0x10 ) as * const u64 );
53 r0 = fn_6f4e0( "assertion failed: d.plus > 0" , 0x1c , & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:120:5" )); ■ string · 28 B
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 /* continues at L_689c0; not expressible as structured Rust */ ● an edge Rust can't hold
98 local_548 = *((r2 + 0x18 ) as * const u16 );
99 local_580 = *((r2 + 0x1a ) as * const u8 );
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 (sar64(r2 << 0x30 , 0x30 ) as i64 ) <= - 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 = *((r4 - 4 ) as * const u32 );
186 r5 = *((r3 - 4 ) as * const u32 );
207 if (sar64(r3 << 0x38 , 0x38 ) as i64 ) < 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 *((r1 + r8) as * mut u8 ) = r3 + 0x30 ;
312 /* continues at L_69de8; not expressible as structured Rust */ ● an edge Rust can't hold
314 r3 = &local_540 + r1;
315 r2 = &local_498 + r1;
317 r2 = *((r2 - 4 ) as * const u32 );
318 r3 = *((r3 - 4 ) as * const u32 );
332 /* continues at L_69db8; not expressible as structured Rust */ ● an edge Rust can't hold
335 /* continues at L_69da8; not expressible as structured Rust */ ● an edge Rust can't hold
340 r0 = memcpy (&local_a8, &local_540, 0xa8 );
366 r2 = &local_348 + r1;
369 r4 = *((r3 - 4 ) as * const u32 );
370 r5 = *((r2 - 4 ) as * const u32 );
384 /* continues at L_6a0b8; not expressible as structured Rust */ ● an edge Rust can't hold
387 /* continues at L_6a0a8; not expressible as structured Rust */ ● an edge Rust can't hold
394 if (sar64(r4 << 0x38 , 0x38 ) as i64 ) >= r2 {
395 if (sar64(r3 << 0x38 , 0x38 ) as i64 ) >= r2 {
416 continue 'loop_69498;
418 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
422 /* continues at L_69490; not expressible as structured Rust */ ● an edge Rust can't hold
429 r6 = *((r0) as * const u32 ) * 0xa + r5;
430 *((r0) as * mut u32 ) = r6;
446 /* continues at L_69490; not expressible as structured Rust */ ● an edge Rust can't hold
448 /* continues at L_6a418; not expressible as structured Rust */ ● an edge Rust can't hold
451 *((r1) as * mut u32 ) = r5;
453 /* continues at L_6a3c0; not expressible as structured Rust */ ● an edge Rust can't hold
455 r0 = fn_6f548( 0x28 , 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
462 r6 = *((r0) as * const u32 ) * 0xa + r5;
463 *((r0) as * mut u32 ) = r6;
475 /* continues at L_6a2f0; not expressible as structured Rust */ ● an edge Rust can't hold
478 *((r3) as * mut u32 ) = r5;
480 /* continues at L_6a2e8; not expressible as structured Rust */ ● an edge Rust can't hold
482 r0 = fn_6f548( 0x28 , 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
490 r7 = *((r0) as * const u32 ) * 0xa + r5;
491 *((r0) as * mut u32 ) = r7;
504 /* continues at L_6a218; not expressible as structured Rust */ ● an edge Rust can't hold
507 *((r3) as * mut u32 ) = r5;
509 /* continues at L_6a208; not expressible as structured Rust */ ● an edge Rust can't hold
511 r0 = fn_6f548( 0x28 , 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
514 if (sar64(r3 << 0x38 , 0x38 ) as i64 ) < r2 {
515 if (sar64(r4 << 0x38 , 0x38 ) as i64 ) < 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
533 r4 = *((r4) as * const u32 );
534 r5 = *((r5) as * const u32 );
550 if *((r2) as * const u8 ) == 0x39 {
555 *((r5) as * mut u8 ) = 0x31 ;
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
564 *((r6) as * mut u8 ) = 0x30 ;
569 *((r1 + 0x10 ) as * mut u16 ) = r2;
570 *((r1 + 8 ) as * mut u64 ) = r8;
571 *((r1) as * mut u64 ) = r5;
574 r0 = fn_740e8(r8, r9, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:258:18" )); ■ string · 54 B
578 *((r2 + 1 ) as * mut u8 ) = *((r2 + 1 ) as * const u8 ) + 1 ;
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 *((r1 + 0x10 ) as * mut u16 ) = r2;
590 *((r1 + 8 ) as * mut u64 ) = r8;
591 *((r1) as * mut u64 ) = r5;
598 r0 = fn_740e8(r8, r9, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:258:18" )); ■ string · 54 B
601 *((r1 + 0x10 ) as * mut u16 ) = r2;
602 *((r1 + 8 ) as * mut u64 ) = r8;
603 *((r1) as * mut u64 ) = r5;
608 /* continues at L_6a528; not expressible as structured Rust */ ● an edge Rust can't hold
614 r0 = fn_740e8(r8, r9, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:258:18" )); ■ string · 54 B
617 *((r1 + 0x10 ) as * mut u16 ) = r2;
618 *((r1 + 8 ) as * mut u64 ) = r8;
619 *((r1) as * mut u64 ) = r5;
623 /* continues at L_6a528; not expressible as structured Rust */ ● an edge Rust can't hold
629 r0 = fn_740e8(r8, r9, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:258:18" )); ■ string · 54 B
632 *((r1 + 0x10 ) as * mut u16 ) = r2;
633 *((r1 + 8 ) as * mut u64 ) = r8;
634 *((r1) as * mut u64 ) = r5;
638 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
646 r2 = *((r4) as * const u32 ) + *((r3) as * const u32 );
647 r8 = r2 << 0x20 >> 0x20 ;
653 if (r8 << 0x20 >> 0x20 ) != r8 {
655 *((r4) as * mut u32 ) = r8;
667 /* continues at L_69e98; not expressible as structured Rust */ ● an edge Rust can't hold
670 /* continues at L_69f20; not expressible as structured Rust */ ● an edge Rust can't hold
680 /* continues at L_6a020; not expressible as structured Rust */ ● an edge Rust can't hold
682 /* continues at L_6a018; not expressible as structured Rust */ ● an edge Rust can't hold
686 *((&local_a8 + (r1 << 2 )) as * mut u32 ) = 1 ;
688 /* continues at L_69ff0; not expressible as structured Rust */ ● an edge Rust can't hold
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 /* continues at L_69e48; not expressible as structured Rust */ ● an edge Rust can't hold
697 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
700 /* continues at L_69d00; not expressible as structured Rust */ ● an edge Rust can't hold
702 r0 = fn_6f548(r9, r9, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:194:9" )); ■ string · 53 B
709 r8 = *((r4) as * const u32 ) + ((*((r2) as * const u32 ) ^ - 1 ) << 0x20 >> 0x20 );
710 r7 = r8 << 0x20 >> 0x20 ;
716 if (r7 << 0x20 >> 0x20 ) != r7 {
718 *((r4) as * mut u32 ) = r7;
730 /* continues at L_69ab0; not expressible as structured Rust */ ● an edge Rust can't hold
733 /* continues at L_69b48; not expressible as structured Rust */ ● an edge Rust can't hold
737 /* continues at L_69ca8; not expressible as structured Rust */ ● an edge Rust can't hold
739 r0 = fn_6f4e0( "assertion failed: noborrow" , 0x1a , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 26 B
745 /* continues at L_69cc8; not expressible as structured Rust */ ● an edge Rust can't hold
749 r5 = &local_540 + r1;
750 r4 = &local_348 + r1;
752 r4 = *((r4 - 4 ) as * const u32 );
753 r5 = *((r5 - 4 ) as * const u32 );
760 /* continues at L_69b98; not expressible as structured Rust */ ● an edge Rust can't hold
762 /* continues at L_69a70; not expressible as structured Rust */ ● an edge Rust can't hold
765 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
769 /* continues at L_699f8; not expressible as structured Rust */ ● an edge Rust can't hold
776 r8 = *((r5) as * const u32 ) + ((*((r4) as * const u32 ) ^ - 1 ) << 0x20 >> 0x20 );
777 r7 = r8 << 0x20 >> 0x20 ;
783 if (r7 << 0x20 >> 0x20 ) != r7 {
785 *((r5) as * mut u32 ) = r7;
797 /* continues at L_698e8; not expressible as structured Rust */ ● an edge Rust can't hold
800 /* continues at L_69980; not expressible as structured Rust */ ● an edge Rust can't hold
804 /* continues at L_69c60; not expressible as structured Rust */ ● an edge Rust can't hold
806 r0 = fn_6f4e0( "assertion failed: noborrow" , 0x1a , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 26 B
813 /* continues at L_699f8; not expressible as structured Rust */ ● an edge Rust can't hold
815 /* continues at L_699f0; not expressible as structured Rust */ ● an edge Rust can't hold
817 r0 = &local_540 + r4;
818 r5 = &local_2a0 + r4;
820 r5 = *((r5 - 4 ) as * const u32 );
821 r0 = *((r0 - 4 ) as * const u32 );
828 /* continues at L_699d0; not expressible as structured Rust */ ● an edge Rust can't hold
830 /* continues at L_698a8; not expressible as structured Rust */ ● an edge Rust can't hold
832 r0 = fn_740e8(r2, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
836 /* continues at L_69830; not expressible as structured Rust */ ● an edge Rust can't hold
843 r8 = *((r5) as * const u32 ) + ((*((r4) as * const u32 ) ^ - 1 ) << 0x20 >> 0x20 );
844 r7 = r8 << 0x20 >> 0x20 ;
850 if (r7 << 0x20 >> 0x20 ) != r7 {
852 *((r5) as * mut u32 ) = r7;
864 /* continues at L_69720; not expressible as structured Rust */ ● an edge Rust can't hold
867 /* continues at L_697b8; not expressible as structured Rust */ ● an edge Rust can't hold
871 /* continues at L_69c18; not expressible as structured Rust */ ● an edge Rust can't hold
873 r0 = fn_6f4e0( "assertion failed: noborrow" , 0x1a , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 26 B
880 /* continues at L_69830; not expressible as structured Rust */ ● an edge Rust can't hold
882 /* continues at L_69828; not expressible as structured Rust */ ● an edge Rust can't hold
884 r0 = &local_540 + r2;
885 r5 = &local_1f8 + r2;
887 r5 = *((r5 - 4 ) as * const u32 );
888 r0 = *((r0 - 4 ) as * const u32 );
895 /* continues at L_69808; not expressible as structured Rust */ ● an edge Rust can't hold
897 /* continues at L_696e0; not expressible as structured Rust */ ● an edge Rust can't hold
899 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
906 r7 = *((r4) as * const u32 ) + ((*((r3) as * const u32 ) ^ - 1 ) << 0x20 >> 0x20 );
907 r6 = r7 << 0x20 >> 0x20 ;
913 if (r6 << 0x20 >> 0x20 ) != r6 {
915 *((r4) as * mut u32 ) = r6;
927 /* continues at L_69550; not expressible as structured Rust */ ● an edge Rust can't hold
930 /* continues at L_695e8; not expressible as structured Rust */ ● an edge Rust can't hold
933 /* continues at L_69bc8; not expressible as structured Rust */ ● an edge Rust can't hold
935 r0 = fn_6f4e0( "assertion failed: noborrow" , 0x1a , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 26 B
941 /* continues at L_69660; not expressible as structured Rust */ ● an edge Rust can't hold
943 /* continues at L_69658; not expressible as structured Rust */ ● an edge Rust can't hold
945 r3 = &local_540 + r2;
946 r5 = &local_150 + r2;
948 r5 = *((r5 - 4 ) as * const u32 );
949 r0 = *((r3 - 4 ) as * const u32 );
957 /* continues at L_69640; not expressible as structured Rust */ ● an edge Rust can't hold
959 /* continues at L_69510; not expressible as structured Rust */ ● an edge Rust can't hold
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 = *((r6) as * const u32 ) * 0xa + r0;
984 *((r6) as * mut u32 ) = r7;
995 *((r4) as * mut u32 ) = r0;
⋯ ⋯ 126 more lines in this function. Download reconstructed.rs for all of it.