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 fn_3b88 · .text+0x3b88 · 86 ins · 40 blocks · 162 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_3b88 · 86 instructions · 1 caller
2u64 fn_3b88(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) {
3 u64 local_10;
4
u64 local_8;
5 // compares a key with EPAAwc1SGWCheofexAqLVZ7jm1nk2ahrqX5pev1bMyo6
6 if (*(u64 *)(r1) == -0x76f7a25f09ec2a3a) {
7 // …part 2 of EPAAwc1SGWCheofexAqLVZ7jm1nk2ahrqX5pev1bMyo6
8 if (*(u64 *)(r1 + 8) == 0x56bf9e68bfdf42f3) {
9 // …part 3 of EPAAwc1SGWCheofexAqLVZ7jm1nk2ahrqX5pev1bMyo6
10 if (*(u64 *)(r1 + 0x10) == 0x5cce0ce4b7cdc5a2) {
11 // …part 4 of EPAAwc1SGWCheofexAqLVZ7jm1nk2ahrqX5pev1bMyo6
12 if (*(u64 *)(r1 + 0x18) != 0x5100a3ec42d3b862) {
13 r0 = fn_177a0(0x1004); // Anchor error 4100 DeclaredProgramIdMismatch?
17 if ((i64)r0 > 0x5cbbc25b3400a3fa) {
18 if ((i64)r0 > 0x7adf8579582fd9b1) {
19 // discriminator of instruction `set_open` (global:)
20 if (r0 == 0x7adf8579582fd9b2) {
21 r0 = set_open_handler(r1, r2, r3, r4 + 8, r5 + -8);
23 // discriminator of instruction `init_mint` (global:)
24 if (r0 != 0x7dd1754210e9b07e) {
25 r0 = fn_9518(r1, r2, r3, r4, r5);
29 r0 = init_mint_handler(r1, r2, r3);
33 // discriminator of instruction `set_admin` (global:)
34 if (r0 == 0x5cbbc25b3400a3fb) {
35 r0 = set_admin_handler(r1, r2, r3, r4 + 8, r5 + -8);
37 // discriminator of instruction `add_agents` (global:)
38 if (r0 != 0x6dd68163b774301e) {
39 r0 = fn_9518(r1, r2, r3, r4, r5);
45 r0 = fn_159c0(&local_10);
46 r0 = fn_168c8(r7, r6);
53 r0 = add_agents_handler(r1, r2, r3, r4 + 8, r5 + -8);
58 if ((i64)r0 > -0x105ca1e798fbe97e) {
59 // discriminator of instruction `init_registry` (global:)
60 if (r0 == -0x105ca1e798fbe97d) {
61 r0 = init_registry_handler(r1, r2, r3, r4 + 8, r5 + -8);
63 // Anchor emit_cpi! event tag
64 if (r0 != 0x1d9acb512ea545e4) {
65 r0 = fn_9518(r1, r2, r3, r4, r5);
71 r0 = fn_159c0(&local_10);
72 r0 = fn_168c8(r7, r6);
83 // discriminator of instruction `transfer_hook` (global:)
84 if (r0 == -0x579e82816723c624) {
85 r0 = transfer_hook_handler(r1, r2, r3, r4 + 8, r5 + -8);
87 // discriminator of instruction `remove_agents` (global:)
88 if (r0 != -0x319b42a1d2084ee2) {
89 r0 = fn_9518(r1, r2, r3, r4, r5);
95 r0 = fn_159c0(&local_10);
96 r0 = fn_168c8(r7, r6);
103 r0 = remove_agents_handler(r1, r2, r3, r4 + 8, r5 + -8);
113 r0 = fn_159c0(&local_10);
114 r0 = fn_168c8(r7, r6);
120 r0 = fn_9518(r1, r2, r3, r4, r5);
126 r0 = fn_159c0(&local_10);
127 r0 = fn_168c8(r7, r6);
139 r0 = fn_159c0(&local_10);
140 r0 = fn_168c8(r7, r6);
149 r0 = fn_177a0(0x1004); // Anchor error 4100 DeclaredProgramIdMismatch?
155 r0 = fn_159c0(&local_10);
156 r0 = fn_168c8(r7, r6);