/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1 * Ghidra 12.1.2 decompiler output for 0x140064ed0 FUN_140064ed0 * Pseudocode, not original source. */ void FUN_140064ed0(longlong param_1,undefined4 param_2) { bool bVar1; switch(param_2) { case 1: *(undefined1 *)(param_1 + 8) = 1; return; case 2: *(undefined1 *)(param_1 + 9) = 1; return; default: return; case 5: *(undefined1 *)(param_1 + 10) = 1; return; case 6: *(undefined1 *)(param_1 + 0xb) = 1; return; case 7: break; case 8: *(undefined1 *)(param_1 + 0xc) = 1; return; case 0xd: if (*(char *)(param_1 + 0xd) == '\0') { *(undefined2 *)(param_1 + 0xd) = 1; return; } *(undefined2 *)(param_1 + 0xd) = 0x100; return; } bVar1 = *(char *)(DAT_1401bd038 + 0x171) == '\0'; *(bool *)(DAT_1401bd038 + 0x171) = bVar1; if (!bVar1) { /* WARNING: Could not recover jumptable at 0x000140064f32. Too many branches */ /* WARNING: Treating indirect jump as call */ printf("Auto Revive Off !!!\n"); return; } /* WARNING: Could not recover jumptable at 0x000140064f24. Too many branches */ /* WARNING: Treating indirect jump as call */ printf("Auto Revive On !!!\n"); return; }