//
// sub_1007AABE0 from 0x1007aabe0 to 0x1007aac2c (76 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void *__fastcall sub_1007AABE0(_QWORD *a1, __int64 a2, double a3)
{
_QWORD *v4; // rdi
void *result; // rax
cocos2d::CCObject::CCObject((__int64)a1);
*a1 = off_100991BE0;
v4 = a1 + 7;
if ( (*(_BYTE *)a2 & 1) != 0 )
return sub_100006B70(v4, *(const void **)(a2 + 16), *(_QWORD *)(a2 + 8), a3);
result = *(void **)(a2 + 16);
a1[9] = result;
*(_OWORD *)v4 = *(_OWORD *)a2;
return result;
}