nauto_hook
Reconstructed94.1% of control flow structuredAnchor ◇EPAAwc1SGWCheofexAqLVZ7jm1nk2ahrqX5pev1bMyo6decompiled 13 Oct 2026
- Loader
- ■v3 · upgradeable
- sBPF
- ■v0
- Size
- ■187,512 bytes
- Instructions
- ●17,312
- Functions
- ●243
- SHA-256
- ●a0744a33…055a7f24
- Upgrade authority
- ■EVcs…edDs
- Last deploy slot
- ■455,854,751
❝ Published by the authors · nothing, so everything here is revrsly outputVerified build · noneIDL · none publishedsecurity.txt · none
Loading the reconstruction…
pseudocode.cfn init_mint_try_accounts · .text+0xbf78 · 486 ins · 117 blocks · 745 lines · structured where the control flow allows↓ .c download pseudocode.c 1// init_mint_try_accounts · 486 instructions · 1 caller · 21 gotos
2// panic locations in this function: src\syscalls.rs:279, D:\a\platform-tools\platform-tools\c\out\rust\library\alloc\src\slice.rs:449
3u64 init_mint_try_accounts(u64 r1, u64 r2,
u64
r3,
u64
r4,
u64
r5) {
38 r0 = fn_2a90(&local_f8, r2, r3);
43 r2 = *(u64 *)(0x300000000);
53 if (r1 <= 0x300000007) {
54 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
55 r0 = fn_1c780(1, 5, r3);
57 *(u64 *)(0x300000000) = r1;
58 *(u8 *)(r1 + 4) = 0x6e;
59 *(u32 *)(r1) = 0x696d6461;
61 *(u64 *)(r9 + 0x10) = r1;
62 *(u64 *)(r9 + 0x18) = 5;
66 *(u64 *)(r1 + 0x10) = r9;
67 *(u64 *)(r1 + 8) = r6;
73 if (r1 <= 0x300000007) {
74 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
75 r0 = fn_1c780(1, 5, r3);
77 *(u64 *)(0x300000000) = r1;
78 *(u8 *)(r1 + 4) = 0x6e;
79 *(u32 *)(r1) = 0x696d6461;
81 *(u64 *)(r9 + 0x10) = r1;
82 *(u64 *)(r9 + 0x18) = 5;
86 *(u64 *)(r1 + 0x10) = r9;
87 *(u64 *)(r1 + 8) = r6;
96 if (r1 <= 0x300000007) {
97 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
98 r0 = fn_1c780(1, 5, r3);
100 *(u64 *)(0x300000000) = r1;
101 *(u8 *)(r1 + 4) = 0x6e;
102 *(u32 *)(r1) = 0x696d6461;
104 *(u64 *)(r9 + 0x10) = r1;
105 *(u64 *)(r9 + 0x18) = 5;
106 *(u64 *)(r9 + 8) = 5;
109 *(u64 *)(r1 + 0x10) = r9;
110 *(u64 *)(r1 + 8) = r6;
117 if (r1 > 0x300000007) {
118 *(u64 *)(0x300000000) = r1;
119 *(u8 *)(r1 + 4) = 0x6e;
120 *(u32 *)(r1) = 0x696d6461;
122 *(u64 *)(r9 + 0x10) = r1;
123 *(u64 *)(r9 + 0x18) = 5;
124 *(u64 *)(r9 + 8) = 5;
127 *(u64 *)(r1 + 0x10) = r9;
128 *(u64 *)(r1 + 8) = r6;
132 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
133 r0 = fn_1c780(1, 5, r3);
137 goto L_c158;● kept as goto
139 goto L_c100;● kept as goto
141 local_110 = *(u64 *)(r7 - 0xff8);
143 r0 = fn_2a90(&local_e8, r2, r8);
148 r2 = *(u64 *)(0x300000000);
158 if (r1 <= 0x300000007) {
159 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
160 r0 = fn_1c780(1, 5, r3);
162 *(u64 *)(0x300000000) = r1;
163 *(u8 *)(r1 + 4) = 0x72;
164 *(u32 *)(r1) = 0x65796170;
166 *(u64 *)(r7 + 0x10) = r1;
167 *(u64 *)(r7 + 0x18) = 5;
168 *(u64 *)(r7 + 8) = 5;
171 *(u64 *)(r1 + 0x10) = r7;
172 *(u64 *)(r1 + 8) = r6;
178 if (r1 <= 0x300000007) {
179 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
180 r0 = fn_1c780(1, 5, r3);
182 *(u64 *)(0x300000000) = r1;
183 *(u8 *)(r1 + 4) = 0x72;
184 *(u32 *)(r1) = 0x65796170;
186 *(u64 *)(r7 + 0x10) = r1;
187 *(u64 *)(r7 + 0x18) = 5;
188 *(u64 *)(r7 + 8) = 5;
191 *(u64 *)(r1 + 0x10) = r7;
192 *(u64 *)(r1 + 8) = r6;
202 if (r1 > 0x300000007) {
203 *(u64 *)(0x300000000) = r1;
204 *(u8 *)(r1 + 4) = 0x72;
205 *(u32 *)(r1) = 0x65796170;
207 *(u64 *)(r7 + 0x10) = r1;
208 *(u64 *)(r7 + 0x18) = 5;
209 *(u64 *)(r7 + 8) = 5;
212 *(u64 *)(r1 + 0x10) = r7;
213 *(u64 *)(r1 + 8) = r6;
217 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
218 r0 = fn_1c780(1, 5, r3);
222 if (r1 <= 0x300000007) {
223 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
224 r0 = fn_1c780(1, 5, r3);
226 *(u64 *)(0x300000000) = r1;
227 *(u8 *)(r1 + 4) = 0x72;
228 *(u32 *)(r1) = 0x65796170;
230 *(u64 *)(r7 + 0x10) = r1;
231 *(u64 *)(r7 + 0x18) = 5;
232 *(u64 *)(r7 + 8) = 5;
235 *(u64 *)(r1 + 0x10) = r7;
236 *(u64 *)(r1 + 8) = r6;
242 goto L_c2d8;● kept as goto
244 goto L_c260;● kept as goto
246 r1 = *(u64 *)(r8 + 8);
249 *(u64 *)(r8) = r6 + 0x30;
251 *(u64 *)(r8 + 8) = r2;
253 *(u64 *)(r8 + 8) = r1 + -2;
256 *(u64 *)(r8) = r1 + 0x30;
259 r0 = fn_68(&pda, r2, r8);
264 r2 = *(u64 *)(0x300000000);
277 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
278 r0 = fn_1c780(1, 4, r3);
280 *(u64 *)(0x300000000) = r1;
281 *(u32 *)(r1) = 0x746e696d;
283 *(u64 *)(r7 + 0x10) = r1;
284 *(u64 *)(r7 + 0x18) = 4;
285 *(u64 *)(r7 + 8) = 4;
288 *(u64 *)(r1 + 0x10) = r7;
289 *(u64 *)(r1 + 8) = r6;
294 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
295 r0 = fn_1c780(1, 4, r3);
297 *(u64 *)(0x300000000) = r1;
298 *(u32 *)(r1) = 0x746e696d;
300 *(u64 *)(r7 + 0x10) = r1;
301 *(u64 *)(r7 + 0x18) = 4;
302 *(u64 *)(r7 + 8) = 4;
305 *(u64 *)(r1 + 0x10) = r7;
306 *(u64 *)(r1 + 8) = r6;
315 *(u64 *)(0x300000000) = r1;
316 *(u32 *)(r1) = 0x746e696d;
318 *(u64 *)(r7 + 0x10) = r1;
319 *(u64 *)(r7 + 0x18) = 4;
320 *(u64 *)(r7 + 8) = 4;
323 *(u64 *)(r1 + 0x10) = r7;
324 *(u64 *)(r1 + 8) = r6;
328 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
329 r0 = fn_1c780(1, 4, r3);
333 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
334 r0 = fn_1c780(1, 4, r3);
336 *(u64 *)(0x300000000) = r1;
337 *(u32 *)(r1) = 0x746e696d;
339 *(u64 *)(r7 + 0x10) = r1;
340 *(u64 *)(r7 + 0x18) = 4;
341 *(u64 *)(r7 + 8) = 4;
344 *(u64 *)(r1 + 0x10) = r7;
345 *(u64 *)(r1 + 8) = r6;
354 goto L_c468;● kept as goto
356 goto L_c5d8;● kept as goto
359 goto L_c5b8;● kept as goto
361 goto L_c450;● kept as goto
364 r5 = *(u64 *)(0x300000000);
374 if (r1 <= 0x300000007) {
375 r0 = fn_1c7a0(8, 0x80);
378 *(u64 *)(0x300000000) = r1;
380 r0 = memcpy(r1, &pda, 0x80);
382 r0 = fn_2b10(&local_d8, r2, r8);
386 r0 = fn_638(r1, r8, "system_program", 0xe);■ string · 14 B
390 *(u64 *)(r1 + 0x10) = r8;
391 *(u64 *)(r1 + 8) = r0;
396 if (*(u8 *)(r7 + 0x29) == 0) {
397 r0 = fn_177a0(0x7d0); // Anchor error 2000 ConstraintMut?
400 r3 = "payer";■ string · 5 B
402 r0 = fn_638(r1, r2, r3, r4);
404 *(u64 *)(r2 + 0x10) = r1;
405 *(u64 *)(r2 + 8) = r0;
411 r0 = sol_try_find_program_address(0x27f58, 1, local_108, &pda, &pda_bump); // &"registry"; find a PDA and its bump■ syscall
417 *(u8 *)(local_110) = pda_bump;
418 r1 = *(u64 *)(local_128);
419 if (*(u64 *)(r1) == r6) {
420 if (*(u64 *)(r1 + 8) == r3) {
421 if (*(u64 *)(r1 + 0x10) == r4) {
422 if (*(u64 *)(r1 + 0x18) != r5) {
427 r0 = fn_177a0(0x7d6); // Anchor error 2006 ConstraintSeeds?
428 r0 = fn_638(r0, r1, "registry", 8);■ string · 8 B
430 r1 = *(u64 *)(local_128);
431 local_68 = *(u64 *)(r1 + 0x18);
432 local_70 = *(u64 *)(r1 + 0x10);
433 local_78 = *(u64 *)(r1 + 8);
439 r0 = fn_15a00(r0, r2, &pda);
441 *(u64 *)(r2 + 0x10) = r1;
442 *(u64 *)(r2 + 8) = r0;
446 r1 = *(u64 *)(*(u64 *)(local_120 + 0x58));
448 r3 = *(u64 *)(r1 + 8);
449 r4 = *(u64 *)(r1 + 0x10);
450 r1 = *(u64 *)(r1 + 0x18);
451 local_c8 = 0x24965; // .rodata+0x635
452 local_b8 = &pda_bump;
460 r0 = sol_try_find_program_address(&local_c8, 2, local_108, &pda, &pda_bump_2); // find a PDA and its bump■ syscall
462 pda = 0x27aa8; // &"Unable to find a viable program address bump seed"
467 r0 = fn_1d7c0(&pda, &Location("src\\syscalls.rs:279:32"));■ string · 22 B
473 *(u8 *)(local_110 + 1) = pda_bump_2;
476 if (*(u64 *)(r1) == r6) {
477 if (*(u64 *)(r1 + 8) == r4) {
478 if (*(u64 *)(r1 + 0x10) == r5) {
479 if (*(u64 *)(r1 + 0x18) != r0) {
485 r0 = fn_177a0(0x7d6); // Anchor error 2006 ConstraintSeeds?
486 r0 = fn_638(r0, r1, "extra_account_meta_list", 0x17);■ string · 23 B
489 local_68 = *(u64 *)(r1 + 0x18);
490 local_70 = *(u64 *)(r1 + 0x10);
491 local_78 = *(u64 *)(r1 + 8);
495 local_58 = local_108;
497 r0 = fn_15a00(r0, r2, &pda);
499 *(u64 *)(r2 + 0x10) = r1;
500 *(u64 *)(r2 + 8) = r0;
504 if (*(u8 *)(r3 + 0x29) == 0) {
505 r0 = fn_177a0(0x7d0); // Anchor error 2000 ConstraintMut?
508 r3 = "extra_account_meta_list";■ string · 23 B
510 r0 = fn_638(r1, r2, r3, r4);
512 *(u64 *)(r2 + 0x10) = r1;
513 *(u64 *)(r2 + 8) = r0;
518 *(u64 *)(r1 + 0x28) = r8;
519 *(u64 *)(r1 + 0x20) = local_120;
520 *(u64 *)(r1 + 0x18) = r3;
521 *(u64 *)(r1 + 0x10) = local_128;
522 *(u64 *)(r1 + 8) = r7;
530 goto L_ce60;● kept as goto
534 goto L_cd90;● kept as goto
536 pda = 0x27aa8; // &"Unable to find a viable program address bump seed"
541 r0 = fn_1d7c0(&pda, &Location("src\\syscalls.rs:279:32"));■ string · 22 B
545 if (r1 <= 0x300000007) {
546 r0 = fn_1c7a0(8, 0x80);
548 goto L_c660;● kept as goto
554 goto L_c570;● kept as goto
556 goto L_c648;● kept as goto
559 goto L_c628;● kept as goto
561 goto L_c558;● kept as goto
564 r0 = fn_177a0(0xbbd); // Anchor error 3005 AccountNotEnoughKeys?
569 r2 = *(u64 *)(0x300000000);
590 if (r1 <= 0x300000007) {
591 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
592 r0 = fn_1c780(1, 0x17, r3);
594 *(u64 *)(0x300000000) = r1;
595 *(u64 *)(r1 + 0xf) = 0x7473696c5f617465; // text "eta_list"
596 *(u64 *)(r1 + 8) = 0x656d5f746e756f63; // text "count_me"
597 *(u64 *)(r1) = 0x63615f6172747865; // text "extra_ac"
599 *(u64 *)(r3 + 0x10) = r1;
600 *(u64 *)(r3 + 0x18) = 0x17;
601 *(u64 *)(r3 + 8) = 0x17;
604 *(u64 *)(r1 + 0x10) = r3;
605 *(u64 *)(r1 + 8) = r4;
614 goto L_cb50;● kept as goto
616 goto L_ca50;● kept as goto
621 if (r1 <= 0x300000007) {
622 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
623 r0 = fn_1c780(1, 0x17, r3);
625 *(u64 *)(0x300000000) = r1;
626 *(u64 *)(r1 + 0xf) = 0x7473696c5f617465; // text "eta_list"
627 *(u64 *)(r1 + 8) = 0x656d5f746e756f63; // text "count_me"
628 *(u64 *)(r1) = 0x63615f6172747865; // text "extra_ac"
630 *(u64 *)(r3 + 0x10) = r1;
631 *(u64 *)(r3 + 0x18) = 0x17;
632 *(u64 *)(r3 + 8) = 0x17;
635 *(u64 *)(r1 + 0x10) = r3;
636 *(u64 *)(r1 + 8) = r4;
641 goto L_c3b0;● kept as goto
643 r0 = fn_177a0(0xbbd); // Anchor error 3005 AccountNotEnoughKeys?
648 r2 = *(u64 *)(0x300000000);
659 if (r1 <= 0x300000007) {
660 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
661 r0 = fn_1c780(1, 8, r3);
663 *(u64 *)(0x300000000) = r1;
664 *(u64 *)(r1) = 0x7972747369676572; // text "registry"
666 *(u64 *)(r6 + 0x10) = r1;
667 *(u64 *)(r6 + 0x18) = 8;
668 *(u64 *)(r6 + 8) = 8;
671 *(u64 *)(r1 + 0x10) = r6;
672 *(u64 *)(r1 + 8) = r4;
678 if (r1 <= 0x300000007) {
679 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
680 r0 = fn_1c780(1, 8, r3);
682 *(u64 *)(0x300000000) = r1;
683 *(u64 *)(r1) = 0x7972747369676572; // text "registry"
685 *(u64 *)(r6 + 0x10) = r1;
686 *(u64 *)(r6 + 0x18) = 8;
687 *(u64 *)(r6 + 8) = 8;
690 *(u64 *)(r1 + 0x10) = r6;
691 *(u64 *)(r1 + 8) = r4;
702 if (r1 > 0x300000007) {
703 *(u64 *)(0x300000000) = r1;
704 *(u64 *)(r1) = 0x7972747369676572; // text "registry"
706 *(u64 *)(r6 + 0x10) = r1;
707 *(u64 *)(r6 + 0x18) = 8;
708 *(u64 *)(r6 + 8) = 8;
711 *(u64 *)(r1 + 0x10) = r6;
712 *(u64 *)(r1 + 8) = r4;
716 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
717 r0 = fn_1c780(1, 8, r3);
721 if (r1 <= 0x300000007) {
722 r3 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\slice.rs:449:29");■ string · 79 B
723 r0 = fn_1c780(1, 8, r3);
725 *(u64 *)(0x300000000) = r1;
726 *(u64 *)(r1) = 0x7972747369676572; // text "registry"
728 *(u64 *)(r6 + 0x10) = r1;
729 *(u64 *)(r6 + 0x18) = 8;
730 *(u64 *)(r6 + 8) = 8;
733 *(u64 *)(r1 + 0x10) = r6;
734 *(u64 *)(r1 + 8) = r4;
740 goto L_cc60;● kept as goto
742 goto L_cbe0;● kept as goto
744 goto L_c390;● kept as goto