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_1d460 · .text+0x1d460 · 683 ins · 208 blocks · 729 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_1d460 · 683 instructions · 2 callers · 57 gotos
2// panic locations in this function: src/dex/meteora_damm_v2.rs:904, src/dex/meteora_damm_v2.rs:905, src/dex/meteora_damm_v2.rs:914, src/dex/meteora_damm_v2.rs:909, src/dex/meteora_damm_v2.rs:908, src/dex/meteora_damm_v2.rs:911, src/dex/meteora_damm_v2.rs:912, src/math.rs:646, src/math.rs:647, src/math.rs:650, src/math.rs:654, src/math.rs:655
3u64 fn_1d460(u64 r1, u64 r2, u64 r3) {
4
u64 local_c8;
31 r8 = *(u64 *)(r7 + 0x20);
33 r1 = *(u64 *)(r7 + 0x38);
35 r2 = *(u64 *)(r7 + 0x48);
37 if ((r1 + r2) >= r1) {
41 *(u32 *)(r9 + 4) = 0xfa1;
45 r1 = *(u64 *)(r7 + 0x50);
49 *(u64 *)(r9 + 8) = r1;
56 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:904:17"));■ string · 33 B
62 r0 = fn_805f0(r6, 0, r8, 0);
68 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:905:26"));■ string · 33 B
71 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:905:17"));■ string · 33 B
73 r1 = *(u64 *)(r7 + 0x40);
77 r3 = *(u64 *)(r7 + 0x10);
83 r2 = *(u64 *)(r7 + 0x18);
89 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:914:37"));■ string · 33 B
100 r0 = fn_805f0(r1, neg64(r2), *(u64 *)(r6 + 0x30), 0);
107 r3 = *(u64 *)(local_90 + 8);
114 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:914:13"));■ string · 33 B
122 local_60 = 0x3b9aca00;
125 if (r9 <= 0x3b9ac9ff) {
126 r0 = fn_47db0(&local_80, &local_60, 1);
133 *(u32 *)(r9 + 4) = 0xfa1;
139 r0 = fn_805f0(r1, r7, 0x3b9aca00, 0);
146 if ((r9 - r7 * r6) == 0) {
158 goto L_1d728;● kept as goto
161 *(u32 *)(r9 + 4) = 0xfa1;
169 *(u32 *)(r9 + 4) = 0xfa1;
174 goto L_1e7a0;● kept as goto
185 r4 = (r4 | r4 >> 0x20) ^ -1;
186 r4 -= (r4 >> 1 & 0x5555555555555555); // text "UUUUUUUU"
187 r2 = 0x3333333333333333;
188 r8 = (r4 & r2) + (r4 >> 2 & r2);
189 r8 = (r8 + (r8 >> 4) & 0xf0f0f0f0f0f0f0f) * 0x101010101010101 >> 0x38;
192 r1 = r1 << r8 | r9 >> (neg64(r8) & 0x3f);
196 r0 = fn_7caf0(&Location("src/math.rs:646:29"));■ string · 18 B
202 r0 = fn_805f0(r6, 0, r7, 0);
208 r0 = fn_7caf0(&Location("src/math.rs:647:37"));■ string · 18 B
213 r0 = fn_7caf0(&Location("src/math.rs:647:29"));■ string · 18 B
216 r8 = local_88 << 0x20 >> 0x20;
236 r0 = fn_805f0(r6, 0, local_88, 0);
238 r5 = r4 << 0x20 | r9;
249 r0 = fn_7caf0(&Location("src/math.rs:661:19"));■ string · 18 B
255 r0 = fn_805f0(r9, 0, r7, 0);
262 r0 = fn_7caf0(&Location("src/math.rs:665:31"));■ string · 18 B
266 r0 = fn_7caf0(&Location("src/math.rs:665:21"));■ string · 18 B
285 r0 = fn_805f0(r9, 0, local_88, 0);
288 r1 = r2 << 0x20 | r7;
305 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
315 r0 = fn_7caf0(&Location("src/math.rs:683:11"));■ string · 18 B
317 r0 = fn_816b0(r1 - r0, r2 - r8 - r3, local_b0);
321 goto L_1e770;● kept as goto
323 goto L_1e778;● kept as goto
329 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
331 goto L_1e6e8;● kept as goto
335 goto L_1e8c8;● kept as goto
337 goto L_1e6d0;● kept as goto
342 goto L_1e6c8;● kept as goto
344 goto L_1e8b8;● kept as goto
348 goto L_1e8a8;● kept as goto
350 goto L_1e6c0;● kept as goto
352 r0 = fn_7caf0(&Location("src/math.rs:673:9"));■ string · 17 B
355 goto L_1e608;● kept as goto
358 if ((r9 * r8) > (r2 << 0x20 | r5)) {
360 goto L_1e5e0;● kept as goto
364 goto L_1e630;● kept as goto
366 r0 = fn_7caf0(&Location("src/math.rs:668:46"));■ string · 18 B
368 r0 = fn_7caf0(&Location("src/math.rs:672:9"));■ string · 17 B
372 r0 = fn_7caf0(&Location("src/math.rs:661:19"));■ string · 18 B
374 goto L_1e4f8;● kept as goto
379 goto L_1e4e8;● kept as goto
381 goto L_1e860;● kept as goto
384 goto L_1e850;● kept as goto
386 goto L_1e4e0;● kept as goto
388 r0 = fn_7caf0(&Location("src/math.rs:655:9"));■ string · 17 B
391 goto L_1e440;● kept as goto
394 if ((r6 * r8) > (r2 << 0x20 | r9)) {
396 goto L_1e418;● kept as goto
400 goto L_1e468;● kept as goto
402 r0 = fn_7caf0(&Location("src/math.rs:650:47"));■ string · 18 B
404 r0 = fn_7caf0(&Location("src/math.rs:654:9"));■ string · 17 B
407 *(u32 *)(r9 + 4) = 0xfa1;
413 r0 = fn_80748(r6, r9, 0x3b9aca00, 0);
416 r0 = fn_805f0(r8, r7, -0x3b9aca00, -1);
422 r0 = r0 ^ neg64(r6) | r1 ^ neg64(r9 + r3);
434 goto L_1e0f0;● kept as goto
437 *(u32 *)(r9 + 4) = 0xfa1;
443 local_18 = 0x3b9aca00;
446 r0 = fn_47db0(&local_80, &local_20, 0);
449 r0 = fn_805f0(r7, 0, 0x3b9aca00, 0);
465 r0 = fn_47db0(&local_40, &local_60, 0);
476 r0 = fn_805f0(r1, 0, 0x3b9aca00, 0);
478 if (local_a8 == r1) {
492 if ((r7 + r1) < r7) {
496 if ((local_b8 & 1) == 0) {
507 *(u32 *)(r9 + 4) = 0xfa1;
512 goto L_1e0f0;● kept as goto
514 goto L_1dff0;● kept as goto
518 goto L_1dfa0;● kept as goto
520 goto L_1dff0;● kept as goto
525 goto L_1df88;● kept as goto
527 goto L_1ded8;● kept as goto
529 if ((r7 + r1) >= r7) {
530 goto L_1df70;● kept as goto
532 goto L_1ded0;● kept as goto
537 goto L_1dff0;● kept as goto
541 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:914:13"));■ string · 33 B
543 goto L_1dc48;● kept as goto
546 goto L_1db90;● kept as goto
548 goto L_1d8b8;● kept as goto
552 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:914:37"));■ string · 33 B
554 goto L_1d7f0;● kept as goto
559 goto L_1d7e0;● kept as goto
561 goto L_1d948;● kept as goto
563 r2 = *(u64 *)(r7 + 0x18);
565 goto L_1d938;● kept as goto
567 goto L_1d7d8;● kept as goto
577 r0 = fn_805f0(r1, r2, r6, 0);
579 r9 = *(u64 *)(r7 + 0x28);
580 r0 = fn_805f0(r1, 0, r9, 0);
584 r0 = fn_805f0(r6, 0, r9, 0);
594 if (((r2 | r3) & 1) != 0) {
595 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:909:19"));■ string · 33 B
598 r3 = *(u64 *)(r1 + 0x38);
602 r0 = fn_805f0(r1, r2, r3, 0);
605 r7 = r0 + (r6 >> 1 | r9 << 0x3f);
617 r0 = fn_805f0(r1, 0, r8, 0);
620 r0 = fn_805f0(r7, 0, r8, 0);
629 if (((r2 | r3) & 1) != 0) {
630 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:908:26"));■ string · 33 B
633 r0 = fn_805f0(local_c0, 0, local_a8, 0);
639 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:911:45"));■ string · 33 B
648 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:911:29"));■ string · 33 B
650 r0 = fn_805f0(r1, 0, local_98 - local_c8, 0);
662 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:912:13"));■ string · 33 B
664 goto L_1dc48;● kept as goto
668 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:912:13"));■ string · 33 B
670 goto L_1dc48;● kept as goto
675 goto L_1dc38;● kept as goto
677 goto L_1db70;● kept as goto
681 goto L_1dc28;● kept as goto
683 goto L_1db68;● kept as goto
686 if (((r2 | 0) & 1) != 0) {
687 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:908:26"));■ string · 33 B
689 goto L_1da60;● kept as goto
692 goto L_1dbc8;● kept as goto
694 goto L_1da48;● kept as goto
696 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:908:26"));■ string · 33 B
700 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:908:26"));■ string · 33 B
702 goto L_1d9b8;● kept as goto
707 goto L_1d9a0;● kept as goto
709 goto L_1d708;● kept as goto
713 goto L_1d990;● kept as goto
715 goto L_1d700;● kept as goto
719 if (((r2 | 0) & 1) != 0) {
720 r0 = fn_7caf0(&Location("src/dex/meteora_damm_v2.rs:909:19"));■ string · 33 B
722 goto L_1d658;● kept as goto
726 goto L_1d8e0;● kept as goto
728 goto L_1d638;● kept as goto