//
// sub_1000D5220 from 0x1000d5220 to 0x1000d529c (124 bytes)
//
// 1 xrefs:
// > sub_1000BEFC8 @ 0x1000bf268
//
// 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 10:58:56 +0000
//
char *sub_1000D5220()
{
char *v0; // x19
v0 = (char *)operator new(0x1B0u);
cocos2d::CCNode::CCNode();
*(_QWORD *)v0 = off_1008CD830;
*(_OWORD *)(v0 + 316) = 0u;
*(_OWORD *)(v0 + 332) = 0u;
*(_OWORD *)(v0 + 348) = 0u;
*(_OWORD *)(v0 + 364) = 0u;
*(_OWORD *)(v0 + 380) = 0u;
*(_OWORD *)(v0 + 396) = 0u;
*(_OWORD *)(v0 + 411) = 0u;
if ( (unsigned int)cocos2d::CCNode::init(v0) )
{
cocos2d::CCObject::autorelease((__int64)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}