Help! How to return Single value in hex mode?

thienha1

Platinian
Original poster
May 25, 2017
30
80
18
26
i'm tried find out how to mod kind of this type number in google. But still no hope about this, i need your help if u can understand my situation!!
Modify 2000 float: C8 02 44 E3 1E FF 2F E1 => not work, it return 1
Modify 4060 int: DC 0F 00 E3 1E FF 2F E1 => not work, it still return 1

Capture.PNG
 

xyzhunter

PMT Modder
Staff member
Modding-Team
Oct 28, 2020
2,101
110,736
1,213
Indonesia
why don't check dummydll ? use dnspy and check return
1646845885409.png

if return have 0 like above , you can use that i mean like what you did (hex edit) , if not don't try it
 

Tiahh

Solid & Active Platinian
Jan 12, 2018
75
45
18
37
Use IDA Pro to get how the function works and then make your function to return the value you wish to return.