0x15D5300 - game_hudelem_s * g_hudelems (Length of each elem: 0x8
0x27562C - int G_LocalizedStringIndex(const char *string) //this is the func that caches strings for use in HUD elems
//and here's some other random stuff
0x16B4D2C - struct gentity_s * g_entities (Length of each entity: 0x31C)
0x177BD30 - gclient_s g_clients (Length of each client: 0x5808. This is commonly referred to as "playerState" or "clientState")
0x34954C - SV_GameSendServerCommand(int clientNum, svscmd_type type, const char *text)
0x276F4C - G_SetModel(gentity_s *ent, const char *modelName)
0x3133E8 - Cbuf_AddText(int localClientNum, const char *text) //this is what I used for my command tool, it's the command execution function
0x1181BC - int Key_IsDown(int localClientNum, int keynum) //for button monitoring
private bool Key_Down(int client, int buttonIndex)
{
if(buttonIndex < 0) return false;
byte[] key = new byte[4];
PS3TMAPI.ProcessGetMemory(target, PS3TMAPI.UnitType.PPU, processID, 0xFFFFFFFF, (ulong)(0xF076BC + (buttonIndex << 4) + (client * 0x112
), ref key);
Array.Reverse(key);
return BitConverter.ToInt32(key, 0) == 1;
}
//example of how to use
private void ExampleFunction()
{
if(Key_Down(0, 0x11))
{
MessageBox.Show("Host is pressing R3!");
}
else
{
MessageBox.Show("Host is not pressing R3!");
}
}
0x01 - X
0x02 - Circle
0x03 - Square
0x04 - Triangle
0x05 - L1
0x06 - R1
0x0E - Start
0x0F - Select
0x10 - L3
0x11 - R3
0x12 - L2
0x13 - R2
0x14 - Dpad Up
0x15 - Dpad Down
0x16 - Dpad Left
0x17 - Dpad Right
and i just learned something else i guess ^^
Copyright © 2026, NextGenUpdate.
All Rights Reserved.