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
set_once_handler ▾
pseudocode.c fn set_once_handler · .text+0x42bd8 · 178 ins · 50 blocks · 276 lines · structured where the control flow allows copy ↓ .c download pseudocode.c 1 // set_once_handler · 178 instructions · 1 caller · 12 gotos
2 // panic locations in this function: /home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/collections/btree/navigate.rs:600
3 u64 set_once_handler ( u64 r1, u64 r2, u64
Evidence why revrsly believes it ×
Function ◇ Inferred
set_once_handler
◇ Where the dispatch sends the set_once instruction, after its "Instruction: SetOnce" log: Anchor's wrapper, which loads the accounts and calls the program's handler.
● .text+0x42bd8 · 178 instructions · 50 blocks
● 1 caller
◇ takes 4 arguments (from register use)
r3,
u64
r4) {
30 sol_log_ ( "Instruction: SetOnce" , 0x14 ); // log a string ■ string · 20 B
35 local_ff0 = &local_88;
36 r0 = set_once_try_accounts (&local_30, r7, &local_70, r4, fp);
51 r0 = set_once (&local_98, &local_30);
54 r0 = fn_15630(&local_a8, &local_60, r7);
65 r0 = *( u64 *)(r0 + 0x170 );
75 r0 = *( u64 *)(r0 + 0x160 );
81 *( u64 *)(r6 + 8 ) = r2;
92 if (r7 < *( u16 *)(r4 + 0x16a )) {
105 goto L_43138; ● kept as goto
107 r8 = r8 + (r7 << 3 ) + 0x170 ;
127 r8 = *( u64 *)(r4 + 0x160 );
130 r7 = *( u16 *)(r4 + 0x168 );
132 if (r7 >= *( u16 *)(r8 + 0x16a )) {
137 r1 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/collections/btree/navigate.rs:600:48" ); ■ string · 111 B
140 goto L_42ec0; ● kept as goto
143 r4 = *( u64 *)(r4 + 0x170 );
150 goto L_42e70; ● kept as goto
155 if (r7 >= *( u16 *)(r4 + 0x16a )) {
156 goto L_42e88; ● kept as goto
158 goto L_42e38; ● kept as goto
160 goto L_43138; ● kept as goto
162 *( u64 *)(r6 + 8 ) = r2;
176 r0 = *( u64 *)(r0 + 0x170 );
186 r0 = *( u64 *)(r0 + 0x160 );
192 *( u64 *)(r6 + 8 ) = r2;
203 if (r7 < *( u16 *)(r4 + 0x16a )) {
216 goto L_430f8; ● kept as goto
218 r8 = r8 + (r7 << 3 ) + 0x170 ;
234 goto L_430f8; ● kept as goto
238 r8 = *( u64 *)(r4 + 0x160 );
241 r7 = *( u16 *)(r4 + 0x168 );
243 if (r7 >= *( u16 *)(r8 + 0x16a )) {
246 goto L_43058; ● kept as goto
253 r4 = *( u64 *)(r4 + 0x170 );
260 goto L_43008; ● kept as goto
265 if (r7 >= *( u16 *)(r4 + 0x16a )) {
266 goto L_43020; ● kept as goto
268 goto L_42fd0; ● kept as goto
270 r1 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/collections/btree/navigate.rs:600:48" ); ■ string · 111 B
273 *( u64 *)(r6 + 8 ) = r2;