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

From GTAMods Wiki
Jump to navigation Jump to search
m (Scripts)
m (Set headings to correct level; formatted lists as being a more suitable list; applied CODE tags.)
Line 1: Line 1:
=Scripts=
+
==Scripts==
* 00486720 : CTheScripts::ReadObjectNamesFromScript((void))  
+
; 00486720
* 00486780 : CTheScripts::UpdateObjectIndices((void))  
+
: <code>CTheScripts::ReadObjectNamesFromScript((void))</code>
* 00464080 : CRunningScript::CollectParameters((uint *,short)) (GetOpcodeParameters)
+
; 00486780
* 00469F00 : CRunningScript_ProcessOneCommand
+
: <code>CTheScripts::UpdateObjectIndices((void))</code>
* 00A43C78 : Where the routine above stores opcode parameters values. Max 32 parameters for an opcode it seems. (Although only 16 are ever used)
+
; 00464080
* 00464370 : StoreOpcodeResult() - for opcodes that return a value in a variable parameter, copies the return value from 0xA43C78 to the variable. A complementary function to GetOpcodeParameters().
+
: <code>CRunningScript::CollectParameters((uint *,short)) (GetOpcodeParameters)</code>
 +
; 00469F00
 +
: <code>CRunningScript_ProcessOneCommand</code>
 +
; 00A43C78
 +
: Where the routine above stores opcode parameters values. Max 32 parameters for an opcode it seems. (Although only 16 are ever used.)
 +
; 00464370
 +
: <code>StoreOpcodeResult()</code>
 +
: For opcodes that return a value in a variable parameter, copies the return value from '''0xA43C78''' to the variable. A complementary function to <code>GetOpcodeParameters()</code>.
  
=Filemanagement=
+
==File Management==
* 004AB260 : CFileMgr::CloseFile((int))  
+
; 004AB260
* 005389D0 : CFileMgr::CloseFile((int))  
+
: <code>CFileMgr::CloseFile((int))</code>
* 004AB240 : CFileMgr::OpenFile((char const *))  
+
; 005389D0
* 00538900 : CFileMgr::OpenFile((char const *))  
+
: <code>CFileMgr::CloseFile((int))</code>
* 00538950 : CFileMgr::Read((int,char *,int))  
+
; 004AB240
* 005387D0 : CFileMgr::SetDir((char const *))
+
: <code>CFileMgr::OpenFile((char const *))</code>
 +
; 00538900
 +
: <code>CFileMgr::OpenFile((char const *))</code>
 +
; 00538950
 +
: <code>CFileMgr::Read((int,char *,int))</code>
 +
; 005387D0
 +
: <code>CFileMgr::SetDir((char const *))</code>
  
=Data Pools (data arrays for storing entities)=
+
==Data Pools==
* 00550F10 : CPools::Initialise((void))
+
Data arrays for storing entities.
* 005519F0 : CPools::ShutDown((void))
 
  
* 00550570 : CPool_CBuilding_CBuilding::CPool_CBuilding_CBuilding((int))  
+
; 00550F10
* 005507C0 : CPool_CColModel_CColModel::CPool_CColModel_CColModel((int))  
+
: <code>CPools::Initialise((void))</code>
* 005506F0 : CPool_CDummy_CDummyPed::CPool_CDummy_CDummyPed((int))  
+
; 005519F0
* 00550320 : CPool_CEntryInfoNode_CEntryInfoNode::CPool_CEntryInfoNode_CEntryInfoNode((int))  
+
: <code>CPools::ShutDown((void))</code>
* 00550960 : CPool_CEvent_CEvent::CPool_CEvent_CEvent((int))  
+
; 00550570
* 00550BD0 : CPool_CNodeRoute_CNodeRoute::CPool_CNodeRoute_CNodeRoute((int))  
+
: <code>CPool_CBuilding_CBuilding::CPool_CBuilding_CBuilding((int))</code>
* 00550640 : CPool_CObject_CObject::CPool_CObject_CObject((int))  
+
; 005507C0
* 00550B00 : CPool_CPatrolRoute_CPatrolRoute::CPool_CPatrolRoute_CPatrolRoute((int))  
+
: <code>CPool_CColModel_CColModel::CPool_CColModel_CColModel((int))</code>
* 00550E40 : CPool_CPedAttractors_CPedAttractors::CPool_CPedAttractors_CPedAttractors((int))  
+
; 005506F0
* 00550D70 : CPool_CPedIntelligence_CPedIntelligence::CPool_CPedIntelligence_CPedIntelligence((int))  
+
: <code>CPool_CDummy_CDummyPed::CPool_CDummy_CDummyPed((int))</code>
* 005503F0 : CPool_CPed_CPlayerPed::CPool_CPed_CPlayerPed((int))  
+
; 00550320
* 00550A30 : CPool_CPointRoute_CPointRoute::CPool_CPointRoute_CPointRoute((int))  
+
: <code>CPool_CEntryInfoNode_CEntryInfoNode::CPool_CEntryInfoNode_CEntryInfoNode((int))</code>
* 00550250 : CPool_CPtrNodeDouble_CPtrNodeDouble::CPool_CPtrNodeDouble_CPtrNodeDouble((int))  
+
; 00550960
* 00550180 : CPool_CPtrNodeSingle_CPtrNodeSingle::CPool_CPtrNodeSingle_CPtrNodeSingle((int))  
+
: <code>CPool_CEvent_CEvent::CPool_CEvent_CEvent((int))</code>
* 00550CA0 : CPool_CTaskAllocator_CTaskAllocator::CPool_CTaskAllocator_CTaskAllocator((int))  
+
; 00550BD0
* 00550890 : CPool_CTask_CTask::CPool_CTask_CTask((int))  
+
: <code>CPool_CNodeRoute_CNodeRoute::CPool_CNodeRoute_CNodeRoute((int))</code>
* 005504C0 : CPool_CVehicle_CAutomobile::CPool_CVehicle_CAutomobile((int))  
+
; 00550640
 +
