{"type": "func", "start": 4298107056, "end": 4298107149, "name": "GJPathsLayer::onClose", "pseudocode": "// \n// GJPathsLayer::onClose from 0x1002fe8b0 to 0x1002fe90d (93 bytes)\n// \n// 1 xrefs:\n// > GJPathsLayer::init @ 0x1002fe4e9\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 GJPathsLayer::onClose(GJPathsLayer *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 *)(GJPathsLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(GJPathsLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; GJPathsLayer::onClose from 0x1002fe8b0 to 0x1002fe90d (93 bytes)\n; \n; 1 xrefs:\n; > GJPathsLayer::init @ 0x1002fe4e9\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, 0x1002fe8b0\nmov     rbp, rsp                                                       ; +0x1, 0x1002fe8b1\npush    rbx                                                            ; +0x4, 0x1002fe8b4\npush    rax                                                            ; +0x5, 0x1002fe8b5\nmov     rbx, rdi                                                       ; +0x6, 0x1002fe8b6\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x9, 0x1002fe8b9\nmov     rcx, [rax]                                                     ; +0xe, 0x1002fe8be\nmov     rdi, rax                                                       ; +0x11, 0x1002fe8c1\ncall    qword ptr [rcx+0A0h]                                           ; +0x14, 0x1002fe8c4\nmov     rdi, rax                                                       ; +0x1a, 0x1002fe8ca\nmov     rsi, rbx                                                       ; +0x1d, 0x1002fe8cd\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x20, 0x1002fe8d0\nmov     rdi, rbx                                                       ; +0x25, 0x1002fe8d5\ncall    cocos2d__CCNode__stopAllActions                                ; +0x28, 0x1002fe8d8\nmov     rdi, rbx                                                       ; +0x2d, 0x1002fe8dd\ncall    cocos2d__CCNode__unscheduleAllSelectors                        ; +0x30, 0x1002fe8e0\nmov     rax, [rbx]                                                     ; +0x35, 0x1002fe8e5\nmov     rdi, rbx                                                       ; +0x38, 0x1002fe8e8\nxor     esi, esi                                                       ; +0x3b, 0x1002fe8eb\ncall    qword ptr [rax+420h]                                           ; +0x3d, 0x1002fe8ed\nmov     rax, [rbx]                                                     ; +0x43, 0x1002fe8f3\nmov     rax, [rax+200h]                                                ; +0x46, 0x1002fe8f6\nmov     rdi, rbx                                                       ; +0x4d, 0x1002fe8fd\nmov     esi, 1                                                         ; +0x50, 0x1002fe900\nadd     rsp, 8                                                         ; +0x55, 0x1002fe905\npop     rbx                                                            ; +0x59, 0x1002fe909\npop     rbp                                                            ; +0x5a, 0x1002fe90a\njmp     rax                                                            ; +0x5b, 0x1002fe90b", "xrefs": ["GJPathsLayer::init @ 0x1002fe4e9"], "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"}