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_523b8 · .text+0x523b8 · 227 ins · 60 blocks · 220 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_523b8 · 227 instructions · 1 caller · never returns · 3 gotos
2// panic locations in this function: core/src/str/mod.rs:244
3u64 fn_523b8(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) {
4
u64 local_d0;
39 if ((i64)sar64(*(u8 *)(r7) << 0x38, 0x38) < -0x40) {
51 r0 = fn_523b0(r1, r2, 0, r0, r5);
54 r6 = 0x5ca0a; // .rodata+0x3682
73 local_80 = 0x60328; // &"byte index "
85 r0 = fn_4e620(&local_80, r5, r3, r4, r5);
88 local_80 = 0x60298; // &"begin <= end ("
103 r0 = fn_4e620(&local_80, r5, r3, r4, r5);
107 if ((i64)sar64(*(u8 *)(r1 + r3) << 0x38, 0x38) <= -0x41) {
126 r0 = fn_51d40(r0, r3, &Location("core/src/str/mod.rs:244:44"));■ string · 26 B
135 r4 = sar64(r4 << 0x38, 0x38);
136 if ((i64)r4 < -0x40) {
147 r0 = fn_523b0(r1, r2, r3, r2, r5);
154 r0 = sar64(*(u8 *)(r1) << 0x38, 0x38);
156 r4 = *(u8 *)(r1 + 1) & 0x3f;
161 r4 = r4 << 6 | *(u8 *)(r1 + 2) & 0x3f;
165 r4 = r4 << 6 | *(u8 *)(r1 + 3) & 0x3f;
166 r2 = r2 << 0x12 & 0x1c0000;
188 local_80 = 0x602d8; // &"byte index "
189 local_70 = &local_50;
190 local_10 = &local_b0;
194 local_20 = &local_c0;
196 local_30 = &local_90;
198 local_40 = &local_94;
200 local_50 = &local_a0;
204 r0 = fn_4e620(&local_80, r5, r3, r4, r5);
206 r4 = sar64(*(u8 *)(r1 + r3) << 0x38, 0x38);
207 if ((i64)r4 <= -0x41) {
208 r0 = fn_523b0(r1, r2, r3, r2, r5);
211 goto L_525d0;● kept as goto
213 goto L_52938;● kept as goto
215 if ((i64)sar64(*(u8 *)(r1 + r0) << 0x38, 0x38) <= -0x41) {
216 r0 = fn_523b0(r1, r2, 0, r0, r5);
219 goto L_52448;● kept as goto