//
// EffectGameObject::setTargetID from 0x10037c8ec to 0x10037c904 (24 bytes)
//
// 30 xrefs:
// > SetupOpacityPopup::updateTargetID @ 0x100023dc8
// > SetupOpacityPopup::updateTargetID @ 0x100023df0
// > SetupCountTriggerPopup::updateTargetID @ 0x1000f4d2c
// > SetupCountTriggerPopup::updateTargetID @ 0x1000f4d64
// > SetupTriggerPopup::valueChanged @ 0x100130738
// > GJFollowCommandLayer::updateTargetGroupID @ 0x100137b44
// > GJFollowCommandLayer::updateTargetGroupID @ 0x100137b68
// > GJPFollowCommandLayer::updateTargetGroupID @ 0x100160830
// > GJPFollowCommandLayer::updateTargetGroupID @ 0x100160854
// > SetupInstantCountPopup::updateTargetID @ 0x1001bcfb8
// > SetupInstantCountPopup::updateTargetID @ 0x1001bcfe0
// > SetupRandTriggerPopup::updateTargetID @ 0x1001cacdc
// > SetupRandTriggerPopup::updateTargetID @ 0x1001cad04
// > SetupCollisionTriggerPopup::updateTargetID @ 0x100230948
// > SetupCollisionTriggerPopup::updateTargetID @ 0x100230970
// > SetupCameraEdgePopup::updateTargetID @ 0x10023ac60
// > SetupCameraEdgePopup::updateTargetID @ 0x10023ac88
// > SetupTouchTogglePopup::updateTargetID @ 0x10024bf84
// > SetupTouchTogglePopup::updateTargetID @ 0x10024bfac
// > SetupEndPopup::updateTargetID @ 0x1002adc50
// > SetupEndPopup::updateTargetID @ 0x1002adc78
// > SetupPulsePopup::updateTargetID @ 0x1003b6ab8
// > SetupPulsePopup::updateTargetID @ 0x1003b6ae0
// > SetupAnimationPopup::updateTargetID @ 0x1003c4064
// > SetupAnimationPopup::updateTargetID @ 0x1003c408c
// > EditorUI::replaceGroupID @ 0x1003f31dc
// > EditorUI::createNewKeyframeAnim @ 0x1003f3610
// > EditorUI::createLoop @ 0x1003f38f4
// > EditorUI::createLoop @ 0x1003f3b08
// > EditorUI::onTargetIDChange @ 0x1003f7e24
//
// 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 __fastcall EffectGameObject::setTargetID(EffectGameObject *a1, int a2)
{
int v2; // w8
v2 = a2 & ~(a2 >> 31);
if ( v2 >= 9999 )
v2 = 9999;
a1->m_targetGroupID = v2;
}