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…
1// fn_4b620 · 257 instructions · 4 callers · 17 gotos
2// panic locations in this function: library/core/src/fmt/mod.rs:2732, library/core/src/fmt/mod.rs:2741
3fn fn_4b620(mut r1: u64, mut r2: u64, mut r3:
u64
,
mut
r4:
u64
,
mut
r5:
u64
) ->
u64
{
4 let mut local_50: u64 = 0;
5 let mut local_48: u64 = 0;
6 let mut local_40: u64 = 0;
7 let mut local_38: u64 = 0;
8 let mut local_30: u64 = 0;
9 let mut local_28: u64 = 0;
10 let mut local_20: u64 = 0;
11 let mut local_18: u64 = 0;
12 let mut local_10: u32 = 0;
13 let mut local_4: u8 = 0;
14 let mut local_3: u8 = 0;
17 r6 = *((r3) as *const u64);
18 r1 = *((r3 + 8) as *const u64);
20 r7 = *((r1 + 0x20) as *const u64);
23 r0 = call_indirect(r7, r1, r2, r3, r4, r5);
32 r5 = *((local_28 + 0x18) as *const u64);
36 r0 = call_indirect(r5, r1, r2, r3, r4, r5);
41 r0 = call_indirect(r7, r1, r2, r3, r4, r5);
62 r0 = *((r4) as *const u8);
63 if (r0 + -0x7f & 0xff) < 0xa1 {
65 r0 = *((r4) as *const u8);
67 r0 = sar64(r0 << 0x38, 0x38);
68 if (r0 as i64) <= -1 {
70 r1 = *((r4) as *const u8) & 0x3f;
79 r1 = r1 << 6 | *((r4) as *const u8) & 0x3f;
83 r2 = r1 | local_20 << 0xc;
87 r2 = r1 << 6 | *((r5) as *const u8) & 0x3f | local_20 << 0x12 & 0x1c0000;
96 r0 = fn_484c8(&local_10, r2, 0x10001);
97 if (local_3 - local_4 & 0xff) != 1 {
109 r9 = *((local_28 + 0x18) as *const u64);
111 r0 = call_indirect(r9, r1, r2, r3, r4, r5);
119 r0 = call_indirect(r9, r1, r2, r3, r4, r5);
136 continue 'loop_4b710;
140 r0 = fn_4c7e8(r9, local_40, r3, r4, &Location("library/core/src/fmt/mod.rs:2741:26"));■ string · 35 B
156 r5 = *((local_28 + 0x18) as *const u64);
160 r0 = call_indirect(r5, r1, r2, r3, r4, r5);
167 r0 = call_indirect(r7, r1, r2, r3, r4, r5);
174 if (sar64(*((r9 + r4) as *const u8) << 0x38, 0x38) as i64) <= -0x41 {
175 r0 = fn_4c7e8(r9, local_40, r1, r4, &Location("library/core/src/fmt/mod.rs:2741:26"));■ string · 35 B
179 r5 = *((local_28 + 0x18) as *const u64);
183 r0 = call_indirect(r5, r1, r2, r3, r4, r5);
190 r0 = call_indirect(r7, r1, r2, r3, r4, r5);
197 r0 = fn_4c7e8(r9, local_40, r3, r4, &Location("library/core/src/fmt/mod.rs:2741:26"));■ string · 35 B
201 r5 = *((local_28 + 0x18) as *const u64);
205 r0 = call_indirect(r5, r1, r2, r3, r4, r5);
212 r0 = call_indirect(r7, r1, r2, r3, r4, r5);
217 r0 = fn_4c7e8(r9, local_40, r3, r4, &Location("library/core/src/fmt/mod.rs:2741:26"));■ string · 35 B
220 if (sar64(*((r9 + r3) as *const u8) << 0x38, 0x38) as i64) <= -0x41 {
221 r0 = fn_4c7e8(r9, local_40, r3, r4, &Location("library/core/src/fmt/mod.rs:2741:26"));■ string · 35 B
224 /* continues at L_4bcb0; not expressible as structured Rust */● an edge Rust can't hold
229 /* continues at L_4b6e8; not expressible as structured Rust */● an edge Rust can't hold
233 /* continues at L_4b6e8; not expressible as structured Rust */● an edge Rust can't hold
236 /* continues at L_4b6e8; not expressible as structured Rust */● an edge Rust can't hold
240 /* continues at L_4bba8; not expressible as structured Rust */● an edge Rust can't hold
244 /* continues at L_4bba8; not expressible as structured Rust */● an edge Rust can't hold
247 /* continues at L_4bba8; not expressible as structured Rust */● an edge Rust can't hold
255 r0 = call_indirect(r3, r1, r2, r3, r4, r5);
257 /* continues at L_4bb58; not expressible as structured Rust */● an edge Rust can't hold
266 /* continues at L_4ba88; not expressible as structured Rust */● an edge Rust can't hold
268 r0 = fn_4c7e8(r1, r2, r9, r4 + r7, &Location("library/core/src/fmt/mod.rs:2732:38"));■ string · 35 B
270 if (sar64(*((r1 + r4 + r7) as *const u8) << 0x38, 0x38) as i64) > -0x41 {
271 /* continues at L_4ba88; not expressible as structured Rust */● an edge Rust can't hold
273 r0 = fn_4c7e8(r1, r2, r9, r4 + r7, &Location("library/core/src/fmt/mod.rs:2732:38"));■ string · 35 B
277 /* continues at L_4ba20; not expressible as structured Rust */● an edge Rust can't hold
279 r0 = fn_4c7e8(r1, r2, r9, r4 + r7, &Location("library/core/src/fmt/mod.rs:2732:38"));■ string · 35 B
281 if (sar64(*((r1 + r9) as *const u8) << 0x38, 0x38) as i64) > -0x41 {
282 /* continues at L_4ba20; not expressible as structured Rust */● an edge Rust can't hold
285 r0 = fn_4c7e8(r1, r2, r9, r4 + r7, &Location("library/core/src/fmt/mod.rs:2732:38"));■ string · 35 B
293 /* continues at L_4b6e8; not expressible as structured Rust */● an edge Rust can't hold
295 /* continues at L_4bbc8; not expressible as structured Rust */● an edge Rust can't hold
298 /* continues at L_4b798; not expressible as structured Rust */● an edge Rust can't hold
301 /* continues at L_4b798; not expressible as structured Rust */● an edge Rust can't hold
313 /* continues at L_4bc10; not expressible as structured Rust */● an edge Rust can't hold
315 r0 = fn_4c7e8(r9, local_40, r3, r4, &Location("library/core/src/fmt/mod.rs:2741:26"));■ string · 35 B