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