//
// GJKeybindManager::sharedState from 0x100613e60 to 0x100613f47 (231 bytes)
//
// 36 xrefs:
// > GameManager::dataLoaded @ 0x10037350d
// > GameManager::encodeDataTo @ 0x100375749
// > UILayer::togglePlatformerMode @ 0x1004c2ac5
// > UILayer::togglePlatformerMode @ 0x1004c2aec
// > UILayer::applyLevelBindings @ 0x1004c2d51
// > UILayer::applyLevelBindings @ 0x1004c2d73
// > UILayer::reapplyLevelControls @ 0x1004c2dea
// > UILayer::reapplyLevelControls @ 0x1004c2e08
// > UILayer::editorPlaytest @ 0x1004c3829
// > UILayer::editorPlaytest @ 0x1004c3847
// > UILayer::handleAction @ 0x1004c3982
// > sub_1004C5CF0 @ 0x1004c5d73
// > KeybindCapturePopup::updateConflictLabel @ 0x1005b51a8
// > KeybindCapturePopup::updateConflictLabel @ 0x1005b5246
// > KeybindCapturePopup::updateConflictLabel @ 0x1005b53ac
// > KeybindCapturePopup::updateConflictLabel @ 0x1005b5414
// > GameSettingsLayer::onCustomButton @ 0x100603320
// > KeybindingsLayer::buildContentForTab @ 0x1006e2e44
// > KeybindingsLayer::buildContentForTab @ 0x1006e2f38
// > KeybindingsLayer::buildContentForTab @ 0x1006e2f95
// > KeybindingsLayer::buildContentForTab @ 0x1006e3006
// > GlobalKeybindSource::chordsForAction @ 0x1006e4dec
// > GlobalKeybindSource::actionsForChord @ 0x1006e4e1c
// > GlobalKeybindSource::bindChord @ 0x1006e4e4c
// > GlobalKeybindSource::unbindChord @ 0x1006e4e7c
// > AppDelegate::setupGLView @ 0x10073b6ab
// > sub_10091E3E0 @ 0x10091e3eb
// > sub_10091E4F0 @ 0x10091e523
// > KeybindingsSettingsPopup::FLAlert_Clicked @ 0x10091e948
// > KeybindingsSettingsPopup::FLAlert_Clicked @ 0x10091e957
// > sub_1009241C0 @ 0x1009241d6
// > sub_1009241C0 @ 0x10092420e
// > sub_1009241C0 @ 0x100924246
// > sub_1009241C0 @ 0x10092427e
// > sub_1009241C0 @ 0x1009242b6
// > sub_1009241C0 @ 0x1009242ee
//
// This function is hookable on this platform (idp: pc, 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 12:34:36 +0000
//
__int64 GJKeybindManager::sharedState()
{
__int64 result; // rax
_OWORD *v1; // rbx
result = qword_100BE5A80;
if ( !qword_100BE5A80 )
{
v1 = operator new(0xC0u);
*v1 = 0;
v1[1] = 0;
v1[2] = 0;
v1[3] = 0;
v1[4] = 0;
v1[5] = 0;
v1[6] = 0;
v1[7] = 0;
v1[8] = 0;
v1[9] = 0;
v1[10] = 0;
v1[11] = 0;
cocos2d::CCObject::CCObject((__int64)v1);
*(_QWORD *)v1 = off_100B7FCC0;
*(_OWORD *)((char *)v1 + 56) = 0;
*(_OWORD *)((char *)v1 + 72) = 0;
*((_DWORD *)v1 + 22) = 1065353216;
v1[6] = 0;
v1[7] = 0;
*((_DWORD *)v1 + 32) = 1065353216;
v1[9] = 0;
*((_QWORD *)v1 + 17) = v1 + 9;
*(_OWORD *)((char *)v1 + 168) = 0;
*((_QWORD *)v1 + 20) = (char *)v1 + 168;
*((_BYTE *)v1 + 184) = 0;
qword_100BE5A80 = (__int64)v1;
GJKeybindManager::loadDefaults(v1);
return qword_100BE5A80;
}
return result;
}