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_351f8 · .text+0x351f8 · 637 ins · 188 blocks · 663 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_351f8 · 637 instructions · 1 caller · 30 gotos
2// panic locations in this function: src/dex/pump.rs:783, src/dex/pump.rs:791, src/math.rs:97, 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
3u64 fn_351f8(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) {
14 r0 = *(u64 *)(r5 - 0xff0);
16 r0 = *(u64 *)(r5 - 0xfe8);
17 local_8 = *(u64 *)(r5 - 0xff8);
18 r5 = *(u64 *)(r5 - 0x1000);
20 r6 = *(u64 *)(r0 + 0x18);
21 r7 = *(u64 *)(r0 + 0x10);
22 r8 = *(u64 *)(r0 + 8);
24 if (r0 == -0x7b7e5401a87764fa) {
25 if (r8 == 0x35c01846637f68fb) {
26 if (r7 == 0x553beb1adc39c4da) {
27 if (r6 != 0x100000000f0a098) {
29 if (r0 == -0x4719a0216003f27d) {
30 if (r8 == -0x75e116895bfb8356) {
31 if (r7 == 0x19fa90ad4a26bbc6) {
32 if (r6 != 0x5e5b3e5cd849dfc9) {
41 r6 = *(u32 *)(r2 + 0x41);
52 r9 = *(u32 *)(r2 + r0);
59 if ((r0 + 0x10) <= r3) {
60 if ((r0 + 0x18) > r3) {
61 *(u32 *)(r1 + 4) = 0xfaa;
68 r5 = *(u64 *)(r5 + 0x10);
72 r3 = *(u64 *)(r2 + 0x29);
73 r4 = *(u64 *)(r2 + 0x31);
74 *(u64 *)(r1 + 0x18) = *(u64 *)(r2 + 0x39);
76 *(u64 *)(r1 + 0x18) = r5;
78 *(u64 *)(r1 + 0x10) = r4;
79 *(u64 *)(r1 + 8) = r3;
85 *(u64 *)(r1 + 0x18) = r5;
86 *(u64 *)(r1 + 0x10) = r4;
87 *(u64 *)(r1 + 8) = r3;
96 *(u32 *)(r1 + 4) = 0xfaa;
107 r0 = fn_44c68("pump:filtered", 0xd, 3, 0xfa7);■ string · 13 B
109 *(u32 *)(r1 + 4) = 0xfa7;
120 r0 = fn_805f0(local_8, 0, r4, 0);
126 r0 = fn_805f0(r1, 0, r6, 0);
132 r0 = fn_7caf0(&Location("src/math.rs:97:33"));■ string · 17 B
138 r0 = fn_7caf0(&Location("src/math.rs:97:26"));■ string · 17 B
143 *(u32 *)(r1 + 4) = 0xfa1;
149 local_10 = local_10 / r6;
163 if (r2 <= local_20) {
169 if (*(u64 *)(r5 - 0x28) > local_10) {
170 r5 = *(u64 *)(r5 - 0x20);
182 if ((local_18 & 1) != 0) {
183 r0 = fn_7caf0(&Location("src/dex/pump.rs:783:25"));■ string · 22 B
191 if (r5 <= local_20) {
207 if (r0 <= local_20) {
223 r0 = fn_7caf0(&Location("src/dex/pump.rs:791:27"));■ string · 22 B
231 r0 = fn_7caf0(&Location("src/raw.rs:34:22"));■ string · 16 B
234 *(u32 *)(r1 + 4) = 0xfaa;
240 r0 = fn_7cab0(0, 0, &Location("src/raw.rs:37:9"));■ string · 15 B
245 r0 = fn_7cab0(1, 1, &Location("src/raw.rs:37:19"));■ string · 16 B
248 r0 = fn_7cab0(2, 2, &Location("src/raw.rs:37:29"));■ string · 16 B
251 r0 = fn_7cab0(3, 3, &Location("src/raw.rs:37:39"));■ string · 16 B
254 r0 = fn_7cab0(4, 4, &Location("src/raw.rs:37:49"));■ string · 16 B
257 r0 = fn_7cab0(5, 5, &Location("src/raw.rs:37:59"));■ string · 16 B
260 r0 = fn_7cab0(6, 6, &Location("src/raw.rs:37:69"));■ string · 16 B
263 r0 = fn_7cab0(7, 7, &Location("src/raw.rs:37:79"));■ string · 16 B
267 r4 = *(u8 *)(r6 + 1);
269 r5 = *(u8 *)(r7 + 2);
270 r2 = *(u8 *)(r7 + 1) << 8;
271 local_18 = *(u8 *)(r6);
272 local_10 = *(u8 *)(r6 + 2);
273 r3 = *(u8 *)(r7 + 3);
275 local_20 = r5 << 0x10;
276 local_8 = *(u8 *)(r6 + 3);
277 r4 = r4 << 8 | local_18;
278 r8 = local_10 << 0x10;
279 local_10 = *(u8 *)(r7 + 4);
281 local_18 = *(u8 *)(r6 + 4);
283 r8 = local_8 << 0x18;
284 local_20 = *(u8 *)(r7 + 5);
286 r3 = local_10 << 0x20;
287 local_8 = *(u8 *)(r6 + 5);
289 r5 = local_20 << 0x28;
290 r3 = *(u8 *)(r7 + 6);
291 r4 = r4 | r8 | local_18 << 0x20;
292 local_8 = local_8 << 0x28;
293 r2 = r2 | r5 | r3 << 0x30 | *(u8 *)(r7 + 7) << 0x38;
294 r4 = r4 | local_8 | *(u8 *)(r6 + 6) << 0x30 | *(u8 *)(r6 + 7) << 0x38;
296 r9 = *(u8 *)(r0 + 5);
297 r5 = *(u8 *)(r0 + 1) << 8 | *(u8 *)(r0) | *(u8 *)(r0 + 2) << 0x10 | *(u8 *)(r0 + 3) << 0x18 | *(u8 *)(r0 + 4) << 0x20;
298 r3 = *(u8 *)(r0 + 7);
299 r6 = *(u8 *)(r0 + 6);
300 *(u64 *)(r1 + 0x10) = r4;
301 *(u64 *)(r1 + 8) = r2;
302 *(u64 *)(r1 + 0x18) = r5 | r9 << 0x28 | r6 << 0x30 | r3 << 0x38;
307 r0 = fn_7cab0(7, 7, &Location("src/raw.rs:37:79"));■ string · 16 B
309 r0 = fn_7cab0(6, 6, &Location("src/raw.rs:37:69"));■ string · 16 B
311 r0 = fn_7cab0(5, 5, &Location("src/raw.rs:37:59"));■ string · 16 B
313 r0 = fn_7cab0(4, 4, &Location("src/raw.rs:37:49"));■ string · 16 B
315 r0 = fn_7cab0(3, 3, &Location("src/raw.rs:37:39"));■ string · 16 B
317 r0 = fn_7cab0(2, 2, &Location("src/raw.rs:37:29"));■ string · 16 B
319 r0 = fn_7cab0(1, 1, &Location("src/raw.rs:37:19"));■ string · 16 B
321 r0 = fn_7cab0(0, 0, &Location("src/raw.rs:37:9"));■ string · 15 B
323 *(u32 *)(r1 + 4) = 0xfaa;
328 r0 = fn_7caf0(&Location("src/raw.rs:34:22"));■ string · 16 B
330 r0 = fn_7cab0(7, 7, &Location("src/raw.rs:37:79"));■ string · 16 B
332 r0 = fn_7cab0(6, 6, &Location("src/raw.rs:37:69"));■ string · 16 B
334 r0 = fn_7cab0(5, 5, &Location("src/raw.rs:37:59"));■ string · 16 B
336 r0 = fn_7cab0(4, 4, &Location("src/raw.rs:37:49"));■ string · 16 B
338 r0 = fn_7cab0(3, 3, &Location("src/raw.rs:37:39"));■ string · 16 B
340 r0 = fn_7cab0(2, 2, &Location("src/raw.rs:37:29"));■ string · 16 B
342 r0 = fn_7cab0(1, 1, &Location("src/raw.rs:37:19"));■ string · 16 B
344 r0 = fn_7cab0(0, 0, &Location("src/raw.rs:37:9"));■ string · 15 B
346 *(u32 *)(r1 + 4) = 0xfaa;
351 r0 = fn_7caf0(&Location("src/raw.rs:34:22"));■ string · 16 B
360 goto L_35d88;● kept as goto
362 goto L_35ec8;● kept as goto
366 r5 = *(u64 *)(r5 - 0x20);
368 goto L_35ea8;● kept as goto
370 goto L_35e70;● kept as goto
373 goto L_35d88;● kept as goto
375 *(u32 *)(r1 + 4) = 0xfaa;
381 goto L_35df8;● kept as goto
387 goto L_35ef8;● kept as goto
394 r1 = (r1 | r1 >> 0x20) ^ -1;
395 r1 -= (r1 >> 1 & 0x5555555555555555); // text "UUUUUUUU"
396 r3 = 0x3333333333333333;
397 r2 = (r1 & r3) + (r1 >> 2 & r3);
398 r2 = (r2 + (r2 >> 4) & 0xf0f0f0f0f0f0f0f) * 0x101010101010101 >> 0x38;
402 r7 = r7 << r2 | r4 >> (neg64(r2) & 0x3f);
406 r0 = fn_7caf0(&Location("src/math.rs:646:29"));■ string · 18 B
411 r0 = fn_805f0(r9, 0, r6, 0);
417 r0 = fn_7caf0(&Location("src/math.rs:647:37"));■ string · 18 B
422 r0 = fn_7caf0(&Location("src/math.rs:647:29"));■ string · 18 B
426 local_18 = r3 << 0x20 >> 0x20;
428 local_48 = r1 >> 0x20;
446 r0 = fn_805f0(r9, 0, r3, 0);
448 r5 = r4 << 0x20 | r7;
458 r0 = fn_7caf0(&Location("src/math.rs:661:19"));■ string · 18 B
464 r0 = fn_805f0(r7, 0, r6, 0);
471 r0 = fn_7caf0(&Location("src/math.rs:665:31"));■ string · 18 B
475 r0 = fn_7caf0(&Location("src/math.rs:665:21"));■ string · 18 B
495 r0 = fn_805f0(r7, 0, r3, 0);
497 r1 = local_10 << 0x20 | r6;
503 r0 = local_10 >> 0x20;
511 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
522 r0 = fn_7caf0(&Location("src/math.rs:683:11"));■ string · 18 B
525 goto L_35d68;● kept as goto
529 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
531 goto L_35cc0;● kept as goto
535 goto L_35d20;● kept as goto
537 goto L_35cb0;● kept as goto
539 r0 = fn_7caf0(&Location("src/math.rs:673:9"));■ string · 17 B
542 goto L_35be0;● kept as goto
545 if ((r7 * local_18) > (r2 << 0x20 | r0)) {
547 goto L_35bb8;● kept as goto
551 goto L_35c08;● kept as goto
553 r0 = fn_7caf0(&Location("src/math.rs:668:46"));■ string · 18 B
555 r0 = fn_7caf0(&Location("src/math.rs:672:9"));■ string · 17 B
559 r0 = fn_7caf0(&Location("src/math.rs:661:19"));■ string · 18 B
561 goto L_35ac0;● kept as goto
566 goto L_35920;● kept as goto
568 goto L_35ab0;● kept as goto
572 goto L_35aa0;● kept as goto
574 goto L_35918;● kept as goto
576 r0 = fn_7caf0(&Location("src/math.rs:655:9"));■ string · 17 B
579 goto L_35880;● kept as goto
582 if ((r9 * local_18) > (r2 << 0x20 | r7)) {
584 goto L_35858;● kept as goto
588 goto L_358a8;● kept as goto
590 r0 = fn_7caf0(&Location("src/math.rs:650:47"));■ string · 18 B
592 r0 = fn_7caf0(&Location("src/math.rs:654:9"));■ string · 17 B
595 *(u32 *)(r1 + 4) = 0xfaa;
600 goto L_35428;● kept as goto
602 *(u32 *)(r1 + 4) = 0xfaa;
612 if (r0 == 0x3aaddbbef37afac6) {
613 if (r8 == 0x3174c9ab6af3653d) {
614 if (r7 == -0x1b1f092d3d1b444f) {
615 if (r6 != 0x615d2f450302a67c) {
619 goto L_35360;● kept as goto
621 r3 = *(u64 *)(r2 + 0x29);
622 r4 = *(u64 *)(r2 + 0x31);
623 *(u64 *)(r1 + 0x18) = *(u64 *)(r2 + 0x39);
624 *(u64 *)(r1 + 0x10) = r4;
625 *(u64 *)(r1 + 8) = r3;
632 goto L_35360;● kept as goto
636 goto L_35a40;● kept as goto
638 goto L_35358;● kept as goto
642 goto L_35338;● kept as goto
644 goto L_35358;● kept as goto
648 goto L_352d8;● kept as goto
650 r3 = *(u64 *)(r2 + 0x29);
651 r4 = *(u64 *)(r2 + 0x31);
652 *(u64 *)(r1 + 0x18) = *(u64 *)(r2 + 0x39);
653 *(u64 *)(r1 + 0x10) = r4;
654 *(u64 *)(r1 + 8) = r3;
659 *(u32 *)(r1 + 4) = 0xfaa;