{"type": "func", "start": 8876584, "end": 8876616, "name": "EffectGameObject::setTargetID2", "pseudocode": "// \n// EffectGameObject::setTargetID2 from 0x877228 to 0x877248 (32 bytes)\n// \n// 18 xrefs:\n// > EditorUI::replaceGroupID @ 0x7c3bfc\n// > ShaderGameObject::customObjectSetup @ 0x88d774\n// > ShaderGameObject::customObjectSetup @ 0x88db0c\n// > AdvancedFollowTriggerObject::customObjectSetup @ 0x88dc80\n// > SFXTriggerGameObject::customObjectSetup @ 0x891754\n// > SFXTriggerGameObject::customObjectSetup @ 0x891ea0\n// > CheckpointGameObject::customObjectSetup @ 0x892304\n// > CheckpointGameObject::customObjectSetup @ 0x8923e8\n// > EndTriggerGameObject::customObjectSetup @ 0x892cc0\n// > EndTriggerGameObject::customObjectSetup @ 0x892db8\n// > UISettingsGameObject::customObjectSetup @ 0x892e84\n// > UISettingsGameObject::customObjectSetup @ 0x892f90\n// > SpawnParticleGameObject::customObjectSetup @ 0x89518c\n// > SpawnParticleGameObject::customObjectSetup @ 0x8955e4\n// > SetupRandTriggerPopup::updateTargetID2 @ 0xab3048\n// > SetupRandTriggerPopup::updateTargetID2 @ 0xab3068\n// > SetupTriggerPopup::valueChanged @ 0xb22cf0\n// > <???> @ 0xedec8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:55:50 +0000\n// \n\n__int64 __fastcall EffectGameObject::setTargetID2(__int64 this, int a2)\n{\n  int v2; // w2\n\n  v2 = 9999;\n  if ( a2 <= 9998 )\n  {\n    if ( a2 < 0 )\n      v2 = 0;\n    else\n      v2 = a2;\n  }\n  *(_DWORD *)(this + 1468) = v2;\n  return this;\n}", "assembly": "; \n; EffectGameObject::setTargetID2 from 0x877228 to 0x877248 (32 bytes)\n; \n; 18 xrefs:\n; > EditorUI::replaceGroupID @ 0x7c3bfc\n; > ShaderGameObject::customObjectSetup @ 0x88d774\n; > ShaderGameObject::customObjectSetup @ 0x88db0c\n; > AdvancedFollowTriggerObject::customObjectSetup @ 0x88dc80\n; > SFXTriggerGameObject::customObjectSetup @ 0x891754\n; > SFXTriggerGameObject::customObjectSetup @ 0x891ea0\n; > CheckpointGameObject::customObjectSetup @ 0x892304\n; > CheckpointGameObject::customObjectSetup @ 0x8923e8\n; > EndTriggerGameObject::customObjectSetup @ 0x892cc0\n; > EndTriggerGameObject::customObjectSetup @ 0x892db8\n; > UISettingsGameObject::customObjectSetup @ 0x892e84\n; > UISettingsGameObject::customObjectSetup @ 0x892f90\n; > SpawnParticleGameObject::customObjectSetup @ 0x89518c\n; > SpawnParticleGameObject::customObjectSetup @ 0x8955e4\n; > SetupRandTriggerPopup::updateTargetID2 @ 0xab3048\n; > SetupRandTriggerPopup::updateTargetID2 @ 0xab3068\n; > SetupTriggerPopup::valueChanged @ 0xb22cf0\n; > <???> @ 0xedec8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:55:50 +0000\n; \nMOV             W2, #0x270E                                            ; +0x0, 0x877228\nCMP             W1, W2                                                 ; +0x4, 0x87722c\nMOV             W2, #0x270F                                            ; +0x8, 0x877230\nB.GT            loc_877240                                             ; +0xc, 0x877234\nCMP             W1, WZR                                                ; +0x10, 0x877238\nCSEL            W2, W1, WZR, GE                                        ; +0x14, 0x87723c\nSTR             W2, [X0,#0x5BC]                                        ; +0x18, 0x877240\nRET                                                                    ; +0x1c, 0x877244", "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"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}