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…
pseudocode.cfn fn_50dc8 · .text+0x50dc8 · 320 ins · 96 blocks · 404 lines · structured where the control flow allows↓ .c download pseudocode.c 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
3u64 fn_50dc8(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) {
28 r7 = *(u64 *)(r3 + 0x20);
30 r1 = *(u64 *)(r3 + 0x28);
32 r8 = *(u64 *)(r1 + 0x20);
35 r0 = (*(fn *)r8)(r1, r2, r3, r4, r5);
44 r5 = *(u64 *)(local_20 + 0x18);
48 r0 = (*(fn *)r5)(r1, r2, r3, r4, r5);
53 r0 = (*(fn *)r8)(r1, r2, r3, r4, r5);
73 if ((r5 + -0x7f & 0xff) < 0xa1) {
77 r5 = sar64(r5 << 0x38, 0x38);
81 r1 = *(u8 *)(r9) & 0x3f;
89 r1 = r1 << 6 | *(u8 *)(r9) & 0x3f;
95 r1 = r1 << 6 | *(u8 *)(r3) & 0x3f | r0 << 0x12 & 0x1c0000;
105 r1 = r5 << 0x20 >> 0x20;
107 if ((i64)r1 <= 0xc) {
112 local_18_u16 = 0x305c;
116 if (local_18_u8 == 0x80) {
145 r5 = *(u64 *)(local_20 + 0x18);
149 r0 = (*(fn *)r5)(r1, r2, r3, r4, r5);
156 r0 = (*(fn *)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 = *(u64 *)(local_20 + 0x18);
172 r0 = (*(fn *)r5)(r1, r2, r3, r4, r5);
179 r0 = (*(fn *)r8)(r1, r2, r3, r4, r5);
185 if ((i64)sar64(*(u8 *)(r6 + r9) << 0x38, 0x38) <= -0x41) {
186 r0 = fn_523b0(r6, r2, r0, r9, &Location("core/src/fmt/mod.rs:2479:26"));■ string · 27 B
190 r5 = *(u64 *)(local_20 + 0x18);
194 r0 = (*(fn *)r5)(r1, r2, r3, r4, r5);
201 r0 = (*(fn *)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 ((i64)sar64(*(u8 *)(r6 + r0) << 0x38, 0x38) <= -0x41) {
210 r0 = fn_523b0(r6, r2, r0, r9, &Location("core/src/fmt/mod.rs:2479:26"));■ string · 27 B
213 goto L_51678;● kept as goto
215 r0 = fn_523b0(r6, r2, r0, r9, &Location("core/src/fmt/mod.rs:2479:26"));■ string · 27 B
219 goto L_51590;● kept as goto
223 goto L_51590;● kept as goto
226 goto L_51590;● kept as goto
228 if ((r1 - r5 & 0xff) == 1) {
229 goto L_513e0;● kept as goto
243 r4 = *(u64 *)(local_20 + 0x18);
245 r0 = (*(fn *)r4)(r1, r2, r3, r4, r5);
247 r0 = fn_4e2a8(&local_18_u64, local_30, r3, r4, r5);
257 goto L_51558;● kept as goto
261 goto L_51548;● kept as goto
265 goto L_51548;● kept as goto
268 goto L_51548;● kept as goto
275 if ((r1 + local_70) == 0) {
276 goto L_51460;● kept as goto
278 r0 = fn_523b0(local_40, r2, r0, r4 + r7, &Location("core/src/fmt/mod.rs:2470:38"));■ string · 27 B
280 if ((i64)sar64(*(u8 *)(local_40 + r4 + r7) << 0x38, 0x38) > -0x41) {
281 goto L_51460;● kept as goto
283 r0 = fn_523b0(local_40, r2, r0, r4 + r7, &Location("core/src/fmt/mod.rs:2470:38"));■ string · 27 B
287 goto L_513f8;● kept as goto
289 r0 = fn_523b0(local_40, r2, r0, r4 + r7, &Location("core/src/fmt/mod.rs:2470:38"));■ string · 27 B
291 if ((i64)sar64(*(u8 *)(local_40 + r0) << 0x38, 0x38) > -0x41) {
292 goto L_513f8;● kept as goto
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 goto L_51348;● kept as goto
314 r0 = fn_53088(&local_c, r9);
316 local_18_u64 = local_c;
323 goto L_51348;● kept as goto
329 goto L_51558;● kept as goto
336 goto L_51240;● kept as goto
338 r0 = fn_53088(&local_c, r5);
341 local_18_u64 = local_c;
344 goto L_51338;● kept as goto
349 local_18_u16 = 0x6e5c;
350 goto L_51348;● kept as goto
352 if ((i64)r1 > 0x26) {
356 goto L_51240;● kept as goto
361 goto L_51198;● kept as goto
366 local_18_u16 = 0x5c5c;
367 goto L_51348;● kept as goto
373 local_18_u16 = 0x725c;
374 goto L_51348;● kept as goto
377 goto L_51198;● kept as goto
382 local_18_u16 = 0x225c;
383 goto L_51348;● kept as goto
386 goto L_50f08;● kept as goto
389 goto L_50f08;● kept as goto
401 goto L_515d8;● kept as goto