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_ac68 · .text+0xac68 · 461 ins · 147 blocks · 492 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_ac68 · 461 instructions · 1 caller · 47 gotos
2// panic locations in this function: src/quote.rs:235, 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/math.rs:646, src/math.rs:647, src/math.rs:650, src/math.rs:654, src/math.rs:655, src/math.rs:661, src/math.rs:665
3u64 fn_ac68(u64 r1, u64 r2, u64 r3, u64 r4) {
38 if ((r0 << 0x20 >> 0x20) != 0x3e8) {
40 *(u8 *)(r7 + 0x6b) = 2;
45 local_590 = &local_56c;
46 local_598 = &local_2d4;
47 local_580 = *(u8 *)(r8 + 0xa);
52 if (*(u8 *)(local_578) >= local_580) {
53 r0 = fn_65a48(&local_2d8, r2, r6, local_578);
57 r0 = fn_7cb90(local_590, local_598, 0x294);
59 if ((local_40 & 1) != 0) {
64 if ((local_300 & 1) == 0) {
75 *(u8 *)(r1 + 0x6b) = 2;
81 r1 = &local_570 + r2 * 0xd0;
88 local_5a0 = local_2f0;
89 r9 = *(u16 *)(r1 + 0xb8);
90 r8 = *(u64 *)(r1 + 0xb0);
100 goto L_ae58;● kept as goto
103 r0 = fn_805f0(r3, 0, r6, 0);
107 goto L_ae58;● kept as goto
116 goto L_ae60;● kept as goto
123 goto L_ae60;● kept as goto
125 goto L_b850;● kept as goto
127 goto L_ae60;● kept as goto
134 r2 = (r2 | r2 >> 0x20) ^ -1;
135 r2 -= (r2 >> 1 & 0x5555555555555555); // text "UUUUUUUU"
136 r3 = 0x3333333333333333;
137 r1 = (r2 & r3) + (r2 >> 2 & r3);
138 r1 = (r1 + (r1 >> 4) & 0xf0f0f0f0f0f0f0f) * 0x101010101010101 >> 0x38;
147 r0 = fn_805f0(r9, 0, r6, 0);
157 r2 = r8 << 0x20 >> 0x20;
159 r5 = r5 << 0x20 >> 0x20;
178 r0 = fn_805f0(r9, 0, local_5a0, 0);
184 r5 = r5 << 0x20 | r8;
194 r0 = fn_805f0(r8, 0, r6, 0);
220 r0 = fn_805f0(r8, 0, local_5a0, 0);
223 if ((local_5b0 << 0x20 | r6) >= r0) {
224 r2 = local_5b0 >> 0x20;
241 goto L_b848;● kept as goto
243 goto L_b820;● kept as goto
245 goto L_ae60;● kept as goto
247 r0 = fn_7caf0(&Location("src/math.rs:683:11"));■ string · 18 B
250 goto L_b800;● kept as goto
252 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
256 goto L_b7d0;● kept as goto
258 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
264 goto L_b768;● kept as goto
266 goto L_b7c0;● kept as goto
269 r2 = local_5b0 >> 0x20;
272 goto L_b7a8;● kept as goto
274 goto L_b758;● kept as goto
276 r0 = fn_7caf0(&Location("src/math.rs:673:9"));■ string · 17 B
279 goto L_b6a8;● kept as goto
282 if ((r8 * r0) <= (r1 << 0x20 | r5)) {
283 goto L_b6d0;● kept as goto
286 goto L_b680;● kept as goto
290 r0 = fn_7caf0(&Location("src/math.rs:668:46"));■ string · 18 B
292 r0 = fn_7caf0(&Location("src/math.rs:672:9"));■ string · 17 B
294 r0 = fn_7caf0(&Location("src/math.rs:665:21"));■ string · 18 B
296 r0 = fn_7caf0(&Location("src/math.rs:665:31"));■ string · 18 B
299 goto L_b5f0;● kept as goto
301 r0 = fn_7caf0(&Location("src/math.rs:661:19"));■ string · 18 B
305 goto L_b590;● kept as goto
307 r0 = fn_7caf0(&Location("src/math.rs:661:19"));■ string · 18 B
312 goto L_b510;● kept as goto
314 goto L_b580;● kept as goto
317 r5 = r5 << 0x20 | r8;
319 goto L_b570;● kept as goto
321 goto L_b508;● kept as goto
323 r0 = fn_7caf0(&Location("src/math.rs:655:9"));■ string · 17 B
326 goto L_b458;● kept as goto
329 if ((r9 * r0) <= (r1 << 0x20 | r8)) {
330 goto L_b480;● kept as goto
333 goto L_b430;● kept as goto
337 r0 = fn_7caf0(&Location("src/math.rs:650:47"));■ string · 18 B
339 r0 = fn_7caf0(&Location("src/math.rs:654:9"));■ string · 17 B
341 r0 = fn_7caf0(&Location("src/math.rs:647:29"));■ string · 18 B
343 r0 = fn_7caf0(&Location("src/math.rs:647:37"));■ string · 18 B
346 goto L_b360;● kept as goto
348 r0 = fn_7caf0(&Location("src/math.rs:646:29"));■ string · 18 B
350 r9 = r9 << r1 | r0 >> (neg64(r1) & 0x3f);
352 goto L_b2d8;● kept as goto
359 goto L_b0d8;● kept as goto
362 goto L_b0d8;● kept as goto
364 r0 = fn_7a508(r8, r9, r3 + 1);
371 goto L_b0e8;● kept as goto
373 goto L_b548;● kept as goto
376 goto L_b0d8;● kept as goto
378 goto L_b0d8;● kept as goto
380 r3 = *(u8 *)(r1 + 0x41);
385 if (*(u8 *)(r1 + 0x40) == 1) {
387 r3 = *(u64 *)(*(u64 *)(r1 + 0x10) + r2 * 0x30 + 0x3e0);
391 goto L_b080;● kept as goto
393 goto L_b0d8;● kept as goto
395 r0 = fn_7caf0(&Location("src/dex/concentrated_liquidity.rs:425:9"));■ string · 39 B
398 goto L_af80;● kept as goto
401 r0 = fn_7cab0(r1, 0x1e, &Location("src/dex/segment_cache.rs:62:18"));■ string · 30 B
403 r0 = fn_7caf0(&Location("src/dex/concentrated_liquidity.rs:424:34"));■ string · 40 B
407 if (*(u16 *)(r1 + 8) != 0) {
409 r3 = *(u64 *)(r1 + r2);
411 goto L_b080;● kept as goto
413 goto L_b0d8;● kept as goto
416 goto L_b010;● kept as goto
419 r2 = *(u64 *)(r1 + 8);
420 r3 = *(u8 *)(r2 + 0xf08);
424 r3 = *(u64 *)(r2 + r1 * 0x70 + 0x40);
426 goto L_b0d8;● kept as goto
428 goto L_b080;● kept as goto
430 r0 = fn_7cab0(r1, 0x1e, &Location("src/dex/segment_cache.rs:62:18"));■ string · 30 B
434 r0 = fn_36858(r1 + 8, *(u8 *)(local_588 + r2 * 3) & 1);
437 goto L_b080;● kept as goto
439 goto L_b0d8;● kept as goto
442 goto L_ae98;● kept as goto
444 goto L_ae50;● kept as goto
446 r0 = fn_7cab0(r2, 3, &Location("src/quote.rs:235:9"));■ string · 18 B
451 *(u8 *)(r2 + 0x6b) = 2;
473 r0 = fn_66f00(r1, &local_570, r6, r4, fp);
475 *(u8 *)(r1 + 0x6b) = 2;
476 *(u32 *)(r1) = 0xfa1;
482 *(u8 *)(r1 + 0x6b) = 2;
487 *(u8 *)(r1 + 0x6b) = 2;
488 *(u32 *)(r1) = 0xfa4;
491 r0 = fn_7caf0(&Location("src/dex/meteora_dlmm.rs:405:21"));■ string · 30 B