mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 11:43:04 +08:00
[saco] Implement/match CPlayerPed::FUNC_100AD9C0; the model index widens through movzx for the __cdecl stat lookup
This commit is contained in:
@@ -2214,3 +2214,11 @@ void CPlayerPed::FUNC_100AEC50(MATRIX4X4 *pMatrix, int iBone)
|
|||||||
FUNC_100AEB10(pMatrix, iFrame);
|
FUNC_100AEB10(pMatrix, iFrame);
|
||||||
}
|
}
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
int CPlayerPed::FUNC_100AD9C0()
|
||||||
|
{
|
||||||
|
if(!m_pPed) return -1;
|
||||||
|
|
||||||
|
return FUNC_100B4100(m_pPed->entity.nModelIndex);
|
||||||
|
}
|
||||||
|
//-----------------------------------------------------------
|
||||||
|
|||||||
@@ -226,6 +226,8 @@ public:
|
|||||||
void FUNC_100AEC10(MATRIX4X4 *pMatrix, int iBone); // .text:100AEC10
|
void FUNC_100AEC10(MATRIX4X4 *pMatrix, int iBone); // .text:100AEC10
|
||||||
void FUNC_100AEC50(MATRIX4X4 *pMatrix, int iBone); // .text:100AEC50
|
void FUNC_100AEC50(MATRIX4X4 *pMatrix, int iBone); // .text:100AEC50
|
||||||
|
|
||||||
|
int FUNC_100AD9C0(); // .text:100AD9C0
|
||||||
|
|
||||||
int m_iCellPhoneEnabled;
|
int m_iCellPhoneEnabled;
|
||||||
int field_4C[10];
|
int field_4C[10];
|
||||||
struc_97 field_74[10];
|
struc_97 field_74[10];
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ void FUNC_100B6A80(float *pQuat, MATRIX4X4 *pMatrix); // .text:100B6A80
|
|||||||
void __stdcall FUNC_100B6900(VECTOR *pFront, VECTOR *pOut); // .text:100B6900
|
void __stdcall FUNC_100B6900(VECTOR *pFront, VECTOR *pOut); // .text:100B6900
|
||||||
void FUNC_100B5470(float *pQuat, MATRIX4X4 *pMatrix); // .text:100B5470
|
void FUNC_100B5470(float *pQuat, MATRIX4X4 *pMatrix); // .text:100B5470
|
||||||
void FUNC_100B5500(float *pQuat); // .text:100B5500
|
void FUNC_100B5500(float *pQuat); // .text:100B5500
|
||||||
|
int FUNC_100B4100(int iModel); // .text:100B4100
|
||||||
void FUNC_100B5210(int a1, void *a2); // .text:100B5210, __cdecl: the caller's
|
void FUNC_100B5210(int a1, void *a2); // .text:100B5210, __cdecl: the caller's
|
||||||
// stack cleanup is folded into the next call's argument setup
|
// stack cleanup is folded into the next call's argument setup
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user