{"type": "func", "start": 4298126656, "end": 4298126749, "name": "GJPathRewardPopup::closePopup", "pseudocode": "// \n// GJPathRewardPopup::closePopup from 0x100303540 to 0x10030359d (93 bytes)\n// \n// 1 xrefs:\n// > GJPathRewardPopup::onClaim @ 0x100303467\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 GJPathRewardPopup::closePopup(GJPathRewardPopup *a1)\n{\n  cocos2d::CCDirector *v1; // rax\n  cocos2d::CCTouchDispatcher *v2; // rax\n\n  v1 = cocos2d::CCDirector::sharedDirector();\n  v2 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v1->getTouchDispatcher)(v1);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v2, a1);\n  cocos2d::CCNode::stopAllActions(a1);\n  cocos2d::CCNode::unscheduleAllSelectors(a1);\n  ((void (__fastcall *)(GJPathRewardPopup *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(GJPathRewardPopup *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; GJPathRewardPopup::closePopup from 0x100303540 to 0x10030359d (93 bytes)\n; \n; 1 xrefs:\n; > GJPathRewardPopup::onClaim @ 0x100303467\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, 0x100303540\nmov     rbp, rsp                                                       ; +0x1, 0x100303541\npush    rbx                                                            ; +0x4, 0x100303544\npush    rax                                                            ; +0x5, 0x100303545\nmov     rbx, rdi                                                       ; +0x6, 0x100303546\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x9, 0x100303549\nmov     rcx, [rax]                                                     ; +0xe, 0x10030354e\nmov     rdi, rax                                                       ; +0x11, 0x100303551\ncall    qword ptr [rcx+0A0h]                                           ; +0x14, 0x100303554\nmov     rdi, rax                                                       ; +0x1a, 0x10030355a\nmov     rsi, rbx                                                       ; +0x1d, 0x10030355d\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x20, 0x100303560\nmov     rdi, rbx                                                       ; +0x25, 0x100303565\ncall    cocos2d__CCNode__stopAllActions                                ; +0x28, 0x100303568\nmov     rdi, rbx                                                       ; +0x2d, 0x10030356d\ncall    cocos2d__CCNode__unscheduleAllSelectors                        ; +0x30, 0x100303570\nmov     rax, [rbx]                                                     ; +0x35, 0x100303575\nmov     rdi, rbx                                                       ; +0x38, 0x100303578\nxor     esi, esi                                                       ; +0x3b, 0x10030357b\ncall    qword ptr [rax+420h]                                           ; +0x3d, 0x10030357d\nmov     rax, [rbx]                                                     ; +0x43, 0x100303583\nmov     rax, [rax+200h]                                                ; +0x46, 0x100303586\nmov     rdi, rbx                                                       ; +0x4d, 0x10030358d\nmov     esi, 1                                                         ; +0x50, 0x100303590\nadd     rsp, 8                                                         ; +0x55, 0x100303595\npop     rbx                                                            ; +0x59, 0x100303599\npop     rbp                                                            ; +0x5a, 0x10030359a\njmp     rax                                                            ; +0x5b, 0x10030359b", "xrefs": ["GJPathRewardPopup::onClaim @ 0x100303467"], "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"}