//
// sub_1004C7640 from 0x1004c7640 to 0x1004c7690 (80 bytes)
//
// 0 xrefs:
//
// 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 12:31:08 +0000
//
char __fastcall sub_1004C7640(__int64 *a1, const void *a2, _DWORD *a3)
{
unsigned int *v4; // rax
if ( a2
&& (v4 = (unsigned int *)__dynamic_cast(
a2,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCTouchDelegate,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
-2)) != nullptr )
{
return sub_1004C74E0(a1, v4, a3);
}
else
{
return 0;
}
}