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/0x14003d440.c
Normal file
51
decomp/AgentManager_Release_x64/full/functions/0x14003d440.c
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x14003d440 FUN_14003d440
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14003d440(longlong *param_1)
|
||||
|
||||
{
|
||||
int *piVar1;
|
||||
undefined *puVar2;
|
||||
int iVar3;
|
||||
int iVar4;
|
||||
char *pcVar5;
|
||||
|
||||
pcVar5 = (char *)*param_1;
|
||||
if ((char *)*param_1 == (char *)0x0) {
|
||||
pcVar5 = PTR_DAT_14016f008;
|
||||
}
|
||||
iVar3 = FUN_14003e6e0(pcVar5);
|
||||
iVar4 = 0;
|
||||
if (0 < iVar3) {
|
||||
iVar4 = iVar3;
|
||||
}
|
||||
puVar2 = (undefined *)*param_1;
|
||||
if (puVar2 == (undefined *)0x0) {
|
||||
iVar3 = 0;
|
||||
}
|
||||
else if (puVar2 == PTR_DAT_14016f008) {
|
||||
iVar3 = 0;
|
||||
}
|
||||
else {
|
||||
iVar3 = *(int *)(puVar2 + -8);
|
||||
}
|
||||
if (iVar3 <= iVar4) {
|
||||
if (puVar2 == (undefined *)0x0) {
|
||||
iVar4 = 0;
|
||||
}
|
||||
else if (puVar2 == PTR_DAT_14016f008) {
|
||||
iVar4 = 0;
|
||||
}
|
||||
else {
|
||||
iVar4 = *(int *)(puVar2 + -8);
|
||||
}
|
||||
}
|
||||
if (((puVar2 != PTR_DAT_14016f008) && (puVar2 != (undefined *)0x0)) &&
|
||||
(piVar1 = (int *)(puVar2 + -8), piVar1 != (int *)0x0)) {
|
||||
*piVar1 = iVar4;
|
||||
*(undefined1 *)((longlong)iVar4 + 8 + (longlong)piVar1) = 0;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue