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_transfer_checked ▾
pseudocode.c fn token_cpi_transfer_checked · .text+0x51af0 · 246 ins · 53 blocks · 221 lines · structured where the control flow allows copy ↓ .c download pseudocode.c 1 // token_cpi_transfer_checked · 246 instructions · 8 callers · 5 gotos
2 u64 token_cpi_transfer_checked ( u64 r1, u64 r2, u64 r3, u64 r4) {
3
Evidence why revrsly believes it ×
Function ◇ Inferred
token_cpi_transfer_checked
◇ A cross-program call to the token program: builds that instruction, then invoke_signed.
● .text+0x51af0 · 246 instructions · 53 blocks
● 8 callers
◇ takes 4 arguments (from register use)
u64
local_1000;
37 r0 = *( u64 *)(r8 + 0x48 );
38 r6 = *( u64 *)(r8 + 0x18 );
39 r1 = *( u64 *)(r8 + 0x78 );
40 r2 = *( u64 *)(r8 + 0xa8 );
47 r0 = token_ix_transfer_checked (&local_c0, r8 + 0xe8 , r6, r0, fp);
51 if (r6 != - 0x8000000000000000 ) {
52 local_148 = r8 + 0xa8 ;
53 local_150 = r8 + 0x78 ;
59 r0 = memcpy (&local_100, &local_b0, 0x40 );
60 local_104 = local_168;
61 local_108_u32 = local_160;
64 r0 = memcpy (r6, r7, 0x30 );
65 r0 = memcpy (&local_90, r9, 0x30 );
66 r0 = memcpy (&local_60, local_150, 0x30 );
67 r0 = memcpy (&local_30, local_148, 0x30 );
68 r1 = *( u64 *)(r8 + 0xd8 );
69 local_ff8 = *( u64 *)(r8 + 0xe0 );
71 r0 = invoke_signed (&local_118, &local_110, r6, 4 , fp);
75 r0 = fn_5fbd0(&local_128, r2, local_114);
77 local_150 = local_120;
78 local_148 = local_128;
89 goto L_52118; ● kept as goto
98 r0 = fn_511f0(&local_c0);
99 r6 = *( u64 *)(r8 + 8 );
100 r7 = *( u64 *)(r8 + 0x10 );
104 r1 = *( u64 *)(r9 - 8 );
105 r2 = *( u64 *)(r1) + - 1 ;
110 r2 = *( u64 *)(r1) + - 1 ;
122 goto L_521b0; ● kept as goto
124 r0 = fn_63ad8(r9 + - 8 );
125 goto L_52208; ● kept as goto
129 r0 = fn_5fbd0(&local_138, r2, r4);
130 local_150 = local_130;
131 local_148 = local_138;
132 r1 = *( u64 *)(r8 + 0x20 );
133 r2 = *( u64 *)(r1) + - 1 ;
136 r0 = fn_63ad8(r8 + 0x20 );
138 r1 = *( u64 *)(r8 + 0x28 );
139 r2 = *( u64 *)(r1) + - 1 ;
142 r0 = fn_63b28(r8 + 0x28 );
144 r1 = *( u64 *)(r8 + 0x50 );
145 r2 = *( u64 *)(r1) + - 1 ;
148 r0 = fn_63ad8(r8 + 0x50 );
150 r1 = *( u64 *)(r8 + 0x58 );
151 r2 = *( u64 *)(r1) + - 1 ;
154 r0 = fn_63b28(r8 + 0x58 );
156 r1 = *( u64 *)(r8 + 0x80 );
157 r2 = *( u64 *)(r1) + - 1 ;
160 r0 = fn_63ad8(r8 + 0x80 );
162 r1 = *( u64 *)(r8 + 0x88 );
163 r2 = *( u64 *)(r1) + - 1 ;
166 r0 = fn_63b28(r8 + 0x88 );
168 r1 = *( u64 *)(r8 + 0xb0 );
169 r2 = *( u64 *)(r1) + - 1 ;
172 r0 = fn_63ad8(r8 + 0xb0 );
174 r1 = *( u64 *)(r8 + 0xb8 );
175 r2 = *( u64 *)(r1) + - 1 ;
178 r0 = fn_63b28(r8 + 0xb8 );
180 r6 = *( u64 *)(r8 + 8 );
181 r7 = *( u64 *)(r8 + 0x10 );
185 r1 = *( u64 *)(r9 - 8 );
186 r2 = *( u64 *)(r1) + - 1 ;
191 r2 = *( u64 *)(r1) + - 1 ;
203 goto L_51e30; ● kept as goto
205 r0 = fn_63ad8(r9 + - 8 );
206 goto L_51e88; ● kept as goto
218 *( u64 *)(r1) = local_148;
219 *( u64 *)(r1 + 8 ) = local_150;