{"type": "func", "start": 4298447864, "end": 4298447980, "name": "InfoLayer::onClose", "pseudocode": "// \n// InfoLayer::onClose from 0x100351bf8 to 0x100351c6c (116 bytes)\n// \n// 4 xrefs:\n// > InfoLayer::keyBackClicked @ 0x100352b2c\n// > sub_100352B30 @ 0x100352b34\n// > InfoLayer::reloadWindow @ 0x100353260\n// > InfoLayer::init @ 0x100350878\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 *v3; // x0\n  cocos2d::CCTouchDispatcher *v4; // x0\n\n  if ( a1->m_list )\n  {\n    v3 = cocos2d::CCDirector::sharedDirector();\n    v4 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getTouchDispatcher)(v3);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, 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 0x100351bf8 to 0x100351c6c (116 bytes)\n; \n; 4 xrefs:\n; > InfoLayer::keyBackClicked @ 0x100352b2c\n; > sub_100352B30 @ 0x100352b34\n; > InfoLayer::reloadWindow @ 0x100353260\n; > InfoLayer::init @ 0x100350878\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100351bf8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100351bfc\nADD             X29, SP, #0x10                                         ; +0x8, 0x100351c00\nMOV             X19, X0                                                ; +0xc, 0x100351c04\nLDR             X8, [X0,#0x2D8]                                        ; +0x10, 0x100351c08\nCBZ             X8, loc_100351C3C                                      ; +0x14, 0x100351c0c\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x18, 0x100351c10\nLDR             X8, [X0]                                               ; +0x1c, 0x100351c14\nLDR             X8, [X8,#0xA0]                                         ; +0x20, 0x100351c18\nBLR             X8                                                     ; +0x24, 0x100351c1c\nLDR             X1, [X19,#0x2D8]                                       ; +0x28, 0x100351c20\nBL              cocos2d__CCTouchDispatcher__unregisterForcePrio        ; +0x2c, 0x100351c24\nLDR             X0, [X19,#0x2D8]                                       ; +0x30, 0x100351c28\nLDR             X8, [X0]                                               ; +0x34, 0x100351c2c\nLDR             X8, [X8,#0x208]                                        ; +0x38, 0x100351c30\nBLR             X8                                                     ; +0x3c, 0x100351c34\nSTR             XZR, [X19,#0x2D8]                                      ; +0x40, 0x100351c38\nLDR             X8, [X19]                                              ; +0x44, 0x100351c3c\nLDR             X8, [X8,#0x420]                                        ; +0x48, 0x100351c40\nMOV             X0, X19                                                ; +0x4c, 0x100351c44\nMOV             W1, #0                                                 ; +0x50, 0x100351c48\nBLR             X8                                                     ; +0x54, 0x100351c4c\nLDR             X8, [X19]                                              ; +0x58, 0x100351c50\nLDR             X2, [X8,#0x200]                                        ; +0x5c, 0x100351c54\nMOV             X0, X19                                                ; +0x60, 0x100351c58\nMOV             W1, #1                                                 ; +0x64, 0x100351c5c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x68, 0x100351c60\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x6c, 0x100351c64\nBR              X2                                                     ; +0x70, 0x100351c68", "xrefs": ["InfoLayer::keyBackClicked @ 0x100352b2c", "sub_100352B30 @ 0x100352b34", "InfoLayer::reloadWindow @ 0x100353260", "InfoLayer::init @ 0x100350878"], "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"}