{"type": "func", "start": 4297811712, "end": 4297811805, "name": "GJPromoPopup::onClose", "pseudocode": "// \n// GJPromoPopup::onClose from 0x1002b6700 to 0x1002b675d (93 bytes)\n// \n// 1 xrefs:\n// > GJPromoPopup::init @ 0x1002b65be\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\nvoid __fastcall GJPromoPopup::onClose(GJPromoPopup *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v2; // rax\n  cocos2d::CCTouchDispatcher *v3; // rax\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *, cocos2d::CCObject *))v2->getTouchDispatcher)(\n                                       v2,\n                                       a2);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, a1);\n  cocos2d::CCNode::stopAllActions(a1);\n  cocos2d::CCNode::unscheduleAllSelectors(a1);\n  ((void (__fastcall *)(GJPromoPopup *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(GJPromoPopup *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; GJPromoPopup::onClose from 0x1002b6700 to 0x1002b675d (93 bytes)\n; \n; 1 xrefs:\n; > GJPromoPopup::init @ 0x1002b65be\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    rbp                                                            ; +0x0, 0x1002b6700\nmov     rbp, rsp                                                       ; +0x1, 0x1002b6701\npush    rbx                                                            ; +0x4, 0x1002b6704\npush    rax                                                            ; +0x5, 0x1002b6705\nmov     rbx, rdi                                                       ; +0x6, 0x1002b6706\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x9, 0x1002b6709\nmov     rcx, [rax]                                                     ; +0xe, 0x1002b670e\nmov     rdi, rax                                                       ; +0x11, 0x1002b6711\ncall    qword ptr [rcx+0A0h]                                           ; +0x14, 0x1002b6714\nmov     rdi, rax                                                       ; +0x1a, 0x1002b671a\nmov     rsi, rbx                                                       ; +0x1d, 0x1002b671d\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x20, 0x1002b6720\nmov     rdi, rbx                                                       ; +0x25, 0x1002b6725\ncall    cocos2d__CCNode__stopAllActions                                ; +0x28, 0x1002b6728\nmov     rdi, rbx                                                       ; +0x2d, 0x1002b672d\ncall    cocos2d__CCNode__unscheduleAllSelectors                        ; +0x30, 0x1002b6730\nmov     rax, [rbx]                                                     ; +0x35, 0x1002b6735\nmov     rdi, rbx                                                       ; +0x38, 0x1002b6738\nxor     esi, esi                                                       ; +0x3b, 0x1002b673b\ncall    qword ptr [rax+420h]                                           ; +0x3d, 0x1002b673d\nmov     rax, [rbx]                                                     ; +0x43, 0x1002b6743\nmov     rax, [rax+200h]                                                ; +0x46, 0x1002b6746\nmov     rdi, rbx                                                       ; +0x4d, 0x1002b674d\nmov     esi, 1                                                         ; +0x50, 0x1002b6750\nadd     rsp, 8                                                         ; +0x55, 0x1002b6755\npop     rbx                                                            ; +0x59, 0x1002b6759\npop     rbp                                                            ; +0x5a, 0x1002b675a\njmp     rax                                                            ; +0x5b, 0x1002b675b", "xrefs": ["GJPromoPopup::init @ 0x1002b65be"], "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"}