From 959f1b88ae5aa56dac0c4d3f8098d3c792b389ed Mon Sep 17 00:00:00 2001 From: ricardoofnl Date: Thu, 3 Sep 2026 22:30:37 +0700 Subject: [PATCH] [saco] Implement/match `sub_100A4170`; it zeroes eight bytes then inlines the strcpy --- saco/game/game.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/saco/game/game.cpp b/saco/game/game.cpp index 6e5dc92..982f1eb 100644 --- a/saco/game/game.cpp +++ b/saco/game/game.cpp @@ -429,6 +429,14 @@ CVehicle *CGame::sub_100A0250(int a2, float a3, float a4, float a5, float a6, in return pVehicle->m_pVehicle ? pVehicle : 0; } +char szUnk_10113968[8]; + +void sub_100A4170(const char *a1) +{ + memset(szUnk_10113968, 0, sizeof(szUnk_10113968)); + strcpy(szUnk_10113968, a1); +} + void __stdcall sub_100A02E0(const char *a1) { if(a1 && *a1 && strlen(a1) <= 8)