// // GameStatsManager::hasSecretCoin from 0x8cb280 to 0x8cb39c (284 bytes) // // 26 xrefs: // > GameManager::verifySyncedCoins @ 0x714bf8 // > GameManager::verifySyncedCoins @ 0x714c24 // > GameManager::verifySyncedCoins @ 0x714c50 // > GameManager::verifySyncedCoins @ 0x714cb0 // > GameManager::verifySyncedCoins @ 0x714ccc // > GameManager::verifySyncedCoins @ 0x714ce8 // > GameManager::verifySyncedCoins @ 0x714d38 // > GameManager::verifySyncedCoins @ 0x714d64 // > GameManager::verifySyncedCoins @ 0x714d90 // > GameManager::verifyCoinUnlocks @ 0x7232a4 // > GameManager::verifyCoinUnlocks @ 0x7232d0 // > GameManager::verifyCoinUnlocks @ 0x7232fc // > GameManager::verifyCoinUnlocks @ 0x723364 // > GameManager::verifyCoinUnlocks @ 0x723380 // > GameManager::verifyCoinUnlocks @ 0x72339c // > GameManager::verifyCoinUnlocks @ 0x725330 // > GameManager::verifyCoinUnlocks @ 0x72535c // > GameManager::verifyCoinUnlocks @ 0x725388 // > PauseLayer::customSetup @ 0x7d9548 // > LevelPage::updateDynamicPage @ 0x8c7628 // > GameStatsManager::getCollectedCoinsForLevel @ 0x8cb3d4 // > EndLevelLayer::customSetup @ 0x8fd3e0 // > GJBaseGameLayer::hasUniqueCoin @ 0x99e7fc // > GJBaseGameLayer::processItems @ 0x9aea3c // > LevelAreaInnerLayer::init @ 0xb5d0ec // > @ 0x974f8 // // 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 12:56:36 +0000 // bool __fastcall GameStatsManager::hasSecretCoin(GameStatsManager *this, const char *a2) { __int64 v2; // x23 const char *SecretCoinKey; // x24 size_t v4; // x0 size_t v5; // x19 unsigned __int64 v6; // x0 char *v7; // x3 _BOOL4 v8; // w19 __int64 v10; // [xsp+40h] [xbp+40h] BYREF size_t v11; // [xsp+48h] [xbp+48h] void *v12; // [xsp+50h] [xbp+50h] v2 = *((_QWORD *)this + 65); v10 = 0; SecretCoinKey = (const char *)GameStatsManager::getSecretCoinKey(this, a2); v11 = 0; v12 = nullptr; v4 = strlen(SecretCoinKey); v5 = v4; if ( v4 > 0xFFFFFFFFFFFFFFEFLL ) sub_62CC1C(); if ( v4 > 0x16 ) { v6 = (v4 + 16) & 0xFFFFFFFFFFFFFFF0LL; v10 = v6 | 1; v7 = (char *)operator new(v6); v12 = v7; v11 = v5; LABEL_4: v7 = (char *)memcpy(v7, SecretCoinKey, v5); goto LABEL_5; } LOBYTE(v10) = 2 * v4; v7 = (char *)&v10 + 1; if ( v4 ) goto LABEL_4; LABEL_5: v7[v5] = 0; v8 = cocos2d::CCDictionary::objectForKey(v2, &v10) != 0; if ( (v10 & 1) != 0 ) operator delete(v12); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source