//
// EffectGameObject::setTargetID from 0x75c050 to 0x75c070 (32 bytes)
//
// 51 xrefs:
// > EditorUI::replaceGroupID @ 0x68a784
// > EditorUI::onTargetIDChange @ 0x68f1b4
// > EditorUI::createLoop @ 0x6b699c
// > EditorUI::createLoop @ 0x6b6b20
// > EditorUI::createNewKeyframeAnim @ 0x6bf190
// > ObjectControlGameObject::customObjectSetup @ 0x75c0bc
// > ObjectControlGameObject::customObjectSetup @ 0x75c0d4
// > ShaderGameObject::customObjectSetup @ 0x75c4d8
// > ShaderGameObject::customObjectSetup @ 0x75c774
// > AdvancedFollowTriggerObject::customObjectSetup @ 0x75c834
// > AdvancedFollowTriggerObject::customObjectSetup @ 0x75d480
// > SFXTriggerGameObject::customObjectSetup @ 0x75d86c
// > SFXTriggerGameObject::customObjectSetup @ 0x75dc70
// > CheckpointGameObject::customObjectSetup @ 0x75df44
// > CheckpointGameObject::customObjectSetup @ 0x75dfc0
// > EndTriggerGameObject::customObjectSetup @ 0x75e050
// > EndTriggerGameObject::customObjectSetup @ 0x75e0f4
// > UISettingsGameObject::customObjectSetup @ 0x75e194
// > UISettingsGameObject::customObjectSetup @ 0x75e248
// > SpawnParticleGameObject::customObjectSetup @ 0x75e314
// > SpawnParticleGameObject::customObjectSetup @ 0x75e514
// > TriggerControlGameObject::customObjectSetup @ 0x76de50
// > TriggerControlGameObject::customObjectSetup @ 0x76deac
// > SetupOpacityPopup::updateTargetID @ 0x8e8eec
// > SetupOpacityPopup::updateTargetID @ 0x8e8f0c
// > SetupPulsePopup::updateTargetID @ 0x8ed590
// > SetupPulsePopup::updateTargetID @ 0x8ed5b0
// > GJFollowCommandLayer::updateTargetGroupID @ 0x921ccc
// > GJFollowCommandLayer::updateTargetGroupID @ 0x921ce8
// > GJPFollowCommandLayer::updateTargetGroupID @ 0x9249d4
// > GJPFollowCommandLayer::updateTargetGroupID @ 0x9249f0
// > GJRotateCommandLayer::updateTargetGroupID @ 0x9282bc
// > GJRotateCommandLayer::updateTargetGroupID @ 0x9282d8
// > SetupAnimationPopup::updateTargetID @ 0x94e2b4
// > SetupAnimationPopup::updateTargetID @ 0x94e2d4
// > SetupCollisionTriggerPopup::updateTargetID @ 0x951174
// > SetupCollisionTriggerPopup::updateTargetID @ 0x951194
// > SetupCountTriggerPopup::updateTargetID @ 0x954578
// > SetupCountTriggerPopup::updateTargetID @ 0x9545a8
// > SetupInstantCountPopup::updateTargetID @ 0x95722c
// > SetupInstantCountPopup::updateTargetID @ 0x95724c
// > SetupTouchTogglePopup::updateTargetID @ 0x95be10
// > SetupTouchTogglePopup::updateTargetID @ 0x95be30
// > SetupRandTriggerPopup::updateTargetID @ 0x96db44
// > SetupRandTriggerPopup::updateTargetID @ 0x96db64
// > SetupEndPopup::updateTargetID @ 0x96f118
// > SetupEndPopup::updateTargetID @ 0x96f138
// > SetupTriggerPopup::valueChanged @ 0x9eb828
// > SetupCameraEdgePopup::updateTargetID @ 0x9ef0cc
// > SetupCameraEdgePopup::updateTargetID @ 0x9ef0ec
// > ??> @ 0x65280
//
// 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
//
void EffectGameObject::setTargetID(EffectGameObject *a1, int a2)
{
int v2; // w2
v2 = 9999;
if ( a2 <= 9998 )
{
if ( a2 < 0 )
v2 = 0;
else
v2 = a2;
}
a1->m_targetGroupID = v2;
}