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_f0 · .text+0xf0 · 162 ins · 34 blocks · 150 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_f0 · 162 instructions · 1 caller · 4 gotos
2// panic locations in this function: D:\a\platform-tools\platform-tools\c\out\rust\library\alloc\src\string.rs:2830
3u64 fn_f0(u64 r1, u64 r2) {
4 u64
local_c8;
26 r8 = *(u64 *)(r7 + 0x18);
30 if (*(u64 *)(r8 + 8) == 0) {
31 if (*(u64 *)(r8 + 0x10) == 0) {
32 if (*(u64 *)(r8 + 0x18) == 0) {
35 r0 = fn_177a0(0xbc4); // Anchor error 3012 AccountNotInitialized?
36 *(u64 *)(r6 + 0x10) = r1;
37 *(u64 *)(r6 + 8) = r0;
46 r3 = 0x24a16; // .rodata+0x6e6
47 r2 = *(u64 *)(r8 + 0x18);
48 r4 = *(u64 *)(r8 + 0x10);
49 r5 = *(u64 *)(r8 + 8);
50 if (*(u64 *)(r3) == r1) {
51 if (*(u64 *)(r3 + 8) == r5) {
52 if (*(u64 *)(r3 + 0x10) == r4) {
53 if (*(u64 *)(r3 + 0x18) != r2) {
55 if (*(u64 *)(r3 + 0x20) == r1) {
56 if (*(u64 *)(r3 + 0x28) == r5) {
57 if (*(u64 *)(r3 + 0x30) == r4) {
58 if (*(u64 *)(r3 + 0x38) != r2) {
60 r0 = fn_177a0(0xbbf); // Anchor error 3007 AccountOwnedByWrongProgram?
62 local_90 = *(u64 *)(r8 + 0x18);
63 local_98 = *(u64 *)(r8 + 0x10);
64 local_a0 = *(u64 *)(r8 + 8);
65 local_a8_u64 = *(u64 *)(r8);
73 local_18 = 0x27bb0; // .data.rel.ro+0x108
75 local_10 = 0xe0000020;
76 r0 = fn_1b3e8(&local_a8_u64, &local_20);
78 r5 = &Location("D:\\a\\platform-tools\\platform-tools\\c\\out\\rust\\library\\alloc\\src\\string.rs:2830:14");■ string · 81 B
79 r0 = fn_1d920("a Display implementation returned an error unexpectedly", 0x37, &local_1, 0x27be0, r5); // .data.rel.ro+0x138■ string · 55 B
87 *(u64 *)(r9 + 0x10) = local_40;
88 *(u64 *)(r9 + 8) = local_48;
89 *(u64 *)(r9) = local_50;
92 *(u64 *)(r6 + 0x10) = r2;
93 *(u64 *)(r6 + 8) = r1;
98 r9 = *(u64 *)(r7 + 0x10);
99 r1 = *(u64 *)(r9 + 0x10);
100 if (r1 >= 0x7fffffffffffffff) {
101 r0 = fn_15938(0xb, 0);
102 *(u64 *)(r6 + 0x10) = r1;
103 *(u64 *)(r6 + 8) = r0;
108 *(u64 *)(r9 + 0x10) = r1 + 1;
109 r1 = *(u64 *)(r9 + 0x18);
110 local_18 = *(u64 *)(r9 + 0x20);
112 r0 = fn_f5c0(&local_a8_u64, &local_20);
118 r0 = memcpy(r6 + 0x18, &local_90, 0x40);
119 *(u64 *)(r6 + 0x78) = *(u64 *)(r8 + 0x18);
120 *(u64 *)(r6 + 0x70) = *(u64 *)(r8 + 0x10);
121 *(u64 *)(r6 + 0x68) = *(u64 *)(r8 + 8);
122 *(u64 *)(r6 + 0x60) = *(u64 *)(r8);
123 *(u64 *)(r6 + 0x58) = local_b0;
124 *(u64 *)(r6 + 0x10) = local_c8;
125 *(u64 *)(r6 + 8) = local_c0;
126 *(u32 *)(r6 + 4) = local_b8;
130 *(u64 *)(r6 + 0x10) = local_98;
131 *(u64 *)(r6 + 8) = r1;
134 *(u64 *)(r9 + 0x10) = *(u64 *)(r9 + 0x10) + -1;
139 goto L_3b0;● kept as goto
143 goto L_218;● kept as goto
145 goto L_3b0;● kept as goto
149 goto L_1d8;● kept as goto