once ❝ published name Reconstructed 91.5% of control flow structured Anchor ◇ GRzKU9i3Cs7A5Euf9gGZjbRnpypw7DzaU3hWRfUgpYTa copy decompiled 22 Oct 2026
Identity · published metadata ▾
Loader ■ v3 · upgradeable
sBPF ■ v0
Size ■ 556,728 bytes
Instructions ● 58,814
Functions ● 412
SHA-256 ● 23200e76…1d4a7b42
Upgrade authority ■ 8gop…M677
Last deploy slot ■ 459,519,774 ❝ Published by the authors · their claims, not revrsly output Verified build github.com/call-once/once-program @ 1ee2ebf · ✓ hash matches this bytecode IDL · none publishedsecurity.txt · embedded ■ read from the bytes view Loading the reconstruction…
once · revrsly
Functions
Other functions 354
+ 294 more · type to filter
call_try_accounts ▾
pseudocode.c fn call_try_accounts · .text+0x2c640 · 2,203 ins · 450 blocks · 2,385 lines · structured where the control flow allows copy ↓ .c download pseudocode.c 1 // call_try_accounts · 2203 instructions · 1 caller · 80 gotos
2 // panic locations in this function: src/syscalls.rs:279, /home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449
3 u64 call_try_accounts ( u64 r1, u64 r2,
Evidence why revrsly believes it ×
Function ◇ Inferred
call_try_accounts
◇ Anchor's account loader for call: the first call after its "Instruction: Call" that can raise AccountNotEnoughKeys (3005).
● .text+0x2c640 · 2,203 instructions · 450 blocks
● 1 caller
◇ takes 5 arguments (from register use)
u64
r3,
u64
r4,
u64
r5) {
377 r0 = fn_a368(&local_450, r2, r3);
383 r2 = *( u64 *)( 0x300000000 );
402 if (r1 <= 0x300000007 ) {
403 r3 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449:29" ); ■ string · 90 B
404 r0 = fn_67b18( 1 , 6 , r3);
406 *( u64 *)( 0x300000000 ) = r1;
407 *( u16 *)(r1 + 4 ) = 0x7265 ;
408 *( u32 *)(r1) = 0x646c6f68 ;
410 *( u64 *)(r3 + 0x10 ) = r1;
411 *( u64 *)(r3 + 0x18 ) = 6 ;
412 *( u64 *)(r3 + 8 ) = 6 ;
415 *( u64 *)(r1 + 0x10 ) = r3;
416 *( u64 *)(r1 + 8 ) = r6;
425 goto L_2c8d8; ● kept as goto
427 goto L_2c818; ● kept as goto
432 if (r1 <= 0x300000007 ) {
433 r3 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449:29" ); ■ string · 90 B
434 r0 = fn_67b18( 1 , 6 , r3);
436 *( u64 *)( 0x300000000 ) = r1;
437 *( u16 *)(r1 + 4 ) = 0x7265 ;
438 *( u32 *)(r1) = 0x646c6f68 ;
440 *( u64 *)(r3 + 0x10 ) = r1;
441 *( u64 *)(r3 + 0x18 ) = 6 ;
442 *( u64 *)(r3 + 8 ) = 6 ;
445 *( u64 *)(r1 + 0x10 ) = r3;
446 *( u64 *)(r1 + 8 ) = r6;
450 local_9f8 = *( u64 *)(r9 - 0xff0 );
451 r2 = *( u64 *)(r9 - 0xff8 );
453 r6 = *( u64 *)(r9 - 0x1000 );
457 r0 = fn_a568(&pda, r2, r8);
462 r2 = *( u64 *)( 0x300000000 );
471 if (r1 <= 0x300000007 ) {
472 r3 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449:29" ); ■ string · 90 B
473 r0 = fn_67b18( 1 , 6 , r3);
475 *( u64 *)( 0x300000000 ) = r1;
476 *( u16 *)(r1 + 4 ) = 0x6769 ;
477 *( u32 *)(r1) = 0x666e6f63 ;
479 *( u64 *)(r7 + 0x10 ) = r1;
480 *( u64 *)(r7 + 0x18 ) = 6 ;
481 *( u64 *)(r7 + 8 ) = 6 ;
484 *( u64 *)(r1 + 0x10 ) = r7;
485 *( u64 *)(r1 + 8 ) = r6;
490 if (r1 <= 0x300000007 ) {
491 r3 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449:29" ); ■ string · 90 B
492 r0 = fn_67b18( 1 , 6 , r3);
494 *( u64 *)( 0x300000000 ) = r1;
495 *( u16 *)(r1 + 4 ) = 0x6769 ;
496 *( u32 *)(r1) = 0x666e6f63 ;
498 *( u64 *)(r7 + 0x10 ) = r1;
499 *( u64 *)(r7 + 0x18 ) = 6 ;
500 *( u64 *)(r7 + 8 ) = 6 ;
503 *( u64 *)(r1 + 0x10 ) = r7;
504 *( u64 *)(r1 + 8 ) = r6;
512 if (r1 <= 0x300000007 ) {
513 r3 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449:29" ); ■ string · 90 B
514 r0 = fn_67b18( 1 , 6 , r3);
516 *( u64 *)( 0x300000000 ) = r1;
517 *( u16 *)(r1 + 4 ) = 0x6769 ;
518 *( u32 *)(r1) = 0x666e6f63 ;
520 *( u64 *)(r7 + 0x10 ) = r1;
521 *( u64 *)(r7 + 0x18 ) = 6 ;
522 *( u64 *)(r7 + 8 ) = 6 ;
525 *( u64 *)(r1 + 0x10 ) = r7;
526 *( u64 *)(r1 + 8 ) = r6;
532 if (r1 > 0x300000007 ) {
533 *( u64 *)( 0x300000000 ) = r1;
534 *( u16 *)(r1 + 4 ) = 0x6769 ;
535 *( u32 *)(r1) = 0x666e6f63 ;
537 *( u64 *)(r7 + 0x10 ) = r1;
538 *( u64 *)(r7 + 0x18 ) = 6 ;
539 *( u64 *)(r7 + 8 ) = 6 ;
542 *( u64 *)(r1 + 0x10 ) = r7;
543 *( u64 *)(r1 + 8 ) = r6;
547 r3 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449:29" ); ■ string · 90 B
548 r0 = fn_67b18( 1 , 6 , r3);
552 goto L_2c9b8; ● kept as goto
554 goto L_2c778; ● kept as goto
557 r5 = *( u64 *)( 0x300000000 );
567 if (r1 <= 0x300000007 ) {
568 r0 = fn_67b38( 8 , 0xb0 );
574 r0 = memcpy (r1, &pda, 0xb0 );
576 r0 = fn_a6c8(&pda, r2, r8);
598 if (r1 <= 0x300000007 ) {
599 r3 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449:29" ); ■ string · 90 B
600 r0 = fn_67b18( 1 , 4 , r3);
602 *( u64 *)( 0x300000000 ) = r1;
603 *( u32 *)(r1) = 0x6c6c6163 ;
605 *( u64 *)(r7 + 0x10 ) = r1;
606 *( u64 *)(r7 + 0x18 ) = 4 ;
607 *( u64 *)(r7 + 8 ) = 4 ;
610 *( u64 *)(r1 + 0x10 ) = r7;
611 *( u64 *)(r1 + 8 ) = r6;
619 goto L_2cc68; ● kept as goto
621 goto L_2cb50; ● kept as goto
624 if (r1 <= 0x300000007 ) {
625 r3 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449:29" ); ■ string · 90 B
626 r0 = fn_67b18( 1 , 4 , r3);
628 *( u64 *)( 0x300000000 ) = r1;
629 *( u32 *)(r1) = 0x6c6c6163 ;
631 *( u64 *)(r7 + 0x10 ) = r1;
632 *( u64 *)(r7 + 0x18 ) = 4 ;
633 *( u64 *)(r7 + 8 ) = 4 ;
636 *( u64 *)(r1 + 0x10 ) = r7;
637 *( u64 *)(r1 + 8 ) = r6;
652 if (r1 > 0x300000007 ) {
656 r0 = memcpy (r1, &pda, 0xd8 );
657 r0 = fn_628(&pda, r2, r8, r4, fp);
675 r3 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449:29" ); ■ string · 90 B
676 r0 = fn_67b18( 1 , 5 , r3);
678 *( u64 *)( 0x300000000 ) = r1;
679 *( u8 *)(r1 + 4 ) = 0x74 ;
680 *( u32 *)(r1) = 0x6c756176 ;
682 *( u64 *)(r7 + 0x10 ) = r1;
683 *( u64 *)(r7 + 0x18 ) = 5 ;
684 *( u64 *)(r7 + 8 ) = 5 ;
687 *( u64 *)(r1 + 0x10 ) = r7;
688 *( u64 *)(r1 + 8 ) = r6;
693 r3 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449:29" ); ■ string · 90 B
694 r0 = fn_67b18( 1 , 5 , r3);
696 *( u64 *)( 0x300000000 ) = r1;
697 *( u8 *)(r1 + 4 ) = 0x74 ;
698 *( u32 *)(r1) = 0x6c756176 ;
700 *( u64 *)(r7 + 0x10 ) = r1;
701 *( u64 *)(r7 + 0x18 ) = 5 ;
702 *( u64 *)(r7 + 8 ) = 5 ;
705 *( u64 *)(r1 + 0x10 ) = r7;
706 *( u64 *)(r1 + 8 ) = r6;
715 *( u64 *)( 0x300000000 ) = r1;
716 *( u8 *)(r1 + 4 ) = 0x74 ;
717 *( u32 *)(r1) = 0x6c756176 ;
719 *( u64 *)(r7 + 0x10 ) = r1;
720 *( u64 *)(r7 + 0x18 ) = 5 ;
721 *( u64 *)(r7 + 8 ) = 5 ;
724 *( u64 *)(r1 + 0x10 ) = r7;
725 *( u64 *)(r1 + 8 ) = r6;
729 r3 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449:29" ); ■ string · 90 B
730 r0 = fn_67b18( 1 , 5 , r3);
734 r3 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449:29" ); ■ string · 90 B
735 r0 = fn_67b18( 1 , 5 , r3);
737 *( u64 *)( 0x300000000 ) = r1;
738 *( u8 *)(r1 + 4 ) = 0x74 ;
739 *( u32 *)(r1) = 0x6c756176 ;
741 *( u64 *)(r7 + 0x10 ) = r1;
742 *( u64 *)(r7 + 0x18 ) = 5 ;
743 *( u64 *)(r7 + 8 ) = 5 ;
746 *( u64 *)(r1 + 0x10 ) = r7;
747 *( u64 *)(r1 + 8 ) = r6;
756 goto L_2cda8; ● kept as goto
758 goto L_2cf10; ● kept as goto
761 goto L_2cef0; ● kept as goto
763 goto L_2cd90; ● kept as goto
776 if (r1 <= 0x300000007 ) {
777 r0 = fn_67b38( 8 , 0xd8 );
782 r0 = memcpy (r1, &pda, 0xd8 );
784 r0 = fn_578(&pda, r2, r8);
802 r3 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449:29" ); ■ string · 90 B
803 r0 = fn_67b18( 1 , 4 , r3);
805 *( u64 *)( 0x300000000 ) = r1;
806 *( u32 *)(r1) = 0x746e696d ;
808 *( u64 *)(r7 + 0x10 ) = r1;
809 *( u64 *)(r7 + 0x18 ) = 4 ;
810 *( u64 *)(r7 + 8 ) = 4 ;
813 *( u64 *)(r1 + 0x10 ) = r7;
814 *( u64 *)(r1 + 8 ) = r6;
819 r3 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449:29" ); ■ string · 90 B
820 r0 = fn_67b18( 1 , 4 , r3);
822 *( u64 *)( 0x300000000 ) = r1;
823 *( u32 *)(r1) = 0x746e696d ;
825 *( u64 *)(r7 + 0x10 ) = r1;
826 *( u64 *)(r7 + 0x18 ) = 4 ;
827 *( u64 *)(r7 + 8 ) = 4 ;
830 *( u64 *)(r1 + 0x10 ) = r7;
831 *( u64 *)(r1 + 8 ) = r6;
840 *( u64 *)( 0x300000000 ) = r1;
841 *( u32 *)(r1) = 0x746e696d ;
843 *( u64 *)(r7 + 0x10 ) = r1;
844 *( u64 *)(r7 + 0x18 ) = 4 ;
845 *( u64 *)(r7 + 8 ) = 4 ;
848 *( u64 *)(r1 + 0x10 ) = r7;
849 *( u64 *)(r1 + 8 ) = r6;
853 r3 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449:29" ); ■ string · 90 B
854 r0 = fn_67b18( 1 , 4 , r3);
858 r3 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs:449:29" ); ■ string · 90 B
859 r0 = fn_67b18( 1 , 4 , r3);
861 *( u64 *)( 0x300000000 ) = r1;
862 *( u32 *)(r1) = 0x746e696d ;
864 *( u64 *)(r7 + 0x10 ) = r1;
865 *( u64 *)(r7 + 0x18 ) = 4 ;
866 *( u64 *)(r7 + 8 ) = 4 ;
869 *( u64 *)(r1 + 0x10 ) = r7;
870 *( u64 *)(r1 + 8 ) = r6;
879 goto L_2d070; ● kept as goto
881 goto L_2d188; ● kept as goto
884 goto L_2d168; ● kept as goto
886 goto L_2d058; ● kept as goto
899 if (r9 <= 0x300000007 ) {
900 r0 = fn_67b38( 8 , 0x80 );
903 *( u64 *)( 0x300000000 ) = r9;
904 r0 = memcpy (r9, &pda, 0x80 );
906 r0 = fn_0(&local_438, r2, r8);
910 r0 = fn_5598(&local_468, r2, r3, "token_program" , 0xd ); ■ string · 13 B
917 local_ff0 = local_9f8;
918 local_ff8 = local_9f0;
922 r0 = fn_1af0(&local_428, local_9e8, r8);
926 r0 = fn_5598(&local_478, r2, r3, "usdc_mint" , 9 ); ■ string · 9 B
933 r0 = fn_0(&local_418, r2, r8);
937 r0 = fn_5598(&local_488, r2, r3, "usdc_token_program" , 0x12 ); ■ string · 18 B
943 local_ff0 = local_9f8;
944 local_ff8 = local_9f0;
947 r0 = fn_1948(&local_408, local_9e8, r8, r7);
951 r0 = fn_5598(&local_498, r2, r3, "payment_source" , 0xe ); ■ string · 14 B
957 local_ff0 = local_9f8;
958 local_ff8 = local_9f0;
961 r0 = fn_1948(&local_3f8, local_9e8, r8, r7);
965 r0 = fn_5598(&local_4a8, r2, r7, "payment_destination" , 0x13 ); ■ string · 19 B
970 *( u64 *)(r2 + 0x10 ) = r7;
971 *( u64 *)(r2 + 8 ) = r1;
976 r1 = *( u64 *)(r8 + 8 );
978 r0 = anchor_error_new (&local_9d8, 0xbbd ); // Anchor error 3005 AccountNotEnoughKeys?
982 *( u64 *)(r3 + 0x10 ) = r2;
983 *( u64 *)(r3 + 8 ) = r1;
990 *( u64 *)(r8 + 8 ) = r3;
994 *( u64 *)(r8 + 8 ) = r1 + - 2 ;
999 r0 = fn_b028(&local_3d8, r2, r8);
⋯ ⋯ 1,385 more lines in this function. Download pseudocode.c for all of it.