{"type": "func", "start": 4296682704, "end": 4296682736, "name": "EffectGameObject::setTargetID2", "pseudocode": "// \n// EffectGameObject::setTargetID2 from 0x1001a2cd0 to 0x1001a2cf0 (32 bytes)\n// \n// 20 xrefs:\n// > GJRotateCommandLayer::onUpdateGroupID2 @ 0x1000039cd\n// > GJRotateCommandLayer::onUpdateGroupID2 @ 0x100003a08\n// > GJRotateCommandLayer::updateTargetGroupID2 @ 0x10000495b\n// > GJRotateCommandLayer::updateTargetGroupID2 @ 0x100004998\n// > GJRotateCommandLayer::textChanged @ 0x100004b16\n// > GJRotateCommandLayer::textChanged @ 0x100004d38\n// > EditorUI::replaceGroupID @ 0x100045159\n// > SetupTriggerPopup::valueChanged @ 0x1002377b8\n// > GJFollowCommandLayer::onUpdateGroupID2 @ 0x1002d67dd\n// > GJFollowCommandLayer::onUpdateGroupID2 @ 0x1002d6818\n// > GJFollowCommandLayer::updateTargetGroupID2 @ 0x1002d733b\n// > GJFollowCommandLayer::updateTargetGroupID2 @ 0x1002d7378\n// > GJFollowCommandLayer::textChanged @ 0x1002d74ce\n// > GJFollowCommandLayer::textChanged @ 0x1002d7688\n// > SetupRandTriggerPopup::onTargetID2Arrow @ 0x1005e60dd\n// > SetupRandTriggerPopup::onTargetID2Arrow @ 0x1005e6128\n// > SetupRandTriggerPopup::updateTargetID2 @ 0x1005e68eb\n// > SetupRandTriggerPopup::updateTargetID2 @ 0x1005e6928\n// > SetupRandTriggerPopup::textChanged @ 0x1005e6afa\n// > SetupRandTriggerPopup::textChanged @ 0x1005e6b48\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; // eax\n  int v3; // ecx\n\n  v2 = 0;\n  if ( a2 > 0 )\n    v2 = a2;\n  v3 = 9999;\n  if ( v2 < 9999 )\n    v3 = v2;\n  a1->m_centerGroupID = v3;\n}", "assembly": "; \n; EffectGameObject::setTargetID2 from 0x1001a2cd0 to 0x1001a2cf0 (32 bytes)\n; \n; 20 xrefs:\n; > GJRotateCommandLayer::onUpdateGroupID2 @ 0x1000039cd\n; > GJRotateCommandLayer::onUpdateGroupID2 @ 0x100003a08\n; > GJRotateCommandLayer::updateTargetGroupID2 @ 0x10000495b\n; > GJRotateCommandLayer::updateTargetGroupID2 @ 0x100004998\n; > GJRotateCommandLayer::textChanged @ 0x100004b16\n; > GJRotateCommandLayer::textChanged @ 0x100004d38\n; > EditorUI::replaceGroupID @ 0x100045159\n; > SetupTriggerPopup::valueChanged @ 0x1002377b8\n; > GJFollowCommandLayer::onUpdateGroupID2 @ 0x1002d67dd\n; > GJFollowCommandLayer::onUpdateGroupID2 @ 0x1002d6818\n; > GJFollowCommandLayer::updateTargetGroupID2 @ 0x1002d733b\n; > GJFollowCommandLayer::updateTargetGroupID2 @ 0x1002d7378\n; > GJFollowCommandLayer::textChanged @ 0x1002d74ce\n; > GJFollowCommandLayer::textChanged @ 0x1002d7688\n; > SetupRandTriggerPopup::onTargetID2Arrow @ 0x1005e60dd\n; > SetupRandTriggerPopup::onTargetID2Arrow @ 0x1005e6128\n; > SetupRandTriggerPopup::updateTargetID2 @ 0x1005e68eb\n; > SetupRandTriggerPopup::updateTargetID2 @ 0x1005e6928\n; > SetupRandTriggerPopup::textChanged @ 0x1005e6afa\n; > SetupRandTriggerPopup::textChanged @ 0x1005e6b48\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\npush    rbp                                                            ; +0x0, 0x1001a2cd0\nmov     rbp, rsp                                                       ; +0x1, 0x1001a2cd1\nxor     eax, eax                                                       ; +0x4, 0x1001a2cd4\ntest    esi, esi                                                       ; +0x6, 0x1001a2cd6\ncmovg   eax, esi                                                       ; +0x8, 0x1001a2cd8\ncmp     eax, 270Fh                                                     ; +0xb, 0x1001a2cdb\nmov     ecx, 270Fh                                                     ; +0x10, 0x1001a2ce0\ncmovl   ecx, eax                                                       ; +0x15, 0x1001a2ce5\nmov     [rdi+5BCh], ecx                                                ; +0x18, 0x1001a2ce8\npop     rbp                                                            ; +0x1e, 0x1001a2cee\nretn                                                                   ; +0x1f, 0x1001a2cef", "xrefs": ["GJRotateCommandLayer::onUpdateGroupID2 @ 0x1000039cd", "GJRotateCommandLayer::onUpdateGroupID2 @ 0x100003a08", "GJRotateCommandLayer::updateTargetGroupID2 @ 0x10000495b", "GJRotateCommandLayer::updateTargetGroupID2 @ 0x100004998", "GJRotateCommandLayer::textChanged @ 0x100004b16", "GJRotateCommandLayer::textChanged @ 0x100004d38", "EditorUI::replaceGroupID @ 0x100045159", "SetupTriggerPopup::valueChanged @ 0x1002377b8", "GJFollowCommandLayer::onUpdateGroupID2 @ 0x1002d67dd", "GJFollowCommandLayer::onUpdateGroupID2 @ 0x1002d6818", "GJFollowCommandLayer::updateTargetGroupID2 @ 0x1002d733b", "GJFollowCommandLayer::updateTargetGroupID2 @ 0x1002d7378", "GJFollowCommandLayer::textChanged @ 0x1002d74ce", "GJFollowCommandLayer::textChanged @ 0x1002d7688", "SetupRandTriggerPopup::onTargetID2Arrow @ 0x1005e60dd", "SetupRandTriggerPopup::onTargetID2Arrow @ 0x1005e6128", "SetupRandTriggerPopup::updateTargetID2 @ 0x1005e68eb", "SetupRandTriggerPopup::updateTargetID2 @ 0x1005e6928", "SetupRandTriggerPopup::textChanged @ 0x1005e6afa", "SetupRandTriggerPopup::textChanged @ 0x1005e6b48"], "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"}