Help in editing Tables

U

uciu

Noobzor
Joined
Jan 28, 2020
Messages
6
Help in editing Tabes

[ENABLE]
aobscanmodule(fleet,BattleFleetGothic-Win64-Shipping.exe,44 8B B9 ?? ?? ?? ?? 33 F6 39)
alloc(fleet_bkp,7)

fleet_bkp:
readmem(fleet,7)

fleet:
db 4D 31 FF 49 FF C7 90 (??????????)
registersymbol(fleet)
registersymbol(fleet_bkp)

[DISABLE]
fleet:
readmem(fleet_bkp,7)
unregistersymbol(fleet)
unregistersymbol(fleet_bkp)
dealloc(fleet_bkp)

Is it possibile to change the cost of ships 1 point to 20 point?
Sorry for my English I use a translator...
 
TheyCallMeTim13

TheyCallMeTim13

Enchanter
Staff member
Administrator
Fearless Donors
Talents
Joined
Mar 3, 2017
Messages
1,794
This just modifies the existing bytes to:
Code:
xor r15,r15
inc r15
nop
To be able to set the value you'll need to setup a code redirect, because it'll be more than the 7 bytes. Something like this:
Code:
[ENABLE]
aobscanmodule(fleet,BattleFleetGothic-Win64-Shipping.exe,44 8B B9 ?? ?? ?? ?? 33 F6 39)
alloc(fleet_bkp,7)
registersymbol(fleet_bkp)

fleet_bkp:
readmem(fleet,7)

alloc(newmem, 0x400, fleet)

label(n_code)
label(exit)
label(return)

newmem:
	n_code:
		mov r15,(int)20
	exit:
		jmp return


////
//// ---------- Injection Point ----------
fleet:
	jmp n_code
	nop
	nop
	return:

////
//// ------------------------------ DISABLE ------------------------------
[DISABLE]
fleet:
readmem(fleet_bkp,7)
unregistersymbol(fleet)
unregistersymbol(fleet_bkp)
dealloc(fleet_bkp)
dealloc(newmem)
 
U

uciu

Noobzor
Joined
Jan 28, 2020
Messages
6
Thank you very much !!!
 
Top