Program ojh1…orch
Disassembled86.4% of control flow structuredNative ◇ojh19ojaKduoJZuaJADhcVGp4xt1TcdAvZmpVsCorchdecompiled 14 Oct 2026
- 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 outputVerified build · noneIDL · none publishedsecurity.txt · none
Loading the reconstruction…
1// fn_17a10 · 626 instructions · 4 callers · 91 gotos
2// panic locations in this function: interface/src/quote/order_book_ext.rs:33
3fn fn_17a10(mut r1: u64, mut r2: u64) -> u64 {
4 let mut local_b0: u64 = 0;
5 let mut local_a8: u64 = 0;
6 let mut local_a0: u64 = 0;
7 let mut local_98: u64 = 0
;
8 let mut local_90: u64 = 0;
9 let mut local_88: u64 = 0;
10 let mut local_80: u64 = 0;
11 let mut local_78: u64 = 0;
12 let mut local_70: u64 = 0;
13 let mut local_68: u64 = 0;
14 let mut local_60: u64 = 0;
15 let mut local_58: u64 = 0;
16 let mut local_50: u64 = 0;
17 let mut local_48: u64 = 0;
18 let mut local_40: u64 = 0;
19 let mut local_38: u64 = 0;
20 let mut local_30: u64 = 0;
21 let mut local_28: u64 = 0;
22 let mut local_20: u64 = 0;
23 let mut local_18: u64 = 0;
24 let mut local_10: u64 = 0;
25 let mut local_8: u64 = 0;
26 r7 = *((r2 + 0x40) as *const u8);
29 *((r1 + 4) as *mut u64) = r2;
31 *((r1) as *mut u32) = r6;
35 r3 = *((r2 + 0x28) as *const u64);
36 r5 = *((r2 + 0x38) as *const u64);
37 r0 = *((r2 + 0x30) as *const u64);
41 r4 = *((r2 + r4) as *const u64);
44 *((r1 + 4) as *mut u64) = r2;
46 *((r1) as *mut u32) = r6;
52 r5 = 0x10200 >> (r7 << 3) & 0xff;
59 local_20 = *((r2 + 0x10) as *const u64);
60 local_48 = *((r2) as *const u64);
61 r5 = *((r0 + 8) as *const u64);
63 local_38 = *((r8 + 8) as *const u64);
64 r9 = *((r2 + 0x41) as *const u8) & r4;
65 r3 = *((r2 + 8) as *const u64);
77 r3 = *((r9 + 8) as *const u8);
96 r6 = *((r0) as *const u64);
97 if r6 != -0x41b988a05efe133d {
104 r6 = (r6 << 0x2f | r6 >> 0x11) ^ -0x99e20dcc4502f80;
105 r0 = fn_1cfa8((r4 + -1) / local_20 + 1, 0, 0x3b9aca00, 0);
112 r0 = fn_1d100(r0 + -1, r2 - r1, r6, 0);
113 r0 = fn_1d100(r0, r1, 0x3b9aca00, 0);
122 r0 = fn_1cfa8(r0, r2, r9, 0);
127 *((r1 + 4) as *mut u64) = r2;
129 *((r1) as *mut u32) = r6;
132 *((r1 + 8) as *mut u64) = r0;
134 *((r1) as *mut u32) = r6;
139 *((r1 + 4) as *mut u64) = r2;
141 *((r1) as *mut u32) = r6;
145 *((r1 + 4) as *mut u64) = r2;
147 *((r1) as *mut u32) = r6;
150 *((r1) as *mut u32) = r6;
153 *((r1 + 4) as *mut u32) = 1;
155 *((r1) as *mut u32) = r6;
159 /* continues at L_17c30; not expressible as structured Rust */● an edge Rust can't hold
161 /* continues at L_18b50; not expressible as structured Rust */● an edge Rust can't hold
168 r2 = *((local_40) as *const u64);
169 r2 = (r2 << 0x2f | r2 >> 0x11) ^ -0x99e20dcc4502f80;
170 r3 = *((r9 - 0xc) as *const u32);
173 r0 = fn_1cfa8(r2, 0, r3, 0);
176 r0 = fn_1d100(r7, r8, 0xf4240, 0);
184 r0 = fn_1cfa8(r0, r2, -0xf4240, -1);
185 r0 = r0 ^ neg64(r7) | r1 ^ neg64(r8);
195 if (local_18 + r4) == 0 {
210 local_b0 = *((r9) as *const u64);
211 local_78 = *((r9 - 8) as *const u64);
213 r0 = fn_1cfa8(r1, 0, r5, 0);
216 r0 = fn_1cfa8(r1, 0, r7, 0);
219 r0 = fn_1cfa8(r8, 0, r7, 0);
243 r0 = fn_1cfa8(r0 / local_20 / r5, 0, local_38, 0);
285 if local_10 > local_80 {
288 /* continues at L_18b88; not expressible as structured Rust */● an edge Rust can't hold
290 *((r9 - 8) as *mut u64) = local_78 - local_88;
292 /* continues at L_18b10; not expressible as structured Rust */● an edge Rust can't hold
296 if *((r5) as *const u8) != r9 {
298 if *((r5 + 0x15) as *const u8) != r9 {
300 if *((r5 + 0x2a) as *const u8) != r9 {
302 if *((r5 + 0x3f) as *const u8) != r9 {
304 if *((r5 + 0x54) as *const u8) != r9 {
306 if *((r5 + 0x69) as *const u8) != r9 {
308 if *((r5 + 0x7e) as *const u8) != r9 {
310 if *((r5 + 0x93) as *const u8) != r9 {
312 if *((r5 + 0xa8) as *const u8) != r9 {
314 if *((r5 + 0xbd) as *const u8) != r9 {
316 if *((r5 + 0xd2) as *const u8) != r9 {
318 if *((r5 + 0xe7) as *const u8) != r9 {
320 if *((r5 + 0xfc) as *const u8) != r9 {
322 if *((r5 + 0x111) as *const u8) != r9 {
324 if *((r5 + 0x126) as *const u8) != r9 {
326 if *((r5 + 0x13b) as *const u8) != r9 {
328 if *((r5 + 0x150) as *const u8) != r9 {
330 if *((r5 + 0x165) as *const u8) != r9 {
332 if *((r5 + 0x17a) as *const u8) != r9 {
334 if *((r5 + 0x18f) as *const u8) != r9 {
336 if *((r5 + 0x1a4) as *const u8) != r9 {
337 /* continues at L_18600; not expressible as structured Rust */● an edge Rust can't hold
339 r4 = *((r5 + 0x1a5) as *const u32);
341 /* continues at L_18958; not expressible as structured Rust */● an edge Rust can't hold
344 if *((r5 + 0x1b9) as *const u8) != r9 {
345 /* continues at L_18630; not expressible as structured Rust */● an edge Rust can't hold
347 r4 = *((r5 + 0x1ba) as *const u32);
349 /* continues at L_18980; not expressible as structured Rust */● an edge Rust can't hold
352 if *((r5 + 0x1ce) as *const u8) != local_28 {
353 /* continues at L_18670; not expressible as structured Rust */● an edge Rust can't hold
355 r4 = *((local_58 + 0x1cf) as *const u32);
357 /* continues at L_189a0; not expressible as structured Rust */● an edge Rust can't hold
363 if *((local_58 + 0x1e3) as *const u8) != local_28 {
364 /* continues at L_18b10; not expressible as structured Rust */● an edge Rust can't hold
367 if *((local_58 + 0x1e4) as *const u32) >= r3 {
368 /* continues at L_18aa0; not expressible as structured Rust */● an edge Rust can't hold
370 /* continues at L_186c8; not expressible as structured Rust */● an edge Rust can't hold
372 /* continues at L_18b10; not expressible as structured Rust */● an edge Rust can't hold
374 r4 = *((r5 + 0x190) as *const u32);
384 /* continues at L_18a30; not expressible as structured Rust */● an edge Rust can't hold
388 /* continues at L_18a98; not expressible as structured Rust */● an edge Rust can't hold
390 r0 = fn_15a80(r0, 0x18, &Location("interface/src/quote/order_book_ext.rs:33:30"));■ string · 43 B
392 /* continues at L_185d8; not expressible as structured Rust */● an edge Rust can't hold
394 r4 = *((r5 + 0x17b) as *const u32);
399 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
401 /* continues at L_185b0; not expressible as structured Rust */● an edge Rust can't hold
403 r4 = *((r5 + 0x166) as *const u32);
408 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
410 /* continues at L_18588; not expressible as structured Rust */● an edge Rust can't hold
412 r4 = *((r5 + 0x151) as *const u32);
417 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
419 /* continues at L_18560; not expressible as structured Rust */● an edge Rust can't hold
421 r4 = *((r5 + 0x13c) as *const u32);
426 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
428 /* continues at L_18538; not expressible as structured Rust */● an edge Rust can't hold
430 r4 = *((r5 + 0x127) as *const u32);
435 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
437 /* continues at L_18510; not expressible as structured Rust */● an edge Rust can't hold
439 r4 = *((r5 + 0x112) as *const u32);
444 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
446 /* continues at L_184e8; not expressible as structured Rust */● an edge Rust can't hold
448 r4 = *((r5 + 0xfd) as *const u32);
453 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
455 /* continues at L_184c0; not expressible as structured Rust */● an edge Rust can't hold
457 r4 = *((r5 + 0xe8) as *const u32);
462 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
464 /* continues at L_18498; not expressible as structured Rust */● an edge Rust can't hold
466 r4 = *((r5 + 0xd3) as *const u32);
471 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
473 /* continues at L_18470; not expressible as structured Rust */● an edge Rust can't hold
475 r4 = *((r5 + 0xbe) as *const u32);
480 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
482 /* continues at L_18448; not expressible as structured Rust */● an edge Rust can't hold
484 r4 = *((r5 + 0xa9) as *const u32);
489 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
491 /* continues at L_18420; not expressible as structured Rust */● an edge Rust can't hold
493 r4 = *((r5 + 0x94) as *const u32);
498 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
500 /* continues at L_183f8; not expressible as structured Rust */● an edge Rust can't hold
502 r4 = *((r5 + 0x7f) as *const u32);
507 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
509 /* continues at L_183d0; not expressible as structured Rust */● an edge Rust can't hold
511 r4 = *((r5 + 0x6a) as *const u32);
516 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
518 /* continues at L_183a8; not expressible as structured Rust */● an edge Rust can't hold
520 r4 = *((r5 + 0x55) as *const u32);
525 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
527 /* continues at L_18380; not expressible as structured Rust */● an edge Rust can't hold
529 r4 = *((r5 + 0x40) as *const u32);
534 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
536 /* continues at L_18358; not expressible as structured Rust */● an edge Rust can't hold
538 r4 = *((r5 + 0x2b) as *const u32);
543 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
545 /* continues at L_18330; not expressible as structured Rust */● an edge Rust can't hold
547 r4 = *((r5 + 0x16) as *const u32);
552 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
554 /* continues at L_18308; not expressible as structured Rust */● an edge Rust can't hold
556 r4 = *((r5 + 1) as *const u32);
561 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
563 /* continues at L_182e0; not expressible as structured Rust */● an edge Rust can't hold
566 *((r1 + 4) as *mut u64) = r2;
568 *((r1) as *mut u32) = r6;
572 r8 = local_50 & -0x100000000 | 0x1709;
575 /* continues at L_18260; not expressible as structured Rust */● an edge Rust can't hold
578 *((r1 + 4) as *mut u64) = r2;
580 *((r1) as *mut u32) = r6;
586 /* continues at L_18228; not expressible as structured Rust */● an edge Rust can't hold
588 /* continues at L_181c0; not expressible as structured Rust */● an edge Rust can't hold
595 /* continues at L_181b0; not expressible as structured Rust */● an edge Rust can't hold
597 /* continues at L_18210; not expressible as structured Rust */● an edge Rust can't hold
601 /* continues at L_181f0; not expressible as structured Rust */● an edge Rust can't hold
603 /* continues at L_18198; not expressible as structured Rust */● an edge Rust can't hold
606 /* continues at L_18158; not expressible as structured Rust */● an edge Rust can't hold
609 /* continues at L_18138; not expressible as structured Rust */● an edge Rust can't hold
612 *((r1 + 4) as *mut u64) = r2;
614 *((r1) as *mut u32) = r6;
618 /* continues at L_180e0; not expressible as structured Rust */● an edge Rust can't hold
621 *((r1 + 4) as *mut u64) = r2;
623 *((r1) as *mut u32) = r6;
631 /* continues at L_18078; not expressible as structured Rust */● an edge Rust can't hold
634 *((r1 + 4) as *mut u64) = r2;
636 *((r1) as *mut u32) = r6;
640 /* continues at L_18060; not expressible as structured Rust */● an edge Rust can't hold
642 /* continues at L_18038; not expressible as structured Rust */● an edge Rust can't hold
646 *((r1 + 4) as *mut u64) = r2;
648 *((r1) as *mut u32) = r6;
652 /* continues at L_17ff0; not expressible as structured Rust */● an edge Rust can't hold
655 /* continues at L_17fb8; not expressible as structured Rust */● an edge Rust can't hold
657 r1 = (r2 + -1) / local_38 + 1;
658 /* continues at L_17ed8; not expressible as structured Rust */● an edge Rust can't hold
661 *((r1 + 4) as *mut u64) = r2;
663 *((r1) as *mut u32) = r6;
667 /* continues at L_17e90; not expressible as structured Rust */● an edge Rust can't hold
670 *((r1 + 4) as *mut u64) = r2;
672 *((r1) as *mut u32) = r6;
676 /* continues at L_17e60; not expressible as structured Rust */● an edge Rust can't hold
679 *((r1 + 4) as *mut u64) = r2;
681 *((r1) as *mut u32) = r6;
685 /* continues at L_17e18; not expressible as structured Rust */● an edge Rust can't hold
688 /* continues at L_17de0; not expressible as structured Rust */● an edge Rust can't hold
691 /* continues at L_17d68; not expressible as structured Rust */● an edge Rust can't hold
694 *((r1 + 4) as *mut u64) = r2;
696 *((r1) as *mut u32) = r6;
700 r4 = *((r2 + 0x20) as *const u64);
703 *((r1 + 4) as *mut u64) = r2;
705 *((r1) as *mut u32) = r6;
708 /* continues at L_17ad8; not expressible as structured Rust */● an edge Rust can't hold
710 /* continues at L_18b10; not expressible as structured Rust */● an edge Rust can't hold
716 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
725 /* continues at L_189d0; not expressible as structured Rust */● an edge Rust can't hold
730 /* continues at L_189b8; not expressible as structured Rust */● an edge Rust can't hold
741 /* continues at L_18a90; not expressible as structured Rust */● an edge Rust can't hold
745 if *((r8 - 1) as *const u8) != r9 {
746 /* continues at L_18a10; not expressible as structured Rust */● an edge Rust can't hold
748 r9 = *((r8) as *const u32);
750 /* continues at L_18a08; not expressible as structured Rust */● an edge Rust can't hold
752 r4 = r4 << 0x20 >> 0x20;
757 /* continues at L_189f8; not expressible as structured Rust */● an edge Rust can't hold
760 /* continues at L_189f8; not expressible as structured Rust */● an edge Rust can't hold
763 /* continues at L_18a78; not expressible as structured Rust */● an edge Rust can't hold
765 /* continues at L_18a90; not expressible as structured Rust */● an edge Rust can't hold
769 r4 = local_58 + r0 * 0x15;
770 r0 = *((r4 + 5) as *const u64);
778 *((r4 + 5) as *mut u64) = r0;
779 /* continues at L_18b10; not expressible as structured Rust */● an edge Rust can't hold
782 /* continues at L_18b08; not expressible as structured Rust */● an edge Rust can't hold
785 /* continues at L_18af0; not expressible as structured Rust */● an edge Rust can't hold