//
// GJShopLayer::updateCurrencyCounter from 0x100310660 to 0x100310691 (49 bytes)
//
// 2 xrefs:
// > GJShopLayer::rewardedVideoFinished @ 0x100310631
// > sub_1003106A0 @ 0x1003106c5
//
// This function is hookable on this platform (idp: pc, 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 12:28:38 +0000
//
__int64 __fastcall GJShopLayer::updateCurrencyCounter(__int64 a1, __m128 a2)
{
__int64 v2; // rbx
__int64 v3; // rax
unsigned int Stat; // eax
v2 = *(_QWORD *)(a1 + 440);
v3 = GameStatsManager::sharedState();
Stat = GameStatsManager::getStat(v3, "14", a2);
return CCCounterLabel::setTargetCount(v2, Stat);
}