server-re/decomp/DBCServer_Release_x64/full/functions/0x1401e9610.c

28 lines
1.2 KiB
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401e9610 FUN_1401e9610
* Pseudocode, not original source. */
void FUN_1401e9610(longlong param_1)
{
if (*(int *)(param_1 + 0x1714) == 0x10) {
*(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) =
*(undefined1 *)(param_1 + 0x1710);
*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1;
*(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) =
*(undefined1 *)(param_1 + 0x1711);
*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1;
*(undefined4 *)(param_1 + 0x1714) = 0;
*(undefined2 *)(param_1 + 0x1710) = 0;
return;
}
if (7 < *(int *)(param_1 + 0x1714)) {
*(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) =
*(undefined1 *)(param_1 + 0x1710);
*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1;
*(int *)(param_1 + 0x1714) = *(int *)(param_1 + 0x1714) + -8;
*(ushort *)(param_1 + 0x1710) = (ushort)*(byte *)(param_1 + 0x1711);
}
return;
}