mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-11 09:48:13 +08:00
[saco] Implement/match CChatWindow::ReleaseTextures and the FUNC_10067410 tail call into it, which is a bare 5-byte jmp
This commit is contained in:
1 parent
1e1006c1f1
commit
3c6628a812
2 files changed
+31
No files matched your search
@@ -301,3 +301,30 @@ void CChatWindow::AddInfoMessage(CHAR * szFormat, ...)
|
||||
|
||||
sub_10067BE0(4, szBuffer, 0, m_dwChatInfoColor, 0);
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
void CChatWindow::ReleaseTextures()
|
||||
{
|
||||
if(field_63BE) {
|
||||
field_63BE->Release();
|
||||
field_63BE = NULL;
|
||||
}
|
||||
|
||||
if(field_63BA) {
|
||||
field_63BA->Release();
|
||||
field_63BA = NULL;
|
||||
}
|
||||
|
||||
if(field_63B6) {
|
||||
field_63B6->Release();
|
||||
field_63B6 = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
void CChatWindow::FUNC_10067410()
|
||||
{
|
||||
ReleaseTextures();
|
||||
}
|
||||
@@ -61,6 +61,10 @@ public:
|
||||
|
||||
void ReplaceControlChars(char *szString); // .text:10067420
|
||||
|
||||
void ReleaseTextures(); // .text:100671A0
|
||||
|
||||
void FUNC_10067410(); // .text:10067410
|
||||
|
||||
void FUNC_10067E00(); // .text:10067E00
|
||||
|
||||
void FUNC_10067ED0(); // .text:10067ED0
|
||||
|
||||
Reference in new issue
Block a user