{"type": "func", "start": 4296551232, "end": 4296551264, "name": "EffectGameObject::setTargetID2", "pseudocode": "// \n// EffectGameObject::setTargetID2 from 0x100182b40 to 0x100182b60 (32 bytes)\n// \n// 6 xrefs:\n// > EditorUI::replaceGroupID @ 0x100016231\n// > SetupTriggerPopup::valueChanged @ 0x10021ce8a\n// > SetupRandTriggerPopup::textChanged @ 0x1006b9fda\n// > SetupRandTriggerPopup::textChanged @ 0x1006ba028\n// > SetupRandTriggerPopup::updateTargetID2 @ 0x1006ba1db\n// > SetupRandTriggerPopup::updateTargetID2 @ 0x1006ba218\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::setTargetID2(__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 + 1468) = v3;\n  return result;\n}", "assembly": "; \n; EffectGameObject::setTargetID2 from 0x100182b40 to 0x100182b60 (32 bytes)\n; \n; 6 xrefs:\n; > EditorUI::replaceGroupID @ 0x100016231\n; > SetupTriggerPopup::valueChanged @ 0x10021ce8a\n; > SetupRandTriggerPopup::textChanged @ 0x1006b9fda\n; > SetupRandTriggerPopup::textChanged @ 0x1006ba028\n; > SetupRandTriggerPopup::updateTargetID2 @ 0x1006ba1db\n; > SetupRandTriggerPopup::updateTargetID2 @ 0x1006ba218\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, 0x100182b40\nmov     rbp, rsp                                                       ; +0x1, 0x100182b41\nxor     eax, eax                                                       ; +0x4, 0x100182b44\ntest    esi, esi                                                       ; +0x6, 0x100182b46\ncmovg   eax, esi                                                       ; +0x8, 0x100182b48\ncmp     eax, 270Fh                                                     ; +0xb, 0x100182b4b\nmov     ecx, 270Fh                                                     ; +0x10, 0x100182b50\ncmovl   ecx, eax                                                       ; +0x15, 0x100182b55\nmov     [rdi+5BCh], ecx                                                ; +0x18, 0x100182b58\npop     rbp                                                            ; +0x1e, 0x100182b5e\nretn                                                                   ; +0x1f, 0x100182b5f", "xrefs": ["EditorUI::replaceGroupID @ 0x100016231", "SetupTriggerPopup::valueChanged @ 0x10021ce8a", "SetupRandTriggerPopup::textChanged @ 0x1006b9fda", "SetupRandTriggerPopup::textChanged @ 0x1006ba028", "SetupRandTriggerPopup::updateTargetID2 @ 0x1006ba1db", "SetupRandTriggerPopup::updateTargetID2 @ 0x1006ba218"], "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"}