//
// RewardUnlockLayer::step3 from 0x1405646d0 to 0x1405646e5 (21 bytes)
//
// 2 xrefs:
// > RewardUnlockLayer::step2 @ 0x140564689
// > ??> @ 0x14092c534
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:34:16 +0000
//
__int64 __fastcall RewardUnlockLayer::step3(__int64 a1)
{
bool v1; // zf
__int64 result; // rax
v1 = *(_BYTE *)(a1 + 700) == 0;
*(_BYTE *)(a1 + 701) = 1;
if ( !v1 )
return RewardUnlockLayer::playRewardEffect(a1);
return result;
}