: <code>CPool_CObject_CObject::CPool_CObject_CObject((int))</code>
 +
; 00550B00
 +
: <code>CPool_CPatrolRoute_CPatrolRoute::CPool_CPatrolRoute_CPatrolRoute((int))</code>
 +
; 00550E40
 +
: <code>CPool_CPedAttractors_CPedAttractors::CPool_CPedAttractors_CPedAttractors((int))</code>
 +
; 00550D70
 +
: <code>CPool_CPedIntelligence_CPedIntelligence::CPool_CPedIntelligence_CPedIntelligence((int))</code>
 +
; 005503F0
 +
: <code>CPool_CPed_CPlayerPed::CPool_CPed_CPlayerPed((int))</code>
 +
; 00550A30
 +
: <code>CPool_CPointRoute_CPointRoute::CPool_CPointRoute_CPointRoute((int))</code>
 +
; 00550250
 +
: <code>CPool_CPtrNodeDouble_CPtrNodeDouble::CPool_CPtrNodeDouble_CPtrNodeDouble((int))</code>
 +
; 00550180
 +
: <code>CPool_CPtrNodeSingle_CPtrNodeSingle::CPool_CPtrNodeSingle_CPtrNodeSingle((int))</code>
 +
; 00550CA0
 +
: <code>CPool_CTaskAllocator_CTaskAllocator::CPool_CTaskAllocator_CTaskAllocator((int))</code>
 +
; 00550890
 +
: <code>CPool_CTask_CTask::CPool_CTask_CTask((int))</code>
 +
; 005504C0
 +
: <code>CPool_CVehicle_CAutomobile::CPool_CVehicle_CAutomobile((int))</code>
  
=No Category yet=
+
==UnCategorised==
* 004CE090 : CAnimBlendAssocGroup::GetAnimation((uint))  
+
; 004CE090
* 00735FD0 : CBulletInfo::Initialise((void))  
+
: <code>CAnimBlendAssocGroup::GetAnimation((uint))</code>
* 00736A40 : CExplosion::Initialise((void))  
+
; 00735FD0
* 00737B40 : CProjectileInfo::Initialise((void))  
+
: <code>CBulletInfo::Initialise((void))</code>
* 007170C0 : CRGBA::CRGBA((uchar,uchar,uchar,uchar))  
+
; 00736A40
* 00739B60 : CShotInfo::Initialise((void))  
+
: <code>CExplosion::Initialise((void))</code>
* 0073A300 : CWeapon::InitialiseWeapons((void))  
+
; 00737B40
* 005BF750 : CWeaponInfo::Initialise((void))
+
: <code>CProjectileInfo::Initialise((void))</code>
 +
; 007170C0
 +
: <code>CRGBA::CRGBA((uchar,uchar,uchar,uchar))</code>
 +
; 00739B60
 +
: <code>CShotInfo::Initialise((void))</code>
 +
; 0073A300
 +
: <code>CWeapon::InitialiseWeapons((void))</code>
 +
; 005BF750
 +
: <code>CWeaponInfo::Initialise((void))</code>
 +
; 0053BC80
 +
: <code>LoadGame(char; fileName))</code>
 +
: Initializes all data structures and loads fileName (which is gta.dat).
 +
; 005B9030
 +
: <code>LoadMapDefinitionFile(char; fileName))</code>
 +
: Parses and loads dat-files, such as default.dat and gta.dat.
 +
; 00550F10
 +
: <code>AllocatePools())</code>
 +
