//
// GameStatsManager::hasSecretCoin from 0x1003ce710 to 0x1003ce77c (108 bytes)
//
// 16 xrefs:
// > PauseLayer::customSetup @ 0x1001bed9c
// > GJBaseGameLayer::hasUniqueCoin @ 0x100284ed4
// > GJBaseGameLayer::processItems @ 0x1002856d8
// > EndLevelLayer::customSetup @ 0x100393324
// > sub_1003B0C10 @ 0x1003b0ca4
// > sub_1003B0C10 @ 0x1003b0cc8
// > sub_1003B0C10 @ 0x1003b0cec
// > sub_1003B0C10 @ 0x1003b0d4c
// > sub_1003B0C10 @ 0x1003b0d70
// > sub_1003B0C10 @ 0x1003b0d94
// > sub_1003B0C10 @ 0x1003b0db8
// > sub_1003B0C10 @ 0x1003b0dcc
// > sub_1003B0C10 @ 0x1003b0de0
// > GameStatsManager::getCollectedCoinsForLevel @ 0x1003ce6e8
// > LevelAreaInnerLayer::init @ 0x1003e4330
// > LevelPage::updateDynamicPage @ 0x10048379c
//
// 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::hasSecretCoin(__int64 a1, const char *a2)
{
__int64 v2; // x19
void *v3; // x0
char *CString; // x0
__int64 v5; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v8; // [xsp+1Fh] [xbp-11h]
v2 = *(_QWORD *)(a1 + 520);
v3 = sub_1003065B0("unique_%s", a2);
CString = (char *)cocos2d::CCString::getCString((__int64)v3);
sub_100009900(__p, CString);
v5 = cocos2d::CCDictionary::objectForKey(v2, __p);
if ( v8 < 0 )
operator delete(__p[0]);
return v5 != 0;
}