Please share code example to convert for another combat arms.
i know bullets is blank.
example to find GetPlayerNameByIndex:
typedef char* (__thiscall *lpGetPlayerNameByIndex)(unsigned long ulThis, int unk);
lpGetPlayerNameByIndex GetPlayerNameByIndex; //0x3715E310
code example:
Code:
3715E310 8379 04 00 CMP DWORD PTR DS:[ECX+4],0
3715E314 75 05 JNZ SHORT cshell.3715E31B
3715E316 33C0 XOR EAX,EAX
3715E318 C2 0400 RETN 4
3715E31B 8B4424 04 MOV EAX,DWORD PTR SS:[ESP+4]
3715E31F 6A 00 PUSH 0
3715E321 50 PUSH EAX
3715E322 E8 79F6FFFF CALL cshell.3715D9A0
3715E327 85C0 TEST EAX,EAX
3715E329 74 12 JE SHORT cshell.3715E33D
3715E32B 8378 24 10 CMP DWORD PTR DS:[EAX+24],10
3715E32F 72 06 JB SHORT cshell.3715E337
3715E331 8B40 10 MOV EAX,DWORD PTR DS:[EAX+10]
3715E334 C2 0400 RETN 4
3715E337 83C0 10 ADD EAX,10
3715E33A C2 0400 RETN 4
3715E33D B8 AC136F37 MOV EAX,cshell.376F13AC ; ASCII "a player"
3715E342 C2 0400 RETN 4