{"type": "func", "start": 5370613488, "end": 5370613555, "name": "GameStatsManager::sharedState", "pseudocode": "// \n// GameStatsManager::sharedState from 0x1401d0ef0 to 0x1401d0f33 (67 bytes)\n// \n// 12 xrefs:\n// > GameManager::verifyCoinUnlocks @ 0x14017e5e2\n// > GameManager::verifyCoinUnlocks @ 0x14017e616\n// > GameManager::verifyCoinUnlocks @ 0x14017e63a\n// > GameManager::verifyCoinUnlocks @ 0x14017e662\n// > GameManager::verifyCoinUnlocks @ 0x14017e68a\n// > GameManager::verifyCoinUnlocks @ 0x14017e755\n// > GameManager::verifyCoinUnlocks @ 0x14017e77d\n// > GameManager::verifyCoinUnlocks @ 0x14017e7a5\n// > ShardsPage::init @ 0x14048b960\n// > ShardsPage::init @ 0x14048b9d2\n// > ShardsPage::init @ 0x14048ba44\n// > <???> @ 0x1406cc2dc\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nGameStatsManager *GameStatsManager::sharedState()\n{\n  GameStatsManager *result; // rax\n  void *v1; // [rsp+30h] [rbp+8h]\n\n  result = (GameStatsManager *)qword_1406C2EE8;\n  if ( !qword_1406C2EE8 )\n  {\n    v1 = operator new(0x3E0u);\n    qword_1406C2EE8 = sub_1401D0AE0((__int64)v1);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8);\n    return (GameStatsManager *)qword_1406C2EE8;\n  }\n  return result;\n}", "assembly": "; \n; GameStatsManager::sharedState from 0x1401d0ef0 to 0x1401d0f33 (67 bytes)\n; \n; 12 xrefs:\n; > GameManager::verifyCoinUnlocks @ 0x14017e5e2\n; > GameManager::verifyCoinUnlocks @ 0x14017e616\n; > GameManager::verifyCoinUnlocks @ 0x14017e63a\n; > GameManager::verifyCoinUnlocks @ 0x14017e662\n; > GameManager::verifyCoinUnlocks @ 0x14017e68a\n; > GameManager::verifyCoinUnlocks @ 0x14017e755\n; > GameManager::verifyCoinUnlocks @ 0x14017e77d\n; > GameManager::verifyCoinUnlocks @ 0x14017e7a5\n; > ShardsPage::init @ 0x14048b960\n; > ShardsPage::init @ 0x14048b9d2\n; > ShardsPage::init @ 0x14048ba44\n; > <???> @ 0x1406cc2dc\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nsub     rsp, 28h                                                       ; +0x0, 0x1401d0ef0\nmov     rax, cs:qword_1406C2EE8                                        ; +0x4, 0x1401d0ef4\ntest    rax, rax                                                       ; +0xb, 0x1401d0efb\njnz     short loc_1401D0F2E                                            ; +0xe, 0x1401d0efe\nmov     ecx, 3E0h; Size                                                ; +0x10, 0x1401d0f00\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x15, 0x1401d0f05\nmov     [rsp+28h+arg_0], rax                                           ; +0x1a, 0x1401d0f0a\nmov     rcx, rax                                                       ; +0x1f, 0x1401d0f0f\ncall    sub_1401D0AE0                                                  ; +0x22, 0x1401d0f12\nmov     rcx, rax                                                       ; +0x27, 0x1401d0f17\nmov     cs:qword_1406C2EE8, rax                                        ; +0x2a, 0x1401d0f1a\nmov     rax, [rax]                                                     ; +0x31, 0x1401d0f21\ncall    qword ptr [rax+48h]                                            ; +0x34, 0x1401d0f24\nmov     rax, cs:qword_1406C2EE8                                        ; +0x37, 0x1401d0f27\nadd     rsp, 28h                                                       ; +0x3e, 0x1401d0f2e\nretn                                                                   ; +0x42, 0x1401d0f32", "xrefs": ["GameManager::verifyCoinUnlocks @ 0x14017e5e2", "GameManager::verifyCoinUnlocks @ 0x14017e616", "GameManager::verifyCoinUnlocks @ 0x14017e63a", "GameManager::verifyCoinUnlocks @ 0x14017e662", "GameManager::verifyCoinUnlocks @ 0x14017e68a", "GameManager::verifyCoinUnlocks @ 0x14017e755", "GameManager::verifyCoinUnlocks @ 0x14017e77d", "GameManager::verifyCoinUnlocks @ 0x14017e7a5", "ShardsPage::init @ 0x14048b960", "ShardsPage::init @ 0x14048b9d2", "ShardsPage::init @ 0x14048ba44", "<???> @ 0x1406cc2dc"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}