mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 11:43:04 +08:00
[saco] Implement/match CPlayerPed::FUNC_100AE960; the result local is declared before the ped pointer, which is what orders the two stack slots
This commit is contained in:
@@ -1894,6 +1894,21 @@ int CPlayerPed::FUNC_100AC690()
|
||||
}
|
||||
//-----------------------------------------------------------
|
||||
|
||||
int CPlayerPed::FUNC_100AE960(int a1)
|
||||
{
|
||||
int iResult;
|
||||
DWORD dwPedPtr = (DWORD)m_pPed;
|
||||
|
||||
_asm mov edi, dwPedPtr
|
||||
_asm mov eax, a1
|
||||
_asm mov edx, [edi+eax*4+0x488]
|
||||
_asm mov eax, [edx+0x14]
|
||||
_asm mov iResult, eax
|
||||
|
||||
return iResult;
|
||||
}
|
||||
//-----------------------------------------------------------
|
||||
|
||||
struc_13 * CPlayerPed::FUNC_100AE5D0()
|
||||
{
|
||||
if(m_bytePlayerNumber) return FUNC_100B43D0(m_bytePlayerNumber);
|
||||
|
||||
@@ -195,6 +195,7 @@ public:
|
||||
int FUNC_100AEF60(); // .text:100AEF60
|
||||
|
||||
int FUNC_100AC690(); // .text:100AC690
|
||||
int FUNC_100AE960(int a1); // .text:100AE960
|
||||
struc_13 * FUNC_100AE5D0(); // .text:100AE5D0
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user