server-re/decomp/AgentManager_Release_x64/full/functions/0x14009bde0.c
2026-10-15 09:58:24 -04:00

22 lines
798 B
C

/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
* Ghidra 12.1.2 decompiler output for 0x14009bde0 FUN_14009bde0
* Pseudocode, not original source. */
undefined8 FUN_14009bde0(longlong param_1,undefined8 param_2,undefined8 param_3,char *param_4)
{
int *piVar1;
undefined8 uVar2;
piVar1 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))();
FUN_14003d040(piVar1);
if (*param_4 == '\0') {
*(double *)(*(longlong *)(param_1 + 0x20) + 0x1890) = DAT_14016f078;
}
else if (*(double *)(*(longlong *)(param_1 + 0x20) + 0x1890) == DAT_14016f078) {
*(undefined8 *)(*(longlong *)(param_1 + 0x20) + 0x1890) = 0;
}
uVar2 = FUN_14003d0d0((longlong)piVar1);
return CONCAT71((int7)((ulonglong)uVar2 >> 8),1);
}