decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
40
decomp/Agent_Release_x64/full/functions/0x1400af480.c
Normal file
40
decomp/Agent_Release_x64/full/functions/0x1400af480.c
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400af480 FUN_1400af480
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1400af480(undefined8 param_1,longlong param_2,SIZE_T param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
uint uVar1;
|
||||
void *_Dst;
|
||||
longlong lVar2;
|
||||
undefined **_Size;
|
||||
longlong local_res10 [3];
|
||||
|
||||
FUN_14001bc70(param_2 + 0x20,0x2000,param_3);
|
||||
if (*(int *)(param_2 + 0x38) == 0) {
|
||||
_Dst = (void *)0x0;
|
||||
}
|
||||
else {
|
||||
_Dst = *(void **)(param_2 + 0x30);
|
||||
}
|
||||
_Size = (undefined **)(longlong)*(int *)(param_2 + 0x38);
|
||||
memset(_Dst,0,(size_t)_Size);
|
||||
*(undefined1 *)(param_2 + 0xc0) = 1;
|
||||
lVar2 = 0;
|
||||
if (*(longlong **)(param_2 + 0x10) != (longlong *)0x0) {
|
||||
lVar2 = **(longlong **)(param_2 + 0x10);
|
||||
}
|
||||
uVar1 = FUN_140036430(lVar2,(ulonglong)(*(int *)(param_2 + 0x38) - 1),_Size,param_4);
|
||||
if (uVar1 == 0) {
|
||||
*(undefined4 *)(param_2 + 0x18) = 2;
|
||||
}
|
||||
else {
|
||||
*(undefined1 *)(param_2 + 0xc0) = 0;
|
||||
local_res10[0] = 0;
|
||||
FUN_140031f40((longlong *)(param_2 + 0x10),local_res10);
|
||||
*(undefined4 *)(param_2 + 0x18) = 3;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue