once ❝ published name Reconstructed 91.5% of control flow structured Anchor ◇ GRzKU9i3Cs7A5Euf9gGZjbRnpypw7DzaU3hWRfUgpYTa copy decompiled 22 Oct 2026
Identity · published metadata ▾
Loader ■ v3 · upgradeable
sBPF ■ v0
Size ■ 556,728 bytes
Instructions ● 58,814
Functions ● 412
SHA-256 ● 23200e76…1d4a7b42
Upgrade authority ■ 8gop…M677
Last deploy slot ■ 459,519,774 ❝ Published by the authors · their claims, not revrsly output Verified build github.com/call-once/once-program @ 1ee2ebf · ✓ hash matches this bytecode IDL · none publishedsecurity.txt · embedded ■ read from the bytes view Loading the reconstruction…
Functions
Other functions 354
+ 294 more · type to filter
token_cpi_close_account ▾
pseudocode.c fn token_cpi_close_account · .text+0x52a08 · 213 ins · 48 blocks · 195 lines · structured where the control flow allows copy ↓ .c download pseudocode.c 1 // token_cpi_close_account · 213 instructions · 3 callers · 5 gotos
2 u64 token_cpi_close_account ( u64 r1, u64 r2) {
3 u64 local_1000;
Evidence why revrsly believes it ×
Function ◇ Inferred
token_cpi_close_account
◇ A cross-program call to the token program: builds that instruction, then invoke_signed.
● .text+0x52a08 · 213 instructions · 48 blocks
● 3 callers
◇ takes 2 arguments (from register use)
4
u64 local_ff8;
31 r4 = *( u64 *)(r6 + 0x48 );
32 r3 = *( u64 *)(r6 + 0x18 );
33 local_1000 = *( u64 *)(r6 + 0x78 );
36 r0 = token_ix_close_account (&local_90, r2 + 0xb8 , r3, r4, fp);
40 if (r9 != - 0x8000000000000000 ) {
41 local_118 = r6 + 0x78 ;
42 local_120 = r6 + 0x48 ;
45 r0 = memcpy (&local_d0, &local_80, 0x40 );
51 r0 = memcpy (r8, r7, 0x30 );
52 r0 = memcpy (&local_60, local_120, 0x30 );
53 r0 = memcpy (&local_30, local_118, 0x30 );
54 r1 = *( u64 *)(r6 + 0xa8 );
55 local_ff8 = *( u64 *)(r6 + 0xb0 );
57 r0 = invoke_signed (&local_e8, &local_e0, r8, 3 , fp);
60 r0 = fn_5fbd0(&local_f8, r2, local_e4);
75 goto L_52f30; ● kept as goto
84 r0 = fn_51060(&local_90);
85 r8 = *( u64 *)(r6 + 8 );
86 r7 = *( u64 *)(r6 + 0x10 );
90 r1 = *( u64 *)(r9 - 8 );
91 r2 = *( u64 *)(r1) + - 1 ;
96 r2 = *( u64 *)(r1) + - 1 ;
108 goto L_52fc0; ● kept as goto
110 r0 = fn_63ad8(r9 + - 8 );
111 goto L_53018; ● kept as goto
115 r0 = fn_5fbd0(&local_108, r8, r3);
116 local_120 = local_100;
117 local_118 = local_108;
118 r1 = *( u64 *)(r6 + 0x20 );
119 r2 = *( u64 *)(r1) + - 1 ;
122 r0 = fn_63ad8(r6 + 0x20 );
124 r1 = *( u64 *)(r6 + 0x28 );
125 r2 = *( u64 *)(r1) + - 1 ;
128 r0 = fn_63b28(r6 + 0x28 );
130 r1 = *( u64 *)(r6 + 0x50 );
131 r2 = *( u64 *)(r1) + - 1 ;
134 r0 = fn_63ad8(r6 + 0x50 );
136 r1 = *( u64 *)(r6 + 0x58 );
137 r2 = *( u64 *)(r1) + - 1 ;
140 r0 = fn_63b28(r6 + 0x58 );
142 r1 = *( u64 *)(r6 + 0x80 );
143 r2 = *( u64 *)(r1) + - 1 ;
146 r0 = fn_63ad8(r6 + 0x80 );
148 r1 = *( u64 *)(r6 + 0x88 );
149 r2 = *( u64 *)(r1) + - 1 ;
152 r0 = fn_63b28(r6 + 0x88 );
154 r8 = *( u64 *)(r6 + 8 );
155 r7 = *( u64 *)(r6 + 0x10 );
159 r1 = *( u64 *)(r9 - 8 );
160 r2 = *( u64 *)(r1) + - 1 ;
165 r2 = *( u64 *)(r1) + - 1 ;
177 goto L_52c90; ● kept as goto
179 r0 = fn_63ad8(r9 + - 8 );
180 goto L_52ce8; ● kept as goto
192 *( u64 *)(r1) = local_118;
193 *( u64 *)(r1 + 8 ) = local_120;