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/0x140001fc0.c
Normal file
40
decomp/AgentManager_Release_x64/full/functions/0x140001fc0.c
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001fc0 FUN_140001fc0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140001fc0(longlong *param_1)
|
||||
|
||||
{
|
||||
undefined *puVar1;
|
||||
int iVar2;
|
||||
int iVar3;
|
||||
short *psVar4;
|
||||
|
||||
psVar4 = (short *)*param_1;
|
||||
if ((short *)*param_1 == (short *)0x0) {
|
||||
psVar4 = (short *)PTR_DAT_14016f010;
|
||||
}
|
||||
iVar2 = FUN_14003e620(psVar4);
|
||||
iVar3 = 0;
|
||||
if (0 < iVar2) {
|
||||
iVar3 = iVar2;
|
||||
}
|
||||
puVar1 = (undefined *)*param_1;
|
||||
iVar2 = 0;
|
||||
if ((puVar1 != (undefined *)0x0) && (iVar2 = 0, puVar1 != PTR_DAT_14016f010)) {
|
||||
iVar2 = *(int *)(puVar1 + -8);
|
||||
}
|
||||
if ((iVar2 <= iVar3) && (iVar3 = 0, puVar1 != (undefined *)0x0)) {
|
||||
if (puVar1 == PTR_DAT_14016f010) {
|
||||
return;
|
||||
}
|
||||
iVar3 = *(int *)(puVar1 + -8);
|
||||
}
|
||||
if (((puVar1 != PTR_DAT_14016f010) && (puVar1 != (undefined *)0x0)) &&
|
||||
((int *)(puVar1 + -8) != (int *)0x0)) {
|
||||
*(int *)(puVar1 + -8) = iVar3;
|
||||
*(undefined2 *)(puVar1 + (longlong)iVar3 * 2) = 0;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue