//
// sub_1000867DC from 0x1000867dc to 0x100086898 (188 bytes)
//
// 1 xrefs:
// > sub_10044F4FC @ 0x10044f51c
//
// 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:19 +0000
//
_QWORD *__fastcall sub_1000867DC(__int64 a1)
{
_QWORD *v2; // x19
v2 = operator new(0x318u);
sub_100086C5C();
*v2 = &off_1008C7148;
v2[40] = off_1008C76D8;
v2[41] = &off_1008C7748;
v2[42] = off_1008C7760;
v2[43] = off_1008C7780;
v2[44] = off_1008C77A8;
v2[51] = off_1008C77D8;
v2[54] = off_1008C7858;
v2[68] = off_1008C7878;
v2[83] = &off_1008C78C0;
*((_DWORD *)v2 + 190) = 0;
*((_OWORD *)v2 + 48) = 0u;
*((_DWORD *)v2 + 196) = 0;
if ( (unsigned int)sub_1000868AC(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v2 + 16LL))(v2);
return nullptr;
}
return v2;
}