// // GameStatsManager::isItemEnabled from 0x52b9b8 to 0x52ba1e (102 bytes) // // 10 xrefs: // > PlayLayer::toggleMusicInPractice @ 0x3ff498 // > PlayerObject::init @ 0x447270 // > PlayerObject::init @ 0x447280 // > PlayerObject::init @ 0x447290 // > GJGarageLayer::onToggleItem @ 0x50bc0e // > GJGarageLayer::setupSpecialPage @ 0x50f044 // > GameOptionsLayer::onPracticeMusicSync @ 0x5db780 // > GameOptionsLayer::setupOptions @ 0x5e2228 // > GameSettingsLayer::getValue @ 0x711be4 // > GameSettingsLayer::valueDidChange @ 0x711c84 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:52:00 +0000 // int __fastcall GameStatsManager::isItemEnabled(GameStatsManager *a1, int a2, int a3) { int isItemUnlocked; // r6 cocos2d::CCString *v7; // r0 _BYTE v9[12]; // [sp+0h] [bp-14h] BYREF isItemUnlocked = GameStatsManager::isItemUnlocked(a1, a2, a3); if ( isItemUnlocked ) { GameStatsManager::getItemKey((GameStatsManager *)v9, (int)a1, a3, a2); v7 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*((_DWORD *)a1 + 127), v9); isItemUnlocked = cocos2d::CCString::boolValue(v7) > 0; std::string::~string((int)v9); } return isItemUnlocked; }
GD Web Decomp Icon

GD Web Decomp

Raw Source