I'm actually not sure, but though I should give it a go, now I can't find a signature for it, I did find some offsets, but I have no clue where to start from. (CGameClient seems to be a parent class to even CBaseClient??)
So, I'm trying to hook:
CGameClient::ProcessVoiceData(CLC_VoiceData *)
Found this:
Code: Select all
// CGameClient
// Auto reconstructed from vtable block @ 0x0022CC40// from "engine_srv.so", by ida_vtables.idc
0 CGameClient::~CGameClient
1 CGameClient::~CGameClient
2 CBaseClient::FireGameEvent
3 CBaseClient::GetPlayerSlot
4 CBaseClient::GetUserID
5 CBaseClient::GetNetworkID
6 CBaseClient::GetClientName
7 CBaseClient::GetNetChannel
8 CBaseClient::GetServer
9 CBaseClient::GetUserSetting
10 CBaseClient::GetNetworkIDString
11 CGameClient::Connect
12 CGameClient::Inactivate
13 CGameClient::Reconnect
14 CGameClient: :D isconnect
15 CGameClient::SetRate
16 CBaseClient::GetRate
17 CGameClient::SetUpdateRate
18 CBaseClient::GetUpdateRate
19 CGameClient::Clear
20 CBaseClient: :D emoRestart
21 CBaseClient::GetMaxAckTickCount
22 CGameClient::ExecuteStringCommand
23 CGameClient::SendNetMsg
24 CBaseClient::ClientPrintf
25 CBaseClient::IsConnected
26 CBaseClient::IsSpawned
27 CBaseClient::IsActive
28 CBaseClient::IsFakeClient
29 CBaseClient::IsHLTV
30 CBaseClient::IsReplay
31 CGameClient::IsHearingClient
32 CGameClient::IsProximityHearingClient
33 CBaseClient::SetMaxRoutablePayloadSize
34 CBaseClient::IsSplitScreenUser
35 CBaseClient::ProcessTick
36 CBaseClient::ProcessStringCmd
37 CBaseClient::ProcessSetConVar
38 CBaseClient::ProcessSignonState
39 CGameClient::ProcessClientInfo
40 CBaseClient::ProcessBaselineAck
41 CBaseClient::ProcessListenEvents
42 CGameClient::ProcessCmdKeyValues
43 CBaseClient::ConnectionStart
44 CGameClient::UpdateAcknowledgedFramecount
45 CGameClient::ShouldSendMessages
46 CBaseClient::UpdateSendState
47 CBaseClient::FillUserInfo
48 CGameClient::UpdateUserSettings
49 CGameClient::SetSignonState
50 CGameClient::WriteGameSounds
51 CGameClient::GetDeltaFrame
52 CGameClient::SendSnapshot
53 CBaseClient::SendServerInfo
54 CGameClient::SendSignonData
55 CGameClient::SpawnPlayer
56 CGameClient::ActivatePlayer
57 CBaseClient::SetName
58 CBaseClient::SetUserCVar
59 CBaseClient::FreeBaselines
60 CGameClient::IgnoreTempEntity
61 CGameClient::ConnectionClosing
62 CGameClient::ConnectionCrashed
63 CGameClient::PacketStart
64 CGameClient::PacketEnd
65 CGameClient::FileReceived
66 CGameClient::FileRequested
67 CGameClient::FileDenied
68 CGameClient::FileSent
69 CGameClient::ProcessMove
70 CGameClient::ProcessVoiceData
71 CGameClient::ProcessRespondCvarValue
72 CGameClient::ProcessFileCRCCheck
73 CGameClient::ProcessFileMD5Check
74 CGameClient::ProcessSaveReplay
Also found (but it's not relevant?):
Code: Select all
// CClientState
// Auto reconstructed from vtable block @ 0x002188E0// from "engine_srv.so", by ida_vtables.idc
0 CClientState::~CClientState
1 CClientState::~CClientState
2 CBaseClientState::ConnectionStart
3 CClientState::ConnectionClosing
4 CClientState::ConnectionCrashed
5 CClientState::PacketStart
6 CClientState::PacketEnd
7 CClientState::FileRequested
8 CClientState::FileReceived
9 CClientState::FileDenied
10 CClientState::FileSent
11 CClientState::ProcessConnectionlessPacket
12 CClientState::ProcessTick
13 CClientState::ProcessStringCmd
14 CBaseClientState::ProcessSetConVar
15 CBaseClientState::ProcessSignonState
16 CBaseClientState::ProcessPrint
17 CClientState::ProcessServerInfo
18 CBaseClientState::ProcessSendTable
19 CClientState::ProcessClassInfo
20 CClientState::ProcessSetPause
21 CBaseClientState::ProcessCreateStringTable
22 CBaseClientState::ProcessUpdateStringTable
23 CBaseClientState::ProcessSetView
24 CClientState::ProcessPacketEntities
25 CBaseClientState::ProcessMenu
26 CBaseClientState::ProcessGameEventList
27 CBaseClientState::ProcessGetCvarValue
28 CBaseClientState::ProcessCmdKeyValues
29 CBaseClientState::GetDemoProtocolVersion
30 CClientState::Clear
31 CClientState::FullConnect
32 CBaseClientState::Connect
33 CClientState::SetSignonState
34 CClientState: :D isconnect
35 CBaseClientState::SendConnectPacket
36 CClientState::GetCDKeyHash
37 CClientState::RunFrame
38 CBaseClientState::CheckForResend
39 CClientState::InstallStringTableCallback
40 CClientState::HookClientStringTable
41 CBaseClientState::LinkClasses
42 CBaseClientState::GetConnectionRetryNumber
43 CBaseClientState::GetClientName
44 CClientState::ReadEnterPVS
45 CClientState::ReadLeavePVS
46 CClientState::ReadDeltaEnt
47 CClientState::ReadPreserveEnt
48 CClientState::ReadDeletions
49 CClientState::ProcessVoiceInit
50 CClientState::ProcessVoiceData
51 CClientState::ProcessSounds
52 CClientState::ProcessFixAngle
53 CClientState::ProcessCrosshairAngle
54 CClientState::ProcessBSPDecal
55 CClientState::ProcessGameEvent
56 CClientState::ProcessUserMessage
57 CClientState::ProcessEntityMessage
58 CClientState::ProcessTempEntities
59 CClientState::ProcessPrefetch