//
// EffectGameObject::init from 0x3e85fc to 0x3e862a (46 bytes)
//
// 32 xrefs:
// > EnterEffectObject::init @ 0x3e862e
// > GradientTriggerObject::init @ 0x3e87c8
// > ShaderGameObject::init @ 0x3e87dc
// > AdvancedFollowTriggerObject::init @ 0x3e88c4
// > GameOptionsTrigger::init @ 0x3e898e
// > RingObject::init @ 0x3e8a34
// > KeyframeAnimTriggerObject::init @ 0x3e8b40
// > KeyframeGameObject::init @ 0x3e8b50
// > EventLinkTrigger::init @ 0x3e8b70
// > SpawnTriggerGameObject::init @ 0x3e8b7c
// > CheckpointGameObject::init @ 0x3e8b8c
// > EndTriggerGameObject::init @ 0x3e8ba8
// > UISettingsGameObject::init @ 0x3e8bb4
// > AudioLineGuideGameObject::init @ 0x3e8bc4
// > PlayerControlGameObject::init @ 0x3e8be0
// > ObjectControlGameObject::init @ 0x3e8bec
// > SpawnParticleGameObject::init @ 0x3e8bf8
// > RotateGameplayGameObject::init @ 0x3e8c04
// > EffectGameObject::create @ 0x3e8c22
// > EnhancedTriggerObject::init @ 0x3eabc8
// > StartPosObject::init @ 0x3eaccc
// > TeleportPortalObject::init @ 0x3ead1e
// > ChanceTriggerGameObject::init @ 0x3eb420
// > SFXTriggerGameObject::init @ 0x3eb980
// > CountTriggerGameObject::init @ 0x3ec1ac
// > TransformTriggerGameObject::init @ 0x3ec22c
// > CameraTriggerGameObject::init @ 0x3ec398
// > TimerTriggerGameObject::init @ 0x3ec428
// > ItemTriggerGameObject::init @ 0x3ec4c4
// > ForceBlockGameObject::init @ 0x3ec5ec
// > ArtTriggerGameObject::init @ 0x3ec8c8
// > TriggerControlGameObject::init @ 0x3eca0e
//
// 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)
{
_BOOL4 v3; // r0
v3 = EnhancedGameObject::init(a1, a2);
if ( v3 )
{
a1->m_triggerTargetColor.r = -1;
a1->m_triggerTargetColor.g = -1;
a1->m_triggerTargetColor.b = -1;
a1->m_classType = Effect;
a1->m_duration = 0.5;
a1->m_legacyHSV = 1;
}
return v3;
}