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 @@
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x14006bf80 FUN_14006bf80
* Pseudocode, not original source. */
HMODULE FUN_14006bf80(uint param_1,WORD param_2)
{
HMODULE hModule;
HRSRC pHVar1;
ushort *puVar2;
int iVar3;
hModule = ATL::CAtlBaseModule::GetHInstanceAt((CAtlBaseModule *)&DAT_1401b5ae0,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) &&
(puVar2 = FUN_14006bee0(hModule,pHVar1,param_1), puVar2 != (ushort *)0x0)) break;
hModule = ATL::CAtlBaseModule::GetHInstanceAt((CAtlBaseModule *)&DAT_1401b5ae0,iVar3);
}
return hModule;
}