3731
3732 // discriminator 23e9b4418200426c● found in the code at .text+0x337d8
3733 // no args read (or decoded deeper than revrsly follows)
3734 ▾ pub fn unblock_name(ctx: Context<UnblockName>) -> Result<()> {● its sha256 matches the discriminator
3735 // Recovered handler logic (register-level reconstruction of `unblock_name_handler`; r1..r5 were the
3736 // dispatch arguments: program_id, accounts slice, instruction data). Calls to other fn_*
3737 // are in pseudocode.c. This is not the author's source and will not compile.
3738 let mut local_1000: u64 = 0;
3739 let mut local_ff8: u64 = 0;
3740 let mut local_ff0: u64 = 0;
3741 let mut local_fe8: u64 = 0;
3742 let mut local_fe0: u64 = 0;
3743 let mut local_f00: u64 = 0;
3744 let mut local_ef8: u64 = 0;
3745 let mut local_ef0: u64 = 0;
3746 let mut local_ee8: u64 = 0;
3747 let mut local_e08: u64 = 0;
3748 let mut local_e00: u64 = 0;
3749 let mut local_df8: u64 = 0;
3750 let mut local_de0: u64 = 0;
3751 let mut local_0: u64 = 0;
3752 let mut frame_up_8: u64 = 0;
3753 r6 = r5;
3754 local_de0 = r4;
3755 r9 = r3;
3756 r8 = r2;
3757 r7 = r1;
3758 sol_log_("Instruction: UnblockName", 0x18); // log a string■ string · 24 B
3759 if r6 > 0x1f {
3760 local_e00 = r9;
3761 local_e08 = r8;
3762 frame_up_8 = &local_df8;
3763 local_0 = &local_1000;
3764 r0 = unblock_name_try_accounts(&local_ff8, r7, &local_e08, local_de0, r6);
3765 r1 = local_fe8;
3766 r0 = local_ff0;
3767 r6 = local_ff8;
3768 if r6 != 0 {
3769 r7 = r1;
3770 r8 = r0;
3771 r0 = fn_f4c90(&local_ee8, &local_fe0, 0xe0);
3772 local_ef0 = r7;
3773 local_ef8 = r8;
3774 local_f00 = r6;
3775 r0 = fn_9d5b8(&local_f00);
3776 }
3777 } else {
3778 r0 = fn_e1060(0xc880); // &"failed to fill whole buffer"
3779 r1 = r0 & 3;
3780 if (r1 + -2) >= 2 {
3781 if r1 != 0 {
3782 r2 = *((*((r0 + 7) as *const u64)) as *const u64);
3783 if r2 != 0 {
3784 r1 = *((r0 - 1) as *const u64);
3785 r0 = call_indirect(r2, r1, r2, r3, r4, r5);
3786 }
3787 }
3788 }
3789 r0 = fn_d6d20(0x66); // Anchor error 102 InstructionDidNotDeserialize?
3790 }
3791 return r0;
3792 }
3793