{"type": "func", "start": 4298623236, "end": 4298623260, "name": "EffectGameObject::setTargetID2", "pseudocode": "// \n// EffectGameObject::setTargetID2 from 0x10037c904 to 0x10037c91c (24 bytes)\n// \n// 6 xrefs:\n// > SetupTriggerPopup::valueChanged @ 0x10013008c\n// > GJFollowCommandLayer::updateTargetGroupID2 @ 0x100137bc4\n// > GJFollowCommandLayer::updateTargetGroupID2 @ 0x100137be8\n// > SetupRandTriggerPopup::updateTargetID2 @ 0x1001cad60\n// > SetupRandTriggerPopup::updateTargetID2 @ 0x1001cad88\n// > EditorUI::replaceGroupID @ 0x1003f31f4\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 __fastcall EffectGameObject::setTargetID2(EffectGameObject *a1, int a2)\n{\n  int v2; // w8\n\n  v2 = a2 & ~(a2 >> 31);\n  if ( v2 >= 9999 )\n    v2 = 9999;\n  a1->m_centerGroupID = v2;\n}", "assembly": "; \n; EffectGameObject::setTargetID2 from 0x10037c904 to 0x10037c91c (24 bytes)\n; \n; 6 xrefs:\n; > SetupTriggerPopup::valueChanged @ 0x10013008c\n; > GJFollowCommandLayer::updateTargetGroupID2 @ 0x100137bc4\n; > GJFollowCommandLayer::updateTargetGroupID2 @ 0x100137be8\n; > SetupRandTriggerPopup::updateTargetID2 @ 0x1001cad60\n; > SetupRandTriggerPopup::updateTargetID2 @ 0x1001cad88\n; > EditorUI::replaceGroupID @ 0x1003f31f4\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\nBIC             W8, W1, W1,ASR#31                                      ; +0x0, 0x10037c904\nMOV             W9, #0x270F                                            ; +0x4, 0x10037c908\nCMP             W8, W9                                                 ; +0x8, 0x10037c90c\nCSEL            W8, W8, W9, LT                                         ; +0xc, 0x10037c910\nSTR             W8, [X0,#0x5BC]                                        ; +0x10, 0x10037c914\nRET                                                                    ; +0x14, 0x10037c918", "xrefs": ["SetupTriggerPopup::valueChanged @ 0x10013008c", "GJFollowCommandLayer::updateTargetGroupID2 @ 0x100137bc4", "GJFollowCommandLayer::updateTargetGroupID2 @ 0x100137be8", "SetupRandTriggerPopup::updateTargetID2 @ 0x1001cad60", "SetupRandTriggerPopup::updateTargetID2 @ 0x1001cad88", "EditorUI::replaceGroupID @ 0x1003f31f4"], "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"}