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

24 lines
756 B
C

/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
* Ghidra 12.1.2 decompiler output for 0x1400e7458 FUN_1400e7458
* Pseudocode, not original source. */
undefined8 FUN_1400e7458(longlong param_1)
{
undefined8 uVar1;
if (((param_1 == 0) || (*(longlong *)(param_1 + 0x28) == 0)) ||
(*(code **)(param_1 + 0x38) == (code *)0x0)) {
uVar1 = 0xfffffffe;
}
else {
if (*(longlong *)(*(longlong *)(param_1 + 0x28) + 0x38) != 0) {
(**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40));
}
(**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40),*(undefined8 *)(param_1 + 0x28));
*(undefined8 *)(param_1 + 0x28) = 0;
uVar1 = 0;
}
return uVar1;
}