{"type": "func", "start": 4303031952, "end": 4303032070, "name": "InfoLayer::onClose", "pseudocode": "// \n// InfoLayer::onClose from 0x1007b0e90 to 0x1007b0f06 (118 bytes)\n// \n// 1 xrefs:\n// > InfoLayer::init @ 0x1007af495\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 InfoLayer::onClose(InfoLayer *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v2; // rax\n  cocos2d::CCTouchDispatcher *v3; // rax\n\n  if ( a1->m_list )\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->m_list);\n    ((void (__fastcall *)(GJCommentListLayer *))a1->m_list->removeMeAndCleanup)(a1->m_list);\n    a1->m_list = nullptr;\n  }\n  ((void (__fastcall *)(InfoLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(InfoLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; InfoLayer::onClose from 0x1007b0e90 to 0x1007b0f06 (118 bytes)\n; \n; 1 xrefs:\n; > InfoLayer::init @ 0x1007af495\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, 0x1007b0e90\nmov     rbp, rsp                                                       ; +0x1, 0x1007b0e91\npush    rbx                                                            ; +0x4, 0x1007b0e94\npush    rax                                                            ; +0x5, 0x1007b0e95\nmov     rbx, rdi                                                       ; +0x6, 0x1007b0e96\ncmp     qword ptr [rdi+2D8h], 0                                        ; +0x9, 0x1007b0e99\njz      short loc_1007B0EDE                                            ; +0x11, 0x1007b0ea1\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x13, 0x1007b0ea3\nmov     rcx, [rax]                                                     ; +0x18, 0x1007b0ea8\nmov     rdi, rax                                                       ; +0x1b, 0x1007b0eab\ncall    qword ptr [rcx+0A0h]                                           ; +0x1e, 0x1007b0eae\nmov     rsi, [rbx+2D8h]                                                ; +0x24, 0x1007b0eb4\nmov     rdi, rax                                                       ; +0x2b, 0x1007b0ebb\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x2e, 0x1007b0ebe\nmov     rdi, [rbx+2D8h]                                                ; +0x33, 0x1007b0ec3\nmov     rax, [rdi]                                                     ; +0x3a, 0x1007b0eca\ncall    qword ptr [rax+208h]                                           ; +0x3d, 0x1007b0ecd\nmov     qword ptr [rbx+2D8h], 0                                        ; +0x43, 0x1007b0ed3\nmov     rax, [rbx]                                                     ; +0x4e, 0x1007b0ede\nmov     rdi, rbx                                                       ; +0x51, 0x1007b0ee1\nxor     esi, esi                                                       ; +0x54, 0x1007b0ee4\ncall    qword ptr [rax+420h]                                           ; +0x56, 0x1007b0ee6\nmov     rax, [rbx]                                                     ; +0x5c, 0x1007b0eec\nmov     rax, [rax+200h]                                                ; +0x5f, 0x1007b0eef\nmov     rdi, rbx                                                       ; +0x66, 0x1007b0ef6\nmov     esi, 1                                                         ; +0x69, 0x1007b0ef9\nadd     rsp, 8                                                         ; +0x6e, 0x1007b0efe\npop     rbx                                                            ; +0x72, 0x1007b0f02\npop     rbp                                                            ; +0x73, 0x1007b0f03\njmp     rax                                                            ; +0x74, 0x1007b0f04", "xrefs": ["InfoLayer::init @ 0x1007af495"], "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"}