[saco] Add FUNC_100B4BE0 and FUNC_100B4C00; the first GTA callee cleans its own stack, the second does not

This commit is contained in:
ricardoofnl
2026-09-04 20:18:48 +07:00
parent fc68e18131
commit ce1f1e9c34
2 changed files with 27 additions and 0 deletions
+25
View File
@@ -590,6 +590,31 @@ bool FUNC_100B4B50(VECTOR *vecPos)
return false;
}
//-----------------------------------------------------------
int FUNC_100B4BE0(int a1, int a2, int a3)
{
_asm push a3
_asm push a2
_asm push a1
_asm mov edx, 0x59C790
_asm call edx
}
//-----------------------------------------------------------
int FUNC_100B4C00(int a1, int a2, int a3)
{
_asm push a3
_asm push a2
_asm push a1
_asm mov edx, 0x59C810
_asm call edx
_asm pop edx
_asm pop edx
_asm pop edx
}
+2
View File
@@ -62,6 +62,8 @@ int FUNC_100B61D0(int a1); // .text:100B61D0
bool FUNC_100B4B50(VECTOR *vecPos);
void FUNC_100B4D10(VECTOR *vecOut, MATRIX4X4 *pMatrix, VECTOR *vecOffset);
int FUNC_100B4BE0(int a1, int a2, int a3); // .text:100B4BE0
int FUNC_100B4C00(int a1, int a2, int a3); // .text:100B4C00
BUILDING_TYPE * GamePool_GetBuilding();
DUMMY_TYPE * GamePool_GetDummy();