{"type": "func", "start": 5369146496, "end": 5369146620, "name": "GooglePlayManager::sharedState", "pseudocode": "// \n// GooglePlayManager::sharedState from 0x14006ac80 to 0x14006acfc (124 bytes)\n// \n// 5 xrefs:\n// > MenuLayer::willClose @ 0x1403360bd\n// > MenuLayer::willClose @ 0x1403360db\n// > sub_140371940 @ 0x140371a11\n// > sub_140371940 @ 0x140371a1f\n// > <???> @ 0x1406c5f88\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\nGooglePlayManager *GooglePlayManager::sharedState()\n{\n  GooglePlayManager *result; // rax\n  GooglePlayManager *v1; // [rsp+30h] [rbp+8h]\n\n  result = (GooglePlayManager *)qword_1406C2E98;\n  if ( !qword_1406C2E98 )\n  {\n    v1 = (GooglePlayManager *)operator new(0x150u);\n    cocos2d::CCNode::CCNode(v1);\n    v1->__vftable = (GooglePlayManager_vtbl *)&GooglePlayManager::`vftable';\n    v1->m_delegate1 = nullptr;\n    v1->m_delegate2 = nullptr;\n    qword_1406C2E98 = (__int64)v1;\n    return v1;\n  }\n  return result;\n}", "assembly": "; \n; GooglePlayManager::sharedState from 0x14006ac80 to 0x14006acfc (124 bytes)\n; \n; 5 xrefs:\n; > MenuLayer::willClose @ 0x1403360bd\n; > MenuLayer::willClose @ 0x1403360db\n; > sub_140371940 @ 0x140371a11\n; > sub_140371940 @ 0x140371a1f\n; > <???> @ 0x1406c5f88\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\npush    rbx                                                            ; +0x0, 0x14006ac80\nsub     rsp, 20h                                                       ; +0x2, 0x14006ac82\nmov     rax, cs:qword_1406C2E98                                        ; +0x6, 0x14006ac86\ntest    rax, rax                                                       ; +0xd, 0x14006ac8d\njnz     short loc_14006ACF6                                            ; +0x10, 0x14006ac90\nmov     ecx, 150h; Size                                                ; +0x12, 0x14006ac92\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x14006ac97\nmov     rbx, rax                                                       ; +0x1c, 0x14006ac9c\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x14006ac9f\nmov     rcx, rax                                                       ; +0x24, 0x14006aca4\ncall    cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)   ; +0x27, 0x14006aca7\nlea     rax, ??_7GooglePlayManager@@6B@; const GooglePlayManager::`vftable' ; +0x2d, 0x14006acad\nmov     [rbx], rax                                                     ; +0x34, 0x14006acb4\nxor     eax, eax                                                       ; +0x37, 0x14006acb7\nmov     [rbx+140h], rax                                                ; +0x39, 0x14006acb9\nmov     [rbx+148h], rax                                                ; +0x40, 0x14006acc0\nmov     cs:qword_1406C2E98, rbx                                        ; +0x47, 0x14006acc7\nmov     rax, cs:off_140533B78                                          ; +0x4e, 0x14006acce\nlea     rcx, sub_14003C6E0                                             ; +0x55, 0x14006acd5\ncmp     rax, rcx                                                       ; +0x5c, 0x14006acdc\njz      short loc_14006ACF3                                            ; +0x5f, 0x14006acdf\nmov     rcx, rbx                                                       ; +0x61, 0x14006ace1\ncall    rax ; sub_14003C6E0                                            ; +0x64, 0x14006ace4\nmov     rax, cs:qword_1406C2E98                                        ; +0x66, 0x14006ace6\nadd     rsp, 20h                                                       ; +0x6d, 0x14006aced\npop     rbx                                                            ; +0x71, 0x14006acf1\nretn                                                                   ; +0x72, 0x14006acf2\nmov     rax, rbx                                                       ; +0x73, 0x14006acf3\nadd     rsp, 20h                                                       ; +0x76, 0x14006acf6\npop     rbx                                                            ; +0x7a, 0x14006acfa\nretn                                                                   ; +0x7b, 0x14006acfb", "xrefs": ["MenuLayer::willClose @ 0x1403360bd", "MenuLayer::willClose @ 0x1403360db", "sub_140371940 @ 0x140371a11", "sub_140371940 @ 0x140371a1f", "<???> @ 0x1406c5f88"], "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"}