decomp DBCServer_Release and inspect/document database

This commit is contained in:
Benjamin Palko 2026-10-14 23:22:03 -04:00
parent 4b267cbe05
commit 7834b98bf0
28222 changed files with 843300 additions and 144 deletions

View file

@ -0,0 +1,28 @@
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x14016ed90 FUN_14016ed90
* Pseudocode, not original source. */
HMODULE FUN_14016ed90(uint param_1,WORD param_2)
{
HMODULE hModule;
HRSRC pHVar1;
longlong lVar2;
int iVar3;
hModule = ATL::CAtlBaseModule::GetHInstanceAt((CAtlBaseModule *)&DAT_140352600,0);
iVar3 = 0;
while( true ) {
if (hModule == (HMODULE)0x0) {
return (HMODULE)0x0;
}
iVar3 = iVar3 + 1;
pHVar1 = FindResourceExW(hModule,(LPCWSTR)0x6,
(LPCWSTR)(ulonglong)(ushort)((short)(param_1 >> 4) + 1),param_2);
if ((pHVar1 != (HRSRC)0x0) && (lVar2 = FUN_14016ecf0(hModule,pHVar1,param_1), lVar2 != 0))
break;
hModule = ATL::CAtlBaseModule::GetHInstanceAt((CAtlBaseModule *)&DAT_140352600,iVar3);
}
return hModule;
}