Inf. Health: How to deal with obscan that requires you to get damaged first before being able to sca

mdnpascual

What is cheating?
Jan 22, 2018
5
0
0
#1
So I already done found the function that decreases the health value after you get damaged.

Unfortunately, the cheat table won't activate at fresh boot of the game because the function that decreases health can only be aobscanned once you get damaged.

How do you deal with this?
 
Mar 10, 2017
78
0
6
#2
if it's mono you might be able to get CE to jit it for you just by referencing the function (generally seen that done by enabling mono and using assert), though in that case you don't really need an AOBscan.

There's also a program called ngen that someone in Cheat The Game shared some info on, it allows you to pre-JIT the executable: https://www.onenote.com/webapp/pages?token=xNb-WUzBR7M1wG4qnqEz0p09hi3-wAGi1TEmgG8nNYbNng1niH7OKQNgPza3HZiYh6mU-3KGGThE0KdmQEPf9pGXF0t8c47v0&id=636555406275934909

It may or may not be very useful with tables/trainers since you'd have to distribute the binary and hope it worked for everyone or distribute ngen and run it on their executable and hope the same asm code is generated.

I'm not currently aware of anything else...
 

SunBeam

Administrator
Staff member
Administrative Team
Feb 4, 2018
349
33
28
#3
It's either Unity or a .NET game. It's like the only scenario for games to hit functions on conditions.