//
// sub_1001CD804 from 0x1001cd804 to 0x1001cd868 (100 bytes)
//
// 2 xrefs:
// > cocos2d::CCTouchDispatcher::addPrioTargetedDelegate @ 0x1001cd8a4
// > cocos2d::CCTouchDispatcher::addTargetedDelegate @ 0x1001cd918
//
// This function is hookable on this platform (idp: arm, 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:00:21 +0000
//
__int64 __fastcall sub_1001CD804(_QWORD *a1, void *lpsrc, _DWORD *a3)
{
unsigned int *v5; // x0
if ( lpsrc
&& (v5 = (unsigned int *)__dynamic_cast(
lpsrc,
(const struct __class_type_info *)&off_1008AE340,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
-2)) != nullptr )
{
return sub_1001CD6DC(a1, v5, a3);
}
else
{
return 0;
}
}