3485
3486 // discriminator 122ff0ff4fbfa536● found in the code at .text+0x33618
3487 // no args read (or decoded deeper than revrsly follows)
3488 ▾ pub fn sync_rewards(ctx: Context<SyncRewards>) -> Result<()> {● its sha256 matches the discriminator
3489 // Recovered handler logic (register-level reconstruction of `sync_rewards_handler`; r1..r5 were the
3490 // dispatch arguments: program_id, accounts slice, instruction data). Calls to other fn_*
3491 // are in pseudocode.c. This is not the author's source and will not compile.
3492 let mut local_1000: u64 = 0;
3493 let mut local_ff8: u64 = 0;
3494 let mut local_ff0: u64 = 0;
3495 let mut local_fe8: u64 = 0;
3496 let mut local_fe0: u64 = 0;
3497 r7 = r3;
3498 r8 = r2;
3499 r6 = r1;
3500 sol_log_("Instruction: SyncRewards", 0x18); // log a string■ string · 24 B
3501 local_fe0 = r7;
3502 local_fe8 = r8;
3503 r0 = sync_rewards_try_accounts(&local_1000, r6, &local_fe8);
3504 r1 = local_ff0;
3505 r0 = local_ff8;
3506 r3 = local_1000;
3507 if r3 != 0 {
3508 local_ff0 = r1;
3509 local_ff8 = r0;
3510 local_1000 = r3;
3511 r0 = fn_33ec8(r1, r0, r3);
3512 if r0 == 2 {
3513 r0 = fn_932a8(&local_1000, r6);
3514 }
3515 }
3516 return r0;
3517 }
3518