Difference between revisions of "Function Memory Addresses (IV)"

From GTAMods Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
uiBaseAddress -= 0x400000;
 
uiBaseAddress -= 0x400000;
  
DWORD dwAnyFunction = (ulBaseAddress + 0x5F456D);</source>
+
DWORD dwAnyFunction = (uiBaseAddress + 0x5F456D);</source>
  
 
==Game==
 
==Game==
Line 37: Line 37:
 
*CPhysicalIV::GetTurnSpeed
 
*CPhysicalIV::GetTurnSpeed
 
**'''1.0.7.0''' - 0xA478E0
 
**'''1.0.7.0''' - 0xA478E0
 +
 +
Author of this article - [[User:RootKiller|RootKiller]]
 +
 
{{N|4}}
 
{{N|4}}
 
[[Category:Memory Addresses]][[Category:GTA 4]]
 
[[Category:Memory Addresses]][[Category:GTA 4]]

Latest revision as of 22:41, 19 December 2012

Important Base address in Windows Vista and 7 is dynamic! Addresses implementation example:

unsigned int uiBaseAddress = (unsigned int)GetModuleHandle(NULL);
uiBaseAddress -= 0x400000;

DWORD dwAnyFunction = (uiBaseAddress + 0x5F456D);

Game

  • CGameIV::Alloc
    • 1.0.7.0 - 0x4011D0
  • CGameIV::Free
    • 1.0.7.0 - 0x5B1C10

Tasks

  • CTaskIV::~CTaskIV
    • 1.0.7.0 - 0xA288D0
  • CTaskIVComplexDie::CTaskIVComplexDie
    • 1.0.7.0 - 0xABC6C0
  • CTaskIVSimpleFireGun::CTaskIVSimpleFireGun
    • 1.0.7.0 - 0xCC7400
  • CTaskIVSimpleDuck::CTaskIVSimpleDuck
    • 1.0.7.0 - 0xABB8D0

Physics Engine

  • CPhysicalIV::SetMoveSpeed
    • 1.0.7.0 - 0xA47750
  • CPhysicalIV::GetMoveSpeed
    • 1.0.7.0 - 0xA477F0
  • CPhysicalIV::SetTurnSpeed
    • 1.0.7.0 - 0xA47840
  • CPhysicalIV::GetTurnSpeed
    • 1.0.7.0 - 0xA478E0

Author of this article - RootKiller