//
// GameLevelManager::sharedState from 0x140219280 to 0x1402192c3 (67 bytes)
//
// 3 xrefs:
// > GJGameLevel::create @ 0x1402630ab
// > GameManager::verifyCoinUnlocks @ 0x140279851
// > ??> @ 0x14091b9e0
//
// 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 11:28:22 +0000
//
// Hidden C++ exception states: #wind=1
__int64 GameLevelManager::sharedState()
{
__int64 result; // rax
void *v1; // [rsp+30h] [rbp+8h]
result = *(_QWORD *)&qword_14090BFB0;
if ( !*(_QWORD *)&qword_14090BFB0 )
{
v1 = operator new(0x690u);
*(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v1);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);
return *(_QWORD *)&qword_14090BFB0;
}
return result;
}