{"type": "func", "start": 4298019872, "end": 4298019965, "name": "GJPathsLayer::onClose", "pseudocode": "// \n// GJPathsLayer::onClose from 0x1002e9420 to 0x1002e947d (93 bytes)\n// \n// 1 xrefs:\n// > GJPathsLayer::init @ 0x1002e9059\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:28:22 +0000\n// \n\n__int64 __fastcall GJPathsLayer::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; GJPathsLayer::onClose from 0x1002e9420 to 0x1002e947d (93 bytes)\n; \n; 1 xrefs:\n; > GJPathsLayer::init @ 0x1002e9059\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:28:22 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002e9420\nmov     rbp, rsp                                                       ; +0x1, 0x1002e9421\npush    rbx                                                            ; +0x4, 0x1002e9424\npush    rax                                                            ; +0x5, 0x1002e9425\nmov     rbx, rdi                                                       ; +0x6, 0x1002e9426\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x9, 0x1002e9429\nmov     rcx, [rax]                                                     ; +0xe, 0x1002e942e\nmov     rdi, rax                                                       ; +0x11, 0x1002e9431\ncall    qword ptr [rcx+0A0h]                                           ; +0x14, 0x1002e9434\nmov     rdi, rax                                                       ; +0x1a, 0x1002e943a\nmov     rsi, rbx                                                       ; +0x1d, 0x1002e943d\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x20, 0x1002e9440\nmov     rdi, rbx                                                       ; +0x25, 0x1002e9445\ncall    cocos2d__CCNode__stopAllActions                                ; +0x28, 0x1002e9448\nmov     rdi, rbx                                                       ; +0x2d, 0x1002e944d\ncall    cocos2d__CCNode__unscheduleAllSelectors                        ; +0x30, 0x1002e9450\nmov     rax, [rbx]                                                     ; +0x35, 0x1002e9455\nmov     rdi, rbx                                                       ; +0x38, 0x1002e9458\nxor     esi, esi                                                       ; +0x3b, 0x1002e945b\ncall    qword ptr [rax+430h]                                           ; +0x3d, 0x1002e945d\nmov     rax, [rbx]                                                     ; +0x43, 0x1002e9463\nmov     rax, [rax+210h]                                                ; +0x46, 0x1002e9466\nmov     rdi, rbx                                                       ; +0x4d, 0x1002e946d\nmov     esi, 1                                                         ; +0x50, 0x1002e9470\nadd     rsp, 8                                                         ; +0x55, 0x1002e9475\npop     rbx                                                            ; +0x59, 0x1002e9479\npop     rbp                                                            ; +0x5a, 0x1002e947a\njmp     rax                                                            ; +0x5b, 0x1002e947b", "xrefs": ["GJPathsLayer::init @ 0x1002e9059"], "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"}