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_4c7f0 · 235 instructions · 1 caller · never returns · 6 gotos
2// panic locations in this function: library/core/src/str/mod.rs:415
3fn fn_4c7f0(mut r1: u64, mut r2: u64, mut r3:
u64
,
mut
r4:
u64
,
mut
r5:
u64
) ->
u64
{
4 let mut local_d0: u64 = 0;
5 let mut local_c8: u64 = 0;
6 let mut local_c0: u64 = 0;
7 let mut local_b8: u64 = 0;
8 let mut local_b0: u64 = 0;
9 let mut local_a8: u64 = 0;
10 let mut local_a0: u64 = 0;
11 let mut local_94: u32 = 0;
12 let mut local_90: u64 = 0;
13 let mut local_88: u64 = 0;
14 let mut local_80: u64 = 0;
15 let mut local_78: u64 = 0;
16 let mut local_70: u64 = 0;
17 let mut local_68: u64 = 0;
18 let mut local_60: u64 = 0;
19 let mut local_50: u64 = 0;
20 let mut local_48: u64 = 0;
21 let mut local_40: u64 = 0;
22 let mut local_38: u64 = 0;
23 let mut local_30: u64 = 0;
24 let mut local_28: u64 = 0;
25 let mut local_20: u64 = 0;
26 let mut local_18: u64 = 0;
27 let mut local_10: u64 = 0;
28 let mut local_8: u64 = 0;
34 r6 = 0x55bcd; // .rodata+0x446d
50 local_80 = 0x593e0; // &"byte index "
62 r0 = fn_490e8(&local_80, r5);
65 local_80 = 0x59350; // &"begin <= end ("
80 r0 = fn_490e8(&local_80, r5);
84 if (sar64(*((r1 + r3) as *const u8) << 0x38, 0x38) as i64) <= -0x41 {
100 r0 = fn_4c1f8(r0, r3, &Location("library/core/src/str/mod.rs:415:44"));■ string · 34 B
108 r4 = *((r6) as *const u8);
110 if (sar64(r4 << 0x38, 0x38) as i64) < -0x40 {
121 r0 = fn_4c7e8(r1, r2, r3, r2, r5);
128 r0 = sar64(*((r1) as *const u8) << 0x38, 0x38);
129 if (r0 as i64) <= -1 {
130 r4 = *((r1 + 1) as *const u8) & 0x3f;
135 r4 = r4 << 6 | *((r1 + 2) as *const u8) & 0x3f;
139 r4 = r4 << 6 | *((r1 + 3) as *const u8) & 0x3f;
140 r2 = r2 << 0x12 & 0x1c0000;
161 local_80 = 0x59390; // &"byte index "
162 local_70 = &local_50;
163 local_10 = &local_b0;
167 local_20 = &local_c0;
169 local_30 = &local_90;
171 local_40 = &local_94;
173 local_50 = &local_a0;
177 r0 = fn_490e8(&local_80, r5);
179 if (sar64(*((r1 + r3) as *const u8) << 0x38, 0x38) as i64) <= -0x41 {
180 r0 = fn_4c7e8(r1, r2, r3, r2, r5);
183 /* continues at L_4cc50; not expressible as structured Rust */● an edge Rust can't hold
189 r0 = fn_4c1f8(r0, r3, &Location("library/core/src/str/mod.rs:415:44"));■ string · 34 B
191 /* continues at L_4cbf0; not expressible as structured Rust */● an edge Rust can't hold
194 /* continues at L_4ccf8; not expressible as structured Rust */● an edge Rust can't hold
196 /* continues at L_4cbd8; not expressible as structured Rust */● an edge Rust can't hold
198 /* continues at L_4cc48; not expressible as structured Rust */● an edge Rust can't hold
201 local_80 = 0x593e0; // &"byte index "
202 local_70 = &local_50;
203 local_30 = &local_b0;
207 local_40 = &local_c0;
209 local_50 = &local_90;
213 r0 = fn_490e8(&local_80, r5);
216 if (sar64(*((r1 + 0x100) as *const u8) << 0x38, 0x38) as i64) <= -0x41 {
218 if (sar64(*((r1 + 0xff) as *const u8) << 0x38, 0x38) as i64) <= -0x41 {
220 if (sar64(*((r1 + 0xfe) as *const u8) << 0x38, 0x38) as i64) <= -0x41 {
225 if (sar64(*((r1 + r0) as *const u8) << 0x38, 0x38) as i64) <= -0x41 {
226 r0 = fn_4c7e8(r1, r2, 0, r0, r5);
228 /* continues at L_4c8d8; not expressible as structured Rust */● an edge Rust can't hold