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_36858 · 260 instructions · 6 callers · 13 gotos
2// panic locations in this function: src/dex/raydium_amm.rs:125, src/math.rs:151, 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, src/math.rs:668, src/math.rs:672, src/math.rs:673
3fn fn_36858(mut r1: u64, mut r2: u64) -> u64
{
4 let mut local_18: u64 = 0;
5 let mut local_10: u64 = 0;
6 let mut local_8: u64 = 0;
7 r4 = *((r1 + 0x10) as *const u64);
8 r3 = *((r1 + 0x18) as *const u64);
10 r0 = fn_7caf0(&Location("src/dex/raydium_amm.rs:125:13"));■ string · 29 B
13 if ((r2 ^ *((r1 + 0x20) as *const u8)) & 1) == 0 {
17 r1 = *((r1 + r5) as *const u64);
20 r0 = fn_7caf0(&Location("src/math.rs:151:21"));■ string · 18 B
30 r0 = fn_805f0(r1, r2, r3, 0);
48 r4 = (r4 | r4 >> 0x20) ^ -1;
49 r4 -= (r4 >> 1 & 0x5555555555555555); // text "UUUUUUUU"
50 r3 = 0x3333333333333333;
51 r2 = (r4 & r3) + (r4 >> 2 & r3);
52 r2 = (r2 + (r2 >> 4) & 0xf0f0f0f0f0f0f0f) * 0x101010101010101 >> 0x38;
55 r1 = r1 << r2 | r6 >> (neg64(r2) & 0x3f);
59 r0 = fn_7caf0(&Location("src/math.rs:646:29"));■ string · 18 B
64 r0 = fn_805f0(r7, 0, r9, 0);
70 r0 = fn_7caf0(&Location("src/math.rs:647:37"));■ string · 18 B
74 r0 = fn_7caf0(&Location("src/math.rs:647:29"));■ string · 18 B
78 r8 = r8 << 0x20 >> 0x20;
98 r0 = fn_805f0(r7, 0, local_10, 0);
100 r5 = r4 << 0x20 | r6;
111 r0 = fn_7caf0(&Location("src/math.rs:661:19"));■ string · 18 B
117 r0 = fn_805f0(r6, 0, r9, 0);
124 r0 = fn_7caf0(&Location("src/math.rs:665:31"));■ string · 18 B
128 r0 = fn_7caf0(&Location("src/math.rs:665:21"));■ string · 18 B
147 r0 = fn_805f0(r6, 0, local_10, 0);
151 if (r5 << 0x20 | r8) < r0 {
158 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
169 r0 = fn_7caf0(&Location("src/math.rs:683:11"));■ string · 18 B
172 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
181 r0 = fn_7caf0(&Location("src/math.rs:683:11"));■ string · 18 B
188 r0 = fn_7caf0(&Location("src/math.rs:683:11"));■ string · 18 B
196 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
205 r0 = fn_7caf0(&Location("src/math.rs:683:11"));■ string · 18 B
212 r0 = fn_7caf0(&Location("src/math.rs:683:11"));■ string · 18 B
225 r0 = fn_7caf0(&Location("src/math.rs:683:11"));■ string · 18 B
232 r0 = fn_7caf0(&Location("src/math.rs:683:11"));■ string · 18 B
236 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
241 /* continues at L_36fb8; not expressible as structured Rust */● an edge Rust can't hold
243 /* continues at L_36ec8; not expressible as structured Rust */● an edge Rust can't hold
245 r0 = fn_7caf0(&Location("src/math.rs:673:9"));■ string · 17 B
248 /* continues at L_36e28; not expressible as structured Rust */● an edge Rust can't hold
251 if (r6 * r8) > (r2 << 0x20 | r5) {
253 /* continues at L_36e00; not expressible as structured Rust */● an edge Rust can't hold
257 /* continues at L_36e50; not expressible as structured Rust */● an edge Rust can't hold
259 r0 = fn_7caf0(&Location("src/math.rs:668:46"));■ string · 18 B
261 r0 = fn_7caf0(&Location("src/math.rs:672:9"));■ string · 17 B
265 r0 = fn_7caf0(&Location("src/math.rs:661:19"));■ string · 18 B
267 /* continues at L_36d18; not expressible as structured Rust */● an edge Rust can't hold
272 /* continues at L_36d08; not expressible as structured Rust */● an edge Rust can't hold
274 /* continues at L_36f70; not expressible as structured Rust */● an edge Rust can't hold
277 /* continues at L_36f60; not expressible as structured Rust */● an edge Rust can't hold
279 /* continues at L_36d00; not expressible as structured Rust */● an edge Rust can't hold
281 r0 = fn_7caf0(&Location("src/math.rs:655:9"));■ string · 17 B
284 /* continues at L_36c60; not expressible as structured Rust */● an edge Rust can't hold
287 if (r7 * r8) > (r2 << 0x20 | r6) {
289 /* continues at L_36c38; not expressible as structured Rust */● an edge Rust can't hold
293 /* continues at L_36c88; not expressible as structured Rust */● an edge Rust can't hold
295 r0 = fn_7caf0(&Location("src/math.rs:650:47"));■ string · 18 B
297 r0 = fn_7caf0(&Location("src/math.rs:654:9"));■ string · 17 B