Program ojh1…orch Disassembled 86.4% of control flow structured Native ◇ ojh19ojaKduoJZuaJADhcVGp4xt1TcdAvZmpVsCorch copy decompiled 14 Oct 2026
Identity · published metadata ▾
Loader ■ v3 · upgradeable
sBPF ■ v0
Size ■ 133,976 bytes
Instructions ● 15,018
Functions ● 95
SHA-256 ● 14799e13…f2660b93
Upgrade authority ■ F6qa…z862
Last deploy slot ■ 449,987,639 ❝ Published by the authors · nothing, so everything here is revrsly output Verified build · noneIDL · none publishedsecurity.txt · none
Loading the reconstruction…
Functions
Other functions 84
+ 24 more · type to filter
fn_9970 ▾
pseudocode.c fn fn_9970 · .text+0x9970 · 278 ins · 80 blocks · 318 lines · structured where the control flow allows copy ↓ .c download pseudocode.c 1 // fn_9970 · 278 instructions · 1 caller · 1 goto
2 // panic locations in this function: src/lib.rs:511, program/src/instructions/oracle/init_oracle.rs:67, program/src/instructions/oracle/init_oracle.rs:104
3 u64 fn_9970( u64 r1, u64 r2, u64 r3) {
4 u64 local_d20;
5 u64 local_d18;
6 u64 local_d10;
7 u64 local_d08_u64;
8 u8 local_d08_u8;
9 u64 local_d07_u64;
10 u8 local_d07_u8;
11
Evidence why revrsly believes it ×
· The binary doesn't name this function. fn_9970 is its offset in .text.
● .text+0x9970 · 278 instructions · 80 blocks
● 1 caller
◇ takes 3 arguments (from register use)
u64 local_d06;
33 r2 = *( u64 *)(r1 + 0x20 );
34 if (*( u64 *)(r2 + 8 ) == 0 ) {
35 if (*( u64 *)(r2 + 0x10 ) == 0 ) {
36 if (*( u64 *)(r2 + 0x18 ) == 0 ) {
37 if (*( u64 *)(r2 + 0x20 ) == 0 ) {
39 r8 = *( u64 *)(r1 + 0x10 );
40 if (*( u64 *)(r8 + 8 ) == 0x14b3ded492fcf80b ) {
41 if (*( u64 *)(r8 + 0x10 ) == - 0x68c84594f411f7a6 ) {
42 if (*( u64 *)(r8 + 0x18 ) == 0x2920836652dd4691 ) {
43 if (*( u64 *)(r8 + 0x20 ) == - 0x6533faea60a4de51 ) {
47 if (*( u8 *)(r6 + 1 ) != 0 ) {
48 r2 = *( u64 *)(r8 + 0x28 );
49 if (r2 != - 0x4f5e77b16e0957fe ) {
50 if (r2 == 0x7ae3515111b41205 ) {
51 if (*( u64 *)(r8 + 0x30 ) == 0x7b2e88d3c58b0aad ) {
52 if (*( u64 *)(r8 + 0x38 ) == - 0x37d73f2d0cb32581 ) {
53 if (*( u64 *)(r8 + 0x40 ) == 0x183683cf ) {
63 if (*( u64 *)(r8 + 0x50 ) < 0x30 ) {
67 if ((r2 & 0xff ) != r2) {
68 r0 = fn_15af0(& Location ( "src/lib.rs:511:18" )); ■ string · 17 B
74 if (*( u64 *)(r8 + 0x60 ) == *( u64 *)(r6 + 8 )) {
75 if (*( u64 *)(r8 + 0x68 ) == *( u64 *)(r6 + 0x10 )) {
76 if (*( u64 *)(r8 + 0x70 ) == *( u64 *)(r6 + 0x18 )) {
77 if (*( u64 *)(r8 + 0x78 ) != *( u64 *)(r6 + 0x20 )) {
79 if ((r2 & 0xff ) != r2) {
80 r0 = fn_15af0(& Location ( "src/lib.rs:511:18" )); ■ string · 17 B
88 if ((r2 & 0xff ) != r2) {
89 r0 = fn_15af0(& Location ( "src/lib.rs:511:18" )); ■ string · 17 B
96 r8 = *( u64 *)(r3 + 8 );
97 if (*( u64 *)(r8 + 8 ) == - 0x621abe437788370e ) {
98 if (*( u64 *)(r8 + 0x10 ) == - 0x2bd7a2d51f81c3b8 ) {
99 if (*( u64 *)(r8 + 0x18 ) != 0x5858383d9a13854f ) {
103 if (*( u64 *)(r8 + 0x20 ) == 0x2e48341dd2680ca ) {
104 r0 = fn_1b1a8(&local_d08_u64, r2);
105 local_20 = 0x1edbf ; // .rodata+0x5ef
106 local_30_u64 = 0x1edb9 ; // .rodata+0x5e9
109 local_10 = &local_30_u64;
111 r0 = invoke_signed (r6, 0xcd2 , r8, &local_10);
112 if ((r0 << 0x20 >> 0x20 ) == 0x1a ) {
114 if (*( u8 *)(r8) != 0xff ) {
120 r1 = *( u64 *)(r8 + 0x50 );
122 r0 = fn_15ae0(r1, 0xcd2 , & Location ( "program/src/instructions/oracle/init_oracle.rs:104:14" )); ■ string · 53 B
124 r0 = memcpy (r8 + 0x58 , &local_d08_u64, 0xcd2 );
143 r2 = (r2 & 0xff ) + 1 ;
144 if ((r2 & 0xff ) != r2) {
145 r0 = fn_15af0(& Location ( "src/lib.rs:511:18" )); ■ string · 17 B
158 if (*( u64 *)(r8 + 0x30 ) == 0x2bae63f73e1510e2 ) {
159 if (*( u64 *)(r8 + 0x38 ) == - 0x2ddb3ee9c2463e00 ) {
160 if (*( u64 *)(r8 + 0x40 ) == 0x8004107a53c0 ) {
163 r9 = *( u64 *)(r1 + 0x18 );
164 r0 = find_program_address_a2c0 (&local_d08_u64);
165 if (*( u64 *)(r9 + 8 ) == local_d08_u64) {
166 if (*( u64 *)(r9 + 0x10 ) == local_d00) {
167 if (*( u64 *)(r9 + 0x18 ) == local_cf8) {
168 if (*( u64 *)(r9 + 0x20 ) == local_cf0) {
176 r0 = fn_15540(&local_30_u64, r8 + 0x58 , *( u64 *)(r8 + 0x50 ), &local_d08_u64);
177 if (local_30_u8 == 0xe ) {
178 if (local_d08_u8 != 2 ) {
179 r2 = (local_d20 & 0xff ) + 1 ;
180 if ((r2 & 0xff ) != r2) {
181 r0 = fn_15af0(& Location ( "src/lib.rs:511:18" )); ■ string · 17 B
188 r2 = (local_d20 & 0xff ) + 1 ;
190 if ((r2 & 0xff ) == r5) {
196 if (r4 == *( u64 *)(r9 + 8 )) {
197 if (r3 == *( u64 *)(r9 + 0x10 )) {
198 if (r2 != *( u64 *)(r9 + 0x18 )) {
204 if (r1 == *( u64 *)(r9 + 0x20 )) {
210 r2 = *( u64 *)(r9 + 0x50 );
212 r0 = fn_15aa8( 0x2d , r2, & Location ( "program/src/instructions/oracle/init_oracle.rs:67:48" )); ■ string · 52 B
214 r0 = fn_15540(&local_30_u64, r9 + 0x58 , 0x2d , &local_d08_u64);
215 if (local_30_u8 == 0xe ) {
216 if (local_d08_u8 == 3 ) {
217 if ((local_d07_u8 & 1 ) == 0 ) {
218 r8 = (r8 & 0xff ) + 1 ;
219 if ((r8 & 0xff ) != r8) {
220 r0 = fn_15af0(& Location ( "src/lib.rs:511:18" )); ■ string · 17 B
227 r8 = (r8 & 0xff ) + 1 ;
228 if ((r8 & 0xff ) != r8) {
229 r0 = fn_15af0(& Location ( "src/lib.rs:511:18" )); ■ string · 17 B
237 if (r4 == *( u64 *)(r6 + 8 )) {
238 if (r3 == *( u64 *)(r6 + 0x10 )) {
239 if (r2 != *( u64 *)(r6 + 0x18 )) {
247 if (r1 == *( u64 *)(r6 + 0x20 )) {
248 goto L_9fa8; ● kept as goto
259 r8 = (r8 & 0xff ) + 1 ;
260 if ((r8 & 0xff ) != r8) {
261 r0 = fn_15af0(& Location ( "src/lib.rs:511:18" )); ■ string · 17 B
278 r0 = fn_15af0(& Location ( "src/lib.rs:511:18" )); ■ string · 17 B
280 r2 = (local_d20 & 0xff ) + 1 ;
281 if ((r2 & 0xff ) != r2) {
282 r0 = fn_15af0(& Location ( "src/lib.rs:511:18" )); ■ string · 17 B