//
// ChallengesPage::currencyWillExit from 0x906894 to 0x9068b0 (28 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'ChallengesPage::currencyWillExit @ 0x9068b4
// > ??> @ 0x9a3e0
// > ??> @ 0x11a8628
//
// 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; // x2
m_currencyRewardLayer = a1->m_currencyRewardLayer;
if ( m_currencyRewardLayer == a2 )
{
if ( m_currencyRewardLayer )
a1->m_currencyRewardLayer = nullptr;
}
}