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_24e10 · 1079 instructions · 1 caller · 29 gotos
2// panic locations in this function: src/dex/meteora_dlmm.rs:1559
3fn fn_24e10(mut r1: u64, mut r2: u64, mut r3: u64, mut r4: u64
,
mut
r5:
u64
) ->
u64
{
4 let mut local_158: u64 = 0;
5 let mut local_150: u64 = 0;
6 let mut local_148: u64 = 0;
7 let mut local_140: u64 = 0;
8 let mut local_138: u64 = 0;
9 let mut local_130: u64 = 0;
10 let mut local_128: u64 = 0;
11 let mut local_120: u64 = 0;
12 let mut local_118: u64 = 0;
13 let mut local_110: u64 = 0;
14 let mut local_108: u64 = 0;
15 let mut local_100: u64 = 0;
16 let mut local_f8: u64 = 0;
17 let mut local_f0: u64 = 0;
18 let mut local_e8: u64 = 0;
19 let mut local_e0: u64 = 0;
20 let mut local_d8: u64 = 0;
21 let mut local_d0: u64 = 0;
22 let mut local_c8: u64 = 0;
23 let mut local_c0: u64 = 0;
24 let mut local_b8: u64 = 0;
25 let mut local_b0: u64 = 0;
26 let mut local_a8: u64 = 0;
27 let mut local_a0: u64 = 0;
28 let mut local_98: u64 = 0;
29 let mut local_90: u64 = 0;
30 let mut local_88: u64 = 0;
31 let mut local_80: u64 = 0;
32 let mut local_78: u64 = 0;
33 let mut local_60: u64 = 0;
34 let mut local_58: u64 = 0;
35 let mut local_50: u64 = 0;
36 let mut local_48: u64 = 0;
37 let mut local_40: u64 = 0;
38 let mut local_38: u64 = 0;
39 let mut local_30: u64 = 0;
40 let mut local_28: u64 = 0;
41 let mut local_20: u64 = 0;
42 let mut local_18: u64 = 0;
43 let mut local_c: u32 = 0;
44 let mut local_8: u32 = 0;
45 let mut local_4: u32 = 0;
48 r8 = *((r2 + 0x50) as *const u16);
50 r4 = *((r2 + 0x24) as *const u8);
52 r0 = *((r2 + 0x23) as *const u8);
54 r1 = *((r2 + 0x20) as *const u16);
56 r0 = fn_44c68("dlmm:filtered", 0xd, 8, 0xfa7);■ string · 13 B
57 *((r7) as *mut u64) = 2;
58 *((r7 + 8) as *mut u32) = 0xfa7;
67 local_b0 = *((r2 + 0x22) as *const u8);
68 local_a8 = *((r2 + 8) as *const u16);
69 local_d8 = *((r5 - 0xfe0) as *const u64);
70 local_d0 = *((r5 - 0xfe8) as *const u64);
71 local_e0 = *((r5 - 0xff0) as *const u64);
72 local_90 = *((r5 - 0xff8) as *const u64);
73 r1 = *((r5 - 0x1000) as *const u64);
74 r7 = *((r2 + 0x4f) as *const u8);
75 r9 = *((r2 + 0x4c) as *const u16) | *((r2 + 0x4e) as *const u8) << 0x10 | r7 << 0x18;
79 local_60 = r2 + 0x248;
83 r0 = fn_7e708(r8, 0x46);
84 r1 = r0 * 0x46 << 0x20;
85 r8 -= sar64(r1, 0x20);
88 if sar64(r8 << 0x20, 0x20) != r8 {
89 r0 = fn_7caf0(&Location("src/dex/meteora_dlmm.rs:1559:21"));■ string · 31 B
91 r7 = sar64(r7 << 0x38, 0x20);
94 if (r9 >> 0x20) == (r1 >> 0x20) {
101 r8 = sar64(r0 << 0x20, 0x20);
103 if (r8 as i64) >= -0x1a00 {
104 r0 = r0 + 0x1a00 << 0x20 >> 0x20;
106 r0 = fn_2b1c8(&local_78, r0 >> 6);
109 r1 = "dlmm:filtered";■ string · 13 B
113 r0 = fn_44c68(r1, r2, r3, r4);
115 *((r7 + 8) as *mut u32) = r6;
116 *((r7) as *mut u64) = 2;
125 local_118 = *((r6 + 0x18) as *const u64);
126 r4 = *((r6 + 0x10) as *const u64);
127 local_110 = *((r6 + 8) as *const u64);
128 r5 = *((r6) as *const u64);
129 r0 = *((r7) as *const u64);
139 r6 = *((r7 + 8) as *const u64);
146 r7 = *((r0) as *const u64);
150 if r7 == -0x4ab96bfa23a371a4 {
153 r7 = *((r0 + 0x18) as *const u64);
160 r7 = *((r0 + 0x20) as *const u64);
167 r7 = *((r0 + 0x28) as *const u64);
174 r7 = *((r0 + 0x30) as *const u64);
179 r7 = *((r0 + 0xc) as *const u8) << 0x20 | *((r0 + 0xd) as *const u8) << 0x28 | *((r0 + 0xe) as *const u8) << 0x30 | *((r0 + 0xf) as *const u8) << 0x38;
182 r2 = *((r0 + 0xb) as *const u8) << 0x18;
184 r7 = (r7 | r2) + -0x80000000;
188 if r7 >= -0x100000000 {
189 r7 = *((r0 + 0xa) as *const u8) << 0x10 | *((r0 + 8) as *const u8) | *((r0 + 9) as *const u8) << 8 | local_120;
193 r0 = sar64(r7 << 0x20, 0x20);
195 if (r8 as i64) >= r0 {
199 if (r8 as i64) <= r0 {
213 r0 = *((r9 + 0x10) as *const u64);
216 r6 = *((r9 + 0x18) as *const u64);
223 if *((r0) as *const u64) == -0x4ab96bfa23a371a4 {
225 if *((r0 + 0x18) as *const u64) != r5 {
235 if *((r0 + 0x20) as *const u64) != local_110 {
243 if *((r0 + 0x28) as *const u64) != r4 {
251 if *((r0 + 0x30) as *const u64) != local_118 {
256 r7 = *((r0 + 0xc) as *const u8) << 0x20 | *((r0 + 0xd) as *const u8) << 0x28 | *((r0 + 0xe) as *const u8) << 0x30 | *((r0 + 0xf) as *const u8) << 0x38;
258 r4 = *((r0 + 0xb) as *const u8) << 0x18;
259 if ((r7 | r4) + -0x80000000) >= -0x100000000 {
260 r9 = *((r0 + 0xa) as *const u8) << 0x10 | *((r0 + 8) as *const u8) | *((r0 + 9) as *const u8) << 8 | r4;
264 r0 = sar64(r9 << 0x20, 0x20);
266 r2 = sar64(r2 << 0x20, 0x20);
268 if (r2 as i64) >= r0 {
271 r3 = sar64(r3, 0x20);
274 if (r3 as i64) <= r0 {
290 r0 = *((r9 + 0x20) as *const u64);
302 r6 = *((r9 + 0x28) as *const u64);
306 /* continues at L_25970; not expressible as structured Rust */● an edge Rust can't hold
309 if *((r0) as *const u64) == -0x4ab96bfa23a371a4 {
311 if *((r0 + 0x18) as *const u64) != r5 {
317 /* continues at L_259a0; not expressible as structured Rust */● an edge Rust can't hold
324 if *((r0 + 0x20) as *const u64) != local_110 {
332 if *((r0 + 0x28) as *const u64) == r2 {
334 if *((r0 + 0x30) as *const u64) == local_118 {
335 r1 = *((r0 + 0xc) as *const u8) << 0x20 | *((r0 + 0xd) as *const u8) << 0x28 | *((r0 + 0xe) as *const u8) << 0x30 | *((r0 + 0xf) as *const u8) << 0x38;
337 r2 = *((r0 + 0xb) as *const u8) << 0x18;
338 if ((r1 | r2) + -0x80000000) >= -0x100000000 {
339 r4 = *((r0 + 0xa) as *const u8) << 0x10 | *((r0 + 8) as *const u8) | *((r0 + 9) as *const u8) << 8 | r2;
343 r1 = sar64(r4 << 0x20, 0x20);
345 r9 = sar64(r9 << 0x20, 0x20);
346 if (r9 as i64) >= r1 {
349 r3 = sar64(r3, 0x20);
351 if (r3 as i64) <= r1 {
363 if (sar64(r3 << 0x20, 0x20) as i64) > r8 {
365 r0 = fn_2b400(&local_78, r8 + 1, r3);
371 r1 = sar64(r9 << 0x20, 0x20);
372 if (r1 as i64) >= r8 {
375 r0 = fn_2b400(&local_78, r8 + -1, r9);
377 local_148 = &local_20;
378 local_138 = &local_30;
388 r8 = r8 << 0x20 >> 0x20;
391 if (local_f0 << 0x20 >> 0x20) != r8 {
396 local_158 = &local_4;
397 local_118 = &local_40;
400 if (local_100 << 0x20 >> 0x20) != r8 {
405 local_158 = &local_8;
406 local_118 = local_138;
409 if (local_128 << 0x20 >> 0x20) != r8 {
414 local_158 = &local_c;
415 local_118 = local_148;
424 if (local_80 & 1) == 0 {
427 r6 = r6 << 0x20 >> 0x20;
430 if (local_f0 << 0x20 >> 0x20) != r6 {
435 local_150 = &local_4;
439 if (local_100 << 0x20 >> 0x20) != r6 {
444 local_150 = &local_8;
448 if (local_128 << 0x20 >> 0x20) != r6 {
453 local_150 = &local_c;
469 r1 = r1 << 0x20 >> 0x20;
473 if (local_f0 << 0x20 >> 0x20) != r1 {
482 if (local_100 << 0x20 >> 0x20) != r1 {
491 if (local_128 << 0x20 >> 0x20) != r1 {
506 if (r4 & (r2 & r0 | r7)) == 0 {
508 local_f8 = *((local_158) as *const u32);
510 local_f0 = *((r4) as *const u64);
511 local_128 = *((r4 + 8) as *const u64);
517 local_118 = *((r4) as *const u32);
518 local_a8 = *((r8) as *const u64);
519 local_130 = *((r8 + 8) as *const u64);
520 local_100 = local_110;
532 local_120 = *((r6) as *const u32);
533 local_110 = *((r3) as *const u64);
534 local_138 = *((r3 + 8) as *const u64);
545 /* continues at L_261a0; not expressible as structured Rust */● an edge Rust can't hold
547 /* continues at L_26288; not expressible as structured Rust */● an edge Rust can't hold
559 /* continues at L_26238; not expressible as structured Rust */● an edge Rust can't hold
561 /* continues at L_26140; not expressible as structured Rust */● an edge Rust can't hold
567 if (r0 + -1) <= 0x5f5e0fe {
569 r0 = fn_805f0(r0, r2, 0xa, 0);
575 if (r6 & 0xff) != 0 {
577 if (r0 + -1) >= 0x5f5e0ff {
590 /* continues at L_26328; not expressible as structured Rust */● an edge Rust can't hold
592 /* continues at L_263f8; not expressible as structured Rust */● an edge Rust can't hold
594 /* continues at L_26328; not expressible as structured Rust */● an edge Rust can't hold
599 /* continues at L_26378; not expressible as structured Rust */● an edge Rust can't hold
608 if (local_90 as i64) >= 0 {
610 r4 = *((r9 + 0x38) as *const u64);
613 if (r4 as i64) <= 0 {
617 if (r3 as i64) < r5 {
619 if ((r1 ^ r2) & 1) == 0 {
621 if (r3 as i64) >= *((r9 + 0xa) as *const u16) {
624 if r3 < *((r9 + 0xc) as *const u16) {
625 r1 = *((r9 + 0x28) as *const u32) * *((r9 + 0xe) as *const u16);
627 if r1 > 0x270fffffffff {
628 *((r7 + 8) as *mut u32) = r6;
629 *((r7) as *mut u64) = 2;
642 if *((r9 + 0x108) as *const u8) == 0 {
643 if *((r9 + 0x109) as *const u8) == 0 {
644 if *((r9 + 0x10a) as *const u8) == 0 {
645 if *((r9 + 0x10b) as *const u8) == 0 {
646 if *((r9 + 0x10c) as *const u8) == 0 {
647 if *((r9 + 0x10d) as *const u8) == 0 {
648 if *((local_98 + 0x10e) as *const u8) == 0 {
649 if *((local_98 + 0x10f) as *const u8) == 0 {
650 if *((local_98 + 0x110) as *const u8) == 0 {
651 if *((local_98 + 0x111) as *const u8) == 0 {
652 if *((local_98 + 0x112) as *const u8) == 0 {
653 if *((local_98 + 0x113) as *const u8) == 0 {
654 if *((local_98 + 0x114) as *const u8) == 0 {
655 if *((local_98 + 0x115) as *const u8) == 0 {
656 if *((local_98 + 0x116) as *const u8) == 0 {
657 if *((local_98 + 0x117) as *const u8) == 0 {
658 if *((local_98 + 0x118) as *const u8) == 0 {
659 if *((local_98 + 0x119) as *const u8) == 0 {
660 if *((local_98 + 0x11a) as *const u8) == 0 {
661 if *((local_98 + 0x11b) as *const u8) == 0 {
662 if *((local_98 + 0x11c) as *const u8) == 0 {
663 if *((local_98 + 0x11d) as *const u8) == 0 {
664 /* continues at L_26778; not expressible as structured Rust */● an edge Rust can't hold
695 r4 = r4 * r4 * *((r9 + 0x10) as *const u32);
699 r5 = (0x5f5e0ff - r0) * 0x174876e800 / r4;
702 r6 = *((r9 + 0x14) as *const u32);
703 *((r7 + 0xff) as *mut u8) = local_80;
704 *((r7 + 0xfe) as *mut u8) = local_100;
705 *((r7 + 0xfd) as *mut u8) = local_108;
706 *((r7 + 0xfc) as *mut u8) = local_c0;
707 *((r7 + 0xfb) as *mut u8) = local_e0;
708 *((r7 + 0xfa) as *mut u8) = local_d8;
709 *((r7 + 0xf9) as *mut u8) = local_d0;
710 *((r7 + 0xf8) as *mut u8) = r3;
711 *((r7 + 0xf6) as *mut u16) = local_c8;
712 *((r7 + 0xf4) as *mut u16) = r8;
713 *((r7 + 0xf0) as *mut u32) = r2;
714 *((r7 + 0xec) as *mut u32) = r1;
715 *((r7 + 0xe8) as *mut u32) = r6;
716 *((r7 + 0xe4) as *mut u32) = local_b8;
717 *((r7 + 0xe0) as *mut u32) = local_120;
718 *((r7 + 0xdc) as *mut u32) = local_118;
719 *((r7 + 0xd8) as *mut u32) = local_f8;
720 *((r7 + 0xd0) as *mut u64) = r5;
721 *((r7 + 0xc8) as *mut u64) = r4;
722 *((r7 + 0xc0) as *mut u64) = r0;
723 *((r7 + 0xb8) as *mut u64) = local_138;
724 *((r7 + 0xb0) as *mut u64) = local_110;
725 *((r7 + 0xa8) as *mut u64) = local_130;
726 *((r7 + 0xa0) as *mut u64) = local_a8;
727 *((r7 + 0x98) as *mut u64) = local_128;
728 *((r7 + 0x90) as *mut u64) = local_f0;
729 *((r7 + 0x48) as *mut u64) = 0;
730 *((r7) as *mut u64) = 0;
734 /* continues at L_26570; not expressible as structured Rust */● an edge Rust can't hold
736 r1 = *((r9 + 0x2c) as *const u32);
737 r2 = *((r9 + 0x30) as *const u32);
738 /* continues at L_26570; not expressible as structured Rust */● an edge Rust can't hold
742 *((r7 + 8) as *mut u32) = r6;
743 *((r7) as *mut u64) = 2;
747 if ((r1 ^ 0) & 1) == 0 {
748 /* continues at L_264e0; not expressible as structured Rust */● an edge Rust can't hold
750 *((r7 + 8) as *mut u32) = r6;
751 *((r7) as *mut u64) = 2;
757 if (r3 as i64) >= r5 {
758 /* continues at L_264c0; not expressible as structured Rust */● an edge Rust can't hold
760 /* continues at L_26478; not expressible as structured Rust */● an edge Rust can't hold
764 *((r7 + 8) as *mut u32) = r6;
765 *((r7) as *mut u64) = 2;
772 if (local_90 as i64) >= 0 {
773 /* continues at L_26438; not expressible as structured Rust */● an edge Rust can't hold
775 *((r7 + 8) as *mut u32) = r6;
776 *((r7) as *mut u64) = 2;
781 /* continues at L_26418; not expressible as structured Rust */● an edge Rust can't hold
783 /* continues at L_26308; not expressible as structured Rust */● an edge Rust can't hold
788 r1 = "dlmm:filtered";■ string · 13 B
792 r0 = fn_44c68(r1, r2, r3, r4);
794 *((r7 + 8) as *mut u32) = r6;
795 *((r7) as *mut u64) = 2;
801 /* continues at L_25920; not expressible as structured Rust */● an edge Rust can't hold
804 /* continues at L_259b0; not expressible as structured Rust */● an edge Rust can't hold
806 /* continues at L_25980; not expressible as structured Rust */● an edge Rust can't hold
809 /* continues at L_259b0; not expressible as structured Rust */● an edge Rust can't hold
811 /* continues at L_25748; not expressible as structured Rust */● an edge Rust can't hold
813 /* continues at L_25768; not expressible as structured Rust */● an edge Rust can't hold
815 /* continues at L_25728; not expressible as structured Rust */● an edge Rust can't hold
820 r1 = "dlmm:filtered";■ string · 13 B
824 r0 = fn_44c68(r1, r2, r3, r4);
826 *((r7 + 8) as *mut u32) = r6;
827 *((r7) as *mut u64) = 2;
832 r0 = fn_44c68("dlmm:filtered", 0xd, 8, 0xfa7);■ string · 13 B
833 *((r7) as *mut u64) = 2;
834 *((r7 + 8) as *mut u32) = 0xfa7;
837 if *((local_98 + 0x11e) as *const u8) == 0 {
838 if *((local_98 + 0x11f) as *const u8) == 0 {
839 if *((local_98 + 0x120) as *const u8) == 0 {
840 if *((local_98 + 0x121) as *const u8) == 0 {
841 if *((local_98 + 0x122) as *const u8) == 0 {
842 if *((local_98 + 0x123) as *const u8) == 0 {
843 if *((local_98 + 0x124) as *const u8) == 0 {
844 if *((local_98 + 0x125) as *const u8) == 0 {
845 if *((local_98 + 0x126) as *const u8) == 0 {
846 if *((local_98 + 0x127) as *const u8) == 0 {
847 if *((local_98 + 0x198) as *const u8) == 0 {
848 if *((local_98 + 0x199) as *const u8) == 0 {
849 if *((local_98 + 0x19a) as *const u8) == 0 {
850 if *((local_98 + 0x19b) as *const u8) == 0 {
851 if *((local_98 + 0x19c) as *const u8) == 0 {
852 if *((local_98 + 0x19d) as *const u8) == 0 {
853 if *((local_98 + 0x19e) as *const u8) == 0 {
854 if *((local_98 + 0x19f) as *const u8) == 0 {
855 if *((local_98 + 0x1a0) as *const u8) == 0 {
856 if *((local_98 + 0x1a1) as *const u8) == 0 {
857 if *((local_98 + 0x1a2) as *const u8) == 0 {
858 if *((local_98 + 0x1a3) as *const u8) == 0 {
859 if *((local_98 + 0x1a4) as *const u8) == 0 {
860 if *((local_98 + 0x1a5) as *const u8) == 0 {
861 if *((local_98 + 0x1a6) as *const u8) == 0 {
862 if *((local_98 + 0x1a7) as *const u8) == 0 {
863 if *((local_98 + 0x1a8) as *const u8) == 0 {
864 if *((local_98 + 0x1a9) as *const u8) == 0 {
865 if *((local_98 + 0x1aa) as *const u8) == 0 {
866 if *((local_98 + 0x1ab) as *const u8) == 0 {
867 if *((local_98 + 0x1ac) as *const u8) == 0 {
868 if *((local_98 + 0x1ad) as *const u8) == 0 {
869 if *((local_98 + 0x1ae) as *const u8) == 0 {
870 if *((local_98 + 0x1af) as *const u8) == 0 {
871 if *((local_98 + 0x1b0) as *const u8) == 0 {
872 if *((local_98 + 0x1b1) as *const u8) == 0 {
873 if *((local_98 + 0x1b2) as *const u8) == 0 {
874 if *((local_98 + 0x1b3) as *const u8) == 0 {
875 if *((local_98 + 0x1b4) as *const u8) == 0 {
876 if *((local_98 + 0x1b5) as *const u8) == 0 {
877 if *((local_98 + 0x1b6) as *const u8) == 0 {
881 if *((r9 + 0x1b7) as *const u8) == 0 {
885 /* continues at L_26b50; not expressible as structured Rust */● an edge Rust can't hold
887 /* continues at L_26b78; not expressible as structured Rust */● an edge Rust can't hold
928 /* continues at L_26b50; not expressible as structured Rust */● an edge Rust can't hold