{"type": "func", "start": 4099712, "end": 4099734, "name": "EffectGameObject::setTargetID2", "pseudocode": "// \n// EffectGameObject::setTargetID2 from 0x3e8e80 to 0x3e8e96 (22 bytes)\n// \n// 15 xrefs:\n// > EditorUI::replaceGroupID @ 0x37e452\n// > ShaderGameObject::customObjectSetup @ 0x3e929c\n// > AdvancedFollowTriggerObject::customObjectSetup @ 0x3e9358\n// > SFXTriggerGameObject::customObjectSetup @ 0x3e9f7e\n// > CheckpointGameObject::customObjectSetup @ 0x3ea2c4\n// > EndTriggerGameObject::customObjectSetup @ 0x3ea336\n// > UISettingsGameObject::customObjectSetup @ 0x3ea3c8\n// > SpawnParticleGameObject::customObjectSetup @ 0x3ea47e\n// > GJFollowCommandLayer::updateTargetGroupID2 @ 0x4dca50\n// > GJFollowCommandLayer::updateTargetGroupID2 @ 0x4dca5e\n// > GJRotateCommandLayer::updateTargetGroupID2 @ 0x4e06f4\n// > GJRotateCommandLayer::updateTargetGroupID2 @ 0x4e0702\n// > SetupRandTriggerPopup::updateTargetID2 @ 0x5058ea\n// > SetupRandTriggerPopup::updateTargetID2 @ 0x505912\n// > SetupTriggerPopup::valueChanged @ 0x546ba6\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EffectGameObject::setTargetID2(EffectGameObject *a1, int a2)\n{\n  int v2; // r1\n\n  if ( a2 > 9998 )\n    v2 = 9999;\n  else\n    v2 = a2 & ~(a2 >> 31);\n  a1->m_centerGroupID = v2;\n}", "assembly": "; \n; EffectGameObject::setTargetID2 from 0x3e8e80 to 0x3e8e96 (22 bytes)\n; \n; 15 xrefs:\n; > EditorUI::replaceGroupID @ 0x37e452\n; > ShaderGameObject::customObjectSetup @ 0x3e929c\n; > AdvancedFollowTriggerObject::customObjectSetup @ 0x3e9358\n; > SFXTriggerGameObject::customObjectSetup @ 0x3e9f7e\n; > CheckpointGameObject::customObjectSetup @ 0x3ea2c4\n; > EndTriggerGameObject::customObjectSetup @ 0x3ea336\n; > UISettingsGameObject::customObjectSetup @ 0x3ea3c8\n; > SpawnParticleGameObject::customObjectSetup @ 0x3ea47e\n; > GJFollowCommandLayer::updateTargetGroupID2 @ 0x4dca50\n; > GJFollowCommandLayer::updateTargetGroupID2 @ 0x4dca5e\n; > GJRotateCommandLayer::updateTargetGroupID2 @ 0x4e06f4\n; > GJRotateCommandLayer::updateTargetGroupID2 @ 0x4e0702\n; > SetupRandTriggerPopup::updateTargetID2 @ 0x5058ea\n; > SetupRandTriggerPopup::updateTargetID2 @ 0x505912\n; > SetupTriggerPopup::valueChanged @ 0x546ba6\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nMOVW            R3, #0x270E                                            ; +0x0, 0x3e8e80\nCMP             R1, R3                                                 ; +0x4, 0x3e8e84\nITE LE                                                                 ; +0x6, 0x3e8e86\nBICLE.W         R1, R1, R1,ASR#31                                      ; +0x8, 0x3e8e88\nMOVWGT          R1, #0x270F                                            ; +0xc, 0x3e8e8c\nSTR.W           R1, [R0,#0x500]                                        ; +0x10, 0x3e8e90\nBX              LR                                                     ; +0x14, 0x3e8e94", "xrefs": ["EditorUI::replaceGroupID @ 0x37e452", "ShaderGameObject::customObjectSetup @ 0x3e929c", "AdvancedFollowTriggerObject::customObjectSetup @ 0x3e9358", "SFXTriggerGameObject::customObjectSetup @ 0x3e9f7e", "CheckpointGameObject::customObjectSetup @ 0x3ea2c4", "EndTriggerGameObject::customObjectSetup @ 0x3ea336", "UISettingsGameObject::customObjectSetup @ 0x3ea3c8", "SpawnParticleGameObject::customObjectSetup @ 0x3ea47e", "GJFollowCommandLayer::updateTargetGroupID2 @ 0x4dca50", "GJFollowCommandLayer::updateTargetGroupID2 @ 0x4dca5e", "GJRotateCommandLayer::updateTargetGroupID2 @ 0x4e06f4", "GJRotateCommandLayer::updateTargetGroupID2 @ 0x4e0702", "SetupRandTriggerPopup::updateTargetID2 @ 0x5058ea", "SetupRandTriggerPopup::updateTargetID2 @ 0x505912", "SetupTriggerPopup::valueChanged @ 0x546ba6"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}