//
// AdvancedFollowTriggerObject::create from 0x100182b60 to 0x100182c8f (303 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10066ee0b
//
// 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:25:34 +0000
//
char *__fastcall AdvancedFollowTriggerObject::create(__int64 a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x828u);
EffectGameObject::EffectGameObject(v1);
*(_QWORD *)v1 = off_100ACF880;
*((_QWORD *)v1 + 40) = off_100ACFFD8;
*((_QWORD *)v1 + 43) = off_100AD0058;
*((_DWORD *)v1 + 520) = 0;
*((_OWORD *)v1 + 115) = 0;
*((_OWORD *)v1 + 116) = 0;
*(_OWORD *)(v1 + 1866) = 0;
*(_OWORD *)(v1 + 1884) = 0;
*(_OWORD *)(v1 + 1900) = 0;
*(_OWORD *)(v1 + 1916) = 0;
v1[1932] = 0;
*((_QWORD *)v1 + 242) = 0;
v1[1944] = 0;
*(_OWORD *)(v1 + 1948) = 0;
*(_OWORD *)(v1 + 1964) = 0;
*(_OWORD *)(v1 + 1980) = 0;
*(_OWORD *)(v1 + 1991) = 0;
*(_OWORD *)(v1 + 2056) = 0;
*(_OWORD *)(v1 + 2040) = 0;
*(_OWORD *)(v1 + 2024) = 0;
*(_OWORD *)(v1 + 2008) = 0;
*(_QWORD *)(v1 + 2069) = 0;
if ( (unsigned __int8)EnhancedGameObject::init(v1, a1) )
{
*((_DWORD *)v1 + 312) = 1;
v1[1450] = -1;
*((_WORD *)v1 + 724) = -1;
*((_DWORD *)v1 + 363) = 1056964608;
v1[1636] = 1;
cocos2d::CCObject::autorelease(v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}