// // KeybindingsLayer::onToggle from 0x46b1fc to 0x46b230 (52 bytes) // // 0 xrefs: // // 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 KeybindingsLayer::onToggle(KeybindingsLayer *a1, cocos2d::CCObject *a2) { intptr_t v3; // r0 cocos2d::CCString *v4; // r4 GameManager *v5; // r5 const char *CString; // r1 v3 = a2->getTag(a2); v4 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(a1->m_variables, v3); if ( v4 ) { v5 = GameManager::sharedState(); CString = cocos2d::CCString::getCString(v4); GameManager::toggleGameVariable(v5, CString); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source