//
// GameStatsManager::storeSecretCoin from 0x40d064 to 0x40d0b4 (80 bytes)
//
// 4 xrefs:
// > LevelPage::ccTouchBegan @ 0x40ac9a
// > GJBaseGameLayer::processItems @ 0x46f428
// > SecretLayer::onSubmit @ 0x4ca9fe
// > SecretLayer2::onSubmit @ 0x4ed73a
//
// 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 GameStatsManager::storeSecretCoin(GameStatsManager *a1, const char *a2)
{
cocos2d::CCDictionary *m_playerStats; // r7
cocos2d::CCString *m_trueString; // r6
char *SecretCoinKey; // r0
_BYTE v5[4]; // [sp+8h] [bp-Ch] BYREF
m_playerStats = a1->m_playerStats;
m_trueString = a1->m_trueString;
SecretCoinKey = (char *)GameStatsManager::getSecretCoinKey(a1, a2);
sub_776584((int)v5, SecretCoinKey);
cocos2d::CCDictionary::setObject((int)m_playerStats, m_trueString);
sub_774008(v5);
}