// // KeybindingsManager::firstSetup from 0x1004e56b0 to 0x1004e5731 (129 bytes) // // 1 xrefs: // > GameManager::firstLoad @ 0x10038ab65 // // 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 __fastcall KeybindingsManager::firstSetup(KeybindingsManager *a1) { cocos2d::CCDictionary *v2; // rax cocos2d::CCDictionary *m_keyToCommandDict; // rdi cocos2d::CCDictionary *v4; // r14 cocos2d::CCDictionary *v5; // rax cocos2d::CCDictionary *m_commandToKeyDict; // rdi cocos2d::CCDictionary *v7; // r14 v2 = cocos2d::CCDictionary::create(); m_keyToCommandDict = a1->m_keyToCommandDict; if ( m_keyToCommandDict != v2 ) { v4 = v2; if ( v2 ) { cocos2d::CCObject::retain(v2); m_keyToCommandDict = a1->m_keyToCommandDict; } if ( m_keyToCommandDict ) cocos2d::CCObject::release(m_keyToCommandDict); a1->m_keyToCommandDict = v4; } v5 = cocos2d::CCDictionary::create(); m_commandToKeyDict = a1->m_commandToKeyDict; if ( m_commandToKeyDict != v5 ) { v7 = v5; if ( v5 ) { cocos2d::CCObject::retain(v5); m_commandToKeyDict = a1->m_commandToKeyDict; } if ( m_commandToKeyDict ) cocos2d::CCObject::release(m_commandToKeyDict); a1->m_commandToKeyDict = v7; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source