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_6a918 ▾
pseudocode.c fn fn_6a918 · .text+0x6a918 · 935 ins · 245 blocks · 987 lines · structured where the control flow allows copy ↓ .c download pseudocode.c 1 // fn_6a918 · 935 instructions · 1 caller · 55 gotos
2 // panic locations in this function: 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, library/core/src/num/bignum.rs:427
Evidence why revrsly believes it ×
Function ● Derived
fn_6a918
· The binary doesn't name this function. fn_6a918 is its offset in .text.
● .text+0x6a918 · 935 instructions · 245 blocks
● 1 caller
◇ takes 5 arguments (from register use)
3 u64 fn_6a918( u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) {
39 r0 = fn_6f4e0( "assertion failed: d.mant > 0" , 0x1c , & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:267:5" )); ■ string · 28 B
42 r3 = *( u64 *)(r2 + 8 );
44 r0 = fn_6f4e0( "assertion failed: d.minus > 0" , 0x1d , & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:268:5" )); ■ string · 29 B
46 r4 = *( u64 *)(r2 + 0x10 );
48 r0 = fn_6f4e0( "assertion failed: d.plus > 0" , 0x1c , & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:269:5" )); ■ string · 28 B
56 r0 = fn_6f4e0( "assertion failed: d.mant.checked_add(d.plus).is_some()" , 0x36 , & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:270:5" )); ■ string · 54 B
59 r0 = fn_6f4e0( "assertion failed: d.mant.checked_sub(d.minus).is_some()" , 0x37 , & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:271:5" )); ■ string · 55 B
77 r3 = (r3 | r3 >> 0x20 ) ^ - 1 ;
78 r3 -= (r3 >> 1 & 0x5555555555555555 ); // text "UUUUUUUU"
79 r4 = 0x3333333333333333 ;
80 r6 = (r3 & r4) + (r3 >> 2 & r4);
81 r6 = (r6 + (r6 >> 4 ) & 0xf0f0f0f0f0f0f0f ) * 0x101010101010101 >> 0x38 ;
85 goto L_6ab30; ● kept as goto
88 r8 = *( u16 *)(r2 + 0x18 );
96 r0 = memset (&local_340, 0 , 0x98 );
97 r0 = memset (&local_29c, 0 , 0x9c );
98 r1 = sar64(r8 << 0x30 , 0x30 );
99 r6 = (r1 - r6) * 0x4d104d42 + 0x1344135080 >> 0x20 ;
103 r8 = sar64(neg64(r8) << 0x30 , 0x30 );
108 r0 = fn_75440(r1, r8);
110 if (( i64 )sar64(r6 << 0x30 , 0x30 ) <= - 1 ) {
111 r2 = neg64(r2) & 0xffff ;
117 r0 = fn_68228(r1, r2);
118 r0 = memcpy (&local_a8, &local_2a0, 0xa8 );
138 r4 = r4 << 0x20 | *( u32 *)(r5);
139 r0 = r4 / 0x3b9aca00 ;
141 r4 -= r0 * 0x3b9aca00 ;
148 goto L_6ad88; ● kept as goto
150 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
153 r3 = *( u32 *)( 0x7d4ec + (r3 << 2 )) << 1 ; // .rodata+0x40ec
154 if ((r3 << 0x20 >> 0x20 ) == 0 ) {
155 r0 = fn_6f4e0( "assertion failed: other > 0" , 0x1b , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 27 B
171 r3 = r3 << 0x20 >> 0x20 ;
174 r4 = r4 << 0x20 | *( u32 *)(r5);
188 goto L_6af30; ● kept as goto
192 r0 = fn_740e8(r2, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
211 r2 = &local_2a0 + r4;
213 r2 = *( u32 *)(r2 - 4 );
214 r5 = *( u32 *)(r5 - 4 );
226 r4 = sar64(local_370 << 0x30 , 0x30 );
227 r5 = sar64(r6 << 0x30 , 0x30 );
232 if ((r5 - r4) < r7) {
233 r5 = sar64(r6 - local_370 << 0x30 , 0x30 );
241 r0 = memcpy (r7, r6, 0xa8 );
243 r0 = fn_75440(r7, 1 );
245 r0 = memcpy (r7, r6, 0xa8 );
246 r0 = fn_75440(r7, 2 );
248 r0 = memcpy (r7, r6, 0xa8 );
249 r0 = fn_75440(r7, 3 );
253 local_3b8 = local_158;
254 local_3b0 = local_b0;
268 if (*( u32 *)(r0) == 0 ) {
275 r0 = fn_740e8(r3, r2, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:332:34" )); ■ string · 54 B
278 r0 = memset (r9 + r7, 0x30 , r3 - r7);
282 *( u16 *)(r1 + 0x10 ) = r6;
283 *( u64 *)(r1 + 8 ) = r3;
345 *( u8 *)(r9 + r7) = r8 + 0x30 ;
380 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
416 r0 = fn_740e8(r1, r7, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:388:18" )); ■ string · 54 B
418 *( u16 *)(r2 + 0x10 ) = r6;
419 *( u64 *)(r2 + 8 ) = r1;
425 r0 = fn_740e8(r8, r7, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:375:47" )); ■ string · 54 B
435 if (*( u8 *)(r4 - 1 ) == 0x39 ) {
441 if (local_388 == 0 ) {
445 r0 = memset (r9 + 1 , 0x30 , r8 + - 1 );
450 if (( i64 )sar64(r3 << 0x30 , 0x30 ) < sar64(local_370 << 0x30 , 0x30 )) {
456 *( u16 *)(r2 + 0x10 ) = r6;
457 *( u64 *)(r2 + 8 ) = r1;
461 r0 = fn_740e8(r1, r7, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:388:18" )); ■ string · 54 B
464 if (r8 < local_368) {
472 r0 = fn_740e8(r1, r7, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:388:18" )); ■ string · 54 B
474 *( u16 *)(r2 + 0x10 ) = r6;
475 *( u64 *)(r2 + 8 ) = r1;
480 *( u8 *)(r1) = *( u8 *)(r1) + 1 ;
481 if ((r8 - r3 + 1 ) < r8) {
482 r0 = memset (r1 + 1 , 0x30 , r3 + - 1 );
488 *( u16 *)(r2 + 0x10 ) = r6;
489 *( u64 *)(r2 + 8 ) = r1;
493 r0 = fn_740e8(r1, r7, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:388:18" )); ■ string · 54 B
496 if (local_388 != 0 ) {
498 *( u16 *)(r2 + 0x10 ) = r6;
499 *( u64 *)(r2 + 8 ) = r1;
505 r0 = fn_6f548(r1, r7, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:370:36" )); ■ string · 54 B
507 if ((*( u8 *)(r9 + r1) & 1 ) == 0 ) {
511 r0 = fn_740e8(r1, r7, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:388:18" )); ■ string · 54 B
513 *( u16 *)(r2 + 0x10 ) = r6;
514 *( u64 *)(r2 + 8 ) = r1;
519 goto L_6b568; ● kept as goto
527 r7 = *( u32 *)(r6) * 5 + r0;
544 goto L_6b498; ● kept as goto
546 goto L_6b4a0; ● kept as goto
550 r0 = fn_6f548( 0x28 , 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
559 goto L_6b498; ● kept as goto
561 goto L_6b4a0; ● kept as goto
563 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
566 goto L_6c1e8; ● kept as goto
573 r7 = *( u32 *)(r6) * 0xa + r0;
587 goto L_6c1b8; ● kept as goto
592 goto L_6c1a8; ● kept as goto
594 r0 = fn_6f548( 0x28 , 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
596 r0 = fn_740e8(r4, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
598 r0 = fn_6f548(r7, r2, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:358:13" )); ■ string · 54 B
605 r9 = *( u32 *)(r7) + ((*( u32 *)(r0) ^ - 1 ) << 0x20 >> 0x20 );
606 r5 = r9 << 0x20 >> 0x20 ;
612 if ((r5 << 0x20 >> 0x20 ) != r5) {
626 goto L_6beb8; ● kept as goto
629 goto L_6bf50; ● kept as goto
635 goto L_6c098; ● kept as goto
637 r0 = fn_6f4e0( "assertion failed: noborrow" , 0x1a , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 26 B
642 goto L_6c0b8; ● kept as goto
657 goto L_6bfa0; ● kept as goto
659 goto L_6be70; ● kept as goto
661 r0 = fn_740e8(r4, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
665 goto L_6be08; ● kept as goto
672 r9 = *( u32 *)(r7) + ((*( u32 *)(r0) ^ - 1 ) << 0x20 >> 0x20 );
673 r5 = r9 << 0x20 >> 0x20 ;
679 if ((r5 << 0x20 >> 0x20 ) != r5) {
693 goto L_6bd00; ● kept as goto
696 goto L_6bd98; ● kept as goto
702 goto L_6c040; ● kept as goto
704 r0 = fn_6f4e0( "assertion failed: noborrow" , 0x1a , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 26 B
710 goto L_6be08; ● kept as goto
712 goto L_6be00; ● kept as goto
714 r6 = &local_348 + r5;
715 r0 = &local_1f8 + r5;
717 r0 = *( u32 *)(r0 - 4 );
718 r6 = *( u32 *)(r6 - 4 );
725 goto L_6bde8; ● kept as goto
727 goto L_6bcb8; ● kept as goto
730 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
734 goto L_6bc40; ● kept as goto
741 r9 = *( u32 *)(r7) + ((*( u32 *)(r0) ^ - 1 ) << 0x20 >> 0x20 );
742 r5 = r9 << 0x20 >> 0x20 ;
748 if ((r5 << 0x20 >> 0x20 ) != r5) {
762 goto L_6bb30; ● kept as goto
765 goto L_6bbc8; ● kept as goto
771 goto L_6bfe0; ● kept as goto
773 r0 = fn_6f4e0( "assertion failed: noborrow" , 0x1a , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 26 B
780 goto L_6bc40; ● kept as goto
782 goto L_6bc38; ● kept as goto
784 r6 = &local_348 + r5;
785 r0 = &local_150 + r5;
787 r0 = *( u32 *)(r0 - 4 );
788 r6 = *( u32 *)(r6 - 4 );
795 goto L_6bc18; ● kept as goto
797 goto L_6bae8; ● kept as goto
799 r0 = fn_740e8(r4, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
802 goto L_6ba70; ● kept as goto
810 r2 = *( u32 *)(r0) + ((*( u32 *)(r5) ^ - 1 ) << 0x20 >> 0x20 );
811 r8 = r2 << 0x20 >> 0x20 ;
817 if ((r8 << 0x20 >> 0x20 ) != r8) {
831 goto L_6b938; ● kept as goto
834 goto L_6b9d0; ● kept as goto
842 goto L_6ba50; ● kept as goto
844 r0 = fn_6f4e0( "assertion failed: noborrow" , 0x1a , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 26 B
846 r6 = &local_348 + r0;
849 r5 = *( u32 *)(r5 - 4 );
850 r6 = *( u32 *)(r6 - 4 );
858 goto L_6b900; ● kept as goto
860 goto L_6ba50; ● kept as goto
862 r0 = fn_740e8(r4, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
865 goto L_6b860; ● kept as goto
868 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
870 r0 = fn_6f548(r7, r2, & Location ( "library/core/src/num/flt2dec/strategy/dragon.rs:358:13" )); ■ string · 54 B
872 goto L_6b368; ● kept as goto
876 goto L_6b368; ● kept as goto
878 goto L_6b680; ● kept as goto
880 goto L_6b368; ● kept as goto
888 goto L_6b2f0; ● kept as goto
896 r6 = *( u32 *)(r0) * 0xa + r5;
912 goto L_6b2e8; ● kept as goto
914 r0 = fn_6f548( 0x28 , 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
916 goto L_6b298; ● kept as goto
919 goto L_6b1b8; ● kept as goto
921 goto L_6b1d0; ● kept as goto
923 r0 = fn_740e8(r4, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
931 r9 = *( u32 *)(r4) + *( u32 *)(r1);
932 r7 = r9 << 0x20 >> 0x20 ;
938 if ((r7 << 0x20 >> 0x20 ) != r7) {
952 goto L_6af98; ● kept as goto
955 goto L_6b020; ● kept as goto
965 goto L_6b140; ● kept as goto
968 goto L_6b148; ● kept as goto
973 *( u32 *)(&local_a8 + (r2 << 2 )) = 1 ;
979 goto L_6b140; ● kept as goto
982 goto L_6b148; ● kept as goto
984 r0 = fn_6f548( 0x28 , 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B
986 r0 = fn_740e8(r1, 0x28 , & Location ( "library/core/src/num/bignum.rs:427:1" )); ■ string · 36 B