paul44 Expert Cheater
Reputation: 3
Joined: 20 Jul 2017 Posts: 230
|
Posted: Mon Nov 23, 2026 11:02 am Post subject: HowTo: find "Actual" Memory (al)llocation |
|
|
First and foremost: i am rarely confronted with these kind of mem_(re)allocations, but now just happen to come across a series that 'act' this way...
(fyi: no real issue, just interested to find out...)
I'll try to explain the issue with following images: [ https://ibb.co/album/R3CkKr ] (images not in correct order)
The game in question: Sherlock Holmes series (UE 3x games)
1. when you jump to '$process+1000', you'll expect to see the start of the game's opcode. However, this is not the case here. (~ notice all them "add ..." here)
2. since this is an ue game and i already collected the gnames' struct_location - which tends to appear (hardcoded_referenced) early on in the opcode - i then scanned for its first location...
3. i then backtracked to encounter them "add..."s again, basically telling me this will/would probably the 'start' of the actual game's opcode ?!
=> when i start scanning memory from this location onwards, I'll get pretty good/quick results.
4. I've done a mem_scan for complete memory; and more or less found its offset_locaton relative to $process.
Big Q: is it possible to (more) easily find this particular mem_location somehow ?
fyi: i use following to limit mem_range, in all my tables:
local startAddr = getAddress(process)
local endAddr = startAddr + getModuleSize(process)
--print(string.format('%X ~> %X',startAddr,endAddr))
fyi2: for most tablemakers, this will hardly be an issue since aobscan(unique)s are really quick anyways
|
|