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_684e8 · .text+0x684e8 · 962 ins · 233 blocks · 951 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_684e8 · 962 instructions · 1 caller · 78 gotos
2// panic locations in this function: src/lib.rs:511, src/accounts.rs:58, src/instruction.rs:144, src/router.rs:175, src/router.rs:230, src/router.rs:232, src/router.rs:233, src/selection.rs:348, src/selection.rs:369, src/selection.rs:371, src/selection.rs:366, src/selection.rs:367
3u64 fn_684e8(u64 r1, u64 r2, u64 r3) {
4
u64 local_1000;
53 r2 = *(u8 *)(r1 + 0x53);
57 *(u8 *)(0x30000758e) = *(u8 *)(r1 + 0x52);
59 *(u16 *)(0x30000758c) = *(u16 *)(r1 + 0x50);
64 local_948 = &local_330;
65 local_938 = &local_424;
66 local_940 = &local_854;
67 local_910 = *(u64 *)(r3 + 0x10);
68 local_918 = *(u64 *)(r3);
69 local_970 = *(u64 *)(r3 + 8);
77 r5 = local_900 + r7 * 0x18;
78 r0 = *(u8 *)(r5 + 0x10);
88 *(u8 *)(r7 + 0x300007589) = r3;
90 r3 = *(u64 *)(r5 + 8);
104 r1 = *(u64 *)(r2 + 0x10);
105 r2 = *(u64 *)(r2 + 8);
107 r0 = fn_7caf0(&Location("src/accounts.rs:58:9"));■ string · 20 B
116 goto L_6a120;● kept as goto
120 r4 = (r4 | r2) >> 8 & 0xff000000;
122 local_960 = r3 + 0x3000074ab;
123 local_978 = r3 + 0x3000074c7;
130 local_8f0 = r3 + 0x300007496;
137 r2 = *(u64 *)(local_8d0 + 0x10);
138 r4 = r2 + *(u64 *)(0x82668 + (r1 << 3)); // .rodata+0xd80
143 r3 = *(u64 *)(local_8d0 + 8);
152 local_868 = local_8e0;
153 local_8c8 = 0x300006c90;
155 r3 = *(u16 *)(0x30000758c);
156 r1 = *(u8 *)(0x30000758e);
157 local_ff0 = local_910;
158 local_ff8 = local_918;
159 local_1000 = &local_8c8;
160 r0 = fn_5a1f0(&local_860_u64, local_908, r3 | r1 << 0x10, local_8d0, fp);
164 r0 = fn_7cb90(local_938, local_940, 0x424);
171 *(u32 *)(r1 + 0x3000073d8) = local_8e0;
172 *(u64 *)(r1 + 0x3000073d0) = r4;
173 *(u64 *)(r1 + 0x3000073c8) = r3;
174 r0 = fn_6a5f0(&local_430_u64);
175 if ((r0 << 0x20 >> 0x20) == 0x3e8) {
178 r0 = fn_7cb90(r6 * 0xa8 + 0x300006f30, local_948, 0xa8);
179 r0 = fn_7cb90(r8, &local_430_u64, 0x430);
181 r1 = *(u64 *)(r8) + 1;
194 if (*(u8 *)(r3 + 0x300006fd4) != 7) {
199 r4 = *(u8 *)(r0 + 0x4d);
200 if ((r4 & r1 & 0xff) == 0) {
202 if (*(u16 *)(r3 + 8) == 0x2710) {
207 *(u8 *)(r1 + 0x300007489) = r2;
208 *(u8 *)(r1 + 0x300007488) = r6;
209 r1 = *(u64 *)(r9) + 1;
223 goto L_6a0f8;● kept as goto
228 goto L_69468;● kept as goto
230 r0 = fn_7caf0(&Location("src/router.rs:233:17"));■ string · 20 B
233 goto L_69c88;● kept as goto
235 r0 = fn_7cab0(r1, 7, &Location("src/router.rs:232:17"));■ string · 20 B
237 if (*(u16 *)(r3 + 0x18) == 0x2710) {
238 goto L_69c00;● kept as goto
240 *(u8 *)(r0 + 0x4d) = r4 | r1;
241 r5 = *(u8 *)(r3 + 0xa1);
246 r4 = *(u8 *)(r3 + 0xa0);
255 r1 = *(u8 *)(local_8f0 + 0x4f);
258 if (r4 == local_958) {
261 r0 = local_960 + (r1 << 2);
262 *(u8 *)(r0 + 3) = *(u8 *)(r3);
263 *(u8 *)(r0 + 2) = r2;
264 *(u8 *)(r0 + 1) = r6;
266 if (r4 != local_958) {
270 r1 = *(u8 *)(r0 + 0x4f) + 1;
271 if ((r1 & 0xff) == r1) {
272 *(u8 *)(r0 + 0x4f) = r1;
273 goto L_69c00;● kept as goto
275 r0 = fn_7caf0(&Location("src/selection.rs:371:17"));■ string · 23 B
278 goto L_69fa0;● kept as goto
281 goto L_69f40;● kept as goto
283 r0 = fn_7cab0(r1, 7, &Location("src/selection.rs:369:17"));■ string · 23 B
286 r1 = *(u8 *)(r0 + 0x4e);
289 *(u8 *)(r3 + 2) = r2;
290 *(u8 *)(r3 + 1) = r6;
295 r1 = *(u8 *)(r0 + 0x4e) + 1;
296 if ((r1 & 0xff) == r1) {
297 *(u8 *)(r0 + 0x4e) = r1;
298 goto L_69c00;● kept as goto
300 r0 = fn_7caf0(&Location("src/selection.rs:367:17"));■ string · 23 B
303 goto L_69ec8;● kept as goto
305 r0 = fn_7cab0(r1, 7, &Location("src/selection.rs:366:17"));■ string · 23 B
308 goto L_69e68;● kept as goto
312 goto L_69c00;● kept as goto
314 r1 = *(u8 *)(r0 + 0x50);
321 r0 = local_978 + (r1 << 2);
323 *(u8 *)(r0 + 2) = r2;
324 *(u8 *)(r0 + 1) = r6;
325 *(u8 *)(r0 + 3) = r1;
330 r1 = *(u8 *)(r0 + 0x50) + 1;
331 if ((r1 & 0xff) == r1) {
332 *(u8 *)(r0 + 0x50) = r1;
333 goto L_69c00;● kept as goto
335 r0 = fn_7caf0(&Location("src/selection.rs:377:13"));■ string · 23 B
338 goto L_69e20;● kept as goto
341 goto L_69dd0;● kept as goto
343 r0 = fn_7cab0(r1, 7, &Location("src/selection.rs:375:13"));■ string · 23 B
346 goto L_69d60;● kept as goto
349 goto L_69d48;● kept as goto
351 goto L_69c00;● kept as goto
353 r0 = fn_7caf0(&Location("src/selection.rs:348:19"));■ string · 23 B
358 r0 = fn_7cab0(r6, 7, &Location("src/router.rs:230:21"));■ string · 20 B
360 r0 = fn_7caf0(&Location("src/router.rs:219:29"));■ string · 20 B
363 goto L_69b28;● kept as goto
367 goto L_69a70;● kept as goto
370 goto L_69a70;● kept as goto
372 r0 = fn_7cab0(7, 7, &Location("src/router.rs:214:29"));■ string · 20 B
377 goto L_69b48;● kept as goto
379 r3 = *(u64 *)(0x300007478) << 8 | local_8e8 | -0x10000;
380 r4 = r9 << 0x20 >> 0x20;
381 r1 = "load";■ string · 4 B
383 r0 = fn_44a50(r1, r2, r3, r4);
386 r5 = *(u64 *)(local_8d0);
388 r5 = *(u64 *)(r5 + (r4 << 3));
393 if (*(u64 *)(r4) == 0xa) {
399 goto L_69828;● kept as goto
403 r9 = *(u64 *)(r4 + 0x1b8);
404 if (*(u64 *)(r9) != *(u64 *)(r5 + 8)) {
405 goto L_695c8;● kept as goto
407 if (*(u64 *)(r9 + 8) != *(u64 *)(r5 + 0x10)) {
408 goto L_695c8;● kept as goto
410 if (*(u64 *)(r9 + 0x10) != *(u64 *)(r5 + 0x18)) {
411 goto L_695c8;● kept as goto
413 if (*(u64 *)(r9 + 0x18) != *(u64 *)(r5 + 0x20)) {
414 goto L_695c8;● kept as goto
418 local_868 = local_8e0;
419 local_8c8 = 0x300006c90;
428 if (*(u8 *)(r4 + 0x1a4) == (local_908 & 0xff)) {
429 r0 = *(u64 *)(r4 + 0x1b0);
432 if ((r2 + r0) < r2) {
438 *(u64 *)(local_8d0 + 0x10) = r6;
439 r9 = local_930 + (r2 << 3);
441 r2 = *(u64 *)(r4 + 0x1a8);
446 r1 = *(u8 *)(r5 + 0x1a0);
448 r1 = r1 * 0x28 + 0x300006c90;
449 if (*(u64 *)(r1) != 0) {
450 r2 = *(u8 *)(r5 + 0x1a1);
452 r2 = r2 * 0x28 + 0x300006c90;
453 if (*(u64 *)(r2) != 0) {
454 r0 = fn_78bc8(&local_860_u64, &local_8c8, *(u64 *)(*(u64 *)(r1 + 8)) + 8, *(u64 *)(*(u64 *)(r2 + 8)) + 8);
455 if (local_860_u64 != 0) {
459 goto L_69b50;● kept as goto
461 r0 = fn_7cab0(r6, 7, &Location("src/router.rs:230:21"));■ string · 20 B
468 r3 = *(u64 *)(0x300007478) << 8 | local_8e8 | -0x10000;
469 r4 = r9 << 0x20 >> 0x20;
470 r1 = "load";■ string · 4 B
472 r0 = fn_44a50(r1, r2, r3, r4);
477 if (*(u64 *)(r4 + 8) == *(u64 *)(r3 + 8)) {
478 if (*(u64 *)(r4 + 0x10) == *(u64 *)(r3 + 0x10)) {
479 if (*(u64 *)(r4 + 0x18) == *(u64 *)(r3 + 0x18)) {
482 if (*(u64 *)(r4 + 0x20) == *(u64 *)(r3 + 0x20)) {
490 r3 = *(u64 *)(0x300007478) << 8 | local_8e8 | -0x10000;
491 r4 = r9 << 0x20 >> 0x20;
492 r1 = "load";■ string · 4 B
494 r0 = fn_44a50(r1, r2, r3, r4);
500 r3 = *(u64 *)(0x300007478) << 8 | local_8e8 | -0x10000;
501 r4 = r9 << 0x20 >> 0x20;
502 r1 = "load";■ string · 4 B
504 r0 = fn_44a50(r1, r2, r3, r4);
508 goto L_69728;● kept as goto
511 r3 = *(u64 *)(0x300007478) << 8 | local_8e8 | -0x10000;
512 r4 = r9 << 0x20 >> 0x20;
513 r1 = "load";■ string · 4 B
515 r0 = fn_44a50(r1, r2, r3, r4);
519 r3 = *(u64 *)(0x300007478) << 8 | local_8e8 | -0x10000;
520 r4 = r9 << 0x20 >> 0x20;
521 r1 = "load";■ string · 4 B
523 r0 = fn_44a50(r1, r2, r3, r4);
527 goto L_696c8;● kept as goto
529 r0 = fn_7cab0(r7, 7, &Location("src/router.rs:185:44"));■ string · 20 B
531 r0 = fn_7cae0(r6, 7, &Location("src/router.rs:175:43"));■ string · 20 B
534 r3 = *(u64 *)(0x300007478) << 8 | r7 | -0x10000;
536 r1 = "accounts";■ string · 8 B
539 r0 = fn_44a50(r1, r2, r3, r4);
543 goto L_69510;● kept as goto
549 goto L_694a8;● kept as goto
552 r3 = *(u64 *)(0x300007478) << 8 | local_8e8 | -0x10000;
553 r4 = r9 << 0x20 >> 0x20;
554 r1 = "load";■ string · 4 B
556 r0 = fn_44a50(r1, r2, r3, r4);
562 r1 = *(u64 *)(r2 + 0x10);
564 local_8f0 = *(u64 *)(r2 + 8);
571 if (r3 <= local_8f0) {
572 *(u64 *)(local_8d0 + 0x10) = r3;
573 if (*(u64 *)(0x300006c90) != 0) {
577 r1 = *(u64 *)(*(u32 *)(0x300006c9c) << 0x20 | *(u32 *)(0x300006c98));
578 r2 = *(u64 *)(r6 + 8);
579 if (r2 != *(u64 *)(r1 + 8)) {
583 if (*(u8 *)(r3 + 2) == 0) {
591 r9 = ((r9 & 0xff) << 8) + r1;
592 if (((r2 | r1) & 1) == 0) {
597 *(u8 *)(&local_860_u64 + r8) = r9;
601 r2 = local_85e << 0x18 | local_860_u16 << 8;
602 r4 = local_85d << 0x20;
606 goto L_692f8;● kept as goto
613 if (*(u8 *)(&local_860_u64 + r1) != (r9 & 0xff)) {
621 r3 = local_8e8 | -0x100;
622 r1 = "group_tokens";■ string · 12 B
625 r0 = fn_44a50(r1, r2, r3, r4);
629 goto L_686d8;● kept as goto
631 r0 = fn_7cab0(3, 3, &Location("src/token.rs:232:13"));■ string · 19 B
633 r0 = fn_7cae0(4, 3, &Location("src/token.rs:229:29"));■ string · 19 B
636 r3 = local_8e8 | -0x100;
637 r1 = "group_tokens";■ string · 12 B
640 r0 = fn_44a50(r1, r2, r3, r4);
646 local_930 = r7 + 0x10;
647 r5 = *(u8 *)(0x300006f22);
651 r3 = *(u64 *)(local_930);
653 if (*(u8 *)(r3 + 3) == 0) {
656 goto L_68d90;● kept as goto
658 r2 = *(u64 *)(r3 + 8);
659 if (r2 == -0x21708a111e0922fa) {
661 if (*(u64 *)(r3 + 0x10) != -0x2532931b43a2bde8) {
662 goto L_68d88;● kept as goto
664 if (*(u64 *)(r3 + 0x18) != 0x270db9834dfc1ab6) {
665 goto L_68d88;● kept as goto
667 r4 = *(u64 *)(r3 + 0x20);
668 r3 = -0x3745e27d7064202;
670 goto L_68d88;● kept as goto
672 r5 = -0x2532931b43a2bde8;
673 r4 = 0x270db9834dfc1ab6;
676 if (*(u64 *)(r6 + 0x28) != r2) {
680 goto L_68d88;● kept as goto
682 if (*(u64 *)(r6 + 0x30) != r5) {
683 goto L_68e48;● kept as goto
686 if (*(u64 *)(r6 + 0x38) != r4) {
687 goto L_68d88;● kept as goto
690 if (*(u64 *)(r6 + 0x40) != r3) {
691 goto L_68ad8;● kept as goto
696 goto L_68ad8;● kept as goto
698 *(u8 *)(r6) = r2 + -1;
699 r0 = fn_799b0(&local_430_u64, r6 + 0x58, *(u64 *)(r6 + 0x50), local_970);
710 r2 = *(u8 *)(r6) + 1;
711 if ((r2 & 0xff) == r2) {
713 goto L_68d98;● kept as goto
715 r0 = fn_7caf0(&Location("src/lib.rs:511:18"));■ string · 17 B
726 r9 = *(u8 *)(0x300006f22);
728 goto L_692a0;● kept as goto
731 r1 = *(u64 *)(local_958);
732 if (*(u64 *)(r1 + 0x28) != 0) {
737 if (local_980 == 0) {
740 *(u64 *)(r1 + 0x300006e30) = r0;
741 *(u64 *)(r1 + 0x300006e28) = r6;
742 *(u64 *)(r1 + 0x300006e20) = r7;
744 *(u16 *)(r1 + 0x300006cb0) = local_988;
745 *(u64 *)(r1 + 0x300006ca8) = local_980;
746 *(u64 *)(r1 + 0x300006ca0) = local_930;
747 *(u64 *)(r1 + 0x300006c98) = local_960;
748 *(u64 *)(r1 + 0x300006c90) = local_958;
750 if (local_990 != 2) {
752 *(u8 *)(r9 + 0x300006f23) = r1;
753 r1 = *(u8 *)(0x300006f22) + 1;
755 if ((r1 & 0xff) == r1) {
756 *(u8 *)(0x300006f22) = r1;
757 r1 = *(u8 *)(local_8d8) + 1;
758 if ((r1 & 0xff) == r1) {
759 *(u8 *)(local_8d8) = r1;
762 goto L_68da0;● kept as goto
764 r0 = fn_7caf0(&Location("src/lib.rs:511:18"));■ string · 17 B
769 goto L_691a8;● kept as goto
771 r1 = local_988 & 0xffff;
773 goto L_69010;● kept as goto
776 r0 = fn_808c0(r0, 0x40c3880000000000);
778 r0 = fn_80060(local_980);
780 r0 = fn_808c0(r0, r7);
783 goto L_69010;● kept as goto
785 if (*(u64 *)(r1 + 0x30) != 0) {
786 goto L_68f60;● kept as goto
788 if (*(u64 *)(r1 + 0x38) != 0) {
789 goto L_68f60;● kept as goto
791 if (*(u64 *)(r1 + 0x40) != 0) {
792 goto L_68f60;● kept as goto
794 if (*(u64 *)(r1 + 0x50) != 0) {
795 goto L_68f60;● kept as goto
797 *(u8 *)(r9 + 0x300006f18) = r2 & 1;
798 goto L_68f60;● kept as goto
800 local_988 = local_428_u16;
801 local_980 = local_430_u64;
803 goto L_68e80;● kept as goto
805 if (r2 != -0x6c5e9a281e0922fa) {
806 goto L_68d88;● kept as goto
808 if (*(u64 *)(r3 + 0x10) != -0x53861431b91e3427) {
809 goto L_68d88;● kept as goto
811 if (*(u64 *)(r3 + 0x18) != -0x6ec8a4a0127a4be4) {
812 goto L_68d88;● kept as goto
814 r4 = *(u64 *)(r3 + 0x20);
815 r3 = -0x56ff00817a0a73c6;
817 goto L_68d88;● kept as goto
819 r5 = -0x53861431b91e3427;
820 r4 = -0x6ec8a4a0127a4be4;
822 goto L_68c80;● kept as goto
830 goto L_68be8;● kept as goto
832 r0 = *(u64 *)(r4 - 0x10);
834 goto L_68be8;● kept as goto
836 r1 = *(u64 *)(*(u64 *)(r4 - 8));
837 if (*(u64 *)(r1 + 8) != r2) {
842 goto L_68ae0;● kept as goto
846 if (*(u64 *)(r1 + 0x10) != *(u64 *)(local_8d8 + 0x10)) {
847 goto L_688e0;● kept as goto
849 if (*(u64 *)(r1 + 0x18) != *(u64 *)(local_8d8 + 0x18)) {
850 goto L_688e0;● kept as goto
852 if (*(u64 *)(r1 + 0x20) != *(u64 *)(local_8d8 + 0x20)) {
853 goto L_688e0;● kept as goto
859 if (*(u64 *)(r2 + 8) != *(u64 *)(r3 + 8)) {
860 goto L_68be8;● kept as goto
862 if (*(u64 *)(r2 + 0x10) != *(u64 *)(r3 + 0x10)) {
863 goto L_68be8;● kept as goto
865 if (*(u64 *)(r2 + 0x18) != *(u64 *)(r3 + 0x18)) {
866 goto L_68be8;● kept as goto
868 if (*(u64 *)(r2 + 0x20) != *(u64 *)(r3 + 0x20)) {
869 goto L_68be8;● kept as goto
872 r2 = *(u64 *)(local_930);
875 if (*(u64 *)(r3 + 8) != *(u64 *)(r2 + 8)) {
876 goto L_68d88;● kept as goto
878 if (*(u64 *)(r3 + 0x10) != *(u64 *)(r2 + 0x10)) {
879 goto L_68d88;● kept as goto
881 if (*(u64 *)(r3 + 0x18) != *(u64 *)(r2 + 0x18)) {
882 goto L_68d88;● kept as goto
884 if (*(u64 *)(r3 + 0x20) != *(u64 *)(r2 + 0x20)) {
885 goto L_68d88;● kept as goto
899 goto L_68da0;● kept as goto
901 if (*(u64 *)(r6 + 0x10) != *(u64 *)(r1 + 0x10)) {
902 goto L_68850;● kept as goto
904 if (*(u64 *)(r6 + 0x18) != *(u64 *)(r1 + 0x18)) {
905 goto L_68850;● kept as goto
907 if (*(u64 *)(r6 + 0x20) != *(u64 *)(r1 + 0x20)) {
908 goto L_68850;● kept as goto
911 r3 = local_8e8 | -0x100;
912 r1 = "group_tokens";■ string · 12 B
915 r0 = fn_44a50(r1, r2, r3, r4);
921 r3 = local_8e8 | -0x100;
922 r1 = "group_tokens";■ string · 12 B
925 r0 = fn_44a50(r1, r2, r3, r4);
930 r0 = fn_7cab0(r7, 3, &Location("src/instruction.rs:144:19"));■ string · 25 B
935 r0 = fn_7caf0(&Location("src/token.rs:282:9"));■ string · 18 B
938 r1 = *(u64 *)(r2 + 0x10);
939 r2 = *(u64 *)(r2 + 8);
941 r0 = fn_7caf0(&Location("src/accounts.rs:58:9"));■ string · 20 B