//
// EffectGameObject::create from 0x100384fc0 to 0x100385044 (132 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10025436c
//
// 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
//
EffectGameObject *__fastcall EffectGameObject::create(const char *a1)
{
EffectGameObject *v2; // x19
v2 = (EffectGameObject *)operator new(0x730u);
EffectGameObject::EffectGameObject(v2);
if ( EnhancedGameObject::init(v2, a1) )
{
v2->m_classType = Effect;
v2->m_triggerTargetColor.b = -1;
*(_WORD *)&v2->m_triggerTargetColor.r = -1;
v2->m_duration = 0.5;
v2->m_legacyHSV = 1;
cocos2d::CCObject::autorelease(v2);
}
else
{
((void (__fastcall *)(EffectGameObject *))v2->~EffectGameObject_0)(v2);
return nullptr;
}
return v2;
}