//
// EffectGameObject::setTargetID from 0x1001a2cb0 to 0x1001a2cd0 (32 bytes)
//
// 86 xrefs:
// > GJRotateCommandLayer::onUpdateGroupID @ 0x100003911
// > GJRotateCommandLayer::onUpdateGroupID @ 0x100003948
// > GJRotateCommandLayer::updateTargetGroupID @ 0x1000048bb
// > GJRotateCommandLayer::updateTargetGroupID @ 0x1000048f8
// > GJRotateCommandLayer::textChanged @ 0x100004b67
// > GJRotateCommandLayer::textChanged @ 0x100004d88
// > EditorUI::replaceGroupID @ 0x100045146
// > EditorUI::createNewKeyframeAnim @ 0x10004565a
// > EditorUI::createLoop @ 0x100045b84
// > EditorUI::createLoop @ 0x100045d88
// > EditorUI::onTargetIDChange @ 0x10004dffa
// > SetupOpacityPopup::onTargetIDArrow @ 0x100057d0d
// > SetupOpacityPopup::onTargetIDArrow @ 0x100057d58
// > SetupOpacityPopup::updateTargetID @ 0x10005842b
// > SetupOpacityPopup::updateTargetID @ 0x100058468
// > SetupOpacityPopup::textChanged @ 0x1000586b6
// > SetupOpacityPopup::textChanged @ 0x1000586f8
// > SetupTriggerPopup::valueChanged @ 0x10023846c
// > SetupTouchTogglePopup::onTargetIDArrow @ 0x1002b92dd
// > SetupTouchTogglePopup::onTargetIDArrow @ 0x1002b9328
// > SetupTouchTogglePopup::updateTargetID @ 0x1002b98db
// > SetupTouchTogglePopup::updateTargetID @ 0x1002b9918
// > SetupTouchTogglePopup::textChanged @ 0x1002b99d0
// > SetupTouchTogglePopup::textChanged @ 0x1002b9a18
// > SetupCountTriggerPopup::updateTargetID @ 0x1002bcc77
// > SetupCountTriggerPopup::updateTargetID @ 0x1002bccb8
// > GJFollowCommandLayer::onUpdateGroupID @ 0x1002d6721
// > GJFollowCommandLayer::onUpdateGroupID @ 0x1002d6758
// > GJFollowCommandLayer::updateTargetGroupID @ 0x1002d729b
// > GJFollowCommandLayer::updateTargetGroupID @ 0x1002d72d8
// > GJFollowCommandLayer::textChanged @ 0x1002d751f
// > GJFollowCommandLayer::textChanged @ 0x1002d76d8
// > GJPFollowCommandLayer::onUpdateGroupID @ 0x100366281
// > GJPFollowCommandLayer::onUpdateGroupID @ 0x1003662b8
// > GJPFollowCommandLayer::updateTargetGroupID @ 0x100366f2b
// > GJPFollowCommandLayer::updateTargetGroupID @ 0x100366f68
// > GJPFollowCommandLayer::textChanged @ 0x10036712e
// > GJPFollowCommandLayer::textChanged @ 0x1003672e8
// > SetupCollisionTriggerPopup::onTargetIDArrow @ 0x10039625d
// > SetupCollisionTriggerPopup::onTargetIDArrow @ 0x1003962a8
// > SetupCollisionTriggerPopup::updateTargetID @ 0x100396d0b
// > SetupCollisionTriggerPopup::updateTargetID @ 0x100396d48
// > SetupCollisionTriggerPopup::textChanged @ 0x100396efb
// > SetupCollisionTriggerPopup::textChanged @ 0x100396ff8
// > SetupPulsePopup::onSelectTargetMode @ 0x1003adc73
// > SetupPulsePopup::onSelectTargetMode @ 0x1003adcd8
// > SetupPulsePopup::onUpdateCustomColor @ 0x1003addc7
// > SetupPulsePopup::onUpdateCustomColor @ 0x1003ade18
// > SetupPulsePopup::updateTargetID @ 0x1003aea70
// > SetupPulsePopup::updateTargetID @ 0x1003aeaa8
// > SetupPulsePopup::colorSelectClosed @ 0x1003af3cd
// > SetupPulsePopup::colorSelectClosed @ 0x1003af428
// > SetupPulsePopup::textChanged @ 0x1003b02ee
// > SetupPulsePopup::textChanged @ 0x1003b05c8
// > SetupAnimationPopup::onTargetIDArrow @ 0x1003d535d
// > SetupAnimationPopup::onTargetIDArrow @ 0x1003d53a8
// > SetupAnimationPopup::updateTargetID @ 0x1003d587b
// > SetupAnimationPopup::updateTargetID @ 0x1003d58b8
// > SetupAnimationPopup::textChanged @ 0x1003d5a38
// > SetupAnimationPopup::textChanged @ 0x1003d5a88
// > SetupCameraEdgePopup::onTargetIDArrow @ 0x100588dcd
// > SetupCameraEdgePopup::onTargetIDArrow @ 0x100588e18
// > SetupCameraEdgePopup::onUnlockEdge @ 0x1005890a2
// > SetupCameraEdgePopup::onUnlockEdge @ 0x1005890f8
// > SetupCameraEdgePopup::updateTargetID @ 0x10058924b
// > SetupCameraEdgePopup::updateTargetID @ 0x100589288
// > SetupCameraEdgePopup::textChanged @ 0x10058932c
// > SetupCameraEdgePopup::textChanged @ 0x100589378
// > SetupRandTriggerPopup::onTargetIDArrow @ 0x1005e601d
// > SetupRandTriggerPopup::onTargetIDArrow @ 0x1005e6068
// > SetupRandTriggerPopup::updateTargetID @ 0x1005e684b
// > SetupRandTriggerPopup::updateTargetID @ 0x1005e6888
// > SetupRandTriggerPopup::textChanged @ 0x1005e6a12
// > SetupRandTriggerPopup::textChanged @ 0x1005e6a98
// > SetupInstantCountPopup::onTargetID2Arrow @ 0x1005e9b0d
// > SetupInstantCountPopup::onTargetID2Arrow @ 0x1005e9b58
// > SetupInstantCountPopup::updateTargetID @ 0x1005ea2db
// > SetupInstantCountPopup::updateTargetID @ 0x1005ea318
// > SetupInstantCountPopup::textChanged @ 0x1005ea528
// > SetupInstantCountPopup::textChanged @ 0x1005ea5c8
// > SetupEndPopup::onTargetIDArrow @ 0x10066953d
// > SetupEndPopup::onTargetIDArrow @ 0x100669588
// > SetupEndPopup::updateTargetID @ 0x10066997b
// > SetupEndPopup::updateTargetID @ 0x1006699b8
// > SetupEndPopup::textChanged @ 0x100669a9c
// > SetupEndPopup::textChanged @ 0x100669ae8
//
// 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; // eax
int v3; // ecx
v2 = 0;
if ( a2 > 0 )
v2 = a2;
v3 = 9999;
if ( v2 < 9999 )
v3 = v2;
a1->m_targetGroupID = v3;
}