diff --git a/saco/game/util.cpp b/saco/game/util.cpp index 3c0a06b..11131fc 100644 --- a/saco/game/util.cpp +++ b/saco/game/util.cpp @@ -1616,16 +1616,16 @@ void __stdcall FUNC_100B4630(int iModel, int a2) //----------------------------------------------------------- -DWORD __stdcall FUNC_100B46D0(int iModel) +DWORD * __stdcall FUNC_100B46D0(int iModel) { DWORD *pModelInfo = GetModelInfo(iModel); - DWORD dwRet = 0; + DWORD *pRet = 0; _asm mov eax, pModelInfo _asm mov edx, [eax+0x14] - _asm mov dwRet, edx + _asm mov pRet, edx - return dwRet; + return pRet; } //----------------------------------------------------------- diff --git a/saco/game/util.h b/saco/game/util.h index 252aeb7..a3dfcfe 100644 --- a/saco/game/util.h +++ b/saco/game/util.h @@ -137,7 +137,6 @@ DWORD __stdcall FUNC_100B45A0(int iModel); // .text:100B45A0 void __stdcall FUNC_100B45D0(int iModel, int a2); // .text:100B45D0 void __stdcall FUNC_100B4600(int iModel, int a2); // .text:100B4600 void __stdcall FUNC_100B4630(int iModel, int a2); // .text:100B4630 -DWORD __stdcall FUNC_100B46D0(int iModel); // .text:100B46D0 WORD __stdcall FUNC_100B4700(int iModel); // .text:100B4700 void __stdcall FUNC_100B4730(int iModel, WORD wValue); // .text:100B4730 BOOL __stdcall FUNC_100B44E0(DWORD *pModelInfo); // .text:100B44E0