{"type": "func", "start": 5145314, "end": 5145336, "name": "EffectGameObject::setTargetID2", "pseudocode": "// \n// EffectGameObject::setTargetID2 from 0x4e82e2 to 0x4e82f8 (22 bytes)\n// \n// 11 xrefs:\n// > EditorUI::replaceGroupID @ 0x482ea2\n// > ShaderGameObject::customObjectSetup @ 0x4ef248\n// > AdvancedFollowTriggerObject::customObjectSetup @ 0x4ef360\n// > SFXTriggerGameObject::customObjectSetup @ 0x4f12be\n// > CheckpointGameObject::customObjectSetup @ 0x4f1830\n// > EndTriggerGameObject::customObjectSetup @ 0x4f1dc8\n// > UISettingsGameObject::customObjectSetup @ 0x4f1ea6\n// > SpawnParticleGameObject::customObjectSetup @ 0x4f31f8\n// > SetupRandTriggerPopup::updateTargetID2 @ 0x635af2\n// > SetupRandTriggerPopup::updateTargetID2 @ 0x635b1a\n// > SetupTriggerPopup::valueChanged @ 0x67cb94\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:06 +0000\n// \n\nint __fastcall EffectGameObject::setTargetID2(int this, int a2)\n{\n  int v2; // r1\n\n  if ( a2 > 9998 )\n    v2 = 9999;\n  else\n    v2 = a2 & ~(a2 >> 31);\n  *(_DWORD *)(this + 1288) = v2;\n  return this;\n}", "assembly": "; \n; EffectGameObject::setTargetID2 from 0x4e82e2 to 0x4e82f8 (22 bytes)\n; \n; 11 xrefs:\n; > EditorUI::replaceGroupID @ 0x482ea2\n; > ShaderGameObject::customObjectSetup @ 0x4ef248\n; > AdvancedFollowTriggerObject::customObjectSetup @ 0x4ef360\n; > SFXTriggerGameObject::customObjectSetup @ 0x4f12be\n; > CheckpointGameObject::customObjectSetup @ 0x4f1830\n; > EndTriggerGameObject::customObjectSetup @ 0x4f1dc8\n; > UISettingsGameObject::customObjectSetup @ 0x4f1ea6\n; > SpawnParticleGameObject::customObjectSetup @ 0x4f31f8\n; > SetupRandTriggerPopup::updateTargetID2 @ 0x635af2\n; > SetupRandTriggerPopup::updateTargetID2 @ 0x635b1a\n; > SetupTriggerPopup::valueChanged @ 0x67cb94\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:06 +0000\n; \nMOVW            R3, #0x270E                                            ; +0x0, 0x4e82e2\nCMP             R1, R3                                                 ; +0x4, 0x4e82e6\nITE LE                                                                 ; +0x6, 0x4e82e8\nBICLE.W         R1, R1, R1,ASR#31                                      ; +0x8, 0x4e82ea\nMOVWGT          R1, #0x270F                                            ; +0xc, 0x4e82ee\nSTR.W           R1, [R0,#0x508]                                        ; +0x10, 0x4e82f2\nBX              LR                                                     ; +0x14, 0x4e82f6", "xrefs": ["EditorUI::replaceGroupID @ 0x482ea2", "ShaderGameObject::customObjectSetup @ 0x4ef248", "AdvancedFollowTriggerObject::customObjectSetup @ 0x4ef360", "SFXTriggerGameObject::customObjectSetup @ 0x4f12be", "CheckpointGameObject::customObjectSetup @ 0x4f1830", "EndTriggerGameObject::customObjectSetup @ 0x4f1dc8", "UISettingsGameObject::customObjectSetup @ 0x4f1ea6", "SpawnParticleGameObject::customObjectSetup @ 0x4f31f8", "SetupRandTriggerPopup::updateTargetID2 @ 0x635af2", "SetupRandTriggerPopup::updateTargetID2 @ 0x635b1a", "SetupTriggerPopup::valueChanged @ 0x67cb94"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}