add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
51
decomp/AgentManager_Release_x64/full/functions/0x14000a950.c
Normal file
51
decomp/AgentManager_Release_x64/full/functions/0x14000a950.c
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x14000a950 FUN_14000a950
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined2 * FUN_14000a950(undefined2 *param_1,longlong param_2)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
longlong *plVar2;
|
||||
longlong lVar3;
|
||||
longlong *local_res18;
|
||||
|
||||
Ordinal_8();
|
||||
plVar2 = operator_new(0x18);
|
||||
if (plVar2 == (longlong *)0x0) {
|
||||
plVar2 = (longlong *)0x0;
|
||||
}
|
||||
else {
|
||||
plVar2[1] = 0;
|
||||
*(undefined4 *)(plVar2 + 2) = 1;
|
||||
local_res18 = plVar2;
|
||||
lVar3 = Ordinal_2(param_2);
|
||||
*plVar2 = lVar3;
|
||||
if ((lVar3 == 0) && (param_2 != 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140048d70(0x8007000e);
|
||||
}
|
||||
}
|
||||
local_res18 = plVar2;
|
||||
if (plVar2 == (longlong *)0x0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140048d70(0x8007000e);
|
||||
}
|
||||
FUN_14000a840(param_1,(longlong *)&local_res18);
|
||||
LOCK();
|
||||
plVar1 = plVar2 + 2;
|
||||
lVar3 = *plVar1;
|
||||
*(int *)plVar1 = (int)*plVar1 + -1;
|
||||
UNLOCK();
|
||||
if ((int)lVar3 == 1) {
|
||||
if (*plVar2 != 0) {
|
||||
Ordinal_6();
|
||||
}
|
||||
if ((void *)plVar2[1] != (void *)0x0) {
|
||||
operator_delete__((void *)plVar2[1]);
|
||||
}
|
||||
operator_delete(plVar2);
|
||||
}
|
||||
return param_1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue