//
// sub_10097CFD0 from 0x10097cfd0 to 0x10097d06d (157 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:38:58 +0000
//
char *__fastcall sub_10097CFD0(__int64 a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x170u);
__bzero(v1, 368);
cocos2d::CCNode::CCNode((__int64)v1);
*(_QWORD *)v1 = off_100BD2780;
*((_OWORD *)v1 + 22) = 0;
*((_OWORD *)v1 + 20) = 0;
*(_DWORD *)(v1 + 335) = 0;
*((_QWORD *)v1 + 43) = v1 + 352;
if ( cocos2d::CCNode::init() )
{
*((_QWORD *)v1 + 40) = a1;
sub_10097CC90(v1);
cocos2d::CCObject::autorelease((__int64)v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}