{"type": "func", "start": 4298003576, "end": 4298003680, "name": "GJPromoPopup::onClose", "pseudocode": "// \n// GJPromoPopup::onClose from 0x1002e5478 to 0x1002e54e0 (104 bytes)\n// \n// 3 xrefs:\n// > GJPromoPopup::keyBackClicked @ 0x1002e5514\n// > sub_1002E5518 @ 0x1002e551c\n// > GJPromoPopup::init @ 0x1002e5364\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 *v3; // x0\n  cocos2d::CCTouchDispatcher *v4; // x0\n\n  v3 = cocos2d::CCDirector::sharedDirector();\n  v4 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getTouchDispatcher)(v3);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, 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 0x1002e5478 to 0x1002e54e0 (104 bytes)\n; \n; 3 xrefs:\n; > GJPromoPopup::keyBackClicked @ 0x1002e5514\n; > sub_1002E5518 @ 0x1002e551c\n; > GJPromoPopup::init @ 0x1002e5364\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002e5478\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002e547c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002e5480\nMOV             X19, X0                                                ; +0xc, 0x1002e5484\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x1002e5488\nLDR             X8, [X0]                                               ; +0x14, 0x1002e548c\nLDR             X8, [X8,#0xA0]                                         ; +0x18, 0x1002e5490\nBLR             X8                                                     ; +0x1c, 0x1002e5494\nMOV             X1, X19                                                ; +0x20, 0x1002e5498\nBL              cocos2d__CCTouchDispatcher__unregisterForcePrio        ; +0x24, 0x1002e549c\nMOV             X0, X19                                                ; +0x28, 0x1002e54a0\nBL              cocos2d__CCNode__stopAllActions                        ; +0x2c, 0x1002e54a4\nMOV             X0, X19                                                ; +0x30, 0x1002e54a8\nBL              cocos2d__CCNode__unscheduleAllSelectors                ; +0x34, 0x1002e54ac\nLDR             X8, [X19]                                              ; +0x38, 0x1002e54b0\nLDR             X8, [X8,#0x420]                                        ; +0x3c, 0x1002e54b4\nMOV             X0, X19                                                ; +0x40, 0x1002e54b8\nMOV             W1, #0                                                 ; +0x44, 0x1002e54bc\nBLR             X8                                                     ; +0x48, 0x1002e54c0\nLDR             X8, [X19]                                              ; +0x4c, 0x1002e54c4\nLDR             X2, [X8,#0x200]                                        ; +0x50, 0x1002e54c8\nMOV             X0, X19                                                ; +0x54, 0x1002e54cc\nMOV             W1, #1                                                 ; +0x58, 0x1002e54d0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x1002e54d4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x1002e54d8\nBR              X2                                                     ; +0x64, 0x1002e54dc", "xrefs": ["GJPromoPopup::keyBackClicked @ 0x1002e5514", "sub_1002E5518 @ 0x1002e551c", "GJPromoPopup::init @ 0x1002e5364"], "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"}