//
// TimerTriggerGameObject::create from 0x1003940a8 to 0x100394168 (192 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10025449c
//
// 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
//
TimerTriggerGameObject *__fastcall TimerTriggerGameObject::create(const char *a1)
{
char *v2; // x19
v2 = (char *)operator new(0x750u);
EffectGameObject::EffectGameObject((EffectGameObject *)v2);
*(_QWORD *)v2 = &off_100804B68;
*((_QWORD *)v2 + 40) = off_1008052B0;
*((_QWORD *)v2 + 43) = off_100805330;
*((_OWORD *)v2 + 115) = 0u;
*(_DWORD *)(v2 + 1855) = 0;
*((_DWORD *)v2 + 465) = 1065353216;
*((_WORD *)v2 + 932) = 0;
*((_DWORD *)v2 + 467) = 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 (TimerTriggerGameObject *)v2;
}