Program 3Hjj…SjFD
Reconstructed94.9% of control flow structuredNative ◇3HjjzkfzPdNSEbHpEZ5Um934SJ2Ek35MngA1K2k4SjFDdecompiled 14 Oct 2026
- Loader
- ■v3 · upgradeable
- sBPF
- ■v0
- Size
- ■82,696 bytes
- Instructions
- ●7,936
- Functions
- ●140
- SHA-256
- ●03fe7410…d7f5b7a6
- Upgrade authority
- ■E6KV…zodT
- Last deploy slot
- ■443,274,088
❝ Published by the authors · nothing, so everything here is revrsly outputVerified build · noneIDL · none publishedsecurity.txt · none
Loading the reconstruction…
pseudocode.cfn fn_23d0 · .text+0x23d0 · 321 ins · 71 blocks · 294 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_23d0 · 321 instructions · 1 caller · 7 gotos
2// panic locations in this function: src/syscalls.rs:279
3u64 fn_23d0(u64 r1, u64 r2, u64 r3, u64 r4) {
4 u64 local_160;
5
u64 local_158;
40 if (*(u8 *)(r3 + 0x2a) == 1) {
43 // compares a key with TokenzQdBNtzAXjFuVEToAhzZc6tizKETXWxNgKsn6c
44 if (r6 == -0x21708a111e0922fa) {
45 if (*(u64 *)(r9 + 8) == -0x2532931b43a2bde8) {
46 if (*(u64 *)(r9 + 0x10) == 0x270db9834dfc1ab6) {
47 if (*(u64 *)(r9 + 0x18) == -0x3745e27d7064202) {
49 // compares a key with So11111111111111111111111111111111111111112 (Wrapped SOL mint)
50 if (*(u64 *)(r2) == -0x7b7e5401a87764fa) {
51 // …part 2 of So11111111111111111111111111111111111111112
52 if (*(u64 *)(r2 + 8) == 0x35c01846637f68fb) {
53 // …part 3 of So11111111111111111111111111111111111111112
54 if (*(u64 *)(r2 + 0x10) == 0x553beb1adc39c4da) {
56 // …part 4 of So11111111111111111111111111111111111111112
57 if (*(u64 *)(r2 + 0x18) != 0x100000000f0a098) {
71 r0 = sol_try_find_program_address(&local_140, 3, 0x10a08, &pda, &pda_bump); // .rodata+0x460; find a PDA and its bump■ syscall
73 pda = 0x11c30; // &"Unable to find a viable program address bump seed"
78 r0 = fn_9b00(&pda, &Location("src/syscalls.rs:279:32"));■ string · 22 B
84 if (*(u64 *)(r7) == pda) {
85 if (*(u64 *)(r7 + 8) == local_e8) {
86 if (*(u64 *)(r7 + 0x10) == local_e0) {
87 if (*(u64 *)(r7 + 0x18) == local_d8) {
88 r4 = *(u64 *)(r2 + 0x18);
92 if (*(u64 *)(r4 + 8) == 0) {
93 if (*(u64 *)(r4 + 0x10) == 0) {
94 if (*(u64 *)(r4 + 0x18) == 0) {
109 if (r1 == *(u64 *)(r9)) {
110 if (*(u64 *)(r4 + 8) == *(u64 *)(r9 + 8)) {
111 if (*(u64 *)(r4 + 0x10) == *(u64 *)(r9 + 0x10)) {
112 if (*(u64 *)(r4 + 0x18) == *(u64 *)(r9 + 0x18)) {
113 r1 = *(u64 *)(r2 + 0x10);
114 r2 = *(u64 *)(r1 + 0x10);
115 if (r2 > 0x7ffffffffffffffe) {
120 *(u64 *)(r1 + 0x10) = r2 + 1;
121 if (*(u64 *)(r1 + 0x20) >= 0xa5) {
122 r3 = *(u64 *)(r1 + 0x18);
123 if (*(u64 *)(r3) == *(u64 *)(r8)) {
124 if (*(u64 *)(r3 + 8) == *(u64 *)(r8 + 8)) {
125 if (*(u64 *)(r3 + 0x10) == *(u64 *)(r8 + 0x10)) {
126 if (*(u64 *)(r3 + 0x18) == *(u64 *)(r8 + 0x18)) {
127 if (*(u64 *)(r3 + 0x20) == *(u64 *)(r6)) {
128 if (*(u64 *)(r3 + 0x28) == *(u64 *)(r6 + 8)) {
129 if (*(u64 *)(r3 + 0x30) == *(u64 *)(r6 + 0x10)) {
130 if (*(u64 *)(r3 + 0x38) == *(u64 *)(r6 + 0x18)) {
131 if (*(u8 *)(r3 + 0x6c) != 1) {
132 *(u64 *)(r1 + 0x10) = r2;
135 r3 = *(u64 *)(r3 + 0x40);
136 *(u64 *)(r1 + 0x10) = r2;
138 local_28 = *(u64 *)(r9 + 0x18);
139 local_30 = *(u64 *)(r9 + 0x10);
140 local_38 = *(u64 *)(r9 + 8);
141 pda_bump = *(u64 *)(r9);
143 r1 = *(u64 *)(0x300000000);
153 if (r8 < 0x300000008) {
154 r0 = fn_8aa0(1, 0x66);
159 local_d8 = *(u64 *)(r6 + 0x18);
160 local_e0 = *(u64 *)(r6 + 0x10);
161 local_e8 = *(u64 *)(r6 + 8);
163 local_140 = *(u64 *)(r6);
164 local_138 = *(u64 *)(r6 + 8);
165 local_130 = *(u64 *)(r6 + 0x10);
166 local_128 = *(u64 *)(r6 + 0x18);
168 r2 = *(u64 *)(r7 + 8);
169 r3 = *(u64 *)(r7 + 0x10);
170 *(u64 *)(r8 + 0x18) = *(u64 *)(r7 + 0x18);
171 *(u64 *)(r8 + 0x10) = r3;
172 *(u64 *)(r8 + 8) = r2;
174 *(u16 *)(r8 + 0x20) = 0x100;
175 *(u64 *)(r8 + 0x22) = local_140;
176 *(u64 *)(r8 + 0x2a) = local_138;
177 *(u64 *)(r8 + 0x32) = local_130;
178 *(u64 *)(r8 + 0x3a) = local_128;
179 *(u16 *)(r8 + 0x42) = 0x100;
180 *(u64 *)(r8 + 0x44) = pda;
181 *(u64 *)(r8 + 0x4c) = local_e8;
182 *(u64 *)(r8 + 0x54) = local_e0;
183 *(u64 *)(r8 + 0x5c) = local_d8;
184 *(u16 *)(r8 + 0x64) = 1;
191 if (r1 < 0x300000008) {
194 *(u64 *)(0x300000000) = r1;
199 local_100 = local_30;
200 local_108 = local_38;
201 local_110 = pda_bump;
207 r0 = fn_568(r9, local_148);
208 r0 = fn_568(&local_c0, local_158);
209 r0 = fn_568(&local_90, local_150);
210 r0 = fn_68c8(&local_140, r9, 3);
211 if ((r0 << 0x20 >> 0x20) != 0x1a) {
214 pda_bump = 0x11e18; // &"close empty ATA failed (best-effort): "
215 local_30 = &local_10;
217 local_10 = &local_60;
221 r0 = fn_370(&local_58, &pda_bump);
222 sol_log_(local_50, local_48); // log a string■ syscall
230 if (r8 < 0x300000008) {
231 r0 = fn_8aa0(1, 0x66);
233 goto L_2aa8;● kept as goto
239 goto L_29a8;● kept as goto
241 goto L_2a90;● kept as goto
244 goto L_2a70;● kept as goto
246 goto L_2990;● kept as goto
258 *(u64 *)(r1 + 0x10) = r2;
273 goto L_2588;● kept as goto
279 if (r6 == -0x6c5e9a281e0922fa) {
280 // …part 2 of TokenzQdBNtzAXjFuVEToAhzZc6tizKETXWxNgKsn6c
281 if (*(u64 *)(r9 + 8) == -0x53861431b91e3427) {
282 // …part 3 of TokenzQdBNtzAXjFuVEToAhzZc6tizKETXWxNgKsn6c
283 if (*(u64 *)(r9 + 0x10) == -0x6ec8a4a0127a4be4) {
284 // …part 4 of TokenzQdBNtzAXjFuVEToAhzZc6tizKETXWxNgKsn6c
285 if (*(u64 *)(r9 + 0x18) != -0x56ff00817a0a73c6) {
288 goto L_2500;● kept as goto