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_36858 · .text+0x36858 · 260 ins · 81 blocks · 302 lines · structured where the control flow allows↓ .c download pseudocode.c 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
3u64 fn_36858(u64 r1, u64 r2) {
4 u64
local_18;
7 r4 = *(u64 *)(r1 + 0x10);
8 r3 = *(u64 *)(r1 + 0x18);
10 r0 = fn_7caf0(&Location("src/dex/raydium_amm.rs:125:13"));■ string · 29 B
13 if (((r2 ^ *(u8 *)(r1 + 0x20)) & 1) == 0) {
17 r1 = *(u64 *)(r1 + r5);
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 goto L_36fb8;● kept as goto
243 goto L_36ec8;● kept as goto
245 r0 = fn_7caf0(&Location("src/math.rs:673:9"));■ string · 17 B
248 goto L_36e28;● kept as goto
251 if ((r6 * r8) > (r2 << 0x20 | r5)) {
253 goto L_36e00;● kept as goto
257 goto L_36e50;● kept as goto
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 goto L_36d18;● kept as goto
272 goto L_36d08;● kept as goto
274 goto L_36f70;● kept as goto
277 goto L_36f60;● kept as goto
279 goto L_36d00;● kept as goto
281 r0 = fn_7caf0(&Location("src/math.rs:655:9"));■ string · 17 B
284 goto L_36c60;● kept as goto
287 if ((r7 * r8) > (r2 << 0x20 | r6)) {
289 goto L_36c38;● kept as goto
293 goto L_36c88;● kept as goto
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