server-re/decomp/MessageServer_Release_x64/full/functions/0x1400d5600.c

42 lines
1.7 KiB
C

/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x1400d5600 FUN_1400d5600
* Pseudocode, not original source. */
/* WARNING: Removing unreachable block (ram,0x0001400d5670) */
/* WARNING: Removing unreachable block (ram,0x0001400d5679) */
/* WARNING: Removing unreachable block (ram,0x0001400d5697) */
/* WARNING: Removing unreachable block (ram,0x0001400d56a0) */
/* WARNING: Removing unreachable block (ram,0x0001400d56db) */
/* WARNING: Removing unreachable block (ram,0x0001400d56e4) */
/* WARNING: Removing unreachable block (ram,0x0001400d5702) */
/* WARNING: Removing unreachable block (ram,0x0001400d570b) */
undefined1 * FUN_1400d5600(undefined1 *param_1,longlong param_2)
{
*param_1 = 0;
*(undefined8 *)(param_1 + 0x50) = 0;
*(undefined8 *)(param_1 + 8) = 0;
*(undefined8 *)(param_1 + 0x10) = 0;
*(undefined8 *)(param_1 + 0x18) = 0;
*(undefined4 *)(param_1 + 0x28) = 0x11;
*(undefined8 *)(param_1 + 0x20) = 0;
*(undefined4 *)(param_1 + 0x48) = 0;
*(undefined4 *)(param_1 + 0x2c) = 0x3f400000;
*(undefined4 *)(param_1 + 0x30) = 0x3e800000;
*(undefined4 *)(param_1 + 0x34) = 0x40100000;
*(undefined8 *)(param_1 + 0x38) = 0x26;
*(undefined8 *)(param_1 + 0x40) = 0;
*(undefined4 *)(param_1 + 0x2c) = 0x3dcccccd;
*(undefined4 *)(param_1 + 0x30) = 0x33d6bf95;
*(undefined4 *)(param_1 + 0x34) = 0x40066666;
*(undefined8 *)(param_1 + 0x38) = 0x23;
*(undefined8 *)(param_1 + 0x40) = 0;
if (param_2 == 0) {
/* WARNING: Subroutine does not return */
FUN_14006be00();
}
*(longlong *)(param_1 + 0x50) = param_2;
return param_1;
}