{"type": "func", "start": 4297738112, "end": 4297738205, "name": "GJPromoPopup::onClose", "pseudocode": "// \n// GJPromoPopup::onClose from 0x1002a4780 to 0x1002a47dd (93 bytes)\n// \n// 1 xrefs:\n// > sub_1002A4500 @ 0x1002a463e\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 12:27:55 +0000\n// \n\n__int64 __fastcall GJPromoPopup::onClose(__int64 a1, __int64 a2)\n{\n  __int64 v2; // rax\n  __int64 v3; // rax\n\n  v2 = cocos2d::CCDirector::sharedDirector(a1, a2);\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, a1);\n  cocos2d::CCNode::stopAllActions(a1);\n  cocos2d::CCNode::unscheduleAllSelectors(a1);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1);\n}", "assembly": "; \n; GJPromoPopup::onClose from 0x1002a4780 to 0x1002a47dd (93 bytes)\n; \n; 1 xrefs:\n; > sub_1002A4500 @ 0x1002a463e\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 12:27:55 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002a4780\nmov     rbp, rsp                                                       ; +0x1, 0x1002a4781\npush    rbx                                                            ; +0x4, 0x1002a4784\npush    rax                                                            ; +0x5, 0x1002a4785\nmov     rbx, rdi                                                       ; +0x6, 0x1002a4786\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x9, 0x1002a4789\nmov     rcx, [rax]                                                     ; +0xe, 0x1002a478e\nmov     rdi, rax                                                       ; +0x11, 0x1002a4791\ncall    qword ptr [rcx+0A0h]                                           ; +0x14, 0x1002a4794\nmov     rdi, rax                                                       ; +0x1a, 0x1002a479a\nmov     rsi, rbx                                                       ; +0x1d, 0x1002a479d\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x20, 0x1002a47a0\nmov     rdi, rbx                                                       ; +0x25, 0x1002a47a5\ncall    cocos2d__CCNode__stopAllActions                                ; +0x28, 0x1002a47a8\nmov     rdi, rbx                                                       ; +0x2d, 0x1002a47ad\ncall    cocos2d__CCNode__unscheduleAllSelectors                        ; +0x30, 0x1002a47b0\nmov     rax, [rbx]                                                     ; +0x35, 0x1002a47b5\nmov     rdi, rbx                                                       ; +0x38, 0x1002a47b8\nxor     esi, esi                                                       ; +0x3b, 0x1002a47bb\ncall    qword ptr [rax+430h]                                           ; +0x3d, 0x1002a47bd\nmov     rax, [rbx]                                                     ; +0x43, 0x1002a47c3\nmov     rax, [rax+210h]                                                ; +0x46, 0x1002a47c6\nmov     rdi, rbx                                                       ; +0x4d, 0x1002a47cd\nmov     esi, 1                                                         ; +0x50, 0x1002a47d0\nadd     rsp, 8                                                         ; +0x55, 0x1002a47d5\npop     rbx                                                            ; +0x59, 0x1002a47d9\npop     rbp                                                            ; +0x5a, 0x1002a47da\njmp     rax                                                            ; +0x5b, 0x1002a47db", "xrefs": ["sub_1002A4500 @ 0x1002a463e"], "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"}