//
// cocos2d::CCTouchHandler::~CCTouchHandler from 0x808608 to 0x80863c (52 bytes)
//
// 3 xrefs:
// > cocos2d::CCTargetedTouchHandler::~CCTargetedTouchHandler @ 0x808660
// > cocos2d::CCStandardTouchHandler::~CCStandardTouchHandler @ 0x80867a
// > cocos2d::CCTouchHandler::~CCTouchHandler @ 0x80868c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:01:27 +0000
//
// Alternative name is '_ZN7cocos2d14CCTouchHandlerD1Ev'
void __fastcall cocos2d::CCTouchHandler::~CCTouchHandler(cocos2d::CCTouchHandler *this)
{
const void *v2; // r0
_DWORD *v3; // r0
*(_DWORD *)this = &off_D12B78;
v2 = *((const void **)this + 13);
if ( v2 )
{
v3 = _dynamic_cast(
v2,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCTouchDelegate,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
-2);
cocos2d::CCObject::release(v3);
}
cocos2d::CCObject::~CCObject(this);
}