Skip to content

CS2 support #8

@maximee-leroyy

Description

@maximee-leroyy

SV_BroadcastVoiceData

Library

libengine2

Defined string to search

Sending voice from

Signature

\x55\x48\x89\xE5\x41\x57\x49\x89\xD7\x41\x56\x49\x89\xF6\xBE\xFF\xFF\xFF\xFF

Function

void SV_BroadcastVoiceData(IServer *server,IClient *client,CMsgVoiceAudio *msg_audio,int64_t msg_xuid)

Caller

Decompiled

undefined8 UndefinedFunction_003ede10(long param_1,long param_2)
{
  undefined **ppuVar1;
  
  (**(code **)(*DAT_007bfd00 + 0xd0))(DAT_007bfd00,*(undefined4 *)(param_1 + 200),param_2);
  ppuVar1 = *(undefined ***)(param_2 + 0x18);
  if (ppuVar1 == (undefined **)0x0) {
    ppuVar1 = &PTR_PTR_LAB_0075ef80;
  }
  SV_BroadcastVoiceData
            (*(undefined8 *)(param_1 + 0x58),param_1,ppuVar1,*(undefined8 *)(param_2 + 0x20));
  return 1;
}

Interpreted


bool ProcessVoiceData(IClient client, CCLCMsg_VoiceData msg)

{
  CMsgVoiceAudio **msg_audio;
  
  (**(code **)(*DAT_007bfd00 + 0xd0))(DAT_007bfd00,client->GetPlayerSlot(),msg);
  msg_audio = msg->audio();
  if (msg_audio == (undefined **)0x0) {
    msg_audio = &PTR_PTR_LAB_0075ef80;
  }
  SV_BroadcastVoiceData(client->GetServer(), client, msg_audio, msg->xuid());
  return true;
}

Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions