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
fn_1108 ▾
pseudocode.c fn fn_1108 · .text+0x1108 · 153 ins · 39 blocks · 151 lines · structured where the control flow allows copy ↓ .c download pseudocode.c 1 // fn_1108 · 153 instructions · 2 callers · 8 gotos
2 u64 fn_1108( u64 r1, u64 r2) {
3 u64 local_c8;
4 u64 local_c0;
Evidence why revrsly believes it ×
· The binary doesn't name this function. fn_1108 is its offset in .text.
● .text+0x1108 · 153 instructions · 39 blocks
● 2 callers
◇ takes 2 arguments (from register use)
5
u64 local_b8;
25 r8 = *( u64 *)(r7 + 0x18 );
26 if (*( u64 *)(r8) == 0 ) {
27 if (*( u64 *)(r8 + 8 ) == 0 ) {
28 if (*( u64 *)(r8 + 0x10 ) == 0 ) {
29 if (*( u64 *)(r8 + 0x18 ) == 0 ) {
34 r0 = anchor_error_new (&local_a8, 0xbc4 ); // Anchor error 3012 AccountNotInitialized?
37 *( u64 *)(r6 + 0x10 ) = r2;
38 *( u64 *)(r6 + 8 ) = r1;
42 r1 = 0x7a602 ; // .rodata+0x1202
43 if (*( u64 *)(r1) == *( u64 *)(r8)) {
44 if (*( u64 *)(r1 + 8 ) == *( u64 *)(r8 + 8 )) {
45 r2 = 0x7a602 ; // .rodata+0x1202
46 if (*( u64 *)(r2 + 0x10 ) == *( u64 *)(r8 + 0x10 )) {
48 if (*( u64 *)(r2 + 0x18 ) != *( u64 *)(r8 + 0x18 )) {
53 r1 = 0x7a602 ; // .rodata+0x1202
54 if (*( u64 *)(r1 + 0x20 ) == *( u64 *)(r8)) {
55 if (*( u64 *)(r1 + 0x28 ) == *( u64 *)(r8 + 8 )) {
56 r2 = 0x7a602 ; // .rodata+0x1202
57 if (*( u64 *)(r2 + 0x30 ) == *( u64 *)(r8 + 0x10 )) {
59 if (*( u64 *)(r2 + 0x38 ) != *( u64 *)(r8 + 0x18 )) {
64 r0 = anchor_error_new (&local_78, 0xbbf ); // Anchor error 3007 AccountOwnedByWrongProgram?
67 local_40 = *( u64 *)(r8 + 0x18 );
68 local_48 = *( u64 *)(r8 + 0x10 );
69 local_50 = *( u64 *)(r8 + 8 );
70 local_58_u64 = *( u64 *)(r8);
71 r0 = fn_5740(&local_88, r2, r3, &local_58_u64);
75 *( u64 *)(r6 + 8 ) = r1;
76 *( u64 *)(r6 + 0x10 ) = r2;
81 r9 = *( u64 *)(r7 + 0x10 );
82 r1 = *( u64 *)(r9 + 0x10 );
83 if (r1 >= 0x7fffffffffffffff ) {
84 r0 = fn_5fbd0(&local_98, 0xb , 0 );
87 *( u64 *)(r6 + 0x10 ) = r2;
88 *( u64 *)(r6 + 8 ) = r1;
92 *( u64 *)(r9 + 0x10 ) = r1 + 1 ;
93 r1 = *( u64 *)(r9 + 0x18 );
94 local_60 = *( u64 *)(r9 + 0x20 );
96 r0 = fn_53478(&local_58_u64, &local_68);
103 r0 = memcpy (r6 + 0x18 , &local_40, 0x40 );
104 *( u64 *)(r6 + 0x78 ) = *( u64 *)(r8 + 0x18 );
105 *( u64 *)(r6 + 0x70 ) = *( u64 *)(r8 + 0x10 );
106 *( u64 *)(r6 + 0x68 ) = *( u64 *)(r8 + 8 );
107 *( u64 *)(r6 + 0x60 ) = *( u64 *)(r8);
108 *( u64 *)(r6 + 0x58 ) = r7;
109 *( u64 *)(r6 + 0x10 ) = local_c8;
110 *( u64 *)(r6 + 8 ) = local_b8;
111 *( u32 *)(r6 + 4 ) = local_b0;
112 *( u32 *)(r6) = local_c0;
115 *( u64 *)(r6 + 0x10 ) = local_48;
116 *( u64 *)(r6 + 8 ) = r1;
119 *( u64 *)(r9 + 0x10 ) = *( u64 *)(r9 + 0x10 ) + - 1 ;
124 goto L_1360; ● kept as goto
128 goto L_12a8; ● kept as goto
130 goto L_1360; ● kept as goto
134 goto L_1210; ● kept as goto
138 goto L_1188; ● kept as goto
142 goto L_1170; ● kept as goto
144 goto L_1188; ● kept as goto
150 goto L_1160; ● kept as goto