Program HiP3…iRvH
Disassembled84.5% of control flow structuredNative ◇HiP3dRdEbzPETVLrwu7Mht6G3XQkPVF6dUgXtDFeiRvHdecompiled 14 Oct 2026
- Loader
- ■v3 · upgradeable
- sBPF
- ■v0
- Size
- ■568,688 bytes
- Instructions
- ●63,667
- Functions
- ●175
- SHA-256
- ●c9076fed…6fdde9c2
- Upgrade authority
- ■HiPQ…vA2h
- Last deploy slot
- ■456,776,642
❝ Published by the authors · nothing, so everything here is revrsly outputVerified build · noneIDL · none publishedsecurity.txt · none
Loading the reconstruction…
1// fn_9500 · 718 instructions · 3 callers · 71 gotos
2// panic locations in this function: src/quote.rs:235, src/amount_search.rs:332, src/amount_search.rs:336, src/dex/segment_cache.rs:62, src/dex/concentrated_liquidity.rs:424, src/dex/concentrated_liquidity.rs:425, src/dex/meteora_dlmm.rs:405, src/market.rs:215, src/math.rs:646, src/math.rs:647, src/math.rs:650, src/math.rs:654
3fn fn_9500(mut r1: u64, mut r2: u64
,
mut
r3:
u64
,
mut
r4:
u64
,
mut
r5:
u64
) ->
u64
{
4 let mut local_1000: u64 = 0;
5 let mut local_ff8: u64 = 0;
6 let mut local_ff0: u64 = 0;
7 let mut local_fe8: u64 = 0;
8 let mut local_610: u64 = 0;
9 let mut local_608: u64 = 0;
10 let mut local_600: u64 = 0;
11 let mut local_5f8: u64 = 0;
12 let mut local_5f0: u64 = 0;
13 let mut local_5e8: u64 = 0;
14 let mut local_5e0: u64 = 0;
15 let mut local_5d8: u64 = 0;
16 let mut local_5d0: u64 = 0;
17 let mut local_5c8: u64 = 0;
18 let mut local_5c0: u64 = 0;
19 let mut local_5b8: u64 = 0;
20 let mut local_5b0: u64 = 0;
21 let mut local_5a8: u64 = 0;
22 let mut local_5a0: u64 = 0;
23 let mut local_598: u64 = 0;
24 let mut local_590: u64 = 0;
25 let mut local_588: u64 = 0;
26 let mut local_580: u64 = 0;
27 let mut local_578: u64 = 0;
28 let mut local_570: u32 = 0;
29 let mut local_56c: u64 = 0;
30 let mut local_300: u64 = 0;
31 let mut local_2f8: u64 = 0;
32 let mut local_2f0: u64 = 0;
33 let mut local_2d8_u32: u32 = 0;
34 let mut local_2d8_u64: u64 = 0;
35 let mut local_2d4: u64 = 0;
36 let mut local_2d0: u64 = 0;
37 let mut local_2c8: u64 = 0;
38 let mut local_2c0: u64 = 0;
39 let mut local_40: u32 = 0;
40 let mut local_3c: u32 = 0;
41 let mut local_38: u64 = 0;
42 let mut local_30: u64 = 0;
43 let mut local_28: u64 = 0;
44 let mut local_20: u64 = 0;
45 let mut local_18: u64 = 0;
46 let mut local_10: u64 = 0;
47 let mut local_8: u64 = 0;
60 r0 = fn_7d188(r7, 0x43efffffffffffff);
71 *((r1 + 0x6b) as *mut u8) = 2;
72 *((r1) as *mut u32) = 0x2329;
76 r4 = *((r6 - 0xff8) as *const u64);
77 r6 = *((r6 - 0x1000) as *const u64);
80 r0 = fn_64cd8(&local_2d8_u64, r9, r3, r4);
88 r0 = fn_7d188(r6, 0x43efffffffffffff);
99 local_5c0 = *((r9 + 0xa) as *const u8);
100 local_590 = *((r9 + 8) as *const u8);
101 local_5a0 = *((r9 + 6) as *const u8);
102 local_5b0 = *((r9 + 2) as *const u8);
103 local_588 = *((r9) as *const u8);
104 r8 = *((r9 + 5) as *const u8);
105 r9 = *((r9 + 3) as *const u8);
110 r0 = fn_7cb90(r1, r2, 0x294);
112 if (local_40 & 1) == 0 {
137 r0 = fn_66f00(local_598, &local_570, r3, r4, fp);
140 *((r1 + 0x6b) as *mut u8) = 2;
141 *((r1) as *mut u32) = 0xfa1;
145 r0 = local_588 << 0x20 | local_5b0;
146 r5 = local_590 << 0x10 | local_5a0 << 0x22;
147 r1 = local_5c0 << 0x18;
150 r8 = r8 << 8 | r9 << 0x21 | r0;
163 if (local_300 & 1) == 0 {
165 r1 = r7 + (r7 >> 0x10 ^ -1);
185 local_2c0 = local_5a0;
186 local_2c8 = local_5d0;
187 local_2d0 = local_5b8;
189 r0 = fn_451e8(r1, r7, local_578, &local_2d8_u64, r6);
191 r0 = fn_64cd8(&local_2d8_u64, r9, r6, local_5a8);
195 r0 = fn_7cb90(local_5d8, local_5e0, 0x294);
203 if (local_40 & 1) != 0 {
213 /* continues at L_a8f8; not expressible as structured Rust */● an edge Rust can't hold
216 *((r1) as *mut u32) = r7;
217 *((r1 + 0x6b) as *mut u8) = 2;
221 *((r1 + 0x6b) as *mut u8) = 2;
222 *((r1) as *mut u32) = 0xfa4;
227 /* continues at L_a760; not expressible as structured Rust */● an edge Rust can't hold
231 /* continues at L_a760; not expressible as structured Rust */● an edge Rust can't hold
234 /* continues at L_a760; not expressible as structured Rust */● an edge Rust can't hold
236 r0 = fn_7cae0(r3, 3, &Location("src/market.rs:215:19"));■ string · 20 B
239 /* continues at L_99d8; not expressible as structured Rust */● an edge Rust can't hold
242 /* continues at L_99b8; not expressible as structured Rust */● an edge Rust can't hold
246 r1 = &local_570 + r3 * 0xd0;
247 r2 = *((r1) as *const u64);
254 r6 = *((r1 + 0xb8) as *const u16);
255 r7 = *((r1 + 0xb0) as *const u64);
279 /* continues at L_a718; not expressible as structured Rust */● an edge Rust can't hold
282 /* continues at L_a720; not expressible as structured Rust */● an edge Rust can't hold
290 r0 = fn_805f0(local_5a0, 0, r7, 0);
299 r4 = r0 + ((r7 >> 0x10) + 1);
314 if (r3 as i64) >= 0 {
326 local_5b8 = local_5f0;
330 /* continues at L_a718; not expressible as structured Rust */● an edge Rust can't hold
333 /* continues at L_a720; not expressible as structured Rust */● an edge Rust can't hold
336 /* continues at L_a628; not expressible as structured Rust */● an edge Rust can't hold
339 local_5b8 = local_5f0;
345 /* continues at L_a720; not expressible as structured Rust */● an edge Rust can't hold
347 /* continues at L_a718; not expressible as structured Rust */● an edge Rust can't hold
354 /* continues at L_a6e0; not expressible as structured Rust */● an edge Rust can't hold
356 /* continues at L_a600; not expressible as structured Rust */● an edge Rust can't hold
363 /* continues at L_a5e8; not expressible as structured Rust */● an edge Rust can't hold
365 /* continues at L_a6c0; not expressible as structured Rust */● an edge Rust can't hold
372 /* continues at L_a6b0; not expressible as structured Rust */● an edge Rust can't hold
374 /* continues at L_a5e0; not expressible as structured Rust */● an edge Rust can't hold
382 /* continues at L_a5d0; not expressible as structured Rust */● an edge Rust can't hold
384 /* continues at L_a698; not expressible as structured Rust */● an edge Rust can't hold
390 /* continues at L_a670; not expressible as structured Rust */● an edge Rust can't hold
392 /* continues at L_a5b0; not expressible as structured Rust */● an edge Rust can't hold
395 /* continues at L_a720; not expressible as structured Rust */● an edge Rust can't hold
397 r0 = fn_7caf0(&Location("src/amount_search.rs:336:37"));■ string · 27 B
404 r2 = (r2 | r2 >> 0x20) ^ -1;
405 r2 -= (r2 >> 1 & 0x5555555555555555); // text "UUUUUUUU"
406 r3 = 0x3333333333333333;
407 r1 = (r2 & r3) + (r2 >> 2 & r3);
409 r1 = (r1 + (r1 >> 4) & 0xf0f0f0f0f0f0f0f) * 0x101010101010101 >> 0x38;
419 r0 = fn_805f0(r6, 0, r7, 0);
428 r5 = r5 << 0x20 >> 0x20;
430 r0 = local_5f8 << 0x20 >> 0x20;
448 r0 = fn_805f0(r6, 0, local_5f8, 0);
455 r5 = r5 << 0x20 | r8;
466 r0 = fn_805f0(r8, 0, r7, 0);
492 r0 = fn_805f0(r8, 0, local_5f8, 0);
496 if (r5 << 0x20 | r7) < r0 {
513 /* continues at L_a530; not expressible as structured Rust */● an edge Rust can't hold
515 r0 = fn_7caf0(&Location("src/math.rs:683:11"));■ string · 18 B
518 /* continues at L_a518; not expressible as structured Rust */● an edge Rust can't hold
520 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
524 /* continues at L_a4e8; not expressible as structured Rust */● an edge Rust can't hold
526 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
531 /* continues at L_a488; not expressible as structured Rust */● an edge Rust can't hold
533 /* continues at L_a4d0; not expressible as structured Rust */● an edge Rust can't hold
538 /* continues at L_a4c0; not expressible as structured Rust */● an edge Rust can't hold
540 /* continues at L_a480; not expressible as structured Rust */● an edge Rust can't hold
542 r0 = fn_7caf0(&Location("src/math.rs:673:9"));■ string · 17 B
545 /* continues at L_a3d8; not expressible as structured Rust */● an edge Rust can't hold
548 if (r8 * r0) <= (r1 << 0x20 | r5) {
549 /* continues at L_a400; not expressible as structured Rust */● an edge Rust can't hold
552 /* continues at L_a3b0; not expressible as structured Rust */● an edge Rust can't hold
556 r0 = fn_7caf0(&Location("src/math.rs:668:46"));■ string · 18 B
558 r0 = fn_7caf0(&Location("src/math.rs:672:9"));■ string · 17 B
560 r0 = fn_7caf0(&Location("src/math.rs:665:21"));■ string · 18 B
562 r0 = fn_7caf0(&Location("src/math.rs:665:31"));■ string · 18 B
565 /* continues at L_a318; not expressible as structured Rust */● an edge Rust can't hold
567 r0 = fn_7caf0(&Location("src/math.rs:661:19"));■ string · 18 B
571 /* continues at L_a2b8; not expressible as structured Rust */● an edge Rust can't hold
573 r0 = fn_7caf0(&Location("src/math.rs:661:19"));■ string · 18 B
578 /* continues at L_a248; not expressible as structured Rust */● an edge Rust can't hold
580 /* continues at L_a2a0; not expressible as structured Rust */● an edge Rust can't hold
582 r5 = r5 << 0x20 | r8;
584 /* continues at L_a290; not expressible as structured Rust */● an edge Rust can't hold
586 /* continues at L_a240; not expressible as structured Rust */● an edge Rust can't hold
588 r0 = fn_7caf0(&Location("src/math.rs:655:9"));■ string · 17 B
591 /* continues at L_a198; not expressible as structured Rust */● an edge Rust can't hold
594 if (r6 * r0) <= (r1 << 0x20 | r8) {
595 /* continues at L_a1c0; not expressible as structured Rust */● an edge Rust can't hold
598 /* continues at L_a170; not expressible as structured Rust */● an edge Rust can't hold
602 r0 = fn_7caf0(&Location("src/math.rs:650:47"));■ string · 18 B
604 r0 = fn_7caf0(&Location("src/math.rs:654:9"));■ string · 17 B
606 r0 = fn_7caf0(&Location("src/math.rs:647:29"));■ string · 18 B
608 r0 = fn_7caf0(&Location("src/math.rs:647:37"));■ string · 18 B
611 /* continues at L_a0a8; not expressible as structured Rust */● an edge Rust can't hold
613 r0 = fn_7caf0(&Location("src/math.rs:646:29"));■ string · 18 B
615 r4 = r4 << r1 | r0 >> (neg64(r1) & 0x3f);
617 /* continues at L_a010; not expressible as structured Rust */● an edge Rust can't hold
621 *((r2) as *mut u32) = r1;
622 *((r2 + 0x6b) as *mut u8) = 2;
627 *((r2) as *mut u32) = r1;
628 *((r2 + 0x6b) as *mut u8) = 2;
638 if (r8 - local_5a0) <= (r1 >> 0x10) {
639 /* continues at L_9e20; not expressible as structured Rust */● an edge Rust can't hold
641 local_5b8 = local_5f0;
646 /* continues at L_a718; not expressible as structured Rust */● an edge Rust can't hold
649 /* continues at L_a720; not expressible as structured Rust */● an edge Rust can't hold
652 /* continues at L_9d50; not expressible as structured Rust */● an edge Rust can't hold
654 r0 = fn_7caf0(&Location("src/amount_search.rs:332:28"));■ string · 27 B
660 /* continues at L_9cf8; not expressible as structured Rust */● an edge Rust can't hold
662 /* continues at L_9df8; not expressible as structured Rust */● an edge Rust can't hold
666 /* continues at L_9dd8; not expressible as structured Rust */● an edge Rust can't hold
668 /* continues at L_9ce0; not expressible as structured Rust */● an edge Rust can't hold
678 /* continues at L_9c88; not expressible as structured Rust */● an edge Rust can't hold
681 /* continues at L_9c88; not expressible as structured Rust */● an edge Rust can't hold
684 /* continues at L_9c88; not expressible as structured Rust */● an edge Rust can't hold
686 r0 = fn_7a508(r7, r6, r3 + 1);
696 /* continues at L_9c88; not expressible as structured Rust */● an edge Rust can't hold
698 r3 = *((r1 + 0x41) as *const u8);
703 if *((r1 + 0x40) as *const u8) == 1 {
705 r1 = *((*((r1 + 0x10) as *const u64) + r2 * 0x30 + 0x3e0) as *const u64);
709 /* continues at L_9c00; not expressible as structured Rust */● an edge Rust can't hold
711 r0 = fn_7caf0(&Location("src/dex/concentrated_liquidity.rs:425:9"));■ string · 39 B
714 /* continues at L_9af8; not expressible as structured Rust */● an edge Rust can't hold
717 r0 = fn_7cab0(r1, 0x1e, &Location("src/dex/segment_cache.rs:62:18"));■ string · 30 B
719 r0 = fn_7caf0(&Location("src/dex/concentrated_liquidity.rs:424:34"));■ string · 40 B
723 if *((r1 + 8) as *const u16) != 0 {
725 r3 = *((r1 + r2) as *const u64);
726 /* continues at L_9c00; not expressible as structured Rust */● an edge Rust can't hold
729 /* continues at L_9ba0; not expressible as structured Rust */● an edge Rust can't hold
732 r2 = *((r1 + 8) as *const u64);
733 r3 = *((r2 + 0xf08) as *const u8);
737 r3 = *((r2 + r1 * 0x70 + 0x40) as *const u64);
738 /* continues at L_9c00; not expressible as structured Rust */● an edge Rust can't hold
740 r0 = fn_7cab0(r1, 0x1e, &Location("src/dex/segment_cache.rs:62:18"));■ string · 30 B
744 r0 = fn_36858(r1 + 8, *((r9 + r3 * 3) as *const u8) & 1);
745 /* continues at L_9b58; not expressible as structured Rust */● an edge Rust can't hold
748 /* continues at L_9a18; not expressible as structured Rust */● an edge Rust can't hold
750 /* continues at L_9970; not expressible as structured Rust */● an edge Rust can't hold
752 r0 = fn_7cab0(r3, 3, &Location("src/quote.rs:235:9"));■ string · 18 B
756 *((r2) as *mut u32) = r1;
757 *((r2 + 0x6b) as *mut u8) = 2;
760 r0 = fn_7caf0(&Location("src/dex/meteora_dlmm.rs:405:21"));■ string · 30 B
763 *((r1) as *mut u32) = r7;
764 *((r1 + 0x6b) as *mut u8) = 2;
771 /* continues at L_9760; not expressible as structured Rust */● an edge Rust can't hold
774 *((r1) as *mut u32) = r7;
775 *((r1 + 0x6b) as *mut u8) = 2;
779 /* continues at L_9720; not expressible as structured Rust */● an edge Rust can't hold
781 /* continues at L_9690; not expressible as structured Rust */● an edge Rust can't hold
788 *((r1 + 0x6b) as *mut u8) = 2;
789 *((r1) as *mut u32) = 0x2329;
792 /* continues at L_95c8; not expressible as structured Rust */● an edge Rust can't hold
797 /* continues at L_96d0; not expressible as structured Rust */● an edge Rust can't hold
799 /* continues at L_95b8; not expressible as structured Rust */● an edge Rust can't hold