//
// KeybindingsManager::commandForKeyMods from 0x1004e52b0 to 0x1004e52fa (74 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
//
bool __fastcall KeybindingsManager::commandForKeyMods(KeybindingsManager *a1, cocos2d::enumKeyCodes a2, GJKeyGroup a3)
{
cocos2d::CCDirector *v3; // rax
cocos2d::CCDirector *v4; // rax
cocos2d::CCDirector *v5; // rax
v3 = cocos2d::CCDirector::sharedDirector();
((void (__fastcall *)(cocos2d::CCDirector *))v3->getKeyboardDispatcher)(v3);
v4 = cocos2d::CCDirector::sharedDirector();
((void (__fastcall *)(cocos2d::CCDirector *))v4->getKeyboardDispatcher)(v4);
v5 = cocos2d::CCDirector::sharedDirector();
((void (__fastcall *)(cocos2d::CCDirector *))v5->getKeyboardDispatcher)(v5);
return a2 == KEY_Space;
}