//
// GameLevelManager::sharedState from 0x140142d10 to 0x140142d53 (67 bytes)
//
// 3 xrefs:
// > GJGameLevel::create @ 0x14016bfd9
// > GameManager::verifyCoinUnlocks @ 0x14017e600
// > ??> @ 0x1406ca4dc
//
// 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
GameLevelManager *GameLevelManager::sharedState()
{
GameLevelManager *result; // rax
void *v1; // [rsp+30h] [rbp+8h]
result = (GameLevelManager *)qword_1406C2EC0;
if ( !qword_1406C2EC0 )
{
v1 = operator new(0x3D0u);
qword_1406C2EC0 = sub_140141280((__int64)v1);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);
return (GameLevelManager *)qword_1406C2EC0;
}
return result;
}