//
// EffectGameObject::setTargetID from 0x877208 to 0x877228 (32 bytes)
//
// 39 xrefs:
// > EditorUI::replaceGroupID @ 0x7c3c0c
// > EditorUI::createNewKeyframeAnim @ 0x7c3e1c
// > EditorUI::createLoop @ 0x7c4134
// > EditorUI::createLoop @ 0x7c42bc
// > EditorUI::onTargetIDChange @ 0x7c66dc
// > ShaderGameObject::customObjectSetup @ 0x88d740
// > ShaderGameObject::customObjectSetup @ 0x88daf4
// > AdvancedFollowTriggerObject::customObjectSetup @ 0x88dc50
// > AdvancedFollowTriggerObject::customObjectSetup @ 0x88f7d4
// > SFXTriggerGameObject::customObjectSetup @ 0x891720
// > SFXTriggerGameObject::customObjectSetup @ 0x891e88
// > CheckpointGameObject::customObjectSetup @ 0x8922d4
// > CheckpointGameObject::customObjectSetup @ 0x8923d0
// > EndTriggerGameObject::customObjectSetup @ 0x892c90
// > EndTriggerGameObject::customObjectSetup @ 0x892da0
// > UISettingsGameObject::customObjectSetup @ 0x892e54
// > ObjectControlGameObject::customObjectSetup @ 0x894f28
// > ObjectControlGameObject::customObjectSetup @ 0x894f48
// > SpawnParticleGameObject::customObjectSetup @ 0x895158
// > TriggerControlGameObject::customObjectSetup @ 0x89a4c4
// > TriggerControlGameObject::customObjectSetup @ 0x89a55c
// > SetupOpacityPopup::updateTargetID @ 0xa410d0
// > SetupOpacityPopup::updateTargetID @ 0xa410f0
// > SetupPulsePopup::updateTargetID @ 0xa45758
// > SetupPulsePopup::updateTargetID @ 0xa45778
// > SetupAnimationPopup::updateTargetID @ 0xa994d4
// > SetupAnimationPopup::updateTargetID @ 0xa994f4
// > SetupInstantCountPopup::updateTargetID @ 0xa9eacc
// > SetupInstantCountPopup::updateTargetID @ 0xa9eaec
// > SetupTouchTogglePopup::updateTargetID @ 0xaa2cac
// > SetupTouchTogglePopup::updateTargetID @ 0xaa2ccc
// > SetupRandTriggerPopup::updateTargetID @ 0xab2fc4
// > SetupRandTriggerPopup::updateTargetID @ 0xab2fe4
// > SetupEndPopup::updateTargetID @ 0xab463c
// > SetupEndPopup::updateTargetID @ 0xab465c
// > SetupTriggerPopup::valueChanged @ 0xb22c2c
// > SetupCameraEdgePopup::updateTargetID @ 0xb254e8
// > SetupCameraEdgePopup::updateTargetID @ 0xb25508
// > ??> @ 0x896f8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:55:50 +0000
//
__int64 __fastcall EffectGameObject::setTargetID(__int64 this, int a2)
{
int v2; // w2
v2 = 9999;
if ( a2 <= 9998 )
{
if ( a2 < 0 )
v2 = 0;
else
v2 = a2;
}
*(_DWORD *)(this + 1464) = v2;
return this;
}