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_2980 ▾
pseudocode.c fn fn_2980 · .text+0x2980 · 204 ins · 54 blocks · 143 lines · structured where the control flow allows copy ↓ .c download pseudocode.c 1 // fn_2980 · 204 instructions · 5 callers · 2 gotos
2 u64 fn_2980( u64 r1, u64 r2, u64 r3, u64 r4) {
3 u64 local_40;
4
Evidence why revrsly believes it ×
· The binary doesn't name this function. fn_2980 is its offset in .text.
● .text+0x2980 · 204 instructions · 54 blocks
● 5 callers
◇ takes 4 arguments (from register use)
u64
local_38;
13 if (r0 == *( u64 *)(r4)) {
14 r0 = *( u64 *)(r3 + 8 );
15 if (r0 == *( u64 *)(r4 + 8 )) {
16 r0 = *( u64 *)(r3 + 0x10 );
17 if (r0 == *( u64 *)(r4 + 0x10 )) {
19 if (*( u64 *)(r3 + 0x18 ) != *( u64 *)(r4 + 0x18 )) {
30 r6 = *( u64 *)(r6 + 0x10 );
31 if (*( u64 *)(r6 + 0x10 ) == 0 ) {
32 *( u64 *)(r6 + 0x10 ) = - 1 ;
33 r1 = *( u64 *)(r6 + 0x18 );
34 local_18 = *( u64 *)(r6 + 0x20 );
37 r0 = fn_59a88(&local_20, 0x79d78 , 8 ); // .rodata+0x978
39 local_8_u64 = *( u64 *)(r9 + 0x68 );
40 r0 = fn_59a88(&local_20, &local_8_u64, 8 );
42 r0 = fn_59a88(&local_20, r9 + 8 , 0x20 );
44 r0 = fn_59a88(&local_20, r9 + 0x28 , 0x20 );
46 r0 = fn_59a88(&local_20, r9 + 0x48 , 0x20 );
48 local_8_u64 = *( u64 *)(r9 + 0x70 );
49 r0 = fn_59a88(&local_20, &local_8_u64, 8 );
51 local_8_u64 = *( u64 *)(r9 + 0x78 );
52 r0 = fn_59a88(&local_20, &local_8_u64, 8 );
54 local_8_u64 = *( u64 *)(r9 + 0x80 );
55 r0 = fn_59a88(&local_20, &local_8_u64, 8 );
57 local_8_u64 = *( u64 *)(r9 + 0x88 );
58 r0 = fn_59a88(&local_20, &local_8_u64, 8 );
60 local_8_u64 = *( u64 *)(r9 + 0x90 );
61 r0 = fn_59a88(&local_20, &local_8_u64, 8 );
63 local_8_u64 = *( u64 *)(r9 + 0x98 );
64 r0 = fn_59a88(&local_20, &local_8_u64, 8 );
66 local_8_u8 = *( u8 *)(r9 + 0xb1 );
67 r0 = fn_59a88(&local_20, &local_8_u64, 1 );
69 r0 = fn_a028(r9 + 0xb2 , &local_20);
71 local_8_u64 = *( u64 *)(r9 + 0xa0 );
72 r0 = fn_59a88(&local_20, &local_8_u64, 8 );
74 local_8_u64 = *( u64 *)(r9 + 0xa8 );
75 r0 = fn_59a88(&local_20, &local_8_u64, 8 );
77 r0 = fn_59a88(&local_20, r9 + 0xb0 , 1 );
79 *( u64 *)(r6 + 0x10 ) = *( u64 *)(r6 + 0x10 ) + 1 ;
86 r2 = *( u64 *)(*( u64 *)(r0 + 7 ));
88 r1 = *( u64 *)(r0 - 1 );
89 r0 = (*( fn *)r2)(r1, r2, r3, r4, r5);
93 r0 = anchor_error_new (&local_40, 0xbbc ); // Anchor error 3004 AccountDidNotSerialize?
96 *( u64 *)(r6 + 0x10 ) = *( u64 *)(r6 + 0x10 ) + 1 ;
102 *( u64 *)(r1 + 8 ) = r2;
120 goto L_2ef0; ● kept as goto
122 r0 = fn_5fbd0(&local_30, 0xb , 0 );
127 *( u64 *)(r1 + 8 ) = r2;
136 *( u64 *)(r1 + 8 ) = r2;
142 goto L_29e8; ● kept as goto