server-re/decomp/MessageServer_Release_x64/full/functions/0x14006fbe0.c

23 lines
634 B
C

/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x14006fbe0 FUN_14006fbe0
* Pseudocode, not original source. */
ulonglong FUN_14006fbe0(longlong param_1)
{
ushort uVar1;
uint uVar2;
ulonglong uVar3;
uVar1 = *(ushort *)(param_1 + 0xc);
uVar3 = (ulonglong)uVar1;
if ((uVar1 != 0) && (uVar1 != 0xffff)) {
uVar2 = *(uint *)(param_1 + 8);
uVar3 = (ulonglong)uVar2;
if ((uVar2 != 0) && (uVar2 != 0xffffffff)) {
return CONCAT71((uint7)(uint3)(uVar2 >> 8),1);
}
}
return uVar3 & 0xffffffffffffff00;
}