//
// EffectGameObject::setTargetID2 from 0x877228 to 0x877248 (32 bytes)
//
// 18 xrefs:
// > EditorUI::replaceGroupID @ 0x7c3bfc
// > ShaderGameObject::customObjectSetup @ 0x88d774
// > ShaderGameObject::customObjectSetup @ 0x88db0c
// > AdvancedFollowTriggerObject::customObjectSetup @ 0x88dc80
// > SFXTriggerGameObject::customObjectSetup @ 0x891754
// > SFXTriggerGameObject::customObjectSetup @ 0x891ea0
// > CheckpointGameObject::customObjectSetup @ 0x892304
// > CheckpointGameObject::customObjectSetup @ 0x8923e8
// > EndTriggerGameObject::customObjectSetup @ 0x892cc0
// > EndTriggerGameObject::customObjectSetup @ 0x892db8
// > UISettingsGameObject::customObjectSetup @ 0x892e84
// > UISettingsGameObject::customObjectSetup @ 0x892f90
// > SpawnParticleGameObject::customObjectSetup @ 0x89518c
// > SpawnParticleGameObject::customObjectSetup @ 0x8955e4
// > SetupRandTriggerPopup::updateTargetID2 @ 0xab3048
// > SetupRandTriggerPopup::updateTargetID2 @ 0xab3068
// > SetupTriggerPopup::valueChanged @ 0xb22cf0
// > ??> @ 0xedec8
//
// 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::setTargetID2(__int64 this, int a2)
{
int v2; // w2
v2 = 9999;
if ( a2 <= 9998 )
{
if ( a2 < 0 )
v2 = 0;
else
v2 = a2;
}
*(_DWORD *)(this + 1468) = v2;
return this;
}