//
// GJKeybindManager::sharedState from 0x10018b0b8 to 0x10018b160 (168 bytes)
//
// 25 xrefs:
// > KeybindingsLayer::buildContentForTab @ 0x10002487c
// > KeybindingsLayer::buildContentForTab @ 0x1000248f8
// > KeybindingsLayer::buildContentForTab @ 0x10002493c
// > KeybindingsLayer::buildContentForTab @ 0x100024980
// > GlobalKeybindSource::chordsForAction @ 0x100025fcc
// > GlobalKeybindSource::actionsForChord @ 0x100025ff8
// > GlobalKeybindSource::bindChord @ 0x100026024
// > GlobalKeybindSource::unbindChord @ 0x100026050
// > UILayer::applyLevelBindings @ 0x100050f9c
// > UILayer::applyLevelBindings @ 0x100050fb8
// > UILayer::handleAction @ 0x1000518d0
// > sub_100053110 @ 0x100053164
// > GameSettingsLayer::onCustomButton @ 0x100167094
// > KeybindCapturePopup::updateConflictLabel @ 0x1001a524c
// > KeybindCapturePopup::updateConflictLabel @ 0x1001a52ac
// > KeybindCapturePopup::updateConflictLabel @ 0x1001a5418
// > KeybindCapturePopup::updateConflictLabel @ 0x1001a545c
// > AppDelegate::setupGLView @ 0x100306e54
// > GameManager::dataLoaded @ 0x1003b8f3c
// > GameManager::encodeDataTo @ 0x1003ba794
// > sub_1004EE760 @ 0x1004ee770
// > KeybindingsSettingsPopup::onImport @ 0x1004ee88c
// > KeybindingsSettingsPopup::FLAlert_Clicked @ 0x1004eec18
// > KeybindingsSettingsPopup::FLAlert_Clicked @ 0x1004eec24
// > LevelControlConfig::bindGlobalBinds @ 0x1004f1628
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:59:52 +0000
//
__int64 GJKeybindManager::sharedState()
{
__int64 result; // x0
_OWORD *v1; // x19
result = qword_1009F4158;
if ( !qword_1009F4158 )
{
v1 = operator new(0xC0u);
*v1 = 0u;
v1[1] = 0u;
v1[2] = 0u;
v1[3] = 0u;
v1[4] = 0u;
v1[5] = 0u;
v1[6] = 0u;
v1[7] = 0u;
v1[8] = 0u;
v1[9] = 0u;
v1[10] = 0u;
v1[11] = 0u;
cocos2d::CCObject::CCObject((__int64)v1);
*(_QWORD *)v1 = off_1008E4860;
*(_OWORD *)((char *)v1 + 56) = 0u;
*(_OWORD *)((char *)v1 + 72) = 0u;
*((_DWORD *)v1 + 22) = 1065353216;
v1[6] = 0u;
v1[7] = 0u;
*((_DWORD *)v1 + 32) = 1065353216;
*((_QWORD *)v1 + 18) = 0;
*((_QWORD *)v1 + 17) = v1 + 9;
*((_QWORD *)v1 + 22) = 0;
*((_QWORD *)v1 + 21) = 0;
*((_QWORD *)v1 + 19) = 0;
*((_QWORD *)v1 + 20) = (char *)v1 + 168;
*((_BYTE *)v1 + 184) = 0;
qword_1009F4158 = (__int64)v1;
GJKeybindManager::loadDefaults(v1);
return qword_1009F4158;
}
return result;
}