Find pointer address for the current frame/Hook to Stage Select Naruto Storm 4

Memory scanning, code injection, debugger internals and other gamemodding related discussion
Post Reply
exavadeathwitch
What is cheating?
What is cheating?
Posts: 4
Joined: Thu Aug 27, 2020 6:51 pm
Reputation: 0

Find pointer address for the current frame/Hook to Stage Select Naruto Storm 4

Post by exavadeathwitch »

I'm updating an API in C++ that someone made for Naruto Shippuden Ultimate Ninja Storm 4. The original code for a function that uses the pointer is below.
int ccGeneralGameFunctions::GetCurrentFrame()
{
int frame = 0;
memcpy(&frame, (void*)(d3dcompiler_47_og::moduleBase + 0x15AE70C - 0xC00), 4);
return frame;
}

This gets the current frame of the game and is necessary as I need to assign values to something every frame. Does anyone here have an idea on how I could find an updated pointer for the new version of the game? Also, does anyone here have an idea on how I could hook cheat engine to the stage select of the game to figure out how to know which stage has been selected?

Post Reply

Who is online

Users browsing this forum: No registered users