{"type": "func", "start": 5372711808, "end": 5372711941, "name": "InfoLayer::onClose", "pseudocode": "// \n// InfoLayer::onClose from 0x1403d1380 to 0x1403d1405 (133 bytes)\n// \n// 6 xrefs:\n// > InfoLayer::keyBackClicked @ 0x1403d1419\n// > InfoLayer::reloadWindow @ 0x1403d27e4\n// > InfoLayer::init @ 0x1403cefd0\n// > <???> @ 0x1408c32ec\n// > <???> @ 0x1408c32fc\n// > <???> @ 0x1409246ec\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 11:31:35 +0000\n// \n\n__int64 __fastcall InfoLayer::onClose(_QWORD *a1)\n{\n  __int64 v2; // rax\n  struct cocos2d::CCObject *v3; // rbx\n  cocos2d::CCTouchDispatcher *v4; // rax\n  __int64 v5; // rdx\n\n  if ( a1[98] )\n  {\n    v2 = cocos2d::CCDirector::sharedDirector(a1);\n    v3 = (struct cocos2d::CCObject *)a1[98];\n    v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, v3);\n    (*(void (__fastcall **)(_QWORD))(*(_QWORD *)a1[98] + 528LL))(a1[98]);\n    a1[98] = 0;\n    a1[113] = 0;\n  }\n  (*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 992LL))(a1, 0);\n  LOBYTE(v5) = 1;\n  return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 520LL))(a1, v5);\n}", "assembly": "; \n; InfoLayer::onClose from 0x1403d1380 to 0x1403d1405 (133 bytes)\n; \n; 6 xrefs:\n; > InfoLayer::keyBackClicked @ 0x1403d1419\n; > InfoLayer::reloadWindow @ 0x1403d27e4\n; > InfoLayer::init @ 0x1403cefd0\n; > <???> @ 0x1408c32ec\n; > <???> @ 0x1408c32fc\n; > <???> @ 0x1409246ec\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 11:31:35 +0000\n; \npush    rdi                                                            ; +0x0, 0x1403d1380\nsub     rsp, 20h                                                       ; +0x2, 0x1403d1382\ncmp     qword ptr [rcx+310h], 0                                        ; +0x6, 0x1403d1386\nmov     rdi, rcx                                                       ; +0xe, 0x1403d138e\njz      short loc_1403D13E3                                            ; +0x11, 0x1403d1391\nmov     [rsp+28h+arg_0], rbx                                           ; +0x13, 0x1403d1393\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x18, 0x1403d1398\nmov     rbx, [rdi+310h]                                                ; +0x1e, 0x1403d139e\nmov     rcx, rax                                                       ; +0x25, 0x1403d13a5\nmov     r8, [rax]                                                      ; +0x28, 0x1403d13a8\ncall    qword ptr [r8+90h]                                             ; +0x2b, 0x1403d13ab\nmov     rcx, rax                                                       ; +0x32, 0x1403d13b2\nmov     rdx, rbx                                                       ; +0x35, 0x1403d13b5\ncall    cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x38, 0x1403d13b8\nmov     rcx, [rdi+310h]                                                ; +0x3e, 0x1403d13be\nmov     rax, [rcx]                                                     ; +0x45, 0x1403d13c5\ncall    qword ptr [rax+210h]                                           ; +0x48, 0x1403d13c8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4e, 0x1403d13ce\nxor     eax, eax                                                       ; +0x53, 0x1403d13d3\nmov     [rdi+310h], rax                                                ; +0x55, 0x1403d13d5\nmov     [rdi+388h], rax                                                ; +0x5c, 0x1403d13dc\nmov     rax, [rdi]                                                     ; +0x63, 0x1403d13e3\nxor     edx, edx                                                       ; +0x66, 0x1403d13e6\nmov     rcx, rdi                                                       ; +0x68, 0x1403d13e8\ncall    qword ptr [rax+3E0h]                                           ; +0x6b, 0x1403d13eb\nmov     rax, [rdi]                                                     ; +0x71, 0x1403d13f1\nmov     dl, 1                                                          ; +0x74, 0x1403d13f4\nmov     rcx, rdi                                                       ; +0x76, 0x1403d13f6\nadd     rsp, 20h                                                       ; +0x79, 0x1403d13f9\npop     rdi                                                            ; +0x7d, 0x1403d13fd\njmp     qword ptr [rax+208h]                                           ; +0x7e, 0x1403d13fe", "xrefs": ["InfoLayer::keyBackClicked @ 0x1403d1419", "InfoLayer::reloadWindow @ 0x1403d27e4", "InfoLayer::init @ 0x1403cefd0", "<???> @ 0x1408c32ec", "<???> @ 0x1408c32fc", "<???> @ 0x1409246ec"], "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"}