{"type": "func", "start": 5370909312, "end": 5370909379, "name": "GameLevelManager::sharedState", "pseudocode": "// \n// GameLevelManager::sharedState from 0x140219280 to 0x1402192c3 (67 bytes)\n// \n// 3 xrefs:\n// > GJGameLevel::create @ 0x1402630ab\n// > GameManager::verifyCoinUnlocks @ 0x140279851\n// > <???> @ 0x14091b9e0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:28:22 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 GameLevelManager::sharedState()\n{\n  __int64 result; // rax\n  void *v1; // [rsp+30h] [rbp+8h]\n\n  result = *(_QWORD *)&qword_14090BFB0;\n  if ( !*(_QWORD *)&qword_14090BFB0 )\n  {\n    v1 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v1);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    return *(_QWORD *)&qword_14090BFB0;\n  }\n  return result;\n}", "assembly": "; \n; GameLevelManager::sharedState from 0x140219280 to 0x1402192c3 (67 bytes)\n; \n; 3 xrefs:\n; > GJGameLevel::create @ 0x1402630ab\n; > GameManager::verifyCoinUnlocks @ 0x140279851\n; > <???> @ 0x14091b9e0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:28:22 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x140219280\nmov     rax, cs:qword_14090BFB0                                        ; +0x4, 0x140219284\ntest    rax, rax                                                       ; +0xb, 0x14021928b\njnz     short loc_1402192BE                                            ; +0xe, 0x14021928e\nmov     ecx, 690h; Size                                                ; +0x10, 0x140219290\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x15, 0x140219295\nmov     [rsp+28h+arg_0], rax                                           ; +0x1a, 0x14021929a\nmov     rcx, rax                                                       ; +0x1f, 0x14021929f\ncall    GameLevelManager__GameLevelManager                             ; +0x22, 0x1402192a2\nmov     rcx, rax                                                       ; +0x27, 0x1402192a7\nmov     cs:qword_14090BFB0, rax                                        ; +0x2a, 0x1402192aa\nmov     rax, [rax]                                                     ; +0x31, 0x1402192b1\ncall    qword ptr [rax+48h]                                            ; +0x34, 0x1402192b4\nmov     rax, cs:qword_14090BFB0                                        ; +0x37, 0x1402192b7\nadd     rsp, 28h                                                       ; +0x3e, 0x1402192be\nretn                                                                   ; +0x42, 0x1402192c2", "xrefs": ["GJGameLevel::create @ 0x1402630ab", "GameManager::verifyCoinUnlocks @ 0x140279851", "<???> @ 0x14091b9e0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}