[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:
ricardoofnl committed 2026-09-05 07:36:48 +07:00
1 parent 1e1006c1f1
commit 3c6628a812
2 files changed
+31

No files matched your search

+27
View File
@@ -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();
}
+4
View File
@@ -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