yfz/fivem-offset-dumper ? reverse-engineered prompt

Reverse engineered prompt

Build me a small Windows C++17 tool that can automatically find and dump FiveM memory offsets from the running game. It should detect the FiveM window, get the process ID, open the process, scan memory for byte patterns with wildcard support, handle RIP relative addresses, and resolve pointer chains to final static addresses where needed.

I want it to output the common offsets like world, replay interface, viewport, blip list, camera, bullet, aim cped, set ped in to vehicle, and sky settings, and print them relative to the FiveM module base. Keep it lightweight, fast, and organized into separate memory, process, and utility code. It should only read committed memory, skip guarded pages, and clean up handles properly.

If you need to, look up current Windows API details online, but keep the app simple and focused on scanning and dumping offsets from a live FiveM process.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab