{"type": "func", "start": 6442783296, "end": 6442783339, "name": "cocos2d::CCLayer::unregisterScriptTouchHandler", "pseudocode": "// \n// cocos2d::CCLayer::unregisterScriptTouchHandler from 0x180051240 to 0x18005126b (43 bytes)\n// \n// 8 xrefs:\n// > <???> @ 0x1800ed268\n// > <???> @ 0x1800ed728\n// > <???> @ 0x1800edc60\n// > <???> @ 0x1800ee1c8\n// > <???> @ 0x1800ee7a0\n// > <???> @ 0x1800f7070\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b21cc\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 cocos2d::CCLayer::unregisterScriptTouchHandler(cocos2d::CCLayer *this)\n{\n  cocos2d::CCTouchScriptHandlerEntry *m_pScriptTouchHandlerEntry; // rcx\n\n  m_pScriptTouchHandlerEntry = this->m_pScriptTouchHandlerEntry;\n  if ( m_pScriptTouchHandlerEntry )\n  {\n    cocos2d::CCObject::release(m_pScriptTouchHandlerEntry);\n    this->m_pScriptTouchHandlerEntry = nullptr;\n  }\n}", "assembly": "; \n; cocos2d::CCLayer::unregisterScriptTouchHandler from 0x180051240 to 0x18005126b (43 bytes)\n; \n; 8 xrefs:\n; > <???> @ 0x1800ed268\n; > <???> @ 0x1800ed728\n; > <???> @ 0x1800edc60\n; > <???> @ 0x1800ee1c8\n; > <???> @ 0x1800ee7a0\n; > <???> @ 0x1800f7070\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b21cc\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    rbx                                                            ; +0x0, 0x180051240\nsub     rsp, 20h                                                       ; +0x2, 0x180051242\nmov     rbx, rcx                                                       ; +0x6, 0x180051246\nmov     rcx, [rcx+170h]; this                                          ; +0x9, 0x180051249\ntest    rcx, rcx                                                       ; +0x10, 0x180051250\njz      short loc_180051265                                            ; +0x13, 0x180051253\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x15, 0x180051255\nmov     qword ptr [rbx+170h], 0                                        ; +0x1a, 0x18005125a\nadd     rsp, 20h                                                       ; +0x25, 0x180051265\npop     rbx                                                            ; +0x29, 0x180051269\nretn                                                                   ; +0x2a, 0x18005126a", "xrefs": ["<???> @ 0x1800ed268", "<???> @ 0x1800ed728", "<???> @ 0x1800edc60", "<???> @ 0x1800ee1c8", "<???> @ 0x1800ee7a0", "<???> @ 0x1800f7070", "<???> @ 0x1801438a8", "<???> @ 0x1801b21cc"], "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"}