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…
anchor_fees · revrslypseudocode.cfn fn_2d38 · .text+0x2d38 · 116 ins · 23 blocks · 100 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_2d38 · 116 instructions · 1 caller · 1 goto
2u64 fn_2d38(u64 r1, u64 r2) {
3 u64 local_238;
4 u64 local_230;
5
u64 local_228;
26 r0 = fn_4718(r8, 0x56398); // .data.rel.ro+0x90
30 r0 = anchor_error_new(&local_230, 0xbc4); // Anchor error 3012 AccountNotInitialized?
33 *(u64 *)(r6 + 0x10) = r2;
34 *(u64 *)(r6 + 8) = r1;
38 local_200 = &local_1d8;
39 local_1c0 = -0x2997a83744a230a5;
40 local_1c8 = -0x52bcdf23f562d4a3;
41 local_1d0 = -0x5b18d72ad0f18c11;
42 r9 = -0x4be8cb8c2f4f976f;
44 r0 = fn_4768(r8, &local_200);
46 r0 = fn_41d78(&local_1d8, r7);
50 if (r2 != -0x7fffffffffffffe6) {
54 r0 = fn_39c8(r6, &local_1f0);
57 local_1f8 = *(u64 *)(r1 + 8);
59 r0 = fn_1dba8(&local_1d8, &local_200);
64 r0 = memcpy(r6 + 0x18, &local_1c0, 0x1c0);
65 *(u64 *)(r6 + 0x10) = r9;
66 *(u64 *)(r6 + 8) = local_238;
69 *(u64 *)(r6 + 0x10) = r9;
70 *(u64 *)(r6 + 8) = r2;
73 *(u64 *)(r8) = *(u64 *)(r8) + -1;
76 r0 = anchor_error_new(&local_210, 0xbbf); // Anchor error 3007 AccountOwnedByWrongProgram?
80 local_1c0 = *(u64 *)(r1 + 0x18);
81 local_1c8 = *(u64 *)(r1 + 0x10);
82 local_1d0 = *(u64 *)(r1 + 8);
83 local_1d8 = *(u64 *)(r1);
85 local_1b0 = -0x5b18d72ad0f18c11;
86 local_1a8 = -0x52bcdf23f562d4a3;
87 local_1a0 = -0x2997a83744a230a5;
88 r0 = fn_3d3d0(&local_220, r2, r3, &local_1d8);
91 *(u64 *)(r6 + 0x10) = r2;
92 *(u64 *)(r6 + 8) = r1;
99 goto L_2d98;● kept as goto