smart_arb
Reconstructed93.7% of control flow structuredAnchor ◇5aMAKxzyqesf1dn7cDLPdGxwshZf1aVNavYzAQQU32Fgdecompiled 14 Oct 2026
- Loader
- ■v3 · upgradeable
- sBPF
- ■v0
- Size
- ■424,472 bytes
- Instructions
- ●43,919
- Functions
- ●655
- SHA-256
- ●6a840638…44e19500
- Upgrade authority
- ■8tZL…1LQR
- Last deploy slot
- ■449,218,614
❝ Published by the authors · nothing, so everything here is revrsly outputVerified build · noneIDL · none publishedsecurity.txt · none
Loading the reconstruction…
1// fn_50dc8 · 320 instructions · 4 callers · 28 gotos
2// panic locations in this function: core/src/fmt/mod.rs:2470, core/src/fmt/mod.rs:2479
3fn fn_50dc8(mut r1: u64, mut r2: u64, mut r3:
u64
,
mut
r4:
u64
,
mut
r5:
u64
) ->
u64
{
4 let mut local_70: u64 = 0;
5 let mut local_68: u64 = 0;
6 let mut local_60: u64 = 0;
7 let mut local_58: u64 = 0;
8 let mut local_50: u64 = 0;
9 let mut local_48: u64 = 0;
10 let mut local_40: u64 = 0;
11 let mut local_38: u64 = 0;
12 let mut local_30: u64 = 0;
13 let mut local_28: u64 = 0;
14 let mut local_20: u64 = 0;
15 let mut local_18_u16: u16 = 0;
16 let mut local_18_u64: u64 = 0;
17 let mut local_18_u8: u8 = 0;
18 let mut local_16: u64 = 0;
19 let mut local_10: u16 = 0;
20 let mut local_e: u8 = 0;
21 let mut local_d: u8 = 0;
22 let mut local_c: u64 = 0;
23 let mut local_4: u16 = 0;
24 let mut local_2: u8 = 0;
25 let mut local_1: u8 = 0;
28 r7 = *((r3 + 0x20) as *const u64);
30 r1 = *((r3 + 0x28) as *const u64);
32 r8 = *((r1 + 0x20) as *const u64);
35 r0 = call_indirect(r8, r1, r2, r3, r4, r5);
44 r5 = *((local_20 + 0x18) as *const u64);
48 r0 = call_indirect(r5, r1, r2, r3, r4, r5);
53 r0 = call_indirect(r8, r1, r2, r3, r4, r5);
72 r5 = *((r9) as *const u8);
73 if (r5 + -0x7f & 0xff) < 0xa1 {
75 r5 = *((r9) as *const u8);
77 r5 = sar64(r5 << 0x38, 0x38);
78 if (r5 as i64) <= -1 {
81 r1 = *((r9) as *const u8) & 0x3f;
89 r1 = r1 << 6 | *((r9) as *const u8) & 0x3f;
95 r1 = r1 << 6 | *((r3) as *const u8) & 0x3f | r0 << 0x12 & 0x1c0000;
105 r1 = r5 << 0x20 >> 0x20;
107 if (r1 as i64) <= 0xc {
112 local_18_u16 = 0x305c;
116 if local_18_u8 == 0x80 {
127 continue 'loop_50e88;
145 r5 = *((local_20 + 0x18) as *const u64);
149 r0 = call_indirect(r5, r1, r2, r3, r4, r5);
156 r0 = call_indirect(r8, r1, r2, r3, r4, r5);
164 r0 = fn_523b0(r6, r2, r0, r9, &Location("core/src/fmt/mod.rs:2479:26"));■ string · 27 B
168 r5 = *((local_20 + 0x18) as *const u64);
172 r0 = call_indirect(r5, r1, r2, r3, r4, r5);
179 r0 = call_indirect(r8, r1, r2, r3, r4, r5);
185 if (sar64(*((r6 + r9) as *const u8) << 0x38, 0x38) as i64) <= -0x41 {
186 r0 = fn_523b0(r6, r2, r0, r9, &Location("core/src/fmt/mod.rs:2479:26"));■ string · 27 B
190 r5 = *((local_20 + 0x18) as *const u64);
194 r0 = call_indirect(r5, r1, r2, r3, r4, r5);
201 r0 = call_indirect(r8, r1, r2, r3, r4, r5);
206 r0 = fn_523b0(r6, r2, r0, r9, &Location("core/src/fmt/mod.rs:2479:26"));■ string · 27 B
209 if (sar64(*((r6 + r0) as *const u8) << 0x38, 0x38) as i64) <= -0x41 {
210 r0 = fn_523b0(r6, r2, r0, r9, &Location("core/src/fmt/mod.rs:2479:26"));■ string · 27 B
213 /* continues at L_51678; not expressible as structured Rust */● an edge Rust can't hold
215 r0 = fn_523b0(r6, r2, r0, r9, &Location("core/src/fmt/mod.rs:2479:26"));■ string · 27 B
219 /* continues at L_51590; not expressible as structured Rust */● an edge Rust can't hold
223 /* continues at L_51590; not expressible as structured Rust */● an edge Rust can't hold
226 /* continues at L_51590; not expressible as structured Rust */● an edge Rust can't hold
228 if (r1 - r5 & 0xff) == 1 {
229 /* continues at L_513e0; not expressible as structured Rust */● an edge Rust can't hold
243 r4 = *((local_20 + 0x18) as *const u64);
245 r0 = call_indirect(r4, r1, r2, r3, r4, r5);
247 r0 = fn_4e2a8(&local_18_u64, local_30, r3, r4, r5);
257 /* continues at L_51558; not expressible as structured Rust */● an edge Rust can't hold
261 /* continues at L_51548; not expressible as structured Rust */● an edge Rust can't hold
265 /* continues at L_51548; not expressible as structured Rust */● an edge Rust can't hold
268 /* continues at L_51548; not expressible as structured Rust */● an edge Rust can't hold
275 if (r1 + local_70) == 0 {
276 /* continues at L_51460; not expressible as structured Rust */● an edge Rust can't hold
278 r0 = fn_523b0(local_40, r2, r0, r4 + r7, &Location("core/src/fmt/mod.rs:2470:38"));■ string · 27 B
280 if (sar64(*((local_40 + r4 + r7) as *const u8) << 0x38, 0x38) as i64) > -0x41 {
281 /* continues at L_51460; not expressible as structured Rust */● an edge Rust can't hold
283 r0 = fn_523b0(local_40, r2, r0, r4 + r7, &Location("core/src/fmt/mod.rs:2470:38"));■ string · 27 B
287 /* continues at L_513f8; not expressible as structured Rust */● an edge Rust can't hold
289 r0 = fn_523b0(local_40, r2, r0, r4 + r7, &Location("core/src/fmt/mod.rs:2470:38"));■ string · 27 B
291 if (sar64(*((local_40 + r0) as *const u8) << 0x38, 0x38) as i64) > -0x41 {
292 /* continues at L_513f8; not expressible as structured Rust */● an edge Rust can't hold
295 r0 = fn_523b0(local_40, r2, r0, r4 + r7, &Location("core/src/fmt/mod.rs:2470:38"));■ string · 27 B
301 local_18_u16 = 0x745c;
302 /* continues at L_51348; not expressible as structured Rust */● an edge Rust can't hold
314 r0 = fn_53088(&local_c, r9);
316 local_18_u64 = local_c;
323 /* continues at L_51348; not expressible as structured Rust */● an edge Rust can't hold
329 /* continues at L_51558; not expressible as structured Rust */● an edge Rust can't hold
336 /* continues at L_51240; not expressible as structured Rust */● an edge Rust can't hold
338 r0 = fn_53088(&local_c, r5);
341 local_18_u64 = local_c;
344 /* continues at L_51338; not expressible as structured Rust */● an edge Rust can't hold
349 local_18_u16 = 0x6e5c;
350 /* continues at L_51348; not expressible as structured Rust */● an edge Rust can't hold
352 if (r1 as i64) > 0x26 {
356 /* continues at L_51240; not expressible as structured Rust */● an edge Rust can't hold
361 /* continues at L_51198; not expressible as structured Rust */● an edge Rust can't hold
366 local_18_u16 = 0x5c5c;
367 /* continues at L_51348; not expressible as structured Rust */● an edge Rust can't hold
373 local_18_u16 = 0x725c;
374 /* continues at L_51348; not expressible as structured Rust */● an edge Rust can't hold
377 /* continues at L_51198; not expressible as structured Rust */● an edge Rust can't hold
382 local_18_u16 = 0x225c;
383 /* continues at L_51348; not expressible as structured Rust */● an edge Rust can't hold
386 /* continues at L_50f08; not expressible as structured Rust */● an edge Rust can't hold
389 /* continues at L_50f08; not expressible as structured Rust */● an edge Rust can't hold
401 /* continues at L_515d8; not expressible as structured Rust */● an edge Rust can't hold