anchor_fees
Reconstructed97.1% of control flow structuredAnchor ◇Anchu75SGbEUeWL5WcSVG9XJQb21NVmmA1faQ7Vse7t9decompiled 22 Oct 2026
- Loader
- ■v3 · upgradeable
- sBPF
- ■v0
- Size
- ■404,096 bytes
- Instructions
- ●39,626
- Functions
- ●678
- SHA-256
- ●5ca3173c…544bcbc0
- Upgrade authority
- ■DPiU…pnms
- Last deploy slot
- ■460,073,305
❝ Published by the authors · nothing, so everything here is revrsly outputVerified build · noneIDL · none publishedsecurity.txt · none
Loading the reconstruction…
pseudocode.cfn swap_to_sol_handler · .text+0xf9f0 · 132 ins · 19 blocks · 139 lines · structured where the control flow allows↓ .c download pseudocode.c 1// swap_to_sol_handler · 132 instructions · 1 caller
2u64 swap_to_sol_handler(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) {
3
u64
local_1000;
54 sol_log_("Instruction: SwapToSol", 0x16); // log a string■ string · 22 B
55 local_550 = *(u64 *)(r7 - 0xff8);
56 local_558 = *(u64 *)(r7 - 0x1000);
57 r0 = fn_2daf0(&local_2b8, &local_558);
59 r2 = -0x8000000000000000;
63 local_584 = local_2a4;
64 local_58c = local_2ac;
67 local_5e0 = local_2a0;
68 local_5e8 = local_298;
70 local_5f0 = local_28f;
76 r0 = swap_to_sol_try_accounts(&local_2b8, local_5d0, &local_568);
81 r0 = memcpy(&local_548, &local_2a8, 0x289);
87 local_2a0 = local_560;
88 local_2a8 = local_568;
89 local_2b0_u64 = &local_558;
90 local_2b8 = local_5d0;
92 local_10 = local_590_u64;
94 local_ff0 = local_5f0;
96 local_1000 = local_5e8;
97 r0 = swap_to_sol(&local_5a8, &local_2b8, &local_18, local_5e0, fp);
102 r0 = fn_7fc0(&local_580);
104 r0 = fn_49f8(&local_598);
107 r0 = fn_273e0(&local_5b8, &local_558, local_5d0);
110 r0 = fn_7fc0(&local_580);
114 *(u64 *)(r6 + 8) = r9;
118 r0 = fn_7fc0(&local_580);
121 *(u64 *)(r6 + 8) = r9;
124 r0 = fn_49f8(&local_598);
126 *(u64 *)(r6 + 8) = r9;
130 local_18 = local_2b0_u64;
131 r0 = fn_4840(&local_18, r2, r3, r4, r5);
132 r0 = anchor_error_new(&local_5c8, 0x66); // Anchor error 102 InstructionDidNotDeserialize?
137 *(u64 *)(r6 + 8) = r9;