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_41310 · 439 instructions · 1 caller · 27 gotos
2// panic locations in this function: src/dex/raydium_cpmm.rs:153, src/dex/raydium_cpmm.rs:189, src/dex/raydium_cpmm.rs:194, src/math.rs:16, src/math.rs:49, 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
3fn fn_41310(mut r1: u64, mut r2: u64, mut
r3:
u64
,
mut
r4:
u64
) ->
u64
{
4 let mut local_70: u64 = 0;
5 let mut local_68: u64 = 0;
6 let mut local_60: u64 = 0;
7 let mut local_58: u64 = 0;
8 let mut local_50: u64 = 0;
9 let mut local_48: u64 = 0;
10 let mut local_40: u64 = 0;
11 let mut local_38: u64 = 0;
12 let mut local_30: u64 = 0;
13 let mut local_28: u64 = 0;
14 let mut local_20: u64 = 0;
15 let mut local_18: u64 = 0;
16 let mut local_10: u64 = 0;
17 let mut local_8: u64 = 0;
19 r3 = (r3 ^ *((r2 + 0x21) as *const u8)) & 1;
20 r8 = *((r2) as *const u64);
21 r4 = *((r2 + 8) as *const u64);
27 r7 = *((r2 + 0x10) as *const u64);
28 r5 = *((r2 + 0x18) as *const u64);
30 r0 = fn_7caf0(&Location("src/dex/raydium_cpmm.rs:153:27"));■ string · 30 B
37 r2 = *((r2 + 0x20) as *const u8) & r4;
47 /* continues at L_41418; not expressible as structured Rust */● an edge Rust can't hold
59 r7 = r7 << 0x20 >> 0x20;
60 r0 = fn_805f0(r6 - r2, 0, r7, 0);
67 r0 = fn_805f0(r8, 0, r7, 0);
77 if r9 == (r3 * 0xf4240) {
85 r0 = fn_7caf0(&Location("src/dex/raydium_cpmm.rs:189:27"));■ string · 30 B
89 *((r2 + 4) as *mut u32) = 0xfa3;
91 *((r2) as *mut u32) = r1;
97 r0 = fn_805f0(r6, 0, r0, 0);
116 r0 = fn_47db0(&local_40, &local_20, 0);
119 r0 = fn_80748(r6, r7, local_58, r9 | 1);
128 r0 = fn_7caf0(&Location("src/dex/raydium_cpmm.rs:194:12"));■ string · 30 B
131 *((r2 + 8) as *mut u64) = r8 - r0;
133 *((r2) as *mut u32) = r1;
140 r9 = r9 << 0x20 >> 0x20;
141 r0 = fn_805f0(r8 - r2, 0, r9, 0);
148 r0 = fn_7caf0(&Location("src/math.rs:49:19"));■ string · 17 B
150 r0 = fn_805f0(r7, 0, r9, 0);
160 if r6 == (r3 * 0xf4240) {
164 r0 = fn_7caf0(&Location("src/math.rs:16:5"));■ string · 16 B
167 r0 = fn_7caf0(&Location("src/dex/raydium_cpmm.rs:194:12"));■ string · 30 B
170 *((r2 + 8) as *mut u64) = r8 - r0;
172 *((r2) as *mut u32) = r1;
176 r0 = fn_7caf0(&Location("src/math.rs:16:5"));■ string · 16 B
179 r0 = fn_7caf0(&Location("src/dex/raydium_cpmm.rs:194:12"));■ string · 30 B
182 *((r2 + 8) as *mut u64) = r8 - r0;
184 *((r2) as *mut u32) = r1;
192 r0 = fn_7caf0(&Location("src/dex/raydium_cpmm.rs:194:12"));■ string · 30 B
195 *((r2 + 8) as *mut u64) = r8 - r0;
197 *((r2) as *mut u32) = r1;
201 r0 = fn_7caf0(&Location("src/math.rs:16:5"));■ string · 16 B
205 r0 = fn_7caf0(&Location("src/math.rs:16:5"));■ string · 16 B
208 r0 = fn_7caf0(&Location("src/dex/raydium_cpmm.rs:194:12"));■ string · 30 B
211 *((r2 + 8) as *mut u64) = r8 - r0;
213 *((r2) as *mut u32) = r1;
218 r0 = fn_7caf0(&Location("src/math.rs:16:5"));■ string · 16 B
220 r0 = fn_7caf0(&Location("src/math.rs:49:19"));■ string · 17 B
231 *((r2 + 8) as *mut u64) = r8 - r0;
233 *((r2) as *mut u32) = r1;
236 r0 = fn_7caf0(&Location("src/dex/raydium_cpmm.rs:194:12"));■ string · 30 B
239 /* continues at L_41d88; not expressible as structured Rust */● an edge Rust can't hold
246 r1 = (r1 | r1 >> 0x20) ^ -1;
247 r1 -= (r1 >> 1 & 0x5555555555555555); // text "UUUUUUUU"
248 r3 = 0x3333333333333333;
249 r2 = (r1 & r3) + (r1 >> 2 & r3);
250 r2 = (r2 + (r2 >> 4) & 0xf0f0f0f0f0f0f0f) * 0x101010101010101 >> 0x38;
253 r3 = r0 >> (neg64(r2) & 0x3f) | r5 << r2;
259 r0 = fn_7caf0(&Location("src/math.rs:646:29"));■ string · 18 B
265 r0 = fn_805f0(r9, 0, r8, 0);
271 r0 = fn_7caf0(&Location("src/math.rs:647:37"));■ string · 18 B
276 r0 = fn_7caf0(&Location("src/math.rs:647:29"));■ string · 18 B
279 r6 = r3 << 0x20 >> 0x20;
281 local_68 = r1 >> 0x20;
299 r0 = fn_805f0(r9, 0, r3, 0);
301 r4 = r7 << 0x20 | local_70;
312 r0 = fn_7caf0(&Location("src/math.rs:661:19"));■ string · 18 B
318 r0 = fn_805f0(r7, 0, r8, 0);
325 r0 = fn_7caf0(&Location("src/math.rs:665:31"));■ string · 18 B
329 r0 = fn_7caf0(&Location("src/math.rs:665:21"));■ string · 18 B
349 r0 = fn_805f0(r7, 0, r3, 0);
353 if (r5 << 0x20 | r6) < r0 {
361 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
371 r0 = fn_7caf0(&Location("src/math.rs:683:11"));■ string · 18 B
373 /* continues at L_41d78; not expressible as structured Rust */● an edge Rust can't hold
377 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
379 /* continues at L_41d38; not expressible as structured Rust */● an edge Rust can't hold
384 /* continues at L_41d28; not expressible as structured Rust */● an edge Rust can't hold
386 /* continues at L_42018; not expressible as structured Rust */● an edge Rust can't hold
390 /* continues at L_42008; not expressible as structured Rust */● an edge Rust can't hold
392 /* continues at L_41d20; not expressible as structured Rust */● an edge Rust can't hold
394 r0 = fn_7caf0(&Location("src/math.rs:673:9"));■ string · 17 B
397 /* continues at L_41c88; not expressible as structured Rust */● an edge Rust can't hold
400 if (r7 * r6) > (r2 << 0x20 | r0) {
402 /* continues at L_41c60; not expressible as structured Rust */● an edge Rust can't hold
406 /* continues at L_41cb0; not expressible as structured Rust */● an edge Rust can't hold
408 r0 = fn_7caf0(&Location("src/math.rs:668:46"));■ string · 18 B
410 r0 = fn_7caf0(&Location("src/math.rs:672:9"));■ string · 17 B
414 r0 = fn_7caf0(&Location("src/math.rs:661:19"));■ string · 18 B
416 /* continues at L_41b70; not expressible as structured Rust */● an edge Rust can't hold
421 /* continues at L_41b60; not expressible as structured Rust */● an edge Rust can't hold
423 /* continues at L_41fc0; not expressible as structured Rust */● an edge Rust can't hold
426 /* continues at L_41fb0; not expressible as structured Rust */● an edge Rust can't hold
428 /* continues at L_41b58; not expressible as structured Rust */● an edge Rust can't hold
430 r0 = fn_7caf0(&Location("src/math.rs:655:9"));■ string · 17 B
433 /* continues at L_41ab8; not expressible as structured Rust */● an edge Rust can't hold
436 if (r9 * r6) > (r2 << 0x20 | r7) {
438 /* continues at L_41a90; not expressible as structured Rust */● an edge Rust can't hold
442 /* continues at L_41ae0; not expressible as structured Rust */● an edge Rust can't hold
444 r0 = fn_7caf0(&Location("src/math.rs:650:47"));■ string · 18 B
446 r0 = fn_7caf0(&Location("src/math.rs:654:9"));■ string · 17 B
448 /* continues at L_41d80; not expressible as structured Rust */● an edge Rust can't hold
450 r0 = fn_7caf0(&Location("src/math.rs:16:5"));■ string · 16 B
455 r0 = fn_7caf0(&Location("src/math.rs:16:5"));■ string · 16 B
457 /* continues at L_415e8; not expressible as structured Rust */● an edge Rust can't hold
461 /* continues at L_415c8; not expressible as structured Rust */● an edge Rust can't hold
463 /* continues at L_41588; not expressible as structured Rust */● an edge Rust can't hold
465 r0 = fn_7caf0(&Location("src/math.rs:16:5"));■ string · 16 B
468 r0 = fn_7caf0(&Location("src/math.rs:49:19"));■ string · 17 B
470 /* continues at L_41628; not expressible as structured Rust */● an edge Rust can't hold
474 r7 = *((r2 + 0x10) as *const u64);
475 r5 = *((r2 + 0x18) as *const u64);
477 r0 = fn_7caf0(&Location("src/dex/raydium_cpmm.rs:153:27"));■ string · 30 B
479 /* continues at L_41370; not expressible as structured Rust */● an edge Rust can't hold
482 /* continues at L_413c8; not expressible as structured Rust */● an edge Rust can't hold
484 /* continues at L_41358; not expressible as structured Rust */● an edge Rust can't hold