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_27910 · .text+0x27910 · 504 ins · 121 blocks · 522 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_27910 · 504 instructions · 3 callers · 22 gotos
2// panic locations in this function: src/dex/meteora_dlmm.rs:344, src/dex/meteora_dlmm.rs:1042, src/dex/meteora_dlmm.rs:1303
3u64 fn_27910(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) {
4
u64
local_130;
44 r1 = sar64(*(u32 *)(r2 + 0xe0) << 0x20, 0x20) * 0x46;
45 r0 = *(u32 *)(r2 + 0xdc) << 0x20;
46 r9 = sar64(r1 << 0x20, 0x20);
53 r1 = sar64(r9 << 0x20, 0x20);
54 r0 = sar64(r0, 0x20) * 0x46;
56 if (sar64(r0 << 0x20, 0x20) == r0) {
66 r6 = *(u32 *)(r3 + 8);
67 r0 = *(u8 *)(r3 + 0xd);
68 r8 = *(u8 *)(r3 + 0xc);
69 r5 = *(u8 *)(r2 + 0xf8);
72 local_e8 = local_e8 & 0xff;
77 local_110 = *(u64 *)(r2 + 0xa0);
79 local_108 = local_108 & 1;
82 if ((r5 & 0xff) < local_e8) {
85 if ((r0 & 0xff) != 0) {
87 *(u8 *)(r3 + 0xd) = r0;
89 r1 = *(u64 *)(local_f8 + (r1 << 4));
92 if ((r8 & 0xff) == 0) {
98 *(u8 *)(r3 + 0xc) = r8;
102 local_e0 = *(u64 *)(r1);
103 if (local_100 == 0) {
119 local_c8 = *(u64 *)(r3 + 8);
120 local_d0 = *(u64 *)(r3);
121 r9 = *(u64 *)(r1 + 0x18);
122 r2 = *(u64 *)(r1 + 0x10);
124 if ((r2 | r9) == 0) {
127 if ((r7 >> 0x20) == 0) {
131 r1 = *(u64 *)(r6 + 0xc0);
132 r3 = *(u64 *)(r6 + 0xc8);
134 if (r1 == 0x5f5e100) {
138 *(u64 *)(r4 + 0x10) = local_c8;
139 *(u64 *)(r4 + 8) = local_d0;
140 *(u64 *)(r4 + 0x20) = r9;
141 *(u64 *)(r4 + 0x18) = r2;
142 *(u32 *)(r4 + 0x40) = r5;
143 *(u64 *)(r4 + 0x38) = local_f0;
144 *(u64 *)(r4 + 0x30) = local_d8;
145 *(u32 *)(r4 + 0x2c) = r0 >> 0x20;
146 *(u32 *)(r4 + 0x28) = r0;
150 r4 = sar64(*(u32 *)(r6 + 0xf0) << 0x20, 0x20) - sar64(local_f8 << 0x20, 0x20);
151 r5 = sar64(r4, 0x3f);
152 r4 = ((r4 ^ r5) - r5) * 0x2710 + *(u32 *)(r6 + 0xec);
153 r5 = *(u32 *)(r6 + 0xe8);
159 if (r4 <= *(u64 *)(r6 + 0xd0)) {
160 r5 = r1 + (r4 * r3 + 0x174876e7ff) / 0x174876e800;
166 r0 = fn_7caf0(&Location("src/dex/meteora_dlmm.rs:1303:9"));■ string · 30 B
171 *(u64 *)(r4 + 0x10) = local_c8;
172 *(u64 *)(r4 + 8) = local_d0;
173 *(u64 *)(r4 + 0x20) = r9;
174 *(u64 *)(r4 + 0x18) = r2;
175 *(u32 *)(r4 + 0x40) = r5;
176 *(u64 *)(r4 + 0x38) = local_f0;
177 *(u64 *)(r4 + 0x30) = local_d8;
178 *(u32 *)(r4 + 0x2c) = r0 >> 0x20;
179 *(u32 *)(r4 + 0x28) = r0;
186 *(u64 *)(r4 + 0x10) = local_c8;
187 *(u64 *)(r4 + 8) = local_d0;
188 *(u64 *)(r4 + 0x20) = r9;
189 *(u64 *)(r4 + 0x18) = r2;
190 *(u32 *)(r4 + 0x40) = r5;
191 *(u64 *)(r4 + 0x38) = local_f0;
192 *(u64 *)(r4 + 0x30) = local_d8;
193 *(u32 *)(r4 + 0x2c) = r0 >> 0x20;
194 *(u32 *)(r4 + 0x28) = r0;
198 r1 = sar64(r7, 0x3f);
201 if ((r8 << 0x20 >> 0x20) <= 0x7ffff) {
202 r0 = fn_80748(0, *(u16 *)(r6 + 0xf4), 0x2710, 0);
214 r0 = fn_47db0(&local_c0, &local_60, 0);
218 r0 = fn_80748(-1, -1, local_108, local_e8 & 0xf);
229 r0 = fn_805f0(r1, local_e8, r9, r4);
234 if ((r8 << 0x20 >> 0x20) != 1) {
237 r0 = fn_805f0(r9, r7, r9, r7);
248 if ((r8 << 0x20 >> 0x20) != 1) {
249 goto L_285f8;● kept as goto
255 goto L_285c8;● kept as goto
257 goto L_28598;● kept as goto
266 *(u32 *)(r2 + 8) = r1;
270 if ((i64)sar64(local_100, 0x20) < 1) {
274 goto L_28168;● kept as goto
290 r0 = fn_47db0(r1, r2, 0);
298 *(u32 *)(r2 + 8) = r1;
302 r0 = fn_80748(-1, -1, r6, local_e8);
306 goto L_28890;● kept as goto
312 r0 = fn_47db0(&local_a0, &local_20, 0);
316 r0 = fn_805f0(r6, 0, r9, 0);
324 goto L_28718;● kept as goto
327 goto L_28850;● kept as goto
329 goto L_28660;● kept as goto
332 *(u32 *)(r2 + 8) = r1;
336 goto L_28168;● kept as goto
340 goto L_28108;● kept as goto
342 r7 = *(u8 *)(r1 + 0x8c);
348 goto L_28050;● kept as goto
350 r9 = *(u64 *)(r1 + 0x70);
351 r7 = *(u64 *)(r1 + 0x80);
352 goto L_28048;● kept as goto
356 *(u32 *)(r1 + 8) = 0xfa7;
359 if (local_108 == 0) {
362 *(u32 *)(r3 + 8) = r6;
366 goto L_27fb0;● kept as goto
370 *(u8 *)(r3 + 0xc) = 3;
374 goto L_27fb8;● kept as goto
379 r6 = sar64(r2 << 0x20, 0x20) + 1;
380 if (sar64(r6 << 0x20, 0x20) == r6) {
382 *(u32 *)(r3 + 8) = r6;
384 goto L_27fb8;● kept as goto
390 *(u32 *)(r1 + 8) = 0xfa6;
393 r0 = fn_7cab0(r1, 3, &Location("src/dex/meteora_dlmm.rs:1042:25"));■ string · 31 B
397 *(u64 *)(local_120) = 0;
402 *(u32 *)(r1 + 8) = 0xfa1;
406 local_108 = *(u64 *)(r2 + 0xb0);
408 local_110 = local_110 & 1;
409 local_118 = local_118 & 1;
412 if ((r9 & 0xff) < local_e8) {
415 if ((r0 & 0xff) != 0) {
417 *(u8 *)(r3 + 0xd) = r0;
419 r1 = *(u64 *)(local_f8 + (r1 << 4));
422 if ((r8 & 0xff) == 0) {
423 if (local_108 == 0) {
428 *(u8 *)(r3 + 0xc) = r8;
432 local_e0 = *(u64 *)(r1 + 8);
433 if (local_100 == 0) {
446 goto L_28108;● kept as goto
450 goto L_28108;● kept as goto
452 r7 = *(u8 *)(r1 + 0x8c);
458 goto L_27d70;● kept as goto
460 r5 = *(u64 *)(r1 + 0x70);
461 r7 = *(u64 *)(r1 + 0x80);
462 goto L_27d68;● kept as goto
466 *(u32 *)(r1 + 8) = 0xfa7;
469 if (local_110 == 0) {
470 *(u64 *)(local_f0) = 0x2708;
471 if (local_118 == 0) {
474 *(u32 *)(r3 + 8) = r6;
477 goto L_27cd0;● kept as goto
482 *(u32 *)(r1 + 8) = 0xfa1;
485 *(u8 *)(r3 + 0xc) = 3;
489 goto L_27cd8;● kept as goto
495 r6 = sar64(r2 << 0x20, 0x20) + -1;
496 if (sar64(r6 << 0x20, 0x20) == r6) {
498 *(u32 *)(r3 + 8) = r6;
500 goto L_27cd8;● kept as goto
504 *(u32 *)(r1 + 8) = 0xfa1;
511 *(u32 *)(r1 + 8) = 0xfa6;
514 r0 = fn_7cab0(r1, 3, &Location("src/dex/meteora_dlmm.rs:1042:25"));■ string · 31 B
518 *(u64 *)(local_120) = 0;
521 r0 = fn_7caf0(&Location("src/dex/meteora_dlmm.rs:344:17"));■ string · 30 B