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_163d0 · 606 instructions · 4 callers · 84 gotos
2// panic locations in this function: interface/src/quote/order_book_ext.rs:33, interface/src/quote/sweepable.rs:209
3fn fn_163d0(mut r1: u64, mut r2: u64) -> u64 {
4 let mut local_a0: u64 = 0;
5 let mut local_98: u64 = 0;
6 let mut local_90: u64 = 0;
7 let mut local_88: u64 =
0
;
8 let mut local_80: u64 = 0;
9 let mut local_78: u64 = 0;
10 let mut local_70: u64 = 0;
11 let mut local_68: u64 = 0;
12 let mut local_60: u64 = 0;
13 let mut local_58: u64 = 0;
14 let mut local_50: u64 = 0;
15 let mut local_48: u64 = 0;
16 let mut local_40: u64 = 0;
17 let mut local_38: u64 = 0;
18 let mut local_30: u64 = 0;
19 let mut local_28: u64 = 0;
20 let mut local_20: u64 = 0;
21 let mut local_18: u64 = 0;
22 let mut local_10: u64 = 0;
23 let mut local_8: u64 = 0;
26 r0 = *((r9 + 0x38) as *const u64);
27 r4 = *((r0 + 8) as *const u64);
28 r5 = *((r9 + 0x30) as *const u64);
29 r3 = *((r5 + 8) as *const u64);
30 r1 = *((r9 + 0x40) as *const u8);
41 r3 = *((r9 + 0x28) as *const u64);
42 r8 = *((r9 + 0x10) as *const u64);
43 local_40 = *((r9) as *const u64);
44 local_30 = *((r1) as *const u64);
46 r1 = *((r2) as *const u64);
47 r0 = fn_1cfa8((r1 << 0x2f | r1 >> 0x11) ^ -0x99e20dcc4502f80, 0, r3, 0);
49 r0 = fn_1cfa8(r1, 0, r8, 0);
53 r0 = fn_1cfa8(r6, 0, r8, 0);
65 if ((r3 | r4) & 1) == 0 {
68 *((r8 + 4) as *mut u64) = r1;
70 *((r8) as *mut u32) = r1;
74 r2 = 0x10200 >> (r3 << 3) & 0xff;
81 r4 = *((r9 + 0x41) as *const u8) & r1;
82 r5 = *((r9 + 8) as *const u64);
93 r2 = *((r9 + 8) as *const u8);
109 *((r8 + 8) as *mut u64) = r2;
113 *((r8 + 4) as *mut u64) = r1;
115 *((r8) as *mut u32) = r1;
118 *((r8) as *mut u32) = r1;
121 *((r8 + 4) as *mut u32) = 1;
123 *((r8) as *mut u32) = r1;
127 /* continues at L_166f8; not expressible as structured Rust */● an edge Rust can't hold
131 *((r8 + 8) as *mut u64) = r2;
133 *((r8) as *mut u32) = r1;
137 *((r8 + 4) as *mut u64) = r1;
139 *((r8) as *mut u32) = r1;
146 r2 = *((r6) as *const u64);
147 r2 = (r2 << 0x2f | r2 >> 0x11) ^ -0x99e20dcc4502f80;
148 r3 = *((r9 - 0xc) as *const u32);
151 r0 = fn_1cfa8(r2, 0, r3, 0);
154 r0 = fn_1d100(r8, r6, 0xf4240, 0);
162 r0 = fn_1cfa8(r0, r2, -0xf4240, -1);
163 r0 = r0 ^ neg64(r8) | r1 ^ neg64(r6);
174 if (local_70 + r4) == 0 {
186 local_a0 = *((r9) as *const u64);
187 local_70 = *((r9 - 8) as *const u64);
189 r0 = fn_1cfa8(r1, 0, r3, 0);
192 r0 = fn_1cfa8(r1, 0, r6, 0);
195 r0 = fn_1cfa8(r8, 0, r6, 0);
224 r0 = fn_1cfa8(r0 / local_38 / r4, 0, r3, 0);
246 local_30 = local_30 - local_20;
254 *((r8 + 8) as *mut u64) = r2;
256 *((r8) as *mut u32) = r1;
261 *((r9 - 8) as *mut u64) = r3 - r1;
263 /* continues at L_175a0; not expressible as structured Rust */● an edge Rust can't hold
266 if *((r5) as *const u8) != r9 {
268 if *((r5 + 0x15) as *const u8) != r9 {
270 if *((r5 + 0x2a) as *const u8) != r9 {
272 if *((r5 + 0x3f) as *const u8) != r9 {
274 if *((r5 + 0x54) as *const u8) != r9 {
276 if *((r5 + 0x69) as *const u8) != r9 {
278 if *((r5 + 0x7e) as *const u8) != r9 {
280 if *((r5 + 0x93) as *const u8) != r9 {
282 if *((r5 + 0xa8) as *const u8) != r9 {
284 if *((r5 + 0xbd) as *const u8) != r9 {
286 if *((r5 + 0xd2) as *const u8) != r9 {
288 if *((r5 + 0xe7) as *const u8) != r9 {
290 if *((r5 + 0xfc) as *const u8) != r9 {
292 if *((r5 + 0x111) as *const u8) != r9 {
294 if *((r5 + 0x126) as *const u8) != r9 {
296 if *((r5 + 0x13b) as *const u8) != r9 {
298 if *((r5 + 0x150) as *const u8) != r9 {
300 if *((r5 + 0x165) as *const u8) != r9 {
302 if *((r5 + 0x17a) as *const u8) != r9 {
304 if *((r5 + 0x18f) as *const u8) != r9 {
306 if *((r5 + 0x1a4) as *const u8) != r9 {
308 if *((r5 + 0x1b9) as *const u8) != local_48 {
309 /* continues at L_170b0; not expressible as structured Rust */● an edge Rust can't hold
311 r4 = *((local_80 + 0x1ba) as *const u32);
313 /* continues at L_173f8; not expressible as structured Rust */● an edge Rust can't hold
316 if *((local_80 + 0x1ce) as *const u8) != local_48 {
317 /* continues at L_170f8; not expressible as structured Rust */● an edge Rust can't hold
319 r4 = *((local_80 + 0x1cf) as *const u32);
321 /* continues at L_17418; not expressible as structured Rust */● an edge Rust can't hold
328 if *((r5 + 0x1e3) as *const u8) != local_48 {
329 /* continues at L_175a0; not expressible as structured Rust */● an edge Rust can't hold
332 if *((r5 + 0x1e4) as *const u32) >= local_50 {
333 /* continues at L_17520; not expressible as structured Rust */● an edge Rust can't hold
335 /* continues at L_17150; not expressible as structured Rust */● an edge Rust can't hold
337 /* continues at L_175a0; not expressible as structured Rust */● an edge Rust can't hold
339 r4 = *((r5 + 0x1a5) as *const u32);
350 /* continues at L_17498; not expressible as structured Rust */● an edge Rust can't hold
354 /* continues at L_17508; not expressible as structured Rust */● an edge Rust can't hold
356 r0 = fn_15a80(r1, 0x18, &Location("interface/src/quote/order_book_ext.rs:33:30"));■ string · 43 B
358 /* continues at L_17070; not expressible as structured Rust */● an edge Rust can't hold
360 r4 = *((r5 + 0x190) as *const u32);
365 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
367 /* continues at L_17040; not expressible as structured Rust */● an edge Rust can't hold
369 r4 = *((r5 + 0x17b) as *const u32);
374 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
376 /* continues at L_17010; not expressible as structured Rust */● an edge Rust can't hold
378 r4 = *((r5 + 0x166) as *const u32);
383 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
385 /* continues at L_16fe0; not expressible as structured Rust */● an edge Rust can't hold
387 r4 = *((r5 + 0x151) as *const u32);
392 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
394 /* continues at L_16fb0; not expressible as structured Rust */● an edge Rust can't hold
396 r4 = *((r5 + 0x13c) as *const u32);
401 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
403 /* continues at L_16f80; not expressible as structured Rust */● an edge Rust can't hold
405 r4 = *((r5 + 0x127) as *const u32);
410 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
412 /* continues at L_16f50; not expressible as structured Rust */● an edge Rust can't hold
414 r4 = *((r5 + 0x112) as *const u32);
419 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
421 /* continues at L_16f20; not expressible as structured Rust */● an edge Rust can't hold
423 r4 = *((r5 + 0xfd) as *const u32);
428 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
430 /* continues at L_16ef0; not expressible as structured Rust */● an edge Rust can't hold
432 r4 = *((r5 + 0xe8) as *const u32);
437 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
439 /* continues at L_16ec0; not expressible as structured Rust */● an edge Rust can't hold
441 r4 = *((r5 + 0xd3) as *const u32);
446 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
448 /* continues at L_16e90; not expressible as structured Rust */● an edge Rust can't hold
450 r4 = *((r5 + 0xbe) as *const u32);
455 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
457 /* continues at L_16e60; not expressible as structured Rust */● an edge Rust can't hold
459 r4 = *((r5 + 0xa9) as *const u32);
464 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
466 /* continues at L_16e30; not expressible as structured Rust */● an edge Rust can't hold
468 r4 = *((r5 + 0x94) as *const u32);
473 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
475 /* continues at L_16e00; not expressible as structured Rust */● an edge Rust can't hold
477 r4 = *((r5 + 0x7f) as *const u32);
482 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
484 /* continues at L_16dd0; not expressible as structured Rust */● an edge Rust can't hold
486 r4 = *((r5 + 0x6a) as *const u32);
491 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
493 /* continues at L_16da0; not expressible as structured Rust */● an edge Rust can't hold
495 r4 = *((r5 + 0x55) as *const u32);
500 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
502 /* continues at L_16d70; not expressible as structured Rust */● an edge Rust can't hold
504 r4 = *((r5 + 0x40) as *const u32);
509 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
511 /* continues at L_16d40; not expressible as structured Rust */● an edge Rust can't hold
513 r4 = *((r5 + 0x2b) as *const u32);
518 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
520 /* continues at L_16d10; not expressible as structured Rust */● an edge Rust can't hold
522 r4 = *((r5 + 0x16) as *const u32);
527 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
529 /* continues at L_16ce0; not expressible as structured Rust */● an edge Rust can't hold
531 r4 = *((r5 + 1) as *const u32);
536 /* continues at L_17438; not expressible as structured Rust */● an edge Rust can't hold
538 /* continues at L_16cb0; not expressible as structured Rust */● an edge Rust can't hold
541 *((r8 + 8) as *mut u32) = r6;
542 *((r8 + 4) as *mut u32) = 0;
544 *((r8) as *mut u32) = r1;
547 r0 = fn_15af0(&Location("interface/src/quote/sweepable.rs:209:9"));■ string · 38 B
550 /* continues at L_16c18; not expressible as structured Rust */● an edge Rust can't hold
553 /* continues at L_16bd8; not expressible as structured Rust */● an edge Rust can't hold
555 *((r8 + 8) as *mut u32) = r6;
556 *((r8 + 4) as *mut u32) = 0;
558 *((r8) as *mut u32) = r1;
562 /* continues at L_16ba0; not expressible as structured Rust */● an edge Rust can't hold
564 *((r8 + 8) as *mut u32) = r6;
565 *((r8 + 4) as *mut u32) = 0;
567 *((r8) as *mut u32) = r1;
576 /* continues at L_16b40; not expressible as structured Rust */● an edge Rust can't hold
578 *((r8 + 8) as *mut u32) = r6;
579 *((r8 + 4) as *mut u32) = 0;
581 *((r8) as *mut u32) = r1;
587 /* continues at L_16b20; not expressible as structured Rust */● an edge Rust can't hold
589 /* continues at L_16ac8; not expressible as structured Rust */● an edge Rust can't hold
595 /* continues at L_16ab8; not expressible as structured Rust */● an edge Rust can't hold
597 /* continues at L_16b18; not expressible as structured Rust */● an edge Rust can't hold
603 /* continues at L_16b00; not expressible as structured Rust */● an edge Rust can't hold
605 /* continues at L_16aa8; not expressible as structured Rust */● an edge Rust can't hold
608 *((r8 + 4) as *mut u64) = r1;
610 *((r8) as *mut u32) = r1;
614 /* continues at L_16a58; not expressible as structured Rust */● an edge Rust can't hold
617 /* continues at L_16a28; not expressible as structured Rust */● an edge Rust can't hold
619 r1 = (r4 + -1) / r2 + 1;
620 /* continues at L_16958; not expressible as structured Rust */● an edge Rust can't hold
623 *((r8 + 4) as *mut u64) = r1;
625 *((r8) as *mut u32) = r1;
629 *((r8 + 4) as *mut u64) = r1;
631 *((r8) as *mut u32) = r1;
635 /* continues at L_16910; not expressible as structured Rust */● an edge Rust can't hold
638 *((r8 + 4) as *mut u64) = r1;
640 *((r8) as *mut u32) = r1;
644 /* continues at L_168c8; not expressible as structured Rust */● an edge Rust can't hold
647 /* continues at L_16888; not expressible as structured Rust */● an edge Rust can't hold
650 /* continues at L_16810; not expressible as structured Rust */● an edge Rust can't hold
652 *((r8 + 8) as *mut u32) = r6;
653 *((r8 + 4) as *mut u32) = 0;
655 *((r8) as *mut u32) = r1;
660 *((r8 + 4) as *mut u64) = r1;
662 *((r8) as *mut u32) = r1;
671 *((r8 + 4) as *mut u64) = r1;
673 *((r8) as *mut u32) = r1;
676 /* continues at L_16480; not expressible as structured Rust */● an edge Rust can't hold
678 /* continues at L_175a0; not expressible as structured Rust */● an edge Rust can't hold
683 /* continues at L_17430; not expressible as structured Rust */● an edge Rust can't hold
688 /* continues at L_17430; not expressible as structured Rust */● an edge Rust can't hold
698 /* continues at L_17500; not expressible as structured Rust */● an edge Rust can't hold
702 if *((r6 - 1) as *const u8) != r9 {
703 /* continues at L_17478; not expressible as structured Rust */● an edge Rust can't hold
705 r8 = *((r6) as *const u32);
707 /* continues at L_17478; not expressible as structured Rust */● an edge Rust can't hold
709 r4 = r4 << 0x20 >> 0x20;
714 /* continues at L_17460; not expressible as structured Rust */● an edge Rust can't hold
717 /* continues at L_17460; not expressible as structured Rust */● an edge Rust can't hold
720 /* continues at L_174e8; not expressible as structured Rust */● an edge Rust can't hold
722 /* continues at L_17500; not expressible as structured Rust */● an edge Rust can't hold
729 r0 = *((r4 + 5) as *const u64);
737 *((r4 + 5) as *mut u64) = r0;
740 /* continues at L_175a0; not expressible as structured Rust */● an edge Rust can't hold
743 /* continues at L_17588; not expressible as structured Rust */● an edge Rust can't hold
746 /* continues at L_17570; not expressible as structured Rust */● an edge Rust can't hold