//
// EffectGameObject::init from 0x1404a5880 to 0x1404a58e4 (100 bytes)
//
// 24 xrefs:
// > GameObject::createWithKey @ 0x14018bbc4
// > GameObject::createWithKey @ 0x14018bc7c
// > GameObject::createWithKey @ 0x14018bdeb
// > GameObject::createWithKey @ 0x14018bfd6
// > GameObject::createWithKey @ 0x14018c11b
// > GameObject::createWithKey @ 0x14018c230
// > GameObject::createWithKey @ 0x14018c394
// > GameObject::createWithKey @ 0x14018c5a3
// > GameObject::createWithKey @ 0x14018c6c5
// > GameObject::createWithKey @ 0x14018c6f7
// > GameObject::createWithKey @ 0x14018c916
// > GameObject::createWithKey @ 0x14018ca07
// > GameObject::createWithKey @ 0x14018cd06
// > GameObject::createWithKey @ 0x14018cda6
// > GameObject::createWithKey @ 0x14018ce2a
// > GameObject::createWithKey @ 0x14018d019
// > GameObject::createWithKey @ 0x14018d04b
// > GameObject::createWithKey @ 0x14018d0ca
// > GameObject::createWithKey @ 0x14018d252
// > RingObject::create @ 0x1404a1cac
// > TeleportPortalObject::create @ 0x1404b2287
// > RandTriggerGameObject::init @ 0x1404b41cb
// > SequenceTriggerGameObject::init @ 0x1404b482b
// > ??> @ 0x1406dc884
//
// 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
//
bool EffectGameObject::init(EffectGameObject *a1, const char *a2)
{
a1->m_eObjType = GameObjectObjectType;
if ( !cocos2d::CCSprite::initWithSpriteFrameName(a1, a2) )
return 0;
GameObject::commonSetup(a1);
a1->m_bUnkBool2 = 0;
a1->m_classType = Effect;
*(_WORD *)&a1->m_triggerTargetColor.r = -1;
a1->m_triggerTargetColor.b = -1;
a1->m_duration = 0.5;
a1->m_legacyHSV = 1;
return 1;
}