//
// ChallengesPage::currencyWillExit from 0x4cb92a to 0x4cb93c (18 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'ChallengesPage::currencyWillExit @ 0x4cb940
//
// 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 ChallengesPage::currencyWillExit(ChallengesPage *a1, CurrencyRewardLayer *a2)
{
CurrencyRewardLayer *m_currencyRewardLayer; // r3
m_currencyRewardLayer = a1->m_currencyRewardLayer;
if ( m_currencyRewardLayer )
{
if ( m_currencyRewardLayer == a2 )
a1->m_currencyRewardLayer = nullptr;
}
}