//
// GameStatsManager::storeSecretCoin from 0x1003320c8 to 0x100332130 (104 bytes)
//
// 4 xrefs:
// > GJBaseGameLayer::processItems @ 0x1001e9d78
// > SecretLayer2::onSubmit @ 0x10030abf8
// > SecretLayer::onSubmit @ 0x1003be244
// > LevelPage::ccTouchBegan @ 0x100405be0
//
// 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 __fastcall GameStatsManager::storeSecretCoin(GameStatsManager *a1, const char *a2)
{
cocos2d::CCDictionary *m_playerStats; // x19
cocos2d::CCString *m_trueString; // x20
cocos2d::CCString *v4; // x0
char *CString; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
m_playerStats = a1->m_playerStats;
m_trueString = a1->m_trueString;
v4 = (cocos2d::CCString *)sub_100268F4C("unique_%s", a2);
CString = (char *)cocos2d::CCString::getCString(v4);
sub_100009900(__p, CString);
cocos2d::CCDictionary::setObject_1(m_playerStats, m_trueString, __p);
if ( v7 < 0 )
operator delete(__p[0]);
}