kpba Posted April 2, 2023 Posted April 2, 2023 public float get_BaseAttackSpeed() { } The set_ under this class can be modified using "A8 MOV W0,#" But get_ doesn't work If I modify "get_BaseAttackSpeed() { }" with "A8 MOV W0,#", the character will not be able to attack (attack speed is like 0) Please how should I modify it
CmP Posted April 2, 2023 Posted April 2, 2023 It's an issue with GG assembler, there is working alternative - "~A8 MOV W0, WZR". Similar question has been asked and answered in the following topic: Cant set to false arm64 (#6rdlgvj0)
kpba Posted April 2, 2023 Author Posted April 2, 2023 43 minutes ago, CmP said: 这是GG汇编器的问题,有工作的替代方案 - “~A8 MOV W0,WZR”。 在以下主题中已经提出并回答了类似的问题: 不能设置为假臂64 (#6rdlgvj0) Thank you , I read that post, but my purpose is to increase the attack speed, get_ can be changed in some games, but it doesn’t seem to work here,maybe i got it wrong。
MAARS Posted April 2, 2023 Posted April 2, 2023 35 minutes ago, kpba said: Thank you , I read that post, but my purpose is to increase the attack speed, get_ can be changed in some games, but it doesn’t seem to work here,maybe i got it wrong。 better use hex
CmP Posted April 2, 2023 Posted April 2, 2023 1 hour ago, kpba said: but my purpose is to increase the attack speed Which value for attack speed do you need to set?
MC874 Posted April 2, 2023 Posted April 2, 2023 Quote A8 MOV W0,# Hi @kpba, are you trying to set the float to 0 by not specifying values to "#"? You can add #0 to make it None or False. Quote public float get_BaseAttackSpeed() { } Since this is Floating point, you might need to use Another instruction for Floats 32-bit: FMOVS S0, #100.0 --float 100
BadCase Posted April 2, 2023 Posted April 2, 2023 8 hours ago, kpba said: public float get_BaseAttackSpeed() { } The set_ under this class can be modified using "A8 MOV W0,#" But get_ doesn't work If I modify "get_BaseAttackSpeed() { }" with "A8 MOV W0,#", the character will not be able to attack (attack speed is like 0) Please how should I modify it Setting a float using this method will only allow you to set it to a limited number of values, here are reverse hex edits for some valid values ["ARM8"] = {{ ["hex_edits"] = "0000A852r", ["float_value"] = 2 }, { ["hex_edits"] = "0020A852r", ["float_value"] = 8 }, { ["hex_edits"] = "0040A852r", ["float_value"] = 32 }, { ["hex_edits"] = "0060A852r", ["float_value"] = 128 }, { ["hex_edits"] = "0080A852r", ["float_value"] = 512 }, { ["hex_edits"] = "00A0A852r", ["float_value"] = 2048 }, { ["hex_edits"] = "00C0A852r", ["float_value"] = 8192 }, { ["hex_edits"] = "00E0A852r", ["float_value"] = 32768 }, { ["hex_edits"] = "0000A952r", ["float_value"] = 131072 }, { ["hex_edits"] = "0020A952r", ["float_value"] = 524288 }}
kpba Posted April 2, 2023 Author Posted April 2, 2023 7 hours ago, MC189 said: 你好@kpba,您是否尝试通过不将值指定为“#”来将浮点数设置为 0?您可以添加 #0 以使其为“无”或“假”。 由于这是浮点型,您可能需要对浮点型 32 位使用另一条指令: FMOVS S0, #100.0 --float 100 Thanks, changing "Attack Speed" with "FMOV S0, #" works
Likethatsos Posted April 2, 2023 Posted April 2, 2023 13 hours ago, MC189 said: Hi @kpba, are you trying to set the float to 0 by not specifying values to "#"? You can add #0 to make it None or False. Since this is Floating point, you might need to use Another instruction for Floats 32-bit: FMOVS S0, #100.0 --float 100 That work
Question
kpba
public float get_BaseAttackSpeed() { }
The set_ under this class can be modified using "A8 MOV W0,#"
But get_ doesn't work
If I modify "get_BaseAttackSpeed() { }" with "A8 MOV W0,#", the character will not be able to attack (attack speed is like 0)
Please how should I modify it
8 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.