So I got some code I borrowed from [c0z], thanks to open source DashLaunch.
I am trying to modify it a little for a project I am working on but have hit a road block.
ldat = (PLDR_DATA_TABLE_ENTRY)GetModuleHandle("xam.xex");
ldat = (PLDR_DATA_TABLE_ENTRY)GetModuleHandle("default.xex");
The above examples are followed by:
if (ldat != NULL)
DWORD imgSize = ldat->SizeOfFullImage;
//Dump game memory using above image size
XShowMessageBox... // Error
Why does xam.xex work and not default.xex? Does it have something do to with default.xex being an active title? I even tried using a security_info struct, had even worse results.
Any help would be great...
Thanks - Dwack
EDIT* - Doing this on a JTAGThis post has been edited by Dwack: May 23 2011, 02:27 AM