[saco] Implement unnamed_100B2AF0() and unnamed_100B2B20()

This commit is contained in:
RD42 2024-02-12 20:18:31 +08:00
parent 2da4d86441
commit a6b3920780

40
saco/game/unnamed_1.cpp Normal file
View File

@ -0,0 +1,40 @@
#include <windows.h>
#include <string.h>
int unnamed_1026B568[200];
BOOL unnamed_1026B888[200];
BOOL unnamed_100B2AF0()
{
memset(unnamed_1026B888, 0, sizeof(unnamed_1026B888));
memset(unnamed_1026B568, 0, sizeof(unnamed_1026B568));
return TRUE;
}
int unnamed_100B2B20()
{
int x=0;
while(x!=200)
{
if(!unnamed_1026B888[x])
{
unnamed_1026B888[x] = TRUE;
return x;
}
x++;
}
return (-1);
}