28 lines
923 B
C
28 lines
923 B
C
/* 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;
|
|
}
|
|
|