//
// EffectGameObject::setTargetID2 from 0x1001a2cd0 to 0x1001a2cf0 (32 bytes)
//
// 20 xrefs:
// > GJRotateCommandLayer::onUpdateGroupID2 @ 0x1000039cd
// > GJRotateCommandLayer::onUpdateGroupID2 @ 0x100003a08
// > GJRotateCommandLayer::updateTargetGroupID2 @ 0x10000495b
// > GJRotateCommandLayer::updateTargetGroupID2 @ 0x100004998
// > GJRotateCommandLayer::textChanged @ 0x100004b16
// > GJRotateCommandLayer::textChanged @ 0x100004d38
// > EditorUI::replaceGroupID @ 0x100045159
// > SetupTriggerPopup::valueChanged @ 0x1002377b8
// > GJFollowCommandLayer::onUpdateGroupID2 @ 0x1002d67dd
// > GJFollowCommandLayer::onUpdateGroupID2 @ 0x1002d6818
// > GJFollowCommandLayer::updateTargetGroupID2 @ 0x1002d733b
// > GJFollowCommandLayer::updateTargetGroupID2 @ 0x1002d7378
// > GJFollowCommandLayer::textChanged @ 0x1002d74ce
// > GJFollowCommandLayer::textChanged @ 0x1002d7688
// > SetupRandTriggerPopup::onTargetID2Arrow @ 0x1005e60dd
// > SetupRandTriggerPopup::onTargetID2Arrow @ 0x1005e6128
// > SetupRandTriggerPopup::updateTargetID2 @ 0x1005e68eb
// > SetupRandTriggerPopup::updateTargetID2 @ 0x1005e6928
// > SetupRandTriggerPopup::textChanged @ 0x1005e6afa
// > SetupRandTriggerPopup::textChanged @ 0x1005e6b48
//
// 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; // eax
int v3; // ecx
v2 = 0;
if ( a2 > 0 )
v2 = a2;
v3 = 9999;
if ( v2 < 9999 )
v3 = v2;
a1->m_centerGroupID = v3;
}