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_3688 ▾
pseudocode.c fn fn_3688 · .text+0x3688 · 125 ins · 30 blocks · 135 lines · structured where the control flow allows copy ↓ .c download pseudocode.c 1 // fn_3688 · 125 instructions · 1 caller · 5 gotos
2 u64 fn_3688( u64 r1, u64 r2) {
3 u64 local_90;
4 u64 local_88;
Evidence why revrsly believes it ×
· The binary doesn't name this function. fn_3688 is its offset in .text.
● .text+0x3688 · 125 instructions · 30 blocks
● 1 caller
◇ takes 2 arguments (from register use)
5
u64 local_80;
26 r8 = *( u64 *)(r7 + 0x18 );
27 if (*( u64 *)(r8) == 0 ) {
28 if (*( u64 *)(r8 + 8 ) == 0 ) {
29 if (*( u64 *)(r8 + 0x10 ) == 0 ) {
30 if (*( u64 *)(r8 + 0x18 ) == 0 ) {
35 r0 = anchor_error_new (&local_90, 0xbc4 ); // Anchor error 3012 AccountNotInitialized?
38 *( u64 *)(r6 + 0x18 ) = r2;
39 *( u64 *)(r6 + 0x10 ) = r1;
43 // compares a key with BPFLoaderUpgradeab1e11111111111111111111111 (BPF upgradeable loader)
44 if (*( u64 *)(r8) == - 0x4f5e77b16e0957fe ) {
45 // …part 2 of BPFLoaderUpgradeab1e11111111111111111111111
46 if (*( u64 *)(r8 + 8 ) == 0x2bae63f73e1510e2 ) {
47 // …part 3 of BPFLoaderUpgradeab1e11111111111111111111111
48 if (*( u64 *)(r8 + 0x10 ) == - 0x2ddb3ee9c2463e00 ) {
50 // …part 4 of BPFLoaderUpgradeab1e11111111111111111111111
51 if (*( u64 *)(r8 + 0x18 ) != 0x8004107a53c0 ) {
56 r8 = *( u64 *)(r7 + 0x10 );
57 r1 = *( u64 *)(r8 + 0x10 );
58 if (r1 >= 0x7fffffffffffffff ) {
59 r0 = fn_5fbd0(&local_80, 0xb , 0 );
62 *( u64 *)(r6 + 0x18 ) = r2;
63 *( u64 *)(r6 + 0x10 ) = r1;
67 *( u64 *)(r8 + 0x10 ) = r1 + 1 ;
68 r1 = *( u64 *)(r8 + 0x18 );
69 local_8 = *( u64 *)(r8 + 0x20 );
71 r0 = fn_59140(&local_50, &local_10);
75 *( u32 *)(r6 + 0xc ) = local_44;
76 *( u32 *)(r6 + 9 ) = local_47;
79 *( u64 *)(r6 + 0x28 ) = local_28;
80 *( u64 *)(r6 + 0x20 ) = local_30;
81 *( u64 *)(r6 + 0x30 ) = r7;
82 *( u64 *)(r6 + 0x18 ) = r4;
83 *( u64 *)(r6 + 0x10 ) = r3;
88 *( u64 *)(r6 + 0x18 ) = local_38;
89 *( u64 *)(r6 + 0x10 ) = r1;
92 *( u64 *)(r8 + 0x10 ) = *( u64 *)(r8 + 0x10 ) + - 1 ;
95 r0 = anchor_error_new (&local_60, 0xbbf ); // Anchor error 3007 AccountOwnedByWrongProgram?
98 local_38 = *( u64 *)(r8 + 0x18 );
99 local_40 = *( u64 *)(r8 + 0x10 );
100 local_48_u64 = *( u64 *)(r8 + 8 );
101 local_50 = *( u64 *)(r8);
102 local_30 = - 0x4f5e77b16e0957fe ;
103 local_28 = 0x2bae63f73e1510e2 ;
104 local_20 = - 0x2ddb3ee9c2463e00 ;
105 local_18 = 0x8004107a53c0 ;
106 r0 = fn_5fca0(&local_70, r2, r3, &local_50);
109 *( u64 *)(r6 + 0x18 ) = r2;
110 *( u64 *)(r6 + 0x10 ) = r1;
118 goto L_3790; ● kept as goto
122 goto L_3708; ● kept as goto
126 goto L_36f0; ● kept as goto
128 goto L_3708; ● kept as goto
134 goto L_36e0; ● kept as goto