35 lines
1.2 KiB
C
35 lines
1.2 KiB
C
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
|
* Ghidra 12.1.2 decompiler output for 0x14007cad0 FUN_14007cad0
|
|
* Pseudocode, not original source. */
|
|
|
|
void FUN_14007cad0(longlong param_1,undefined8 param_2,undefined4 param_3)
|
|
|
|
{
|
|
int iVar1;
|
|
longlong lVar2;
|
|
int iVar3;
|
|
undefined4 uStack_5c;
|
|
exception local_58 [88];
|
|
|
|
lVar2 = *(longlong *)(param_1 + 0xc80);
|
|
if (lVar2 == 0) {
|
|
FUN_14006ba50(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_1401ad9a0,0,param_1);
|
|
/* WARNING: Subroutine does not return */
|
|
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1401a93e8);
|
|
}
|
|
iVar1 = *(int *)(param_1 + 0xc88);
|
|
if (iVar1 < 0) {
|
|
/* WARNING: Subroutine does not return */
|
|
FUN_14006be00();
|
|
}
|
|
iVar3 = iVar1 + 1;
|
|
if ((-1 < iVar3) && (iVar3 <= *(int *)(param_1 + 0xc8c))) {
|
|
*(int *)(param_1 + 0xc88) = iVar3;
|
|
*(undefined8 *)(lVar2 + (longlong)iVar1 * 0x10) = param_2;
|
|
*(ulonglong *)(lVar2 + 8 + (longlong)iVar1 * 0x10) = CONCAT44(uStack_5c,param_3);
|
|
return;
|
|
}
|
|
/* WARNING: Subroutine does not return */
|
|
FUN_14006be00();
|
|
}
|
|
|