// // KeybindingsManager::firstSetup from 0x854668 to 0x8546e4 (124 bytes) // // 2 xrefs: // > GameManager::firstLoad @ 0x5f0ba0 // > @ 0x37770 // // 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 KeybindingsManager::firstSetup(KeybindingsManager *a1) { cocos2d::CCDictionary *v2; // x0 cocos2d::CCDictionary *v3; // x20 cocos2d::CCDictionary *m_keyToCommandDict; // x1 cocos2d::CCDictionary *v5; // x0 cocos2d::CCDictionary *v6; // x20 cocos2d::CCDictionary *m_commandToKeyDict; // x1 v2 = cocos2d::CCDictionary::create(); v3 = v2; m_keyToCommandDict = a1->m_keyToCommandDict; if ( v2 != m_keyToCommandDict ) { if ( v2 ) { cocos2d::CCObject::retain(v2); m_keyToCommandDict = a1->m_keyToCommandDict; } if ( m_keyToCommandDict ) cocos2d::CCObject::release(m_keyToCommandDict); a1->m_keyToCommandDict = v3; } v5 = cocos2d::CCDictionary::create(); v6 = v5; m_commandToKeyDict = a1->m_commandToKeyDict; if ( m_commandToKeyDict != v5 ) { if ( v5 ) { cocos2d::CCObject::retain(v5); m_commandToKeyDict = a1->m_commandToKeyDict; } if ( m_commandToKeyDict ) cocos2d::CCObject::release(m_commandToKeyDict); a1->m_commandToKeyDict = v6; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source