[saco] Match FUNC_1000D240/FUNC_1000D280; they return the dff/txd id of a staged entry

This commit is contained in:
ricardoofnl
2026-09-04 20:41:13 +07:00
parent e504cb236e
commit 47d6497b95
2 changed files with 30 additions and 0 deletions
+28
View File
@@ -140,6 +140,34 @@ char CDownloadList::FUNC_1000D190(DWORD dwCrc)
//----------------------------------------------------
DWORD CDownloadList::FUNC_1000D240(DWORD dwCrc)
{
for(DWORD i = 0; i != m_dwCount; i++)
{
DOWNLOAD_ENTRY *pEntry = GetAt(i);
if(pEntry && pEntry->dwCrc == dwCrc && pEntry->field_7 == 2)
return pEntry->field_46;
}
return 0;
}
//----------------------------------------------------
DWORD CDownloadList::FUNC_1000D280(DWORD dwCrc)
{
for(DWORD i = 0; i != m_dwCount; i++)
{
DOWNLOAD_ENTRY *pEntry = GetAt(i);
if(pEntry && pEntry->dwCrc == dwCrc && pEntry->field_7 == 2)
return pEntry->field_4A;
}
return 0;
}
//----------------------------------------------------
// both model files have to be present in one of the two search dirs
int CDownloadList::FUNC_1000C770(DWORD a1, DWORD dwCrc, DWORD a3, DWORD a4)
{
+2
View File
@@ -73,6 +73,8 @@ public:
bool FUNC_1000D110(DWORD dwCrc); // .text:1000D110
bool FUNC_1000D150(DWORD dwCrc); // .text:1000D150
char FUNC_1000D190(DWORD dwCrc); // .text:1000D190
DWORD FUNC_1000D240(DWORD dwCrc); // .text:1000D240
DWORD FUNC_1000D280(DWORD dwCrc); // .text:1000D280
int FUNC_1000C770(DWORD a1, DWORD dwCrc, DWORD a3, DWORD a4); // .text:1000C770
int FUNC_1000D320(DWORD dwCrc); // .text:1000D320
};