36 lines
1.1 KiB
C
36 lines
1.1 KiB
C
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
|
* Ghidra 12.1.2 decompiler output for 0x14001bb60 FUN_14001bb60
|
|
* Pseudocode, not original source. */
|
|
|
|
void FUN_14001bb60(longlong *param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4)
|
|
|
|
{
|
|
longlong lVar1;
|
|
int iVar2;
|
|
int iVar3;
|
|
exception local_58 [88];
|
|
|
|
iVar3 = (int)param_3;
|
|
if (iVar3 < 0) {
|
|
/* WARNING: Subroutine does not return */
|
|
FUN_14002f590();
|
|
}
|
|
if (iVar3 != 0) {
|
|
if (*param_1 == 0) {
|
|
FUN_14002f1e0(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_1401569a0,param_3,
|
|
param_4);
|
|
/* WARNING: Subroutine does not return */
|
|
_CxxThrowException(local_58,(ThrowInfo *)&DAT_140151b88);
|
|
}
|
|
lVar1 = param_1[1];
|
|
iVar2 = (int)lVar1 + iVar3;
|
|
if ((iVar2 < 0) || (*(int *)((longlong)param_1 + 0xc) < iVar2)) {
|
|
/* WARNING: Subroutine does not return */
|
|
FUN_14002f590();
|
|
}
|
|
*(int *)(param_1 + 1) = iVar2;
|
|
FUN_14001bd30((undefined8 *)(*param_1 + (longlong)(int)lVar1),param_2,(longlong)iVar3);
|
|
}
|
|
return;
|
|
}
|
|
|