//
// sub_1002169C4 from 0x1002169c4 to 0x100216a0c (72 bytes)
//
// 2 xrefs:
// > sub_100216A0C @ 0x100216a40
// > ??> @ 0x1007c37a0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1002169C4(__int64 a1, void *lpsrc)
{
cocos2d::CCObject *v2; // x0
*(_QWORD *)(a1 + 56) = lpsrc;
if ( lpsrc )
v2 = (cocos2d::CCObject *)__dynamic_cast(
lpsrc,
(const struct __class_type_info *)&off_10076FDE8,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
-2);
else
v2 = nullptr;
cocos2d::CCObject::retain(v2);
return 1;
}