// // GameStatsManager::isItemEnabled from 0x41ce88 to 0x41ceec (100 bytes) // // 8 xrefs: // > PlayLayer::toggleMusicInPractice @ 0x30ed44 // > PlayerObject::init @ 0x350d62 // > PlayerObject::init @ 0x350d72 // > PlayerObject::init @ 0x350d82 // > GJGarageLayer::onToggleItem @ 0x403dfa // > GJGarageLayer::setupSpecialPage @ 0x405fe8 // > GameOptionsLayer::onPracticeMusicSync @ 0x4b1a4c // > GameOptionsLayer::setupOptions @ 0x4b4f3a // // 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 // bool GameStatsManager::isItemEnabled(GameStatsManager *a1, UnlockType a2, int a3) { _BOOL4 isItemUnlocked; // r6 cocos2d::CCString *v7; // r0 std::string v9[3]; // [sp+0h] [bp-Ch] BYREF v9[0].m_data.m_data = (stl::StringData::Internal *)a1; v9[1].m_data.m_data = (stl::StringData::Internal *)a2; v9[2].m_data.m_data = (stl::StringData::Internal *)a3; isItemUnlocked = GameStatsManager::isItemUnlocked(a1, a2, a3); if ( isItemUnlocked ) { GameStatsManager::getItemKey((GameStatsManager *)v9, (int)a1, a3, a2); v7 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1->m_enabledItems, v9); LOBYTE(isItemUnlocked) = cocos2d::CCString::boolValue(v7) > 0; sub_774008(v9); } return isItemUnlocked; }
GD Web Decomp Icon

GD Web Decomp

Raw Source