// // KeybindingsManager::commandToKeyForGroup from 0x46b490 to 0x46b518 (136 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 // cocos2d::CCDictionary *KeybindingsManager::commandToKeyForGroup(KeybindingsManager *a1, GJKeyGroup a2) { cocos2d::CCString *v3; // r0 char *CString; // r0 cocos2d::CCDictionary *m_commandToKeyDict; // r5 char *v6; // r8 cocos2d::CCDictionary *v7; // r5 cocos2d::CCDictionary *v8; // r0 cocos2d::CCDictionary *v9; // r9 std::string v11; // [sp+8h] [bp+4h] BYREF v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a2); CString = (char *)cocos2d::CCString::getCString(v3); m_commandToKeyDict = a1->m_commandToKeyDict; v6 = CString; sub_776584((int)&v11, CString); v7 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::objectForKey(m_commandToKeyDict, &v11); sub_774008(&v11); if ( !v7 ) { v8 = cocos2d::CCDictionary::create(); v9 = a1->m_commandToKeyDict; v7 = v8; sub_776584((int)&v11, v6); cocos2d::CCDictionary::setObject((int)v9, v7); sub_774008(&v11); } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source