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

27 lines
946 B
C

/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
* Ghidra 12.1.2 decompiler output for 0x1400ec278 FUN_1400ec278
* Pseudocode, not original source. */
void FUN_1400ec278(longlong param_1)
{
undefined1 uVar1;
if (*(int *)(param_1 + 0x1714) < 9) {
if (*(int *)(param_1 + 0x1714) < 1) goto LAB_1400ec2bf;
uVar1 = *(undefined1 *)(param_1 + 0x1710);
}
else {
*(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) =
*(undefined1 *)(param_1 + 0x1710);
*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1;
uVar1 = *(undefined1 *)(param_1 + 0x1711);
}
*(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = uVar1;
*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1;
LAB_1400ec2bf:
*(undefined2 *)(param_1 + 0x1710) = 0;
*(undefined4 *)(param_1 + 0x1714) = 0;
return;
}