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…
pseudocode.cfn fn_9500 · .text+0x9500 · 718 ins · 210 blocks · 800 lines · structured where the control flow allows↓ .c download pseudocode.c 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
3u64 fn_9500(u64 r1, u64 r2, u64 r3, u64
r4,
u64
r5) {
60 r0 = fn_7d188(r7, 0x43efffffffffffff);
71 *(u8 *)(r1 + 0x6b) = 2;
72 *(u32 *)(r1) = 0x2329;
76 r4 = *(u64 *)(r6 - 0xff8);
77 r6 = *(u64 *)(r6 - 0x1000);
80 r0 = fn_64cd8(&local_2d8_u64, r9, r3, r4);
88 r0 = fn_7d188(r6, 0x43efffffffffffff);
92 if (local_578 >= r1) {
99 local_5c0 = *(u8 *)(r9 + 0xa);
100 local_590 = *(u8 *)(r9 + 8);
101 local_5a0 = *(u8 *)(r9 + 6);
102 local_5b0 = *(u8 *)(r9 + 2);
103 local_588 = *(u8 *)(r9);
104 r8 = *(u8 *)(r9 + 5);
105 r9 = *(u8 *)(r9 + 3);
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 *(u8 *)(r1 + 0x6b) = 2;
141 *(u32 *)(r1) = 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);
171 if (local_578 != 0) {
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 goto L_a8f8;● kept as goto
217 *(u8 *)(r1 + 0x6b) = 2;
221 *(u8 *)(r1 + 0x6b) = 2;
222 *(u32 *)(r1) = 0xfa4;
227 goto L_a760;● kept as goto
231 goto L_a760;● kept as goto
234 goto L_a760;● kept as goto
236 r0 = fn_7cae0(r3, 3, &Location("src/market.rs:215:19"));■ string · 20 B
239 goto L_99d8;● kept as goto
242 goto L_99b8;● kept as goto
246 r1 = &local_570 + r3 * 0xd0;
254 r6 = *(u16 *)(r1 + 0xb8);
255 r7 = *(u64 *)(r1 + 0xb0);
258 if ((r2 + -5) >= 2) {
267 if (local_578 >= r7) {
270 if (local_578 != 0) {
273 if (local_5f0 == 0) {
279 goto L_a718;● kept as goto
282 goto L_a720;● kept as goto
290 r0 = fn_805f0(local_5a0, 0, r7, 0);
299 r4 = r0 + ((r7 >> 0x10) + 1);
326 local_5b8 = local_5f0;
330 goto L_a718;● kept as goto
333 goto L_a720;● kept as goto
336 goto L_a628;● kept as goto
339 local_5b8 = local_5f0;
345 goto L_a720;● kept as goto
347 goto L_a718;● kept as goto
354 goto L_a6e0;● kept as goto
356 goto L_a600;● kept as goto
363 goto L_a5e8;● kept as goto
365 goto L_a6c0;● kept as goto
372 goto L_a6b0;● kept as goto
374 goto L_a5e0;● kept as goto
382 goto L_a5d0;● kept as goto
384 goto L_a698;● kept as goto
390 goto L_a670;● kept as goto
392 goto L_a5b0;● kept as goto
395 goto L_a720;● kept as goto
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 goto L_a530;● kept as goto
515 r0 = fn_7caf0(&Location("src/math.rs:683:11"));■ string · 18 B
518 goto L_a518;● kept as goto
520 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
524 goto L_a4e8;● kept as goto
526 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
531 goto L_a488;● kept as goto
533 goto L_a4d0;● kept as goto
538 goto L_a4c0;● kept as goto
540 goto L_a480;● kept as goto
542 r0 = fn_7caf0(&Location("src/math.rs:673:9"));■ string · 17 B
545 goto L_a3d8;● kept as goto
548 if ((r8 * r0) <= (r1 << 0x20 | r5)) {
549 goto L_a400;● kept as goto
552 goto L_a3b0;● kept as goto
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 goto L_a318;● kept as goto
567 r0 = fn_7caf0(&Location("src/math.rs:661:19"));■ string · 18 B
571 goto L_a2b8;● kept as goto
573 r0 = fn_7caf0(&Location("src/math.rs:661:19"));■ string · 18 B
578 goto L_a248;● kept as goto
580 goto L_a2a0;● kept as goto
582 r5 = r5 << 0x20 | r8;
584 goto L_a290;● kept as goto
586 goto L_a240;● kept as goto
588 r0 = fn_7caf0(&Location("src/math.rs:655:9"));■ string · 17 B
591 goto L_a198;● kept as goto
594 if ((r6 * r0) <= (r1 << 0x20 | r8)) {
595 goto L_a1c0;● kept as goto
598 goto L_a170;● kept as goto
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 goto L_a0a8;● kept as goto
613 r0 = fn_7caf0(&Location("src/math.rs:646:29"));■ string · 18 B
615 r4 = r4 << r1 | r0 >> (neg64(r1) & 0x3f);
617 goto L_a010;● kept as goto
622 *(u8 *)(r2 + 0x6b) = 2;
628 *(u8 *)(r2 + 0x6b) = 2;
632 if (r3 >= local_5a0) {
638 if ((r8 - local_5a0) <= (r1 >> 0x10)) {
639 goto L_9e20;● kept as goto
641 local_5b8 = local_5f0;
646 goto L_a718;● kept as goto
649 goto L_a720;● kept as goto
652 goto L_9d50;● kept as goto
654 r0 = fn_7caf0(&Location("src/amount_search.rs:332:28"));■ string · 27 B
659 if (local_5f0 != 0) {
660 goto L_9cf8;● kept as goto
662 goto L_9df8;● kept as goto
665 if (local_578 == 0) {
666 goto L_9dd8;● kept as goto
668 goto L_9ce0;● kept as goto
678 goto L_9c88;● kept as goto
681 goto L_9c88;● kept as goto
684 goto L_9c88;● kept as goto
686 r0 = fn_7a508(r7, r6, r3 + 1);
696 goto L_9c88;● kept as goto
698 r3 = *(u8 *)(r1 + 0x41);
703 if (*(u8 *)(r1 + 0x40) == 1) {
705 r1 = *(u64 *)(*(u64 *)(r1 + 0x10) + r2 * 0x30 + 0x3e0);
709 goto L_9c00;● kept as goto
711 r0 = fn_7caf0(&Location("src/dex/concentrated_liquidity.rs:425:9"));■ string · 39 B
714 goto L_9af8;● kept as goto
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 (*(u16 *)(r1 + 8) != 0) {
725 r3 = *(u64 *)(r1 + r2);
726 goto L_9c00;● kept as goto
729 goto L_9ba0;● kept as goto
732 r2 = *(u64 *)(r1 + 8);
733 r3 = *(u8 *)(r2 + 0xf08);
737 r3 = *(u64 *)(r2 + r1 * 0x70 + 0x40);
738 goto L_9c00;● kept as goto
740 r0 = fn_7cab0(r1, 0x1e, &Location("src/dex/segment_cache.rs:62:18"));■ string · 30 B
744 r0 = fn_36858(r1 + 8, *(u8 *)(r9 + r3 * 3) & 1);
745 goto L_9b58;● kept as goto
748 goto L_9a18;● kept as goto
750 goto L_9970;● kept as goto
752 r0 = fn_7cab0(r3, 3, &Location("src/quote.rs:235:9"));■ string · 18 B
757 *(u8 *)(r2 + 0x6b) = 2;
760 r0 = fn_7caf0(&Location("src/dex/meteora_dlmm.rs:405:21"));■ string · 30 B
764 *(u8 *)(r1 + 0x6b) = 2;
771 goto L_9760;● kept as goto
775 *(u8 *)(r1 + 0x6b) = 2;
778 if (local_578 >= r1) {
779 goto L_9720;● kept as goto
781 goto L_9690;● kept as goto
788 *(u8 *)(r1 + 0x6b) = 2;
789 *(u32 *)(r1) = 0x2329;
792 goto L_95c8;● kept as goto
797 goto L_96d0;● kept as goto
799 goto L_95b8;● kept as goto