37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
|
* Ghidra 12.1.2 decompiler output for 0x1400bc4d0 FUN_1400bc4d0
|
|
* Pseudocode, not original source. */
|
|
|
|
void FUN_1400bc4d0(longlong param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4)
|
|
|
|
{
|
|
longlong lVar1;
|
|
int iVar2;
|
|
undefined2 *puVar3;
|
|
exception local_58 [80];
|
|
|
|
if (*(longlong *)(param_1 + 0x10) != 0) {
|
|
FUN_14006ba50(local_58,(wchar_t *)PTR_u_Cannot_use_internal_buffer_becau_1401adba0,param_3,
|
|
param_4);
|
|
/* WARNING: Subroutine does not return */
|
|
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1401a93e8);
|
|
}
|
|
if (*(longlong *)(param_1 + 8) == 0) {
|
|
puVar3 = FUN_1400d1840(param_1,param_2,param_3);
|
|
*(undefined2 **)(param_1 + 8) = puVar3;
|
|
*(undefined8 *)(puVar3 + 0x14) = 1;
|
|
}
|
|
if (*(longlong *)(param_1 + 8) != 0) {
|
|
*(undefined4 *)(*(longlong *)(param_1 + 8) + 0x24) = 1;
|
|
}
|
|
lVar1 = *(longlong *)(param_1 + 8);
|
|
if (lVar1 != 0) {
|
|
iVar2 = *(int *)(lVar1 + 0x20);
|
|
if (iVar2 < 0x80) {
|
|
iVar2 = 0x80;
|
|
}
|
|
*(int *)(lVar1 + 0x20) = iVar2;
|
|
}
|
|
return;
|
|
}
|
|
|