//
// TransformTriggerGameObject::create from 0x10039140c to 0x1003914c4 (184 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x1002549a4
//
// 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
//
TransformTriggerGameObject *__fastcall TransformTriggerGameObject::create(const char *a1)
{
char *v2; // x19
v2 = (char *)operator new(0x748u);
EffectGameObject::EffectGameObject((EffectGameObject *)v2);
*(_QWORD *)v2 = &off_100802B28;
*((_QWORD *)v2 + 40) = off_100803270;
*((_QWORD *)v2 + 43) = off_1008032F0;
*(_QWORD *)(v2 + 1836) = 0x3F8000003F800000LL;
*(_QWORD *)(v2 + 1844) = 0;
*(_QWORD *)(v2 + 1849) = 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 (TransformTriggerGameObject *)v2;
}