//
// EffectGameObject::setTargetID2 from 0x3e8e80 to 0x3e8e96 (22 bytes)
//
// 15 xrefs:
// > EditorUI::replaceGroupID @ 0x37e452
// > ShaderGameObject::customObjectSetup @ 0x3e929c
// > AdvancedFollowTriggerObject::customObjectSetup @ 0x3e9358
// > SFXTriggerGameObject::customObjectSetup @ 0x3e9f7e
// > CheckpointGameObject::customObjectSetup @ 0x3ea2c4
// > EndTriggerGameObject::customObjectSetup @ 0x3ea336
// > UISettingsGameObject::customObjectSetup @ 0x3ea3c8
// > SpawnParticleGameObject::customObjectSetup @ 0x3ea47e
// > GJFollowCommandLayer::updateTargetGroupID2 @ 0x4dca50
// > GJFollowCommandLayer::updateTargetGroupID2 @ 0x4dca5e
// > GJRotateCommandLayer::updateTargetGroupID2 @ 0x4e06f4
// > GJRotateCommandLayer::updateTargetGroupID2 @ 0x4e0702
// > SetupRandTriggerPopup::updateTargetID2 @ 0x5058ea
// > SetupRandTriggerPopup::updateTargetID2 @ 0x505912
// > SetupTriggerPopup::valueChanged @ 0x546ba6
//
// 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::setTargetID2(EffectGameObject *a1, int a2)
{
int v2; // r1
if ( a2 > 9998 )
v2 = 9999;
else
v2 = a2 & ~(a2 >> 31);
a1->m_centerGroupID = v2;
}