//
// EffectGameObject::setTargetID2 from 0x10037c904 to 0x10037c91c (24 bytes)
//
// 6 xrefs:
// > SetupTriggerPopup::valueChanged @ 0x10013008c
// > GJFollowCommandLayer::updateTargetGroupID2 @ 0x100137bc4
// > GJFollowCommandLayer::updateTargetGroupID2 @ 0x100137be8
// > SetupRandTriggerPopup::updateTargetID2 @ 0x1001cad60
// > SetupRandTriggerPopup::updateTargetID2 @ 0x1001cad88
// > EditorUI::replaceGroupID @ 0x1003f31f4
//
// 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::setTargetID2(EffectGameObject *a1, int a2)
{
int v2; // w8
v2 = a2 & ~(a2 >> 31);
if ( v2 >= 9999 )
v2 = 9999;
a1->m_centerGroupID = v2;
}