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 distribute_handler · .text+0x10238 · 140 ins · 20 blocks · 144 lines · structured where the control flow allows↓ .c download pseudocode.c 1// distribute_handler · 140 instructions · 1 caller
2u64 distribute_handler(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) {
3
u64
local_1000;
60 sol_log_("Instruction: Distribute", 0x17); // log a string■ string · 23 B
61 local_660 = *(u64 *)(r7 - 0xff8);
62 local_668_u64 = *(u64 *)(r7 - 0x1000);
63 r0 = fn_2d300(&local_350_u64, &local_668_u64);
65 r2 = -0x8000000000000000;
72 local_694 = local_33c;
73 local_69c = local_344;
76 local_6f8 = local_338;
77 local_6e8 = local_310;
78 local_6f0 = local_30c;
84 r0 = distribute_try_accounts(&local_350_u64, local_6e0, &local_678);
87 local_700 = local_34c;
90 r0 = memcpy(&local_650, &local_338, 0x300);
93 local_664 = local_700;
95 local_338 = local_670;
96 local_340 = local_678;
97 local_348_u64 = &local_668_u64;
98 local_350_u64 = local_6e0;
100 local_30 = local_6a0_u64;
101 local_38 = local_6a8;
102 local_ff0 = &local_20;
103 local_ff8 = &local_38;
104 local_1000 = local_6f8;
105 r0 = distribute(&local_6b8, &local_350_u64, local_6f0, local_6e8, fp);
109 r0 = fn_7fc0(&local_690);
111 r0 = fn_48d0(&local_6a8);
114 r0 = fn_2ac00(&local_6c8, &local_668_u64, local_6e0);
117 r0 = fn_7fc0(&local_690);
122 r0 = fn_7fc0(&local_690);
125 *(u64 *)(r6 + 8) = r9;
128 r0 = fn_48d0(&local_6a8);
130 *(u64 *)(r6 + 8) = r9;
135 local_38 = local_348_u64;
136 r0 = fn_4840(&local_38, r2, r3, r4, r5);
137 r0 = anchor_error_new(&local_6d8, 0x66); // Anchor error 102 InstructionDidNotDeserialize?
142 *(u64 *)(r6 + 8) = r9;