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 buy_anchor_handler · .text+0xfe20 · 129 ins · 20 blocks · 130 lines · structured where the control flow allows↓ .c download pseudocode.c 1// buy_anchor_handler · 129 instructions · 1 caller
2u64 buy_anchor_handler(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) {
3
u64
local_1000;
51 sol_log_("Instruction: BuyAnchor", 0x16); // log a string■ string · 22 B
52 local_660 = *(u64 *)(r7 - 0xff8);
53 local_668_u64 = *(u64 *)(r7 - 0x1000);
54 r0 = fn_2d8c8(&local_340_u64, &local_668_u64);
56 r2 = -0x8000000000000000;
59 local_694 = local_32c;
60 local_69c = local_334;
63 local_6e8 = local_328;
64 local_6f0 = local_320;
65 local_6f8 = local_318;
71 r0 = buy_anchor_try_accounts(&local_340_u64, local_6e0, &local_678);
74 local_700 = local_33c;
77 r0 = memcpy(&local_650, &local_328, 0x310);
80 local_664 = local_700;
82 local_328 = local_670;
83 local_330 = local_678;
84 local_338_u64 = &local_668_u64;
85 local_340_u64 = local_6e0;
87 local_10 = local_6a0_u64;
89 local_ff8 = local_6f8;
90 local_1000 = local_6f0;
91 r0 = buy_anchor(&local_6b8, &local_340_u64, &local_18, local_6e8, fp);
95 r0 = fn_7fc0(&local_690);
97 r0 = fn_49f8(&local_6a8);
100 r0 = fn_292f0(&local_6c8, &local_668_u64, local_6e0);
103 r0 = fn_7fc0(&local_690);
108 r0 = fn_7fc0(&local_690);
111 *(u64 *)(r6 + 8) = r9;
114 r0 = fn_49f8(&local_6a8);
116 *(u64 *)(r6 + 8) = r9;
121 local_18 = local_338_u64;
122 r0 = fn_4840(&local_18, r2, r3, r4, r5);
123 r0 = anchor_error_new(&local_6d8, 0x66); // Anchor error 102 InstructionDidNotDeserialize?
128 *(u64 *)(r6 + 8) = r9;