//
// ChallengesPage::currencyWillExit from 0x100032db8 to 0x100032dd0 (24 bytes)
//
// 1 xrefs:
// > ??> @ 0x100768588
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall ChallengesPage::currencyWillExit(ChallengesPage *a1, CurrencyRewardLayer *a2)
{
CurrencyRewardLayer *m_currencyRewardLayer; // x8
bool v3; // zf
m_currencyRewardLayer = a1->m_currencyRewardLayer;
if ( m_currencyRewardLayer )
v3 = m_currencyRewardLayer == a2;
else
v3 = 0;
if ( v3 )
a1->m_currencyRewardLayer = nullptr;
}