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_788 ▾
pseudocode.c fn fn_788 · .text+0x788 · 157 ins · 39 blocks · 164 lines · structured where the control flow allows copy ↓ .c download pseudocode.c 1 // fn_788 · 157 instructions · 4 callers · 8 gotos
2 u64 fn_788( u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) {
3 u64 local_118;
Evidence why revrsly believes it ×
· The binary doesn't name this function. fn_788 is its offset in .text.
● .text+0x788 · 157 instructions · 39 blocks
● 4 callers
◇ takes 5 arguments (from register use)
4
u64 local_110;
28 r8 = *( u64 *)(r7 + 0x18 );
29 if (*( u64 *)(r8) == 0 ) {
30 if (*( u64 *)(r8 + 8 ) == 0 ) {
31 if (*( u64 *)(r8 + 0x10 ) == 0 ) {
32 if (*( u64 *)(r8 + 0x18 ) == 0 ) {
37 r0 = anchor_error_new (&local_100, 0xbc4 ); // Anchor error 3012 AccountNotInitialized?
40 *( u64 *)(r6 + 8 ) = r2;
42 *( u32 *)(r6 + 0xb0 ) = 2 ;
45 r1 = 0x7a602 ; // .rodata+0x1202
47 if (r3 == *( u64 *)(r8)) {
48 if (*( u64 *)(r1 + 8 ) == *( u64 *)(r8 + 8 )) {
49 r2 = 0x7a602 ; // .rodata+0x1202
50 r3 = *( u64 *)(r2 + 0x10 );
51 if (r3 == *( u64 *)(r8 + 0x10 )) {
53 r3 = *( u64 *)(r8 + 0x18 );
54 if (*( u64 *)(r2 + 0x18 ) != r3) {
59 r1 = 0x7a602 ; // .rodata+0x1202
60 r3 = *( u64 *)(r1 + 0x20 );
61 if (r3 == *( u64 *)(r8)) {
62 if (*( u64 *)(r1 + 0x28 ) == *( u64 *)(r8 + 8 )) {
63 r2 = 0x7a602 ; // .rodata+0x1202
64 r3 = *( u64 *)(r2 + 0x30 );
65 if (r3 == *( u64 *)(r8 + 0x10 )) {
67 r3 = *( u64 *)(r8 + 0x18 );
68 if (*( u64 *)(r2 + 0x38 ) != r3) {
73 r0 = anchor_error_new (&local_d0, 0xbbf ); // Anchor error 3007 AccountOwnedByWrongProgram?
76 local_98 = *( u64 *)(r8 + 0x18 );
77 local_a0 = *( u64 *)(r8 + 0x10 );
78 local_a8 = *( u64 *)(r8 + 8 );
79 local_b0 = *( u64 *)(r8);
80 r0 = fn_5740(&local_e0, r2, r3, &local_b0);
85 *( u64 *)(r6 + 8 ) = r2;
86 *( u32 *)(r6 + 0xb0 ) = 2 ;
90 r9 = *( u64 *)(r7 + 0x10 );
91 r1 = *( u64 *)(r9 + 0x10 );
92 if (r1 >= 0x7fffffffffffffff ) {
93 r0 = fn_5fbd0(&local_f0, 0xb , 0 );
96 *( u64 *)(r6 + 8 ) = r2;
98 *( u32 *)(r6 + 0xb0 ) = 2 ;
101 *( u64 *)(r9 + 0x10 ) = r1 + 1 ;
102 r1 = *( u64 *)(r9 + 0x18 );
103 local_b8 = *( u64 *)(r9 + 0x20 );
105 r0 = fn_530b8(&local_b0, &local_c0, r3, r4, r5);
113 r0 = memcpy (r6 + 0x38 , &local_a0, 0x78 );
114 *( u64 *)(r6 + 0xb4 ) = local_24;
115 *( u64 *)(r6 + 0xbc ) = local_1c;
116 *( u64 *)(r6 + 0xc4 ) = local_14;
117 *( u64 *)(r6 + 0xcc ) = local_c;
118 *( u32 *)(r6 + 0xd4 ) = local_4;
119 *( u64 *)(r6 + 0x18 ) = *( u64 *)(r8 + 0x18 );
120 *( u64 *)(r6 + 0x10 ) = *( u64 *)(r8 + 0x10 );
121 *( u64 *)(r6 + 8 ) = *( u64 *)(r8 + 8 );
122 *( u64 *)(r6) = *( u64 *)(r8);
123 *( u32 *)(r6 + 0xb0 ) = local_118;
124 *( u64 *)(r6 + 0x30 ) = local_110;
125 *( u64 *)(r6 + 0x28 ) = local_108;
126 *( u64 *)(r6 + 0x20 ) = r7;
128 *( u64 *)(r6 + 8 ) = r2;
130 *( u32 *)(r6 + 0xb0 ) = 2 ;
132 *( u64 *)(r9 + 0x10 ) = *( u64 *)(r9 + 0x10 ) + - 1 ;
137 goto L_9e0; ● kept as goto
141 goto L_928; ● kept as goto
143 goto L_9e0; ● kept as goto
147 goto L_890; ● kept as goto
151 goto L_808; ● kept as goto
155 goto L_7f0; ● kept as goto
157 goto L_808; ● kept as goto
163 goto L_7e0; ● kept as goto