//
// AdvancedFollowTriggerObject::create from 0x4e9e44 to 0x4e9e82 (62 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x45bbf4
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:51:07 +0000
//
AdvancedFollowTriggerObject *__fastcall AdvancedFollowTriggerObject::create(
AdvancedFollowTriggerObject *this,
const char *a2)
{
AdvancedFollowTriggerObject *v3; // r4
int v4; // r3
AdvancedFollowTriggerObject *v5; // r0
v3 = (AdvancedFollowTriggerObject *)operator new(0x768u);
AdvancedFollowTriggerObject::AdvancedFollowTriggerObject(v3);
if ( AdvancedFollowTriggerObject::init(v3, (const char *)this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = *(_DWORD *)v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(AdvancedFollowTriggerObject *))(v4 + 8))(v5);
}
return v3;
}