// // GameStatsManager::storeSecretCoin from 0x7a2e90 to 0x7a2f90 (256 bytes) // // 5 xrefs: // > LevelPage::ccTouchBegan @ 0x79ee48 // > GJBaseGameLayer::processItems @ 0x85a608 // > SecretLayer::onSubmit @ 0x904564 // > SecretLayer2::onSubmit @ 0x943894 // > @ 0x44c28 // // 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; // x22 cocos2d::CCString *m_trueString; // x21 char *SecretCoinKey; // x0 void *v5; // x0 unsigned int *v6; // x2 int v7; // w1 __int64 v8; // [xsp+40h] [xbp+40h] BYREF m_playerStats = a1->m_playerStats; m_trueString = a1->m_trueString; SecretCoinKey = (char *)GameStatsManager::getSecretCoinKey(a1, a2); sub_D153B8((int)&v8, SecretCoinKey); cocos2d::CCDictionary::setObject((int)m_playerStats, m_trueString); v5 = (void *)(v8 - 24); if ( (__int64 *)(v8 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v6 = (unsigned int *)(v8 - 8); do v7 = __ldaxr(v6); while ( __stlxr(v7 - 1, v6) ); } else { v7 = *(_DWORD *)(v8 - 8); *(_DWORD *)(v8 - 8) = v7 - 1; } if ( v7 <= 0 ) operator delete(v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source