//
// KeybindingsManager::sharedState from 0x854190 to 0x85420c (124 bytes)
//
// 4 xrefs:
// > GameManager::firstLoad @ 0x5f0b9c
// > GameManager::dataLoaded @ 0x5faedc
// > GameManager::encodeDataTo @ 0x5ff2f4
// > ??> @ 0x748b0
//
// 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
//
KeybindingsManager *KeybindingsManager::sharedState()
{
KeybindingsManager *result; // x0
KeybindingsManager *v1; // x20
result = (KeybindingsManager *)qword_1242D60;
if ( !qword_1242D60 )
{
v1 = (KeybindingsManager *)operator new(0x150u);
cocos2d::CCNode::CCNode(v1);
qword_1242D60 = (__int64)v1;
v1->m_keyToCommandDict = nullptr;
v1->m_commandToKeyDict = nullptr;
v1->__vftable = (KeybindingsManager_vtbl *)&off_118FE10;
KeybindingsManager::init(v1);
return (KeybindingsManager *)qword_1242D60;
}
return result;
}