{"type": "func", "start": 4296551200, "end": 4296551232, "name": "EffectGameObject::setTargetID", "pseudocode": "// \n// EffectGameObject::setTargetID from 0x100182b20 to 0x100182b40 (32 bytes)\n// \n// 44 xrefs:\n// > EditorUI::replaceGroupID @ 0x10001621e\n// > EditorUI::createNewKeyframeAnim @ 0x10001673a\n// > EditorUI::createLoop @ 0x100016c64\n// > EditorUI::createLoop @ 0x100016e68\n// > EditorUI::onTargetIDChange @ 0x10001a0da\n// > SetupOpacityPopup::textChanged @ 0x10001dae6\n// > SetupOpacityPopup::textChanged @ 0x10001db28\n// > SetupOpacityPopup::updateTargetID @ 0x10001dc9b\n// > SetupOpacityPopup::updateTargetID @ 0x10001dcd8\n// > SetupTriggerPopup::valueChanged @ 0x10021c04f\n// > SetupTouchTogglePopup::textChanged @ 0x1002a7a20\n// > SetupTouchTogglePopup::textChanged @ 0x1002a7a68\n// > sub_1002A7A90 @ 0x1002a7acb\n// > sub_1002A7A90 @ 0x1002a7b08\n// > SetupPulsePopup::onSelectTargetMode @ 0x1003970bb\n// > SetupPulsePopup::onSelectTargetMode @ 0x100397128\n// > SetupPulsePopup::updateTargetID @ 0x100397dd0\n// > SetupPulsePopup::updateTargetID @ 0x100397e08\n// > SetupPulsePopup::colorSelectClosed @ 0x10039872d\n// > SetupPulsePopup::colorSelectClosed @ 0x100398788\n// > SetupPulsePopup::textChanged @ 0x10039986f\n// > SetupPulsePopup::textChanged @ 0x100399a48\n// > SetupAnimationPopup::textChanged @ 0x1003bef68\n// > SetupAnimationPopup::textChanged @ 0x1003befb8\n// > SetupAnimationPopup::updateTargetID @ 0x1003bf01b\n// > SetupAnimationPopup::updateTargetID @ 0x1003bf058\n// > SetupCameraEdgePopup::onUnlockEdge @ 0x1006490f2\n// > SetupCameraEdgePopup::onUnlockEdge @ 0x100649148\n// > SetupCameraEdgePopup::updateTargetID @ 0x10064929b\n// > SetupCameraEdgePopup::updateTargetID @ 0x1006492d8\n// > SetupCameraEdgePopup::textChanged @ 0x10064937c\n// > SetupCameraEdgePopup::textChanged @ 0x1006493c8\n// > SetupRandTriggerPopup::textChanged @ 0x1006b9ef2\n// > SetupRandTriggerPopup::textChanged @ 0x1006b9f78\n// > SetupRandTriggerPopup::updateTargetID @ 0x1006ba13b\n// > SetupRandTriggerPopup::updateTargetID @ 0x1006ba178\n// > SetupInstantCountPopup::textChanged @ 0x1006bd478\n// > SetupInstantCountPopup::textChanged @ 0x1006bd518\n// > SetupInstantCountPopup::updateTargetID @ 0x1006bd61b\n// > SetupInstantCountPopup::updateTargetID @ 0x1006bd658\n// > SetupEndPopup::textChanged @ 0x1007489ec\n// > SetupEndPopup::textChanged @ 0x100748a38\n// > sub_100748A60 @ 0x100748a9b\n// > sub_100748A60 @ 0x100748ad8\n// \n// This function is hookable on this platform (idp: pc, 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:25:34 +0000\n// \n\n__int64 __fastcall EffectGameObject::setTargetID(__int64 a1, int a2)\n{\n  __int64 result; // rax\n  int v3; // ecx\n\n  result = 0;\n  if ( a2 > 0 )\n    result = (unsigned int)a2;\n  v3 = 9999;\n  if ( (int)result < 9999 )\n    v3 = result;\n  *(_DWORD *)(a1 + 1464) = v3;\n  return result;\n}", "assembly": "; \n; EffectGameObject::setTargetID from 0x100182b20 to 0x100182b40 (32 bytes)\n; \n; 44 xrefs:\n; > EditorUI::replaceGroupID @ 0x10001621e\n; > EditorUI::createNewKeyframeAnim @ 0x10001673a\n; > EditorUI::createLoop @ 0x100016c64\n; > EditorUI::createLoop @ 0x100016e68\n; > EditorUI::onTargetIDChange @ 0x10001a0da\n; > SetupOpacityPopup::textChanged @ 0x10001dae6\n; > SetupOpacityPopup::textChanged @ 0x10001db28\n; > SetupOpacityPopup::updateTargetID @ 0x10001dc9b\n; > SetupOpacityPopup::updateTargetID @ 0x10001dcd8\n; > SetupTriggerPopup::valueChanged @ 0x10021c04f\n; > SetupTouchTogglePopup::textChanged @ 0x1002a7a20\n; > SetupTouchTogglePopup::textChanged @ 0x1002a7a68\n; > sub_1002A7A90 @ 0x1002a7acb\n; > sub_1002A7A90 @ 0x1002a7b08\n; > SetupPulsePopup::onSelectTargetMode @ 0x1003970bb\n; > SetupPulsePopup::onSelectTargetMode @ 0x100397128\n; > SetupPulsePopup::updateTargetID @ 0x100397dd0\n; > SetupPulsePopup::updateTargetID @ 0x100397e08\n; > SetupPulsePopup::colorSelectClosed @ 0x10039872d\n; > SetupPulsePopup::colorSelectClosed @ 0x100398788\n; > SetupPulsePopup::textChanged @ 0x10039986f\n; > SetupPulsePopup::textChanged @ 0x100399a48\n; > SetupAnimationPopup::textChanged @ 0x1003bef68\n; > SetupAnimationPopup::textChanged @ 0x1003befb8\n; > SetupAnimationPopup::updateTargetID @ 0x1003bf01b\n; > SetupAnimationPopup::updateTargetID @ 0x1003bf058\n; > SetupCameraEdgePopup::onUnlockEdge @ 0x1006490f2\n; > SetupCameraEdgePopup::onUnlockEdge @ 0x100649148\n; > SetupCameraEdgePopup::updateTargetID @ 0x10064929b\n; > SetupCameraEdgePopup::updateTargetID @ 0x1006492d8\n; > SetupCameraEdgePopup::textChanged @ 0x10064937c\n; > SetupCameraEdgePopup::textChanged @ 0x1006493c8\n; > SetupRandTriggerPopup::textChanged @ 0x1006b9ef2\n; > SetupRandTriggerPopup::textChanged @ 0x1006b9f78\n; > SetupRandTriggerPopup::updateTargetID @ 0x1006ba13b\n; > SetupRandTriggerPopup::updateTargetID @ 0x1006ba178\n; > SetupInstantCountPopup::textChanged @ 0x1006bd478\n; > SetupInstantCountPopup::textChanged @ 0x1006bd518\n; > SetupInstantCountPopup::updateTargetID @ 0x1006bd61b\n; > SetupInstantCountPopup::updateTargetID @ 0x1006bd658\n; > SetupEndPopup::textChanged @ 0x1007489ec\n; > SetupEndPopup::textChanged @ 0x100748a38\n; > sub_100748A60 @ 0x100748a9b\n; > sub_100748A60 @ 0x100748ad8\n; \n; This function is hookable on this platform (idp: pc, 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:25:34 +0000\n; \npush    rbp                                                            ; +0x0, 0x100182b20\nmov     rbp, rsp                                                       ; +0x1, 0x100182b21\nxor     eax, eax                                                       ; +0x4, 0x100182b24\ntest    esi, esi                                                       ; +0x6, 0x100182b26\ncmovg   eax, esi                                                       ; +0x8, 0x100182b28\ncmp     eax, 270Fh                                                     ; +0xb, 0x100182b2b\nmov     ecx, 270Fh                                                     ; +0x10, 0x100182b30\ncmovl   ecx, eax                                                       ; +0x15, 0x100182b35\nmov     [rdi+5B8h], ecx                                                ; +0x18, 0x100182b38\npop     rbp                                                            ; +0x1e, 0x100182b3e\nretn                                                                   ; +0x1f, 0x100182b3f", "xrefs": ["EditorUI::replaceGroupID @ 0x10001621e", "EditorUI::createNewKeyframeAnim @ 0x10001673a", "EditorUI::createLoop @ 0x100016c64", "EditorUI::createLoop @ 0x100016e68", "EditorUI::onTargetIDChange @ 0x10001a0da", "SetupOpacityPopup::textChanged @ 0x10001dae6", "SetupOpacityPopup::textChanged @ 0x10001db28", "SetupOpacityPopup::updateTargetID @ 0x10001dc9b", "SetupOpacityPopup::updateTargetID @ 0x10001dcd8", "SetupTriggerPopup::valueChanged @ 0x10021c04f", "SetupTouchTogglePopup::textChanged @ 0x1002a7a20", "SetupTouchTogglePopup::textChanged @ 0x1002a7a68", "sub_1002A7A90 @ 0x1002a7acb", "sub_1002A7A90 @ 0x1002a7b08", "SetupPulsePopup::onSelectTargetMode @ 0x1003970bb", "SetupPulsePopup::onSelectTargetMode @ 0x100397128", "SetupPulsePopup::updateTargetID @ 0x100397dd0", "SetupPulsePopup::updateTargetID @ 0x100397e08", "SetupPulsePopup::colorSelectClosed @ 0x10039872d", "SetupPulsePopup::colorSelectClosed @ 0x100398788", "SetupPulsePopup::textChanged @ 0x10039986f", "SetupPulsePopup::textChanged @ 0x100399a48", "SetupAnimationPopup::textChanged @ 0x1003bef68", "SetupAnimationPopup::textChanged @ 0x1003befb8", "SetupAnimationPopup::updateTargetID @ 0x1003bf01b", "SetupAnimationPopup::updateTargetID @ 0x1003bf058", "SetupCameraEdgePopup::onUnlockEdge @ 0x1006490f2", "SetupCameraEdgePopup::onUnlockEdge @ 0x100649148", "SetupCameraEdgePopup::updateTargetID @ 0x10064929b", "SetupCameraEdgePopup::updateTargetID @ 0x1006492d8", "SetupCameraEdgePopup::textChanged @ 0x10064937c", "SetupCameraEdgePopup::textChanged @ 0x1006493c8", "SetupRandTriggerPopup::textChanged @ 0x1006b9ef2", "SetupRandTriggerPopup::textChanged @ 0x1006b9f78", "SetupRandTriggerPopup::updateTargetID @ 0x1006ba13b", "SetupRandTriggerPopup::updateTargetID @ 0x1006ba178", "SetupInstantCountPopup::textChanged @ 0x1006bd478", "SetupInstantCountPopup::textChanged @ 0x1006bd518", "SetupInstantCountPopup::updateTargetID @ 0x1006bd61b", "SetupInstantCountPopup::updateTargetID @ 0x1006bd658", "SetupEndPopup::textChanged @ 0x1007489ec", "SetupEndPopup::textChanged @ 0x100748a38", "sub_100748A60 @ 0x100748a9b", "sub_100748A60 @ 0x100748ad8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}