By:
Roverturbo Here is PunkBuster's formated output function. After hooking this function i found some interesting strings being passed, so here is the AAO reference incase you want to track it down/have a play about.. Code:
; int __cdecl sub_10004BE0(char *,size_t,char *,char)
sub_10004BE0 proc near
arg_0= dword ptr 4
arg_4= dword ptr 8
arg_8= dword ptr 0Ch
arg_C= byte ptr 10h
mov ecx, [esp+arg_8]
push esi
mov esi, [esp+4+arg_4]
push edi
mov edi, [esp+8+arg_0]
lea eax, [esp+8+arg_C]
push eax ; va_list
push ecx ; char *
push esi ; size_t
push edi ; char *
call __vsnprintf
add esp, 10h
mov byte ptr [edi+esi-1], 0
pop edi
pop esi
retn
sub_10004BE0 endp
[c]
Do NOT post my work on other sites please.[/c]