30 lines
868 B
C
30 lines
868 B
C
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
|
* Ghidra 12.1.2 decompiler output for 0x1400be270 FUN_1400be270
|
|
* Pseudocode, not original source. */
|
|
|
|
void FUN_1400be270(longlong param_1,short *param_2)
|
|
|
|
{
|
|
short sVar1;
|
|
ulonglong uVar2;
|
|
short *psVar3;
|
|
exception local_58 [80];
|
|
|
|
uVar2 = 0xffffffffffffffff;
|
|
psVar3 = param_2;
|
|
do {
|
|
if (uVar2 == 0) break;
|
|
uVar2 = uVar2 - 1;
|
|
sVar1 = *psVar3;
|
|
psVar3 = psVar3 + 1;
|
|
} while (sVar1 != 0);
|
|
uVar2 = ~uVar2 - 1;
|
|
if (0x7fffffff < uVar2) {
|
|
FUN_14006ba50(local_58,L"WriteString failed! length=%I64d",uVar2,param_1);
|
|
/* WARNING: Subroutine does not return */
|
|
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1401a93e8);
|
|
}
|
|
FUN_1400be070(param_1,(undefined8 *)param_2,uVar2 & 0xffffffff,param_1);
|
|
return;
|
|
}
|
|
|