//
// sub_1009756A0 from 0x1009756a0 to 0x1009756ff (95 bytes)
//
// 2 xrefs:
// > sub_1006D9210 @ 0x1006d922a
// > sub_1006F9210 @ 0x1006f92be
//
// 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:55 +0000
//
void *__fastcall sub_1009756A0(unsigned int a1, __int64 a2, __int64 a3)
{
void *v4; // rbx
v4 = operator new(0x2E8u);
sub_100977470(v4);
if ( (unsigned __int8)sub_100975720(v4, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}