//
// ChallengesPage::currencyWillExit from 0xa620e0 to 0xa620fc (28 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'ChallengesPage::currencyWillExit @ 0xa62100
// > ??> @ 0xcb6e0
// > ??> @ 0x148f588
//
// This function is hookable on this platform (idp: arm, 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 13:00:15 +0000
//
__int64 __fastcall ChallengesPage::currencyWillExit(__int64 result, __int64 a2)
{
__int64 v2; // x2
v2 = *(_QWORD *)(result + 720);
if ( v2 == a2 )
{
if ( v2 )
*(_QWORD *)(result + 720) = 0;
}
return result;
}