//
// cocos2d::CCDirector::setTouchDispatcher from 0x1800c3410 to 0x1800c3450 (64 bytes)
//
// 5 xrefs:
// > ??> @ 0x18010da60
// > ??> @ 0x18010db70
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c366c
// > ??> @ 0x1801c3678
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 11:22:26 +0000
//
void __fastcall cocos2d::CCDirector::setTouchDispatcher(
cocos2d::CCDirector *this,
struct cocos2d::CCTouchDispatcher *a2)
{
cocos2d::CCObject *v4; // rcx
if ( *((struct cocos2d::CCTouchDispatcher **)this + 15) != a2 )
{
if ( a2 )
cocos2d::CCObject::retain(a2);
v4 = *((cocos2d::CCObject **)this + 15);
if ( v4 )
cocos2d::CCObject::release(v4);
*((_QWORD *)this + 15) = a2;
}
}