//
// sub_100475C50 from 0x100475c50 to 0x100475c9f (79 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:30:35 +0000
//
__int64 __fastcall sub_100475C50(__int64 a1)
{
void *v1; // rax
*(_QWORD *)a1 = off_100B46660;
if ( *(_QWORD *)(a1 + 56) )
{
v1 = __dynamic_cast(
*(const void **)(a1 + 56),
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCTouchDelegate,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
-2);
cocos2d::CCObject::release(v1);
}
return sub_10047FF60(a1);
}