//
// KeybindingsManager::sharedState from 0x1402c0d80 to 0x1402c0dfc (124 bytes)
//
// 4 xrefs:
// > GameManager::dataLoaded @ 0x1401872f7
// > GameManager::firstLoad @ 0x140188c57
// > GameManager::encodeDataTo @ 0x1401894e3
// > ??> @ 0x1406d2978
//
// 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; // rax
KeybindingsManager *v1; // [rsp+30h] [rbp+8h]
result = (KeybindingsManager *)qword_1406C2F10;
if ( !qword_1406C2F10 )
{
v1 = (KeybindingsManager *)operator new(0x150u);
cocos2d::CCNode::CCNode(v1);
v1->__vftable = (KeybindingsManager_vtbl *)&KeybindingsManager::`vftable';
v1->m_keyToCommandDict = nullptr;
v1->m_commandToKeyDict = nullptr;
qword_1406C2F10 = (__int64)v1;
return v1;
}
return result;
}