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_22438 · .text+0x22438 · 1,149 ins · 329 blocks · 1,283 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_22438 · 1149 instructions · 2 callers · 94 gotos
2// panic locations in this function: src/math.rs:16, src/math.rs:49, 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_22438(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) {
42 r7 = *(u64 *)(r5 - 0xfd8);
43 r9 = *(u64 *)(r5 - 0xfe0);
44 r2 = *(u64 *)(r5 - 0xfe8);
45 local_b8 = *(u64 *)(r5 - 0xff0);
46 r6 = *(u64 *)(r5 - 0x1000);
47 r1 = *(u64 *)(r5 - 0xff8);
56 r2 = *(u64 *)(r3 + 0x30) | *(u64 *)(r3 + 0x38);
62 *(u32 *)(r3 + 4) = 0xfa4;
91 *(u64 *)(r3 + 0x18) = r1;
92 *(u64 *)(r3 + 0x10) = r2;
93 *(u64 *)(r3 + 8) = r6;
97 *(u32 *)(r3 + 4) = 0xfa1;
105 *(u64 *)(r3 + 0x18) = r1;
106 *(u64 *)(r3 + 0x10) = r2;
107 *(u64 *)(r3 + 8) = r6;
116 r2 = local_b8 & 0xffff;
131 r0 = fn_805f0(r1 - r2, 0, local_b8, 0);
138 r0 = fn_7caf0(&Location("src/math.rs:49:19"));■ string · 17 B
140 r0 = fn_805f0(r8, 0, local_b8, 0);
147 r1 = r0 + r6 / 0xc350;
154 r0 = fn_7caf0(&Location("src/math.rs:16:5"));■ string · 16 B
156 goto L_23b20;● kept as goto
158 r0 = fn_7caf0(&Location("src/math.rs:16:5"));■ string · 16 B
160 r0 = fn_7caf0(&Location("src/math.rs:49:19"));■ string · 17 B
164 r0 = fn_805f0(r0, 0, r3, 0);
185 r0 = fn_805f0(r7 - r2, 0, local_b8, 0);
192 r0 = fn_805f0(r8, 0, local_b8, 0);
200 r9 = r0 + r6 / 0xc350;
210 goto L_23b20;● kept as goto
216 r0 = fn_805f0(r1 - r2, 0, local_b8, 0);
223 r0 = fn_7caf0(&Location("src/math.rs:49:19"));■ string · 17 B
225 r0 = fn_805f0(r8, 0, local_b8, 0);
232 r1 = r0 + r6 / 0xc350;
239 r0 = fn_7caf0(&Location("src/math.rs:16:5"));■ string · 16 B
242 if ((r9 + r1) >= r9) {
247 goto L_23b20;● kept as goto
250 *(u32 *)(r3 + 4) = 0xfa1;
255 r0 = fn_7caf0(&Location("src/math.rs:16:5"));■ string · 16 B
257 r0 = fn_7caf0(&Location("src/math.rs:49:19"));■ string · 17 B
260 *(u32 *)(r3 + 4) = 0xfa1;
266 r0 = fn_7caf0(&Location("src/math.rs:16:5"));■ string · 16 B
269 r0 = fn_7caf0(&Location("src/math.rs:49:19"));■ string · 17 B
272 *(u32 *)(r3 + 4) = 0xfa1;
281 *(u32 *)(r3 + 4) = 0xfa1;
286 goto L_24060;● kept as goto
290 goto L_24040;● kept as goto
292 goto L_24008;● kept as goto
299 r5 = (r5 | r5 >> 0x20) ^ -1;
300 r5 -= (r5 >> 1 & 0x5555555555555555); // text "UUUUUUUU"
301 r2 = 0x3333333333333333;
302 r7 = (r5 & r2) + (r5 >> 2 & r2);
303 r7 = (r7 + (r7 >> 4) & 0xf0f0f0f0f0f0f0f) * 0x101010101010101 >> 0x38;
306 r1 = r1 << r7 | r9 >> (neg64(r7) & 0x3f);
311 r0 = fn_7caf0(&Location("src/math.rs:646:29"));■ string · 18 B
317 r0 = fn_805f0(r8, 0, r6, 0);
323 r0 = fn_7caf0(&Location("src/math.rs:647:37"));■ string · 18 B
327 r0 = fn_7caf0(&Location("src/math.rs:647:29"));■ string · 18 B
330 r5 = local_c8 << 0x20 >> 0x20;
332 local_50 = r1 >> 0x20;
350 r0 = fn_805f0(r8, 0, local_c8, 0);
352 r5 = r4 << 0x20 | r9;
362 r0 = fn_7caf0(&Location("src/math.rs:661:19"));■ string · 18 B
370 r0 = fn_805f0(r9, 0, r6, 0);
376 r0 = fn_7caf0(&Location("src/math.rs:665:31"));■ string · 18 B
380 r0 = fn_7caf0(&Location("src/math.rs:665:21"));■ string · 18 B
399 r0 = fn_805f0(r9, 0, local_c8, 0);
402 r1 = r2 << 0x20 | r7;
418 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
429 r0 = fn_7caf0(&Location("src/math.rs:683:11"));■ string · 18 B
431 r0 = fn_816b0(r1 - r0, r2 - r5 - r7, r3);
434 goto L_23fd0;● kept as goto
441 r0 = fn_7caf0(&Location("src/math.rs:679:22"));■ string · 18 B
443 goto L_23ec0;● kept as goto
448 goto L_23f68;● kept as goto
450 goto L_23ea0;● kept as goto
455 goto L_23e90;● kept as goto
457 goto L_23f60;● kept as goto
462 goto L_23f50;● kept as goto
464 goto L_23e88;● kept as goto
466 r0 = fn_7caf0(&Location("src/math.rs:673:9"));■ string · 17 B
469 goto L_23dd0;● kept as goto
472 if ((r9 * r5) > (r2 << 0x20 | r7)) {
474 goto L_23da8;● kept as goto
478 goto L_23df8;● kept as goto
480 r0 = fn_7caf0(&Location("src/math.rs:668:46"));■ string · 18 B
482 r0 = fn_7caf0(&Location("src/math.rs:672:9"));■ string · 17 B
486 r0 = fn_7caf0(&Location("src/math.rs:661:19"));■ string · 18 B
488 goto L_23cb0;● kept as goto
493 goto L_23128;● kept as goto
495 goto L_23ca0;● kept as goto
499 goto L_23c90;● kept as goto
501 goto L_23120;● kept as goto
503 r0 = fn_7caf0(&Location("src/math.rs:655:9"));■ string · 17 B
506 goto L_23078;● kept as goto
509 if ((r8 * r5) > (r2 << 0x20 | r9)) {
511 goto L_23050;● kept as goto
515 goto L_230a0;● kept as goto
517 r0 = fn_7caf0(&Location("src/math.rs:650:47"));■ string · 18 B
519 r0 = fn_7caf0(&Location("src/math.rs:654:9"));■ string · 17 B
522 *(u32 *)(r3 + 4) = 0xfa1;
527 goto L_239e8;● kept as goto
531 goto L_23b20;● kept as goto
533 r8 = r5 / 0x3b9aca00;
534 r2 = r8 * 0x3b9aca00;
536 r3 = local_90 << 0x20 >> 0x20;
539 r0 = fn_805f0(r5 - r2, 0, r3, 0);
546 r0 = fn_805f0(r8, 0, r9, 0);
554 r3 = r6 / 0x3b9aca00;
557 if (r6 != (r3 * 0x3b9aca00)) {
569 goto L_22cc0;● kept as goto
571 goto L_23b20;● kept as goto
574 *(u32 *)(r3 + 4) = 0xfa1;
579 r0 = fn_7caf0(&Location("src/math.rs:16:5"));■ string · 16 B
585 r0 = fn_7caf0(&Location("src/math.rs:16:5"));■ string · 16 B
587 goto L_22c98;● kept as goto
591 goto L_22c70;● kept as goto
593 goto L_22c30;● kept as goto
595 r0 = fn_7caf0(&Location("src/math.rs:16:5"));■ string · 16 B
598 r0 = fn_7caf0(&Location("src/math.rs:49:19"));■ string · 17 B
601 r5 = *(u64 *)(local_50 + 0x10);
603 goto L_22a80;● kept as goto
607 r6 = *(u64 *)(r1 + 8);
609 if ((r1 | r6) == 0) {
612 *(u32 *)(r3 + 4) = r7;
617 r0 = fn_805f0(r1, 0, r8, 0);
620 r0 = fn_805f0(r6, 0, r3, 0);
627 if ((r1 + r2) != 0) {
629 *(u32 *)(r3 + 4) = r7;
636 goto L_22a80;● kept as goto
639 r6 = 1 << (r7 & 0x1f);
640 if ((*(u32 *)(r9 + 0xf00) & r6) == 0) {
642 r0 = fn_248d8(&local_20, *(u64 *)(r1), *(u64 *)(r1 + 8));
644 *(u32 *)(r9 + 0xf04) = *(u32 *)(r9 + 0xf04) | r6;
648 *(u64 *)(r2 + 0xd28) = local_10;
649 *(u64 *)(r2 + 0xd20) = r1;
651 *(u32 *)(r9 + 0xf00) = *(u32 *)(r9 + 0xf00) | r6;
653 if ((*(u32 *)(r9 + 0xf04) & r6) != 0) {
657 r8 = *(u64 *)(r1 + 8);
669 r0 = fn_47db0(&local_40, &local_20, 0);
674 r0 = fn_80748(0, local_c8, r6, r8);
679 *(u32 *)(r3 + 4) = r7;
684 goto L_24440;● kept as goto
687 *(u32 *)(r3 + 4) = r7;
692 goto L_24440;● kept as goto
695 *(u32 *)(r3 + 4) = r7;
701 r0 = fn_805f0(*(u64 *)(r9 + 0xd20), 0, r8, 0);
703 r0 = fn_805f0(*(u64 *)(r9 + 0xd28), 0, r8, 0);
710 if ((r1 + r2) != 0) {
712 *(u32 *)(r3 + 4) = r7;
726 r9 = *(u64 *)(r1 + 8);
728 if ((r1 | r9) != 0) {
729 r0 = fn_805f0(r1, 0, r6, 0);
732 r0 = fn_805f0(r9, 0, r6, 0);
744 if ((r1 + r4 + r0) == 0) {
746 if (r3 <= local_c8) {
756 goto L_24768;● kept as goto
764 goto L_246d8;● kept as goto
766 goto L_24760;● kept as goto
771 if ((r1 + r4 + 0) != 0) {
772 goto L_24748;● kept as goto
774 goto L_246c8;● kept as goto
782 goto L_246a8;● kept as goto
784 goto L_24730;● kept as goto
791 goto L_24708;● kept as goto
793 goto L_24688;● kept as goto
798 goto L_22a80;● kept as goto
800 goto L_24748;● kept as goto
802 goto L_22a80;● kept as goto
804 goto L_24378;● kept as goto
810 goto L_22a70;● kept as goto
814 r1 = *(u64 *)(r1 + 8);
823 local_50 = local_50 + 0x10;
833 r2 = *(u64 *)(r4 + r1);
838 r5 = *(u64 *)(local_50 + r1);
840 if ((r6 + r5) >= r6) {
872 *(u32 *)(r3 + 4) = r7;
877 goto L_22a80;● kept as goto
883 goto L_229b8;● kept as goto
885 goto L_238d8;● kept as goto
891 goto L_22958;● kept as goto
893 goto L_229a8;● kept as goto
899 goto L_22990;● kept as goto
901 goto L_22948;● kept as goto
905 *(u32 *)(r3 + 4) = r7;
912 r0 = fn_805f0(local_80, 0, r8, 0);
914 r0 = fn_805f0(local_88, 0, r8, 0);
922 if ((r1 + r2) == 0) {
924 if ((r6 + r5) < r6) {
925 goto L_22900;● kept as goto
927 goto L_228f8;● kept as goto
931 *(u32 *)(r3 + 4) = r7;
937 goto L_228b8;● kept as goto
942 goto L_22810;● kept as goto
946 *(u32 *)(r3 + 4) = r7;
951 r0 = 1 << (r7 & 0x1f);
953 local_e0 = &local_10;
954 local_e8 = &local_30;
955 local_f8 = r9 + r7 + 0xd20;
965 r2 = *(u64 *)(local_60 + r1);
971 r5 = *(u64 *)(local_50 + r1);
974 if ((r6 + r5) < r6) {
⋯⋯ 283 more lines in this function. Download pseudocode.c for all of it.