//
// GameManager::sharedState from 0x14017b4a0 to 0x14017b4e3 (67 bytes)
//
// 48 xrefs:
// > EditorUI::setupCreateMenu @ 0x1400e8124
// > EditorUI::setupCreateMenu @ 0x1400e813c
// > EditorUI::setupCreateMenu @ 0x1400e8163
// > EditorUI::setupCreateMenu @ 0x1400e818b
// > EditorUI::keyDown @ 0x1401261ce
// > EditorUI::keyDown @ 0x1401261eb
// > EditorUI::keyDown @ 0x140126229
// > EditorUI::keyDown @ 0x140126246
// > EditorUI::keyDown @ 0x1401262bc
// > EditorUI::keyDown @ 0x1401262d8
// > EditorUI::keyDown @ 0x1401262e9
// > GameObject::setupCustomSprites @ 0x1401bc88b
// > GameObject::setupCustomSprites @ 0x1401bcf5b
// > PlayerObject::playDeathEffect @ 0x14037ef6f
// > PlayerObject::playDeathEffect @ 0x14037ef80
// > PlayerObject::playDeathEffect @ 0x14037ef95
// > PlayerObject::playDeathEffect @ 0x14037f0c1
// > PlayerObject::playDeathEffect @ 0x14037f4cb
// > PlayerObject::playDeathEffect @ 0x14037f8bf
// > PlayerObject::playDeathEffect @ 0x14037fc8a
// > PlayerObject::playDeathEffect @ 0x140380067
// > PlayerObject::playDeathEffect @ 0x140380470
// > PlayerObject::playDeathEffect @ 0x1403807cb
// > PlayerObject::playDeathEffect @ 0x140380bc4
// > PlayerObject::playDeathEffect @ 0x14038109d
// > PlayerObject::playDeathEffect @ 0x140381495
// > PlayerObject::playDeathEffect @ 0x1403819a1
// > PlayerObject::playDeathEffect @ 0x140381d89
// > PlayerObject::playDeathEffect @ 0x1403821e3
// > PlayerObject::playDeathEffect @ 0x140382699
// > PlayerObject::playDeathEffect @ 0x140382aea
// > PlayerObject::playDeathEffect @ 0x140382f27
// > PlayerObject::playDeathEffect @ 0x140383262
// > PlayerObject::playDeathEffect @ 0x140383643
// > PlayerObject::playDeathEffect @ 0x140383801
// > PlayerObject::playDeathEffect @ 0x140383d15
// > SecretLayer::onSubmit @ 0x1403df1bd
// > SecretLayer::onSubmit @ 0x1403df331
// > SecretLayer::onSubmit @ 0x1403df3cc
// > SecretLayer::onSubmit @ 0x1403df459
// > SecretLayer::onSubmit @ 0x1403df6cb
// > SecretLayer2::onSubmit @ 0x1403e691a
// > SecretLayer2::onSubmit @ 0x1403e69f2
// > SecretLayer2::onSubmit @ 0x1403e6a45
// > SecretLayer2::onSubmit @ 0x1403e6b0d
// > SecretLayer2::onSubmit @ 0x1403e6b22
// > SecretLayer2::onSubmit @ 0x1403e6b4a
// > ??> @ 0x1406cb334
//
// 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
//
// Hidden C++ exception states: #wind=1
GameManager *GameManager::sharedState()
{
GameManager *result; // rax
void *v1; // [rsp+30h] [rbp+8h]
result = (GameManager *)qword_1406C2ED8;
if ( !qword_1406C2ED8 )
{
v1 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00((__int64)v1);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
return (GameManager *)qword_1406C2ED8;
}
return result;
}