{"type": "func", "start": 5145292, "end": 5145314, "name": "EffectGameObject::setTargetID", "pseudocode": "// \n// EffectGameObject::setTargetID from 0x4e82cc to 0x4e82e2 (22 bytes)\n// \n// 31 xrefs:\n// > EditorUI::replaceGroupID @ 0x482e92\n// > EditorUI::createNewKeyframeAnim @ 0x4830f2\n// > EditorUI::onTargetIDChange @ 0x4845ca\n// > EditorUI::createLoop @ 0x4854d2\n// > EditorUI::createLoop @ 0x48565e\n// > ShaderGameObject::customObjectSetup @ 0x4ef222\n// > AdvancedFollowTriggerObject::customObjectSetup @ 0x4ef33a\n// > SFXTriggerGameObject::customObjectSetup @ 0x4f1290\n// > CheckpointGameObject::customObjectSetup @ 0x4f180a\n// > EndTriggerGameObject::customObjectSetup @ 0x4f1da2\n// > UISettingsGameObject::customObjectSetup @ 0x4f1e80\n// > ObjectControlGameObject::customObjectSetup @ 0x4f30c0\n// > SpawnParticleGameObject::customObjectSetup @ 0x4f31ce\n// > TriggerControlGameObject::customObjectSetup @ 0x4f61aa\n// > SetupOpacityPopup::updateTargetID @ 0x5e94d8\n// > SetupOpacityPopup::updateTargetID @ 0x5e9500\n// > SetupPulsePopup::updateTargetID @ 0x5ec40e\n// > SetupPulsePopup::updateTargetID @ 0x5ec436\n// > SetupAnimationPopup::updateTargetID @ 0x624446\n// > SetupAnimationPopup::updateTargetID @ 0x62446e\n// > SetupInstantCountPopup::updateTargetID @ 0x627a42\n// > SetupInstantCountPopup::updateTargetID @ 0x627a6a\n// > SetupTouchTogglePopup::updateTargetID @ 0x62a870\n// > SetupTouchTogglePopup::updateTargetID @ 0x62a898\n// > SetupRandTriggerPopup::updateTargetID @ 0x635a9c\n// > SetupRandTriggerPopup::updateTargetID @ 0x635ac4\n// > SetupEndPopup::updateTargetID @ 0x636a30\n// > SetupEndPopup::updateTargetID @ 0x636a58\n// > SetupTriggerPopup::valueChanged @ 0x67cb84\n// > SetupCameraEdgePopup::updateTargetID @ 0x67ecb0\n// > SetupCameraEdgePopup::updateTargetID @ 0x67ecd8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:06 +0000\n// \n\nint __fastcall EffectGameObject::setTargetID(int this, int a2)\n{\n  int v2; // r1\n\n  if ( a2 > 9998 )\n    v2 = 9999;\n  else\n    v2 = a2 & ~(a2 >> 31);\n  *(_DWORD *)(this + 1284) = v2;\n  return this;\n}", "assembly": "; \n; EffectGameObject::setTargetID from 0x4e82cc to 0x4e82e2 (22 bytes)\n; \n; 31 xrefs:\n; > EditorUI::replaceGroupID @ 0x482e92\n; > EditorUI::createNewKeyframeAnim @ 0x4830f2\n; > EditorUI::onTargetIDChange @ 0x4845ca\n; > EditorUI::createLoop @ 0x4854d2\n; > EditorUI::createLoop @ 0x48565e\n; > ShaderGameObject::customObjectSetup @ 0x4ef222\n; > AdvancedFollowTriggerObject::customObjectSetup @ 0x4ef33a\n; > SFXTriggerGameObject::customObjectSetup @ 0x4f1290\n; > CheckpointGameObject::customObjectSetup @ 0x4f180a\n; > EndTriggerGameObject::customObjectSetup @ 0x4f1da2\n; > UISettingsGameObject::customObjectSetup @ 0x4f1e80\n; > ObjectControlGameObject::customObjectSetup @ 0x4f30c0\n; > SpawnParticleGameObject::customObjectSetup @ 0x4f31ce\n; > TriggerControlGameObject::customObjectSetup @ 0x4f61aa\n; > SetupOpacityPopup::updateTargetID @ 0x5e94d8\n; > SetupOpacityPopup::updateTargetID @ 0x5e9500\n; > SetupPulsePopup::updateTargetID @ 0x5ec40e\n; > SetupPulsePopup::updateTargetID @ 0x5ec436\n; > SetupAnimationPopup::updateTargetID @ 0x624446\n; > SetupAnimationPopup::updateTargetID @ 0x62446e\n; > SetupInstantCountPopup::updateTargetID @ 0x627a42\n; > SetupInstantCountPopup::updateTargetID @ 0x627a6a\n; > SetupTouchTogglePopup::updateTargetID @ 0x62a870\n; > SetupTouchTogglePopup::updateTargetID @ 0x62a898\n; > SetupRandTriggerPopup::updateTargetID @ 0x635a9c\n; > SetupRandTriggerPopup::updateTargetID @ 0x635ac4\n; > SetupEndPopup::updateTargetID @ 0x636a30\n; > SetupEndPopup::updateTargetID @ 0x636a58\n; > SetupTriggerPopup::valueChanged @ 0x67cb84\n; > SetupCameraEdgePopup::updateTargetID @ 0x67ecb0\n; > SetupCameraEdgePopup::updateTargetID @ 0x67ecd8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:06 +0000\n; \nMOVW            R3, #0x270E                                            ; +0x0, 0x4e82cc\nCMP             R1, R3                                                 ; +0x4, 0x4e82d0\nITE LE                                                                 ; +0x6, 0x4e82d2\nBICLE.W         R1, R1, R1,ASR#31                                      ; +0x8, 0x4e82d4\nMOVWGT          R1, #0x270F                                            ; +0xc, 0x4e82d8\nSTR.W           R1, [R0,#0x504]                                        ; +0x10, 0x4e82dc\nBX              LR                                                     ; +0x14, 0x4e82e0", "xrefs": ["EditorUI::replaceGroupID @ 0x482e92", "EditorUI::createNewKeyframeAnim @ 0x4830f2", "EditorUI::onTargetIDChange @ 0x4845ca", "EditorUI::createLoop @ 0x4854d2", "EditorUI::createLoop @ 0x48565e", "ShaderGameObject::customObjectSetup @ 0x4ef222", "AdvancedFollowTriggerObject::customObjectSetup @ 0x4ef33a", "SFXTriggerGameObject::customObjectSetup @ 0x4f1290", "CheckpointGameObject::customObjectSetup @ 0x4f180a", "EndTriggerGameObject::customObjectSetup @ 0x4f1da2", "UISettingsGameObject::customObjectSetup @ 0x4f1e80", "ObjectControlGameObject::customObjectSetup @ 0x4f30c0", "SpawnParticleGameObject::customObjectSetup @ 0x4f31ce", "TriggerControlGameObject::customObjectSetup @ 0x4f61aa", "SetupOpacityPopup::updateTargetID @ 0x5e94d8", "SetupOpacityPopup::updateTargetID @ 0x5e9500", "SetupPulsePopup::updateTargetID @ 0x5ec40e", "SetupPulsePopup::updateTargetID @ 0x5ec436", "SetupAnimationPopup::updateTargetID @ 0x624446", "SetupAnimationPopup::updateTargetID @ 0x62446e", "SetupInstantCountPopup::updateTargetID @ 0x627a42", "SetupInstantCountPopup::updateTargetID @ 0x627a6a", "SetupTouchTogglePopup::updateTargetID @ 0x62a870", "SetupTouchTogglePopup::updateTargetID @ 0x62a898", "SetupRandTriggerPopup::updateTargetID @ 0x635a9c", "SetupRandTriggerPopup::updateTargetID @ 0x635ac4", "SetupEndPopup::updateTargetID @ 0x636a30", "SetupEndPopup::updateTargetID @ 0x636a58", "SetupTriggerPopup::valueChanged @ 0x67cb84", "SetupCameraEdgePopup::updateTargetID @ 0x67ecb0", "SetupCameraEdgePopup::updateTargetID @ 0x67ecd8"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}