{"type": "func", "start": 5369199504, "end": 5369199628, "name": "GooglePlayManager::sharedState", "pseudocode": "// \n// GooglePlayManager::sharedState from 0x140077b90 to 0x140077c0c (124 bytes)\n// \n// 3 xrefs:\n// > MenuLayer::willClose @ 0x14047528d\n// > MenuLayer::willClose @ 0x1404752ab\n// > <???> @ 0x140911c3c\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:25:51 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 GooglePlayManager::sharedState()\n{\n  __int64 result; // rax\n  cocos2d::CCNode *v1; // [rsp+30h] [rbp+8h]\n\n  result = qword_14090BF70;\n  if ( !qword_14090BF70 )\n  {\n    v1 = (cocos2d::CCNode *)operator new(0x150u);\n    cocos2d::CCNode::CCNode(v1);\n    *(_QWORD *)v1 = &GooglePlayManager::`vftable';\n    *((_QWORD *)v1 + 40) = 0;\n    *((_QWORD *)v1 + 41) = 0;\n    qword_14090BF70 = (__int64)v1;\n    return (__int64)v1;\n  }\n  return result;\n}", "assembly": "; \n; GooglePlayManager::sharedState from 0x140077b90 to 0x140077c0c (124 bytes)\n; \n; 3 xrefs:\n; > MenuLayer::willClose @ 0x14047528d\n; > MenuLayer::willClose @ 0x1404752ab\n; > <???> @ 0x140911c3c\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:25:51 +0000\n; \npush    rbx                                                            ; +0x0, 0x140077b90\nsub     rsp, 20h                                                       ; +0x2, 0x140077b92\nmov     rax, cs:qword_14090BF70                                        ; +0x6, 0x140077b96\ntest    rax, rax                                                       ; +0xd, 0x140077b9d\njnz     short loc_140077C06                                            ; +0x10, 0x140077ba0\nmov     ecx, 150h; Size                                                ; +0x12, 0x140077ba2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x140077ba7\nmov     rbx, rax                                                       ; +0x1c, 0x140077bac\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x140077baf\nmov     rcx, rax                                                       ; +0x24, 0x140077bb4\ncall    cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)   ; +0x27, 0x140077bb7\nlea     rax, ??_7GooglePlayManager@@6B@; const GooglePlayManager::`vftable' ; +0x2d, 0x140077bbd\nmov     [rbx], rax                                                     ; +0x34, 0x140077bc4\nxor     eax, eax                                                       ; +0x37, 0x140077bc7\nmov     [rbx+140h], rax                                                ; +0x39, 0x140077bc9\nmov     [rbx+148h], rax                                                ; +0x40, 0x140077bd0\nmov     cs:qword_14090BF70, rbx                                        ; +0x47, 0x140077bd7\nmov     rax, cs:off_14070F158                                          ; +0x4e, 0x140077bde\nlea     rcx, EditorSoundConfigCell__init; Merged with: EditorSoundConfigCell::init, FontPreviewCell::init, GJNotificationCell::init, GJThreadCell::init, SFXBrowser::allowsCustomSFXActions ; +0x55, 0x140077be5\ncmp     rax, rcx                                                       ; +0x5c, 0x140077bec\njz      short loc_140077C03                                            ; +0x5f, 0x140077bef\nmov     rcx, rbx                                                       ; +0x61, 0x140077bf1\ncall    rax ; EditorSoundConfigCell__init; Merged with: EditorSoundConfigCell::init, FontPreviewCell::init, GJNotificationCell::init, GJThreadCell::init, SFXBrowser::allowsCustomSFXActions ; +0x64, 0x140077bf4\nmov     rax, cs:qword_14090BF70                                        ; +0x66, 0x140077bf6\nadd     rsp, 20h                                                       ; +0x6d, 0x140077bfd\npop     rbx                                                            ; +0x71, 0x140077c01\nretn                                                                   ; +0x72, 0x140077c02\nmov     rax, rbx                                                       ; +0x73, 0x140077c03\nadd     rsp, 20h                                                       ; +0x76, 0x140077c06\npop     rbx                                                            ; +0x7a, 0x140077c0a\nretn                                                                   ; +0x7b, 0x140077c0b", "xrefs": ["MenuLayer::willClose @ 0x14047528d", "MenuLayer::willClose @ 0x1404752ab", "<???> @ 0x140911c3c"], "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"}