// // GJOptionsLayer::addGVToggle from 0x4b45d8 to 0x4b4658 (128 bytes) // // 23 xrefs: // > EditorOptionsLayer::setupOptions @ 0x4b46b0 // > EditorOptionsLayer::setupOptions @ 0x4b46c2 // > EditorOptionsLayer::setupOptions @ 0x4b46d4 // > EditorOptionsLayer::setupOptions @ 0x4b46e6 // > EditorOptionsLayer::setupOptions @ 0x4b46f8 // > EditorOptionsLayer::setupOptions @ 0x4b470a // > EditorOptionsLayer::setupOptions @ 0x4b471c // > EditorOptionsLayer::setupOptions @ 0x4b472e // > EditorOptionsLayer::setupOptions @ 0x4b4740 // > EditorOptionsLayer::setupOptions @ 0x4b4752 // > EditorOptionsLayer::setupOptions @ 0x4b476a // > EditorOptionsLayer::setupOptions @ 0x4b477c // > EditorOptionsLayer::setupOptions @ 0x4b478e // > EditorOptionsLayer::setupOptions @ 0x4b47a0 // > EditorOptionsLayer::setupOptions @ 0x4b47b2 // > EditorOptionsLayer::setupOptions @ 0x4b47c4 // > EditorOptionsLayer::setupOptions @ 0x4b47d6 // > EditorOptionsLayer::setupOptions @ 0x4b47e8 // > EditorOptionsLayer::setupOptions @ 0x4b47fa // > EditorOptionsLayer::setupOptions @ 0x4b480c // > EditorOptionsLayer::setupOptions @ 0x4b481e // > EditorOptionsLayer::setupOptions @ 0x4b4830 // > EditorOptionsLayer::setupOptions @ 0x4b4842 // // 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 GJOptionsLayer::addGVToggle(GJOptionsLayer *a1, const char *a2, const char *a3, const char *a4) { int v8; // r7 GameManager *v9; // r0 bool GameVariable; // r0 cocos2d::CCDictionary *m_variables; // r9 const std::string *v12; // r1 cocos2d::CCObject *v13; // r0 char v14; // [sp+10h] [bp-Ch] BYREF v8 = atoi(a3); v9 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v9, a3); GJOptionsLayer::addToggleInternal(a1, a2, v8, GameVariable, a4); m_variables = a1->m_variables; sub_776584((int)&v14, (char *)a3); v13 = (cocos2d::CCObject *)cocos2d::CCString::create((cocos2d::CCString *)&v14, v12); cocos2d::CCDictionary::setObject(m_variables, v13, v8); sub_774008(&v14); }
GD Web Decomp Icon

GD Web Decomp

Raw Source