//
// KeybindingsManager::sharedState from 0x1004e50f0 to 0x1004e5140 (80 bytes)
//
// 3 xrefs:
// > GameManager::dataLoaded @ 0x10038995a
// > GameManager::firstLoad @ 0x10038ab5d
// > GameManager::encodeDataTo @ 0x10038b2a5
//
// 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 *__fastcall KeybindingsManager::sharedState()
{
KeybindingsManager *result; // rax
KeybindingsManager *v1; // rbx
result = (KeybindingsManager *)qword_1009A21B8;
if ( !qword_1009A21B8 )
{
v1 = (KeybindingsManager *)operator new(0x150u);
cocos2d::CCNode::CCNode((__int64)v1);
v1->__vftable = (KeybindingsManager_vtbl *)off_100955E70;
*(_OWORD *)&v1->m_keyToCommandDict = 0;
qword_1009A21B8 = (__int64)v1;
return v1;
}
return result;
}