decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
54
decomp/Agent_Release_x64/full/functions/0x14001bc70.c
Normal file
54
decomp/Agent_Release_x64/full/functions/0x14001bc70.c
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x14001bc70 FUN_14001bc70
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14001bc70(longlong param_1,int param_2,SIZE_T param_3)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
int iVar2;
|
||||
longlong lVar3;
|
||||
SIZE_T SVar4;
|
||||
undefined8 uVar5;
|
||||
exception local_58 [80];
|
||||
|
||||
if (param_2 < 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14002f590();
|
||||
}
|
||||
if (param_2 != *(int *)(param_1 + 0x18)) {
|
||||
if (*(int *)(param_1 + 0x1c) < param_2) {
|
||||
iVar2 = FUN_14001bbd0(param_1,param_2);
|
||||
plVar1 = *(longlong **)(param_1 + 8);
|
||||
SVar4 = (SIZE_T)iVar2;
|
||||
if (*(int *)(param_1 + 0x1c) == 0) {
|
||||
if (plVar1 == (longlong *)0x0) {
|
||||
lVar3 = FUN_140030280(SVar4);
|
||||
}
|
||||
else {
|
||||
lVar3 = (**(code **)(*plVar1 + 8))(plVar1,SVar4);
|
||||
}
|
||||
}
|
||||
else {
|
||||
uVar5 = *(undefined8 *)(param_1 + 0x10);
|
||||
if (plVar1 == (longlong *)0x0) {
|
||||
lVar3 = FUN_1400302b0(uVar5,SVar4);
|
||||
}
|
||||
else {
|
||||
lVar3 = (**(code **)(*plVar1 + 0x10))(plVar1,uVar5);
|
||||
param_3 = SVar4;
|
||||
}
|
||||
if (lVar3 == 0) {
|
||||
FUN_14002f1e0(local_58,L"Memory allocation failure!",param_3,uVar5);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_58,(ThrowInfo *)&DAT_140151b88);
|
||||
}
|
||||
}
|
||||
*(longlong *)(param_1 + 0x10) = lVar3;
|
||||
*(int *)(param_1 + 0x1c) = iVar2;
|
||||
}
|
||||
*(int *)(param_1 + 0x18) = param_2;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue