//
// AdvancedFollowEditObject::create from 0x10037f6d8 to 0x10037f7d8 (256 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10025487c
//
// 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
//
AdvancedFollowEditObject *__fastcall AdvancedFollowEditObject::create(const char *a1)
{
char *v2; // x19
v2 = (char *)operator new(0x838u);
EffectGameObject::EffectGameObject((EffectGameObject *)v2);
*((_DWORD *)v2 + 519) = 0;
*(_OWORD *)(v2 + 1836) = 0u;
*(_OWORD *)(v2 + 1852) = 0u;
*(_OWORD *)(v2 + 1862) = 0u;
v2[1928] = 0;
*(_OWORD *)(v2 + 1880) = 0u;
*(_OWORD *)(v2 + 1896) = 0u;
*(_OWORD *)(v2 + 1912) = 0u;
v2[1940] = 0;
*(_QWORD *)(v2 + 1932) = 0;
*(_OWORD *)(v2 + 1944) = 0u;
*(_OWORD *)(v2 + 1960) = 0u;
*(_OWORD *)(v2 + 1976) = 0u;
*(_OWORD *)(v2 + 1987) = 0u;
*(_OWORD *)(v2 + 2004) = 0u;
*(_OWORD *)(v2 + 2020) = 0u;
*(_OWORD *)(v2 + 2036) = 0u;
*(_OWORD *)(v2 + 2052) = 0u;
*(_QWORD *)(v2 + 2065) = 0;
*(_QWORD *)v2 = &off_1007FD9C8;
*((_QWORD *)v2 + 40) = off_1007FE110;
*((_QWORD *)v2 + 43) = off_1007FE190;
*((_OWORD *)v2 + 130) = xmmword_1006382F0;
v2[2096] = 0;
if ( EnhancedGameObject::init((EnhancedGameObject *)v2, a1) )
{
*((_DWORD *)v2 + 312) = 1;
v2[1450] = -1;
*((_WORD *)v2 + 724) = -1;
*((_DWORD *)v2 + 363) = 1056964608;
v2[1636] = 1;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return (AdvancedFollowEditObject *)v2;
}