add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
40
decomp/AgentManager_Release_x64/full/functions/0x1400cb280.c
Normal file
40
decomp/AgentManager_Release_x64/full/functions/0x1400cb280.c
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400cb280 FUN_1400cb280
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1400cb280(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_14002a050(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_1400449f0(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_140040510((longlong *)(param_2 + 0x10),local_res10);
|
||||
*(undefined4 *)(param_2 + 0x18) = 3;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue