//
// sub_1003C9C78 from 0x1003c9c78 to 0x1003c9d2c (180 bytes)
//
// 1 xrefs:
// > sub_1003C9BB4 @ 0x1003c9bf0
//
// 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:04:08 +0000
//
char *__fastcall sub_1003C9C78(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5)
{
char *v10; // x19
v10 = (char *)operator new(0x170u);
cocos2d::CCNode::CCNode((__int64)v10);
*(_QWORD *)v10 = &off_100948988;
*((_DWORD *)v10 + 91) = 0;
*(_OWORD *)(v10 + 316) = 0u;
*(_OWORD *)(v10 + 332) = 0u;
*(_OWORD *)(v10 + 348) = 0u;
if ( (unsigned int)sub_1003DF13C(v10, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease((__int64)v10);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v10 + 16LL))(v10);
return nullptr;
}
return v10;
}