smart_arb
Reconstructed93.7% of control flow structuredAnchor ◇5aMAKxzyqesf1dn7cDLPdGxwshZf1aVNavYzAQQU32Fgdecompiled 14 Oct 2026
- 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 outputVerified build · noneIDL · none publishedsecurity.txt · none
Loading the reconstruction…
pseudocode.cfn on_chain_arb_multi_path_with_guard_handler · .text+0x35200 · 181 ins · 31 blocks · 139 lines · structured where the control flow allows↓ .c download pseudocode.c 1// on_chain_arb_multi_path_with_guard_handler · 181 instructions · 1 caller
2// panic locations in this function: programs/smart_arb/src/lib.rs:22
3u64 on_chain_arb_multi_path_with_guard_handler(u64
r1,
u64
r2,
u64
r3,
u64
r4,
u64
r5) {
52 sol_log_("Instruction: OnChainArbMultiPathWithGuard", 0x29); // log a string■ string · 41 B
53 r7 = *(u64 *)(r8 - 0xff8);
55 r8 = *(u64 *)(r8 - 0x1000);
57 r0 = fn_3a108(&local_1f8, &local_558);
59 if (r6 == -0x8000000000000000) {
60 local_3a8 = local_1f0_u64;
61 r0 = fn_2968(&local_3a8, r2, r3, r4, r5);
62 r0 = anchor_error_new(r9, 0x66); // Anchor error 102 InstructionDidNotDeserialize?
67 r0 = memcpy(&local_624, &local_1ec, 0x8c);
74 local_560 = local_648;
75 local_568 = local_640;
76 local_ff0 = &local_580;
77 local_ff8 = &local_598;
80 r0 = on_chain_arb_multi_path_with_guard_try_accounts(&local_1f8, r9, &local_568, r8, fp);
84 r0 = memcpy(r6, &local_1f8, 0xa0);
85 r0 = memcpy(local_650, r6, 0xa0);
86 r0 = fn_cfb0(&local_580);
87 r0 = fn_d058(&local_598);
88 r0 = fn_3018(&local_630);
92 r0 = memcpy(r6, &local_1f8, 0x1aa);
96 r0 = memcpy(r8, r6, 0x1aa);
101 local_20 = local_560;
102 local_28 = local_568;
106 r0 = memcpy(r6, &local_630, 0x98);
107 r0 = on_chain_arb_multi_path_with_guard(&local_1f8, &local_38, r6);
113 r0 = memcpy(r9 + 0x18, &local_1e0, 0x88);
114 *(u64 *)(r9 + 0x10) = r7;
115 *(u64 *)(r9 + 8) = r6;
117 r0 = fn_2c48(&local_558);
118 r0 = fn_cfb0(&local_580);
123 r0 = fn_6de8(&local_1f8, &local_48);
124 if (local_1f8 == -0x8000000000000000) {
125 local_3a8 = local_1f0_u64;
126 r0 = fn_4e780("called `Result::unwrap()` on an `Err` value", 0x2b, &local_3a8, 0x5d638, &Location("programs/smart_arb/src/lib.rs:22:1")); // .data.rel.ro+0x200■ string · 43 B
128 local_3a8 = local_1f8;
133 r0 = fn_49818(r1, r2);
134 r0 = fn_29d0(&local_3a8);
136 r0 = fn_2c48(&local_558);
137 r0 = fn_cfb0(&local_580);