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 entrypoint · .text+0x7a838 · 1,051 ins · 263 blocks · 1,152 lines · structured where the control flow allows↓ .c download pseudocode.c 1// entrypoint · 1051 instructions · 0 callers · 49 gotos
2// panic locations in this function: /Users/runner/work/platform-tools/platform-tools/out/rust/library/core/src/iter/traits/accum.rs:149, src/lib.rs:511, src/entrypoint/mod.rs:450, src/entrypoint/mod.rs:477, src/entrypoint/mod.rs:488, src/entrypoint/mod.rs:491, src/entrypoint/mod.rs:494, src/entrypoint/mod.rs:497, src/entrypoint/mod.rs:528, src/entrypoint/mod.rs:481
3u64 entrypoint(u64 r1) {
4
u64 local_1000;
107 local_198 = &local_550;
111 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
113 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
118 r3 = *(u64 *)(r6 + 8);
119 if (r3 == -0x324693b98512504b) {
120 if (*(u64 *)(r6 + 0x10) == -0x32bbb009ab81c98d) {
121 if (*(u64 *)(r6 + 0x18) == -0x1cce3058fbe08334) {
122 if (*(u64 *)(r6 + 0x20) == -0x5bce2b1ebca565cc) {
133 if (*(u64 *)(r2 + 8) == 0) {
134 if (*(u64 *)(r2 + 0x10) == 0) {
135 if (*(u64 *)(r2 + 0x18) == 0) {
137 if (*(u64 *)(r2 + 0x20) == 0) {
138 if (*(u8 *)(r2 + 3) != 0) {
140 if (*(u64 *)(r1 + 8) == -0xe76dbb170da6874) {
141 if (*(u64 *)(r1 + 0x10) == -0x7cf271ebd6efc245) {
142 if (*(u64 *)(r1 + 0x18) == -0x7bef002566eca5f5) {
143 if (*(u64 *)(r1 + 0x20) == 0x59f8e9dbd87b8e04) {
144 r2 = *(u8 *)(r1 + 3);
150 r9 = *(u8 *)(r1 + 0x10);
151 if ((r9 + -0x1f & 0xff) >= 0xe2) {
152 r1 = *(u8 *)(r8 + 0x11);
154 if ((r1 + -0x1f & 0xff) >= 0xe2) {
156 r2 = *(u8 *)(r1 + 0x12);
158 if ((r2 + -0x1f & 0xff) >= 0xe2) {
160 r1 = *(u8 *)(r1 + 0x13);
162 if ((r1 + -4 & 0xff) >= 0xfd) {
165 r1 = *(u8 *)(r8 + 0x14);
168 if (local_570 <= 7) {
170 r1 = *(u8 *)(r8 + 0x15);
172 if ((r1 + -4 & 0xff) >= 0xfd) {
173 r2 = local_570 + 0xe;
175 local_588 = *(u64 *)(r8 + 8);
177 if (local_568 == 1) {
187 r0 = sol_get_sysvar(0x81a28, &local_58_u64, 0, 0x28); // .rodata+0x140; read part of a sysvar■ syscall
193 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
195 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
199 if (*(u8 *)(r6 + 1) == 0) {
201 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
203 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
208 if (*(u8 *)(r6 + 2) != 0) {
211 if (*(u8 *)(r1 + 2) != 0) {
214 if (*(u8 *)(r3 + 3) != 0) {
215 local_5c8 = local_48_u64;
216 local_5d0 = local_58_u64;
217 r1 = *(u64 *)(r3 + 8);
218 if (r1 == -0x21708a111e0922fa) {
219 if (*(u64 *)(r3 + 0x10) == -0x2532931b43a2bde8) {
220 r2 = 0x270db9834dfc1ab6;
221 if (*(u64 *)(r3 + 0x18) == r2) {
222 r4 = -0x2532931b43a2bde8;
223 r5 = *(u64 *)(r3 + 0x20);
224 r3 = -0x3745e27d7064202;
230 if (*(u64 *)(r5 + 0x28) == r1) {
231 if (*(u64 *)(local_5d8 + 0x30) == r4) {
232 if (*(u64 *)(local_5d8 + 0x38) == r2) {
233 if (*(u64 *)(local_5d8 + 0x40) == r3) {
234 if (*(u64 *)(local_5c0 + 0x28) == r1) {
235 if (*(u64 *)(local_5c0 + 0x30) == r4) {
236 if (*(u64 *)(local_5c0 + 0x38) == r2) {
237 if (*(u64 *)(local_5c0 + 0x40) == r3) {
238 goto L_7c170;● kept as goto
250 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
252 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
256 if (r1 == -0x6c5e9a281e0922fa) {
257 if (*(u64 *)(r3 + 0x10) == -0x53861431b91e3427) {
258 r2 = -0x6ec8a4a0127a4be4;
259 if (*(u64 *)(r3 + 0x18) == r2) {
260 r4 = -0x53861431b91e3427;
261 r5 = *(u64 *)(r3 + 0x20);
262 r3 = -0x56ff00817a0a73c6;
264 goto L_7c0a0;● kept as goto
272 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
274 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
279 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
281 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
285 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
287 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
294 r1 = *(u8 *)(r1 + r2);
298 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
300 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
304 r2 = local_590 + local_570;
307 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
309 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
313 r1 = local_570 + 0xf;
316 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
318 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
322 r1 = *(u8 *)(local_598 + r1);
324 if ((r1 + -4 & 0xff) < 0xfd) {
326 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
328 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
332 r3 = local_570 | 0x10;
336 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
338 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
342 local_5a8 = local_598 + r3;
344 if (local_568 == 2) {
348 goto L_7bc00;● kept as goto
351 r3 = *(u8 *)(local_598 + r1);
356 if ((r2 + local_5b0) <= 7) {
360 r2 = *(u8 *)(local_598 + r2);
363 if ((r2 + -4 & 0xff) >= 0xfd) {
368 local_598 = local_598 + r1;
369 goto L_7bc00;● kept as goto
377 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
379 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
384 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
386 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
391 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
393 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
398 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
400 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
405 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
407 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
412 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
414 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
441 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
443 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
447 if (r3 == 0x35ebd8027817984b) {
448 if (*(u64 *)(r6 + 0x10) == -0x1ce05187d585142b) {
449 if (*(u64 *)(r6 + 0x18) == -0x1f589af739e528cb) {
450 if (*(u64 *)(r6 + 0x20) == -0x3f2e04c4adfac7ba) {
451 goto L_7b258;● kept as goto
455 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
457 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
461 if (r3 == 0x1c1f6dbf70871905) {
462 if (*(u64 *)(r6 + 0x10) == 0x58abdf35acc51bcd) {
463 if (*(u64 *)(r6 + 0x18) == 0x2064e01a7271282a) {
464 if (*(u64 *)(r6 + 0x20) == 0x6ac3e28e96a0da7c) {
465 goto L_7b258;● kept as goto
470 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
472 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
477 r1 += *(u64 *)(r1 + 0x58);
485 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:450:9"));■ string · 27 B
490 goto L_7aa60;● kept as goto
499 local_548 = *(u64 *)(&local_550 + (r4 << 3));
503 if ((r3 - r2) != 0) {
506 if (*(u8 *)(r1) == 0xff) {
507 r1 += *(u64 *)(r1 + 0x50);
528 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
532 goto L_7aa70;● kept as goto
536 goto L_7a990;● kept as goto
541 goto L_7aa18;● kept as goto
547 goto L_7a990;● kept as goto
549 goto L_7a988;● kept as goto
551 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:528:25"));■ string · 28 B
553 goto L_7abf8;● kept as goto
556 r1 += *(u64 *)(r1 + 0x50);
564 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:477:17"));■ string · 28 B
568 goto L_7a958;● kept as goto
578 *(u64 *)(r4 + 8) = *(u64 *)(&local_550 + (r0 << 3));
583 *(u64 *)(r4 + 0x10) = r1;
584 r1 += *(u64 *)(r1 + 0x50);
595 *(u64 *)(r4 + 0x18) = *(u64 *)(&local_550 + (r0 << 3));
600 *(u64 *)(r4 + 0x20) = r1;
601 r1 += *(u64 *)(r1 + 0x50);
613 *(u64 *)(r4) = *(u64 *)(&local_550 + (r0 << 3));
624 *(u64 *)(r4 + 8) = *(u64 *)(&local_550 + (r5 << 3));
625 goto L_7b820;● kept as goto
627 *(u64 *)(r4 + 8) = r1;
628 r1 += *(u64 *)(r1 + 0x50);
636 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:497:25"));■ string · 28 B
638 goto L_7a950;● kept as goto
640 goto L_7a958;● kept as goto
645 *(u64 *)(r4 + 8) = *(u64 *)(&local_550 + (r5 << 3));
650 *(u64 *)(r4 + 0x10) = *(u64 *)(&local_550 + (r5 << 3));
651 goto L_7b820;● kept as goto
654 *(u64 *)(r4 + 0x10) = r1;
655 r1 += *(u64 *)(r1 + 0x50);
663 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:494:25"));■ string · 28 B
665 goto L_7a950;● kept as goto
667 *(u64 *)(r4 + 8) = r1;
668 r1 += *(u64 *)(r1 + 0x50);
679 goto L_7b878;● kept as goto
681 goto L_7b5b0;● kept as goto
683 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:494:25"));■ string · 28 B
688 *(u64 *)(r4 + 8) = *(u64 *)(&local_550 + (r5 << 3));
693 *(u64 *)(r4 + 0x10) = *(u64 *)(&local_550 + (r5 << 3));
698 *(u64 *)(r4 + 0x18) = *(u64 *)(&local_550 + (r5 << 3));
699 goto L_7b820;● kept as goto
702 *(u64 *)(r4 + 0x18) = r1;
703 r1 += *(u64 *)(r1 + 0x50);
711 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:491:25"));■ string · 28 B
713 goto L_7a950;● kept as goto
716 *(u64 *)(r4 + 0x10) = r1;
717 r1 += *(u64 *)(r1 + 0x50);
728 goto L_7b940;● kept as goto
730 goto L_7b120;● kept as goto
732 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:491:25"));■ string · 28 B
734 *(u64 *)(r4 + 8) = r1;
735 r1 += *(u64 *)(r1 + 0x50);
746 goto L_7b8f8;● kept as goto
748 goto L_7b0b0;● kept as goto
750 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:491:25"));■ string · 28 B
754 *(u64 *)(r4 + 8) = *(u64 *)(&local_550 + (r5 << 3));
759 *(u64 *)(r4 + 0x10) = *(u64 *)(&local_550 + (r5 << 3));
764 *(u64 *)(r4 + 0x18) = *(u64 *)(&local_550 + (r5 << 3));
769 *(u64 *)(r4 + 0x20) = *(u64 *)(&local_550 + (r5 << 3));
770 goto L_7b820;● kept as goto
773 *(u64 *)(r4 + 0x20) = r1;
774 r1 += *(u64 *)(r1 + 0x50);
782 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:488:25"));■ string · 28 B
784 goto L_7a950;● kept as goto
787 *(u64 *)(r4 + 0x18) = r1;
788 r1 += *(u64 *)(r1 + 0x50);
799 goto L_7ba50;● kept as goto
801 goto L_7b780;● kept as goto
803 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:488:25"));■ string · 28 B
806 *(u64 *)(r4 + 0x10) = r1;
807 r1 += *(u64 *)(r1 + 0x50);
818 goto L_7ba08;● kept as goto
820 goto L_7b710;● kept as goto
822 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:488:25"));■ string · 28 B
824 *(u64 *)(r4 + 8) = r1;
825 r1 += *(u64 *)(r1 + 0x50);
836 goto L_7b9c0;● kept as goto
838 goto L_7b6a0;● kept as goto
840 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:488:25"));■ string · 28 B
844 r1 += *(u64 *)(r1 + 0x50);
858 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:481:21"));■ string · 28 B
861 goto L_7ae78;● kept as goto
863 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:481:21"));■ string · 28 B
866 goto L_7ae00;● kept as goto
869 *(u64 *)(r4 + 0x20) = *(u64 *)(&local_550 + (r0 << 3));
874 goto L_7ae30;● kept as goto
876 goto L_7afd0;● kept as goto
879 *(u64 *)(r4 + 0x18) = r1;
880 r1 += *(u64 *)(r1 + 0x50);
890 goto L_7af80;● kept as goto
892 goto L_7adb8;● kept as goto
894 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:481:21"));■ string · 28 B
897 goto L_7ad90;● kept as goto
899 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:481:21"));■ string · 28 B
902 goto L_7ad20;● kept as goto
905 *(u64 *)(r4 + 0x10) = *(u64 *)(&local_550 + (r0 << 3));
909 goto L_7ad48;● kept as goto
911 goto L_7af38;● kept as goto
913 *(u64 *)(r4 + 8) = r1;
914 r1 += *(u64 *)(r1 + 0x50);
924 goto L_7aef0;● kept as goto
926 goto L_7acd8;● kept as goto
928 r0 = fn_7caf0(&Location("src/entrypoint/mod.rs:481:21"));■ string · 28 B
931 goto L_7acb0;● kept as goto
934 goto L_7b018;● kept as goto
937 r1 = *(u8 *)(local_5d8);
940 *(u8 *)(r2) = r1 + -1;
941 r0 = fn_799b0(&local_58_u64, r2 + 0x58, *(u64 *)(r2 + 0x50), local_5c8);
942 if (local_48_u8 == 2) {
943 r1 = *(u8 *)(local_5d8) + 1;
944 if ((r1 & 0xff) != r1) {
945 r0 = fn_7caf0(&Location("src/lib.rs:511:18"));■ string · 17 B
948 *(u8 *)(local_5d8) = r1;
949 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
951 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
955 r1 = *(u8 *)(local_5d8) + 1;
956 if ((r1 & 0xff) != r1) {
957 r0 = fn_7caf0(&Location("src/lib.rs:511:18"));■ string · 17 B
959 local_5e0 = local_50_u16;
964 r0 = fn_791b0(&local_58_u64, r2 + 0x58, *(u64 *)(r2 + 0x50), r4 + 8, r6 + 8);
968 r0 = fn_44a50("init", 4, 0xffffff, r7 << 0x20 >> 0x20);■ string · 4 B
970 r0 = fn_478e8(" Err:", 5, r7 << 0x20 >> 0x20, r4);■ string · 5 B
976 local_558 = &local_540;
980 r3 = r3 | r9 | local_560 << 0x10;
982 local_d4 = r6 >> 0x20;
984 local_68 = local_5e0;
⋯⋯ 152 more lines in this function. Download pseudocode.c for all of it.