//
// GameStatsManager::hasPendingUserCoin from 0x1003cfe74 to 0x1003cfec8 (84 bytes)
//
// 8 xrefs:
// > LevelInfoLayer::updateLabelValues @ 0x10002d40c
// > sub_1000BD74C @ 0x1000bda78
// > LevelCell::loadCustomLevelCell @ 0x100135018
// > PauseLayer::customSetup @ 0x1001beddc
// > GJBaseGameLayer::hasUniqueCoin @ 0x100284f04
// > GJBaseGameLayer::processItems @ 0x1002856a8
// > EndLevelLayer::customSetup @ 0x100393348
// > sub_1003CFD70 @ 0x1003cfdd4
//
// 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 11:04:10 +0000
//
bool __fastcall GameStatsManager::hasPendingUserCoin(__int64 a1, char *a2)
{
__int64 v2; // x19
__int64 v3; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
v2 = *(_QWORD *)(a1 + 624);
sub_100009900(__p, a2);
v3 = cocos2d::CCDictionary::objectForKey(v2, __p);
if ( v6 < 0 )
operator delete(__p[0]);
return v3 != 0;
}