//
// GJShopLayer::updateCurrencyCounter from 0x1402abc40 to 0x1402abca3 (99 bytes)
//
// 2 xrefs:
// > GJShopLayer::rewardedVideoFinished @ 0x1402abbf8
// > ??> @ 0x1406d2234
//
// 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 GJShopLayer::updateCurrencyCounter(GJShopLayer *a1)
{
GameStatsManager *v2; // rcx
int Stat; // eax
void *v4; // [rsp+30h] [rbp+8h]
v2 = (GameStatsManager *)qword_1406C2EE8;
if ( !qword_1406C2EE8 )
{
v4 = operator new(0x3E0u);
qword_1406C2EE8 = sub_1401D0AE0((__int64)v4);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8);
v2 = (GameStatsManager *)qword_1406C2EE8;
}
Stat = GameStatsManager::getStat(v2, "14");
CCCounterLabel::setTargetCount(a1->m_currencyLabel, Stat);
}