//
// GJShopLayer::updateCurrencyCounter from 0xa7c6c8 to 0xa7c6fc (52 bytes)
//
// 3 xrefs:
// > ??> @ 0x50638
// > GJShopLayer::rewardedVideoFinished @ 0xa7c664
// > ??> @ 0x1541b50
//
// 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:29 +0000
//
__int64 __fastcall GJShopLayer::updateCurrencyCounter(GJShopLayer *this)
{
CCCounterLabel *v1; // x19
GameStatsManager *v2; // x0
int Stat; // w0
v1 = *((CCCounterLabel **)this + 55);
v2 = (GameStatsManager *)GameStatsManager::sharedState(this);
Stat = GameStatsManager::getStat(v2, (const char *)&word_1217DE8);
return CCCounterLabel::setTargetCount(v1, Stat);
}