smart_arb ◇ inferred name Reconstructed 93.7% of control flow structured Anchor ◇ 5aMAKxzyqesf1dn7cDLPdGxwshZf1aVNavYzAQQU32Fg copy decompiled 14 Oct 2026
Identity · published metadata ▾
Loader ■ v3 · upgradeable
sBPF ■ v0
Size ■ 424,472 bytes
Instructions ● 43,919
Functions ● 655
SHA-256 ● 6a840638…44e19500
Upgrade authority ■ 8tZL…1LQR
Last deploy slot ■ 449,218,614 ❝ Published by the authors · nothing, so everything here is revrsly output Verified build · noneIDL · none publishedsecurity.txt · none
Loading the reconstruction…
Functions
Other functions 627
+ 566 more · type to filter
fn_11558 ▾
pseudocode.c fn fn_11558 · .text+0x11558 · 570 ins · 124 blocks · 496 lines · structured where the control flow allows copy ↓ .c download pseudocode.c 1 // fn_11558 · 570 instructions · 2 callers · 4 gotos
2 // panic locations in this function: programs/smart_arb/src/quote/clmm_math.rs:109, programs/smart_arb/src/quote/clmm_math.rs:119, programs/smart_arb/src/quote/clmm_math.rs:149
3 u64 fn_11558( u64 r1, u64 r2, u64 r3, u64
Evidence why revrsly believes it ×
Function ● Derived
fn_11558
· The binary doesn't name this function. fn_11558 is its offset in .text.
● .text+0x11558 · 570 instructions · 124 blocks
● 2 callers
◇ takes 5 arguments (from register use)
r4,
u64
r5) {
80 r6 = *( u64 *)(r5 - 0xff0 );
81 r8 = *( u64 *)(r5 - 0xff8 );
82 r9 = *( u64 *)(r5 - 0x1000 );
89 *( u64 *)(r1 + 0x18 ) = 0 ;
90 *( u64 *)(r1 + 0x10 ) = 0 ;
92 *( u64 *)(r1 + 8 ) = r9;
96 r9 = *( u64 *)(r5 - 0xfe0 );
98 r9 = r9 << 0x20 >> 0x20 ;
110 r0 = fn_53478(& Location ( "programs/smart_arb/src/quote/clmm_math.rs:149:25" ), r2, r3, r4, r5); ■ string · 48 B
112 local_220 = *( u64 *)(r5 - 0xfd8 );
113 r6 = *( u64 *)(r5 - 0xfe8 );
117 r0 = fn_54df0(&local_108, r6, 0 , r4, 0 );
120 r0 = fn_54df0(&local_118, r7, 0 , r6, 0 );
123 r0 = fn_59168(&local_f8, local_108, r8, 0xf4240 , 0 );
136 if (local_110 == 0 ) {
147 if (local_220 == 0 ) {
152 r0 = fn_10ec8(&local_128, r4, local_1e8, r7, fp);
168 local_ff8 = local_1e0;
169 local_ff0 = local_1f0;
172 r0 = fn_108e0(&local_138, local_1f8, local_1e8, r7, fp);
178 r4 = local_218 << 0x20 >> 0x20 ;
183 r0 = fn_54df0(&local_198, r6, r8, r4, 0 );
193 r4 = r0 - r2 + 0xf423f ;
215 r0 = fn_59168(&local_1a8, r0, r3, local_238, r5);
231 r0 = fn_a868(&local_28, &local_48, 0x40 );
244 local_28 = local_1e0;
247 r0 = fn_7260(&local_88, &local_a8, &local_28, & Location ( "programs/smart_arb/src/quote/clmm_math.rs:119:17" )); ■ string · 48 B
261 r0 = fn_6ea0(&local_28, &local_68, &local_88);
267 r0 = fn_10870(&local_148, &local_48);
275 local_ff0 = local_1f0;
276 local_ff8 = local_1e0;
280 r0 = fn_10ec8(&local_158, r8, r6, r7, fp);
283 local_200 = local_158;
284 local_ff0 = local_1f0;
285 local_ff8 = local_1e0;
288 r0 = fn_108e0(&local_168, r2, r6, r7, fp);
289 local_1e8 = local_160;
325 local_1000 = local_1e8;
327 r0 = fn_108e0(&local_178, r7, r9, r4, fp);
343 local_ff8 = local_1e0;
344 local_ff0 = local_1f0;
345 local_1000 = local_1e8;
347 r0 = fn_10ec8(&local_188, r7, r9, local_1f8, fp);
350 goto L_11ca8; ● kept as goto
382 local_48 = local_1e0;
385 r0 = fn_a868(&local_28, &local_48, 0x40 );
390 r0 = fn_9b28(&local_28, &local_e8, &local_c8);
400 r0 = fn_6ea0(&local_28, &local_48, &local_88);
406 r0 = fn_9b28(&local_28, &local_a8, &local_c8);
412 r0 = fn_b550(&local_68, 0x59448 ); // .rodata+0xc0
419 r0 = fn_9890(r6, &local_48, &local_68, & Location ( "programs/smart_arb/src/quote/clmm_math.rs:109:28" )); ■ string · 48 B
420 r0 = fn_10870(&local_1b8, r6);
434 local_ff8 = local_1e0;
437 r0 = fn_108e0(&local_1c8, r7, r9, r8, fp);
440 local_200 = local_1c8;
442 local_ff8 = local_1e0;
443 local_1000 = local_1e8;
445 r0 = fn_10ec8(&local_1d8, r7, r9, r4, fp);
446 local_1e8 = local_1d0;
448 goto L_12450; ● kept as goto
451 goto L_12108; ● kept as goto
453 goto L_12120; ● kept as goto
485 *( u64 *)(r1 + 0x18 ) = r3;
486 *( u64 *)(r1 + 0x10 ) = r2;
488 *( u64 *)(r1 + 8 ) = r9;
491 *( u64 *)(r1 + 0x18 ) = 0 ;
492 *( u64 *)(r1 + 0x10 ) = 0 ;
494 *( u64 *)(r1 + 8 ) = r9;