[saco] Implement/match ScrUnk7B; zeroing the 33-byte buffer with memset gives eight aligned dwords plus a trailing byte, an = {0} initializer does not

This commit is contained in:
ricardoofnl
2026-09-05 07:53:53 +07:00
parent 787d1811fd
commit f904873daf
2 changed files with 4 additions and 2 deletions
+1
View File
@@ -86,6 +86,7 @@ public:
void FUNC_100B7840(int a1); // .text:100B7840
void FUNC_100B81A0(); // .text:100B81A0
void FUNC_100B81F0(); // .text:100B81F0
void FUNC_100B8150(char *szText); // .text:100B8150
BOOL FUNC_100B7460(); // .text:100B7460
BOOL FUNC_100B7E00(); // .text:100B7E00
+3 -2
View File
@@ -195,13 +195,14 @@ void ScrUnk7B(RPCParameters *rpcParams)
VEHICLEID vehicleId;
BYTE byteLen;
char szText[33];
RakNet::BitStream bsData(Data,(iBitLength/8)+1,false);
char szText[33] = {0};
byteLen = 0;
memset(szText, 0, sizeof(szText));
bsData.Read(vehicleId);
bsData.Read(byteLen);