mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-11 09:48:13 +08:00
[saco] Implement/match CPlayerPed::FUNC_100AEC50; the same argument-slot tail call, into FUNC_100AEB10
This commit is contained in:
1 parent
56ef225874
commit
faee9024b8
2 files changed
+17
No files matched your search
@@ -2185,3 +2185,18 @@ void CPlayerPed::FUNC_100AEC10(MATRIX4X4 *pMatrix, int iBone)
|
||||
FUNC_100AEA80(pMatrix, iFrame);
|
||||
}
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CPlayerPed::FUNC_100AEC50(MATRIX4X4 *pMatrix, int iBone)
|
||||
{
|
||||
int iFrame;
|
||||
DWORD dwPedPtr = (DWORD)m_pPed;
|
||||
|
||||
_asm mov edi, dwPedPtr
|
||||
_asm mov eax, iBone
|
||||
_asm mov edx, [edi+eax*4+0x488]
|
||||
_asm mov eax, [edx+0x14]
|
||||
_asm mov iFrame, eax
|
||||
|
||||
FUNC_100AEB10(pMatrix, iFrame);
|
||||
}
|
||||
//-----------------------------------------------------------
|
||||
@@ -215,9 +215,11 @@ public:
|
||||
void FUNC_100AE1E0(); // .text:100AE1E0
|
||||
|
||||
void FUNC_100AEA80(MATRIX4X4 *pMatrix, int iFrame); // .text:100AEA80
|
||||
void FUNC_100AEB10(MATRIX4X4 *pMatrix, int iFrame); // .text:100AEB10
|
||||
|
||||
|
||||
void FUNC_100AEC10(MATRIX4X4 *pMatrix, int iBone); // .text:100AEC10
|
||||
void FUNC_100AEC50(MATRIX4X4 *pMatrix, int iBone); // .text:100AEC50
|
||||
|
||||
int m_iCellPhoneEnabled;
|
||||
int field_4C[10];
|
||||
|
||||
Reference in new issue
Block a user