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_ix_transfer_checked ▾
pseudocode.c fn token_ix_transfer_checked · .text+0x56128 · 211 ins · 40 blocks · 199 lines · structured where the control flow allows copy ↓ .c download pseudocode.c 1 // token_ix_transfer_checked · 211 instructions · 1 caller · 4 gotos
2 // panic locations in this function: src/instruction.rs:1684, src/instruction.rs:1688, src/instruction.rs:1693
3 u64 token_ix_transfer_checked ( u64 r1, u64 r2,
Evidence why revrsly believes it ×
Function ◇ Inferred
token_ix_transfer_checked
◇ Builds an SPL Token instruction: the variant it hands to TokenInstruction::pack.
● .text+0x56128 · 211 instructions · 40 blocks
● 1 caller
◇ takes 5 arguments (from register use)
u64
r3,
u64
r4,
u64
r5) {
33 // compares a key with TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb (Token-2022 program)
34 if (*( u64 *)(r2) == - 0x21708a111e0922fa ) {
35 // …part 2 of TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb
36 if (*( u64 *)(r2 + 8 ) == - 0x2532931b43a2bde8 ) {
37 // …part 3 of TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb
38 if (*( u64 *)(r2 + 0x10 ) == 0x270db9834dfc1ab6 ) {
40 // …part 4 of TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb
41 if (*( u64 *)(r2 + 0x18 ) != - 0x3745e27d7064202 ) {
45 r0 = *( u64 *)(r5 - 0xfd8 );
46 r1 = *( u64 *)(r5 - 0xfe0 );
47 r6 = *( u64 *)(r5 - 0xfe8 );
48 r8 = *( u64 *)(r5 - 0xff0 );
49 local_a0 = *( u64 *)(r5 - 0xff8 );
50 local_b0 = *( u64 *)(r5 - 0x1000 );
52 // compares a key with TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA (SPL Token program)
53 if (*( u64 *)(r2) == - 0x6c5e9a281e0922fa ) {
54 // …part 2 of TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
55 if (*( u64 *)(r2 + 8 ) == - 0x53861431b91e3427 ) {
56 // …part 3 of TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
57 if (*( u64 *)(r2 + 0x10 ) == - 0x6ec8a4a0127a4be4 ) {
59 // …part 4 of TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
60 if (*( u64 *)(r2 + 0x18 ) != - 0x56ff00817a0a73c6 ) {
65 *( u64 *)(r9) = - 0x8000000000000000 ;
75 r0 = token_instruction_pack (&local_80, &local_50_u64); // packs TokenInstruction::TransferChecked (12)
82 r0 = fn_75f88(& Location ( "src/instruction.rs:1684:43" )); ■ string · 26 B
86 r0 = fn_78fd8(&local_90, r7, 0 , 0x22 , 0 );
98 r0 = fn_67b18(local_98, r9, & Location ( "src/instruction.rs:1684:24" )); ■ string · 26 B
107 *( u64 *)(r0 + 0x18 ) = *( u64 *)(r2 + 0x18 );
108 *( u64 *)(r0 + 0x10 ) = *( u64 *)(r2 + 0x10 );
109 *( u64 *)(r0 + 8 ) = *( u64 *)(r2 + 8 );
110 *( u64 *)(r0) = *( u64 *)(r2);
111 *( u16 *)(r0 + 0x20 ) = 0x100 ;
113 *( u64 *)(r0 + 0x22 ) = *( u64 *)(r2);
114 *( u64 *)(r0 + 0x2a ) = *( u64 *)(r2 + 8 );
115 *( u64 *)(r0 + 0x32 ) = *( u64 *)(r2 + 0x10 );
116 *( u64 *)(r0 + 0x3a ) = *( u64 *)(r2 + 0x18 );
117 *( u16 *)(r0 + 0x42 ) = 0 ;
119 *( u64 *)(r0 + 0x44 ) = *( u64 *)(r2);
120 *( u64 *)(r0 + 0x4c ) = *( u64 *)(r2 + 8 );
121 *( u64 *)(r0 + 0x54 ) = *( u64 *)(r2 + 0x10 );
122 *( u64 *)(r0 + 0x5c ) = *( u64 *)(r2 + 0x18 );
123 *( u16 *)(r0 + 0x64 ) = 0x100 ;
126 r0 = fn_5adf8(&local_68, & Location ( "src/instruction.rs:1688:14" )); ■ string · 26 B
130 *( u64 *)(r0 + 0x7e ) = *( u64 *)(r2 + 0x18 );
131 *( u64 *)(r0 + 0x76 ) = *( u64 *)(r2 + 0x10 );
132 *( u64 *)(r0 + 0x6e ) = *( u64 *)(r2 + 8 );
133 *( u64 *)(r0 + 0x66 ) = *( u64 *)(r2);
134 *( u8 *)(r0 + 0x86 ) = r9;
135 *( u8 *)(r0 + 0x87 ) = 0 ;
143 local_38 = *( u64 *)(r1 + 0x18 );
144 local_40_u64 = *( u64 *)(r1 + 0x10 );
145 local_48 = *( u64 *)(r1 + 8 );
146 local_50_u64 = *( u64 *)(r1);
147 if (r7 != local_68) {
151 *( u64 *)(r1 + 0xa0 ) = local_38;
152 *( u64 *)(r1 + 0x98 ) = local_40_u64;
153 *( u64 *)(r1 + 0x90 ) = local_48;
154 *( u64 *)(r1 + 0x88 ) = local_50_u64;
155 *( u16 *)(r1 + 0xa8 ) = 1 ;
165 r0 = fn_5adf8(&local_68, & Location ( "src/instruction.rs:1693:18" )); ■ string · 26 B
166 goto L_56628; ● kept as goto
169 local_40_u64 = local_58;
171 local_50_u64 = local_68;
173 r1 = *( u64 *)(r4 + 0x18 );
174 r2 = *( u64 *)(r4 + 0x10 );
175 r3 = *( u64 *)(r4 + 8 );
184 r0 = memcpy (local_c8, &local_50_u64, 0x50 );
188 r0 = fn_67b18(local_98, r9, & Location ( "src/instruction.rs:1684:24" )); ■ string · 26 B
192 goto L_56298; ● kept as goto
194 goto L_562d0; ● kept as goto
198 goto L_561c0; ● kept as goto