{"type": "func", "start": 4295252492, "end": 4295252568, "name": "GooglePlayManager::sharedState", "pseudocode": "// \n// GooglePlayManager::sharedState from 0x100045a0c to 0x100045a58 (76 bytes)\n// \n// 2 xrefs:\n// > MenuLayer::willClose @ 0x1003036dc\n// > MenuLayer::willClose @ 0x1003036f0\n// \n// This function is hookable on this platform (idp: arm, 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 10:57:38 +0000\n// \n\n_QWORD *GooglePlayManager::sharedState()\n{\n  _QWORD *v0; // x19\n\n  v0 = (_QWORD *)qword_1009F2800;\n  if ( !qword_1009F2800 )\n  {\n    v0 = operator new(0x150u);\n    cocos2d::CCNode::CCNode();\n    *v0 = off_1008BAA20;\n    v0[40] = 0;\n    v0[41] = 0;\n    qword_1009F2800 = (__int64)v0;\n  }\n  return v0;\n}", "assembly": "; \n; GooglePlayManager::sharedState from 0x100045a0c to 0x100045a58 (76 bytes)\n; \n; 2 xrefs:\n; > MenuLayer::willClose @ 0x1003036dc\n; > MenuLayer::willClose @ 0x1003036f0\n; \n; This function is hookable on this platform (idp: arm, 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 10:57:38 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100045a0c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100045a10\nADD             X29, SP, #0x10                                         ; +0x8, 0x100045a14\nADRP            X20, #qword_1009F2800@PAGE                             ; +0xc, 0x100045a18\nLDR             X19, [X20,#qword_1009F2800@PAGEOFF]                    ; +0x10, 0x100045a1c\nCBNZ            X19, loc_100045A48                                     ; +0x14, 0x100045a20\nMOV             W0, #0x150; __sz                                       ; +0x18, 0x100045a24\nBL              __Znwm; operator new(ulong)                            ; +0x1c, 0x100045a28\nMOV             X19, X0                                                ; +0x20, 0x100045a2c\nBL              cocos2d__CCNode__CCNode                                ; +0x24, 0x100045a30\nADRL            X8, off_1008BAA20                                      ; +0x28, 0x100045a34\nSTR             X8, [X19]                                              ; +0x30, 0x100045a3c\nSTP             XZR, XZR, [X19,#0x140]                                 ; +0x34, 0x100045a40\nSTR             X19, [X20,#qword_1009F2800@PAGEOFF]                    ; +0x38, 0x100045a44\nMOV             X0, X19                                                ; +0x3c, 0x100045a48\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x100045a4c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x100045a50\nRET                                                                    ; +0x48, 0x100045a54", "xrefs": ["MenuLayer::willClose @ 0x1003036dc", "MenuLayer::willClose @ 0x1003036f0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}