: Allocates stuff which LimitAdjuster modifies, such as Peds and Buildings.
 +
; 0082119A
 +
: <code>malloc(size_t size)</code>
 +
; 00438480
 +
: Looks like cheat processor.
  
* 0053BC80 : LoadGame(char* fileName), initializes all data structures and loads fileName (which is gta.dat).
 
* 005B9030 : LoadMapDefinitionFile(char* fileName), parses and loads dat-files, such as default.dat and gta.dat.
 
* 00550F10 : AllocatePools(), allocates stuff which LimitAdjuster modifies, such as Peds and Buildings.
 
* 0082119A : malloc(size_t size)
 
* 00438480 : Looks like cheat processor
 
 
[[Category:Memory Addresses]]
 
[[Category:Memory Addresses]]

Revision as of 05:35, 4 January 2007

Scripts

00486720
CTheScripts::ReadObjectNamesFromScript((void))
00486780
CTheScripts::UpdateObjectIndices((void))
00464080
CRunningScript::CollectParameters((uint *,short)) (GetOpcodeParameters)
00469F00
CRunningScript_ProcessOneCommand
00A43C78
Where the routine above stores opcode parameters values. Max 32 parameters for an opcode it seems. (Although only 16 are ever used.)
00464370
StoreOpcodeResult()
For opcodes that return a value in a variable parameter, copies the return value from 0xA43C78 to the variable. A complementary function to GetOpcodeParameters().

File Management

004AB260
CFileMgr::CloseFile((int))
005389D0
CFileMgr::CloseFile((int))
004AB240
CFileMgr::OpenFile((char const *))
00538900
CFileMgr::OpenFile((char const *))
00538950
CFileMgr::Read((int,char *,int))
005387D0
CFileMgr::SetDir((char const *))

Data Pools

Data arrays for storing entities.

00550F10
CPools::Initialise((void))
005519F0
CPools::ShutDown((void))
00550570
CPool_CBuilding_CBuilding::CPool_CBuilding_CBuilding((int))
005507C0
CPool_CColModel_CColModel::CPool_CColModel_CColModel((int))
005506F0
CPool_CDummy_CDummyPed::CPool_CDummy_CDummyPed((int))
00550320
CPool_CEntryInfoNode_CEntryInfoNode::CPool_CEntryInfoNode_CEntryInfoNode((int))
00550960
CPool_CEvent_CEvent::CPool_CEvent_CEvent((int))
00550BD0
CPool_CNodeRoute_CNodeRoute::CPool_CNodeRoute_CNodeRoute((int))
00550640
CPool_CObject_CObject::CPool_CObject_CObject((int))
00550B00
CPool_CPatrolRoute_CPatrolRoute::CPool_CPatrolRoute_CPatrolRoute((int))
00550E40
CPool_CPedAttractors_CPedAttractors::CPool_CPedAttractors_CPedAttractors((int))
00550D70
CPool_CPedIntelligence_CPedIntelligence::CPool_CPedIntelligence_CPedIntelligence((int))
005503F0
CPool_CPed_CPlayerPed::CPool_CPed_CPlayerPed((int))
00550A30
CPool_CPointRoute_CPointRoute::CPool_CPointRoute_CPointRoute((int))
00550250
CPool_CPtrNodeDouble_CPtrNodeDouble::CPool_CPtrNodeDouble_CPtrNodeDouble((int))
00550180
CPool_CPtrNodeSingle_CPtrNodeSingle::CPool_CPtrNodeSingle_CPtrNodeSingle((int))
00550CA0
CPool_CTaskAllocator_CTaskAllocator::CPool_CTaskAllocator_CTaskAllocator((int))
00550890
CPool_CTask_CTask::CPool_CTask_CTask((int))
005504C0
CPool_CVehicle_CAutomobile::CPool_CVehicle_CAutomobile((int))

UnCategorised

004CE090
CAnimBlendAssocGroup::GetAnimation((uint))
00735FD0
CBulletInfo::Initialise((void))
00736A40
CExplosion::Initialise((void))
00737B40
CProjectileInfo::Initialise((void))
007170C0
CRGBA::CRGBA((uchar,uchar,uchar,uchar))
00739B60
CShotInfo::Initialise((void))
0073A300
CWeapon::InitialiseWeapons((void))
005BF750
CWeaponInfo::Initialise((void))
0053BC80
LoadGame(char; fileName))
Initializes all data structures and loads fileName (which is gta.dat).
005B9030
LoadMapDefinitionFile(char; fileName))
Parses and loads dat-files, such as default.dat and gta.dat.
00550F10
AllocatePools())
Allocates stuff which LimitAdjuster modifies, such as Peds and Buildings.
0082119A
malloc(size_t size)
00438480
Looks like cheat processor.