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 set_admin · .text+0x7be0 · 111 ins · 25 blocks · 115 lines · structured where the control flow allows↓ .c download pseudocode.c 1// set_admin · 111 instructions · 1 caller · 1 goto
2// panic locations in this function: programs\nauto_hook\src\lib.rs:171
3u64 set_admin(u64 r1, u64 r2) {
4
u64
local_50;
17 r1 = *(u64 *)(r1 + 8);
18 r3 = *(u64 *)(r1 + 8);
19 r9 = *(u64 *)(r3 + 8);
20 r2 = *(u64 *)(r9) + 1;
28 r6 = *(u64 *)(r3 + 0x10);
29 r2 = *(u64 *)(r6) + 1;
36 abort(); // abort the program■ syscall
38 r2 = *(u64 *)(r3 + 0x18);
39 r5 = *(u64 *)(r3 + 0x20);
40 r0 = *(u8 *)(r3 + 0x28);
41 r8 = *(u8 *)(r3 + 0x29);
42 local_26 = *(u8 *)(r3 + 0x2a);
50 r1 = *(u64 *)(*(u64 *)(r1));
51 local_8 = *(u64 *)(r1 + 0x18);
52 local_10 = *(u64 *)(r1 + 0x10);
53 local_18 = *(u64 *)(r1 + 8);
54 local_20 = *(u64 *)(r1);
55 r0 = fn_3090(r6, r2, &local_20);
58 if (*(u64 *)(r6 + 0x10) != 0) {
59 r0 = fn_15938(0xb, 0);
61 r2 = *(u64 *)(r9) + -1;
71 r2 = *(u64 *)(r6) + -1;
76 r0 = fn_19568(&local_40);
82 *(u64 *)(r6 + 0x10) = -1;
83 r2 = *(u64 *)(r6 + 0x20);
85 r0 = fn_206b0(0x28, r2, &Location("programs\\nauto_hook\\src\\lib.rs:171:35"));■ string · 37 B
87 r1 = *(u64 *)(r6 + 0x18);
88 *(u64 *)(r1 + 0x20) = *(u64 *)(r7 + 0x18);
89 *(u64 *)(r1 + 0x18) = *(u64 *)(r7 + 0x10);
90 *(u64 *)(r1 + 0x10) = *(u64 *)(r7 + 8);
91 *(u64 *)(r1 + 8) = *(u64 *)(r7);
92 *(u64 *)(r6 + 0x10) = *(u64 *)(r6 + 0x10) + 1;
93 r1 = *(u64 *)(r9) + -1;
99 r2 = *(u64 *)(r6) + -1;
105 r0 = fn_19568(&local_40);
112 goto L_7d98;● kept as goto
114 abort(); // abort the program■ syscall