Program ojh1…orch
Disassembled86.4% of control flow structuredNative ◇ojh19ojaKduoJZuaJADhcVGp4xt1TcdAvZmpVsCorchdecompiled 14 Oct 2026
- Loader
- ■v3 · upgradeable
- sBPF
- ■v0
- Size
- ■133,976 bytes
- Instructions
- ●15,018
- Functions
- ●95
- SHA-256
- ●14799e13…f2660b93
- Upgrade authority
- ■F6qa…z862
- Last deploy slot
- ■449,987,639
❝ Published by the authors · nothing, so everything here is revrsly outputVerified build · noneIDL · none publishedsecurity.txt · none
Loading the reconstruction…
pseudocode.cfn fn_7270 · .text+0x7270 · 490 ins · 112 blocks · 587 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_7270 · 490 instructions · 1 caller · 4 gotos
2// panic locations in this function: src/lib.rs:511, program/src/instructions/config/init_config.rs:69, program/src/instructions/config/init_config.rs:101, program/src/instructions/config/init_config.rs:126, program/src/instructions/config/init_config.rs:159
3u64 fn_7270(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) {
4 u64 local_130;
5 u64 local_128;
6 u64 local_120;
7 u64 local_118;
8 u64 local_110;
9 u64 local_108;
10
u64 local_100;
41 r6 = *(u64 *)(r1 + 0x10);
42 if (*(u64 *)(r6 + 8) == 0) {
43 if (*(u64 *)(r6 + 0x10) == 0) {
44 if (*(u64 *)(r6 + 0x18) == 0) {
45 if (*(u64 *)(r6 + 0x20) == 0) {
46 r7 = *(u64 *)(r1 + 8);
47 if (*(u64 *)(r7 + 8) == -0x621abe437788370e) {
48 if (*(u64 *)(r7 + 0x10) == -0x2bd7a2d51f81c3b8) {
49 if (*(u64 *)(r7 + 0x18) == 0x5858383d9a13854f) {
51 if (*(u64 *)(r7 + 0x20) == 0x2e48341dd2680ca) {
58 *(u8 *)(r7) = r1 + -1;
60 if (*(u64 *)(r7 + 0x50) >= 0xcd2) {
64 if (*(u8 *)(r6 + 1) != 0) {
66 r9 = *(u64 *)(r6 + 8);
67 r6 = *(u64 *)(r7 + 0x5a);
70 local_108 = *(u64 *)(local_f8 + 0x10);
71 if (*(u64 *)(r7 + 0x62) == local_108) {
72 if (*(u64 *)(r7 + 0x6a) == *(u64 *)(local_f8 + 0x18)) {
73 if (*(u64 *)(r7 + 0x72) != *(u64 *)(local_f8 + 0x20)) {
75 if (*(u64 *)(r7 + 0x7a) == local_100) {
76 if (*(u64 *)(r7 + 0x82) == *(u64 *)(local_f8 + 0x10)) {
77 if (*(u64 *)(r7 + 0x8a) == *(u64 *)(local_f8 + 0x18)) {
78 if (*(u64 *)(r7 + 0x92) != *(u64 *)(local_f8 + 0x20)) {
80 if (*(u64 *)(r7 + 0x9a) == local_100) {
81 local_100 = *(u64 *)(local_f8 + 0x10);
82 if (*(u64 *)(r7 + 0xa2) == local_100) {
83 local_100 = *(u64 *)(local_f8 + 0x18);
84 if (*(u64 *)(r7 + 0xaa) == local_100) {
85 if (*(u64 *)(r7 + 0xb2) == *(u64 *)(local_f8 + 0x20)) {
95 if ((r2 & 0xff) != r2) {
96 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
103 r2 = *(u8 *)(r7) + 1;
104 if ((r2 & 0xff) != r2) {
105 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
116 r2 = *(u8 *)(r7) + 1;
117 if ((r2 & 0xff) != r2) {
118 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
125 r9 = *(u64 *)(r6 + 0x20);
128 r0 = find_program_address_18e00(&local_60, r9);
129 r2 = *(u64 *)(r6 + 0x18);
131 if (local_60 == *(u64 *)(r2 + 8)) {
132 if (local_58_u64 == *(u64 *)(r6 + 0x10)) {
133 if (local_50 != *(u64 *)(r6 + 0x18)) {
135 r2 = *(u8 *)(r7) + 1;
136 if ((r2 & 0xff) != r2) {
137 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
144 if (local_48 == *(u64 *)(r6 + 0x20)) {
145 local_120 = local_40_u8;
146 r2 = *(u64 *)(r8 + 0x28);
148 r0 = fn_13660(&local_60, r2);
154 r1 = r1 << 0x20 | r0;
156 local_130 = local_50;
157 if (*(u64 *)(r1) == *(u64 *)(r9)) {
158 if (*(u64 *)(r1 + 8) == *(u64 *)(local_110 + 0x10)) {
159 if (*(u64 *)(r1 + 0x10) == *(u64 *)(local_110 + 0x18)) {
160 if (*(u64 *)(r1 + 0x18) == *(u64 *)(local_110 + 0x20)) {
162 if (local_100 == 2) {
163 r0 = sol_get_sysvar(0x1e8f0, &local_60, 0, 0x28); // .rodata+0x120; read part of a sysvar■ syscall
169 r0 = fn_298(local_118, local_130);
172 r2 = *(u8 *)(r7) + 1;
173 if ((r2 & 0xff) != r2) {
174 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
180 r0 = fn_1cfa8(local_40_u64, 0, 0x3e8, 0);
187 r0 = fn_15af0(&Location("program/src/instructions/config/init_config.rs:69:32"));■ string · 52 B
189 local_108 = *(u16 *)(local_108);
190 local_90 = *(u64 *)(r9 + 0x18);
191 local_98 = *(u64 *)(r9 + 0x10);
192 local_a0 = *(u64 *)(r9 + 8);
193 local_a8 = *(u64 *)(r9);
195 local_f0 = *(u64 *)(r2 + 8);
196 local_e8 = *(u64 *)(r2 + 0x10);
197 local_e0 = *(u64 *)(r2 + 0x18);
198 local_d8 = *(u64 *)(r2 + 0x20);
199 local_61 = local_120;
200 local_30 = &local_61;
201 local_40_u64 = 0x1ef4c; // .rodata+0x77c
203 local_60 = 0x1ef40; // .rodata+0x770
208 local_10 = &local_60;
210 r0 = invoke_signed(local_f8, 0x250, r6, &local_10);
212 if ((r0 << 0x20 >> 0x20) == 0x1a) {
214 if (*(u8 *)(r6) != 0xff) {
215 r0 = fn_298(local_118, local_130);
218 r2 = *(u8 *)(r7) + 1;
219 if ((r2 & 0xff) != r2) {
220 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
228 r1 = *(u64 *)(r1 + 0x50);
230 r0 = fn_15ae0(r1, 0x250, &Location("program/src/instructions/config/init_config.rs:101:22"));■ string · 53 B
232 r2 = local_100 ^ 0x19976b95796;
233 *(u16 *)(r6 + 0x66) = local_108;
234 *(u64 *)(r6 + 0x59) = 0;
235 *(u8 *)(r6 + 0x58) = 1;
236 *(u64 *)(r6 + 0x5e) = 0;
237 *(u64 *)(r6 + 0x68) = local_a8;
238 *(u64 *)(r6 + 0x70) = local_a0;
239 *(u64 *)(r6 + 0x78) = local_98;
240 *(u64 *)(r6 + 0x80) = local_90;
241 *(u64 *)(r6 + 0x88) = local_f0;
242 *(u64 *)(r6 + 0x90) = local_e8;
243 *(u64 *)(r6 + 0x98) = local_e0;
244 *(u64 *)(r6 + 0xa0) = local_d8;
245 *(u64 *)(r6 + 0xa8) = r2;
246 r0 = memset(r6 + 0xb0, 0, 0x1f8);
248 r0 = fn_298(local_118, local_130);
249 r2 = *(u8 *)(r7) + 1;
250 if ((r2 & 0xff) != r2) {
251 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
262 r0 = fn_298(local_118, local_130);
265 r2 = *(u8 *)(r7) + 1;
266 if ((r2 & 0xff) != r2) {
267 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
274 r2 = *(u8 *)(r7) + 1;
275 if ((r2 & 0xff) != r2) {
276 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
284 r2 = *(u8 *)(r7) + 1;
285 if ((r2 & 0xff) != r2) {
286 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
294 r2 = *(u8 *)(r7) + 1;
295 if ((r2 & 0xff) != r2) {
296 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
302 r9 = *(u64 *)(r8 + 0x20);
307 r2 = *(u8 *)(r7) + 1;
308 if ((r2 & 0xff) != r2) {
309 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
317 r6 = *(u64 *)(r8 + 0x28);
318 if (*(u8 *)(r6) != 0xff) {
321 r3 = (r3 & 0xff) + 1;
322 if ((r3 & 0xff) == r3) {
325 r2 = *(u8 *)(r7) + 1;
326 if ((r2 & 0xff) != r2) {
327 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
333 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
335 r3 = *(u64 *)(r9 + 0x50);
340 if (*(u64 *)(r6 + 0x50) >= 0x58) {
341 if (*(u16 *)(r9 + 0x66) <= *(u16 *)(r6 + 0x66)) {
346 r3 = (r3 & 0xff) + 1;
347 if ((r3 & 0xff) != r3) {
348 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
352 r2 = *(u8 *)(r7) + 1;
353 if ((r2 & 0xff) != r2) {
354 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
365 r0 = find_program_address(&local_60, r2, r3);
367 r3 = *(u64 *)(r8 + 0x18);
369 if (local_60 == *(u64 *)(r3 + 8)) {
370 if (local_58_u64 == *(u64 *)(r8 + 0x10)) {
371 if (local_50 == *(u64 *)(r8 + 0x18)) {
372 if (local_48 == *(u64 *)(r8 + 0x20)) {
373 local_110 = local_40_u8;
374 r0 = sol_get_sysvar(0x1e8f0, &local_60, 0, 0x28); // .rodata+0x120; read part of a sysvar■ syscall
382 r3 = (r3 & 0xff) + 1;
383 if ((r3 & 0xff) != r3) {
384 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
388 r2 = *(u8 *)(r7) + 1;
389 if ((r2 & 0xff) != r2) {
390 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
397 r0 = fn_1cfa8(local_40_u64, 0, 0x3e8, 0);
404 r0 = fn_15af0(&Location("program/src/instructions/config/init_config.rs:126:32"));■ string · 53 B
406 local_118 = r6 + 0x66;
407 r0 = memcpy(&local_a8, r9 + 0x66, 0x42);
408 r0 = memcpy(&local_f0, local_118, 0x42);
409 local_61 = local_110;
410 local_20 = &local_61;
411 local_30 = 0x1ef4c; // .rodata+0x77c
412 local_40_u64 = local_108;
413 local_50 = local_100;
414 local_60 = 0x1ef4e; // .rodata+0x77e
420 local_10 = &local_60;
422 r0 = invoke_signed(local_f8, 0x292, r8, &local_10);
424 if ((r0 << 0x20 >> 0x20) == 0x1a) {
426 if (*(u8 *)(r8) != 0xff) {
430 r3 = (r3 & 0xff) + 1;
431 if ((r3 & 0xff) != r3) {
432 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
436 r2 = *(u8 *)(r7) + 1;
437 if ((r2 & 0xff) != r2) {
438 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
447 r1 = *(u64 *)(r1 + 0x50);
449 r0 = fn_15ae0(r1, 0x292, &Location("program/src/instructions/config/init_config.rs:159:22"));■ string · 53 B
451 local_120 = local_120 ^ 0x19976b95796;
452 *(u64 *)(r8 + 0x59) = 0;
453 *(u8 *)(r8 + 0x58) = 2;
454 *(u64 *)(r8 + 0x5e) = 0;
455 r0 = memcpy(r8 + 0x66, &local_a8, 0x42);
456 r0 = memcpy(r8 + 0xa8, &local_f0, 0x42);
457 *(u64 *)(r8 + 0xea) = local_120;
458 r0 = memset(r8 + 0xf2, 0, 0x1f8);
461 r1 = *(u8 *)(r9) + 1;
462 if ((r1 & 0xff) == r1) {
464 r2 = *(u8 *)(r7) + 1;
465 if ((r2 & 0xff) != r2) {
466 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
473 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
478 r3 = (r3 & 0xff) + 1;
479 if ((r3 & 0xff) != r3) {
480 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
484 r2 = *(u8 *)(r7) + 1;
485 if ((r2 & 0xff) != r2) {
486 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
495 r3 = (r3 & 0xff) + 1;
496 if ((r3 & 0xff) != r3) {
497 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
501 r2 = *(u8 *)(r7) + 1;
502 if ((r2 & 0xff) != r2) {
503 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
514 r3 = (r3 & 0xff) + 1;
515 if ((r3 & 0xff) != r3) {
516 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
520 r2 = *(u8 *)(r7) + 1;
521 if ((r2 & 0xff) != r2) {
522 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
532 r3 = (r3 & 0xff) + 1;
533 if ((r3 & 0xff) != r3) {
534 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
538 r2 = *(u8 *)(r7) + 1;
539 if ((r2 & 0xff) != r2) {
540 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
550 r2 = *(u8 *)(r7) + 1;
551 if ((r2 & 0xff) != r2) {
552 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B
558 goto L_7588;● kept as goto
562 goto L_74f0;● kept as goto
564 goto L_7588;● kept as goto
568 goto L_7478;● kept as goto
571 r2 = *(u8 *)(r7) + 1;
572 if ((r2 & 0xff) != r2) {
573 r0 = fn_15af0(&Location("src/lib.rs:511:18"));■ string · 17 B