{"type": "func", "start": 5371685008, "end": 5371685075, "name": "GameStatsManager::sharedState", "pseudocode": "// \n// GameStatsManager::sharedState from 0x1402d6890 to 0x1402d68d3 (67 bytes)\n// \n// 12 xrefs:\n// > GameManager::verifyCoinUnlocks @ 0x140279832\n// > GameManager::verifyCoinUnlocks @ 0x140279867\n// > GameManager::verifyCoinUnlocks @ 0x14027988b\n// > GameManager::verifyCoinUnlocks @ 0x1402798b3\n// > GameManager::verifyCoinUnlocks @ 0x1402798db\n// > GameManager::verifyCoinUnlocks @ 0x1402799a8\n// > GameManager::verifyCoinUnlocks @ 0x1402799d0\n// > GameManager::verifyCoinUnlocks @ 0x1402799f8\n// > ShardsPage::init @ 0x14062c835\n// > ShardsPage::init @ 0x14062c8a7\n// > ShardsPage::init @ 0x14062c919\n// > <???> @ 0x14091dd44\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:29:45 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 GameStatsManager::sharedState()\n{\n  __int64 result; // rax\n  void *v1; // [rsp+30h] [rbp+8h]\n\n  result = qword_14090BFE0;\n  if ( !qword_14090BFE0 )\n  {\n    v1 = operator new(0x3E8u);\n    qword_14090BFE0 = sub_1402D6480((__int64)v1);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n    return qword_14090BFE0;\n  }\n  return result;\n}", "assembly": "; \n; GameStatsManager::sharedState from 0x1402d6890 to 0x1402d68d3 (67 bytes)\n; \n; 12 xrefs:\n; > GameManager::verifyCoinUnlocks @ 0x140279832\n; > GameManager::verifyCoinUnlocks @ 0x140279867\n; > GameManager::verifyCoinUnlocks @ 0x14027988b\n; > GameManager::verifyCoinUnlocks @ 0x1402798b3\n; > GameManager::verifyCoinUnlocks @ 0x1402798db\n; > GameManager::verifyCoinUnlocks @ 0x1402799a8\n; > GameManager::verifyCoinUnlocks @ 0x1402799d0\n; > GameManager::verifyCoinUnlocks @ 0x1402799f8\n; > ShardsPage::init @ 0x14062c835\n; > ShardsPage::init @ 0x14062c8a7\n; > ShardsPage::init @ 0x14062c919\n; > <???> @ 0x14091dd44\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:29:45 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1402d6890\nmov     rax, cs:qword_14090BFE0                                        ; +0x4, 0x1402d6894\ntest    rax, rax                                                       ; +0xb, 0x1402d689b\njnz     short loc_1402D68CE                                            ; +0xe, 0x1402d689e\nmov     ecx, 3E8h; Size                                                ; +0x10, 0x1402d68a0\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x15, 0x1402d68a5\nmov     [rsp+28h+arg_0], rax                                           ; +0x1a, 0x1402d68aa\nmov     rcx, rax                                                       ; +0x1f, 0x1402d68af\ncall    sub_1402D6480                                                  ; +0x22, 0x1402d68b2\nmov     rcx, rax                                                       ; +0x27, 0x1402d68b7\nmov     cs:qword_14090BFE0, rax                                        ; +0x2a, 0x1402d68ba\nmov     rax, [rax]                                                     ; +0x31, 0x1402d68c1\ncall    qword ptr [rax+48h]                                            ; +0x34, 0x1402d68c4\nmov     rax, cs:qword_14090BFE0                                        ; +0x37, 0x1402d68c7\nadd     rsp, 28h                                                       ; +0x3e, 0x1402d68ce\nretn                                                                   ; +0x42, 0x1402d68d2", "xrefs": ["GameManager::verifyCoinUnlocks @ 0x140279832", "GameManager::verifyCoinUnlocks @ 0x140279867", "GameManager::verifyCoinUnlocks @ 0x14027988b", "GameManager::verifyCoinUnlocks @ 0x1402798b3", "GameManager::verifyCoinUnlocks @ 0x1402798db", "GameManager::verifyCoinUnlocks @ 0x1402799a8", "GameManager::verifyCoinUnlocks @ 0x1402799d0", "GameManager::verifyCoinUnlocks @ 0x1402799f8", "ShardsPage::init @ 0x14062c835", "ShardsPage::init @ 0x14062c8a7", "ShardsPage::init @ 0x14062c919", "<???> @ 0x14091dd44"], "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"}