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 fn_45578 · .text+0x45578 · 216 ins · 43 blocks · 239 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_45578 · 216 instructions · 1 caller · 6 gotos
2// panic locations in this function: src/encode.rs:314, src/encode.rs:189, src/encode.rs:262, src/encode.rs:263, src/encode.rs:265, src/lib.rs:1006
3u64 fn_45578(u64 r1, u64 r2) {
4
u64
local_f0;
39 if (*(u8 *)(r2 + r3) == 0) {
59 *(u8 *)(r3) = *(u8 *)(r4);
60 *(u8 *)(r3 + 1) = *(u8 *)(r4 - 1);
61 *(u8 *)(r3 + 2) = *(u8 *)(r4 - 2);
62 *(u8 *)(r3 + 3) = *(u8 *)(r4 - 3);
71 r2 = 0x551a0; // .rodata+0x3a40
84 r5 = &local_68 + (r1 << 2);
107 r0 = r4 / 0x271f35a0;
114 *(u64 *)(r3) = r4 - r0 * 0x271f35a0;
125 goto L_45928;● kept as goto
128 goto L_45910;● kept as goto
133 goto L_458c0;● kept as goto
136 r0 = memcpy(&local_b0, &local_48, 0x48);
147 r3 = *(u64 *)(&local_b0 + r1);
148 r4 = r3 << 0x20 >> 0x20;
149 *(u8 *)(r2 - 2) = r4 / 0xacad10;
151 *(u8 *)(r2 + 1) = r5 % 0x3a;
152 *(u8 *)(r2) = r4 / 0xd24 % 0x3a;
153 *(u8 *)(r2 - 1) = r4 / 0x2fa28 % 0x3a;
154 *(u8 *)(r2 + 2) = r3 - r5 * 0x3a;
167 if (*(u8 *)(&local_48 + r2) == 0) {
177 r0 = fn_4d5c0(&Location("src/encode.rs:262:16"));■ string · 20 B
181 r0 = fn_4d5c0(&Location("src/encode.rs:263:17"));■ string · 20 B
187 r1 = *(u8 *)(&local_48 + r4);
189 *(u8 *)(r5) = *(u8 *)(0x552a0 + r1); // .rodata+0x3b40
195 if (local_e8 == r2) {
196 r0 = fn_4c1f0(r3, 0x2c, &Location("src/lib.rs:1006:51"));■ string · 18 B
198 r0 = fn_4b0a0(local_f0, &local_e0, r3);
203 r0 = fn_49180(r1, 0x3a, &Location("src/encode.rs:265:41"));■ string · 20 B
205 if (local_e8 == r2) {
206 r0 = fn_4c1f0(r3, 0x2c, &Location("src/lib.rs:1006:51"));■ string · 18 B
208 r0 = fn_4b0a0(local_f0, &local_e0, r3);
212 r0 = fn_4d568(&Location("src/encode.rs:314:13"));■ string · 20 B
216 r8 = r7 + *(u32 *)(r2 + r4) * r5;
227 goto L_457f8;● kept as goto
232 goto L_457d0;● kept as goto
236 r0 = fn_4d568(&Location("src/encode.rs:189:9"));■ string · 19 B
238 goto L_45808;● kept as goto