server-re/decomp/Agent_Release_x64/full/functions/0x14003bab0.c
2026-10-14 16:45:19 -04:00

93 lines
2.6 KiB
C

/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
* Ghidra 12.1.2 decompiler output for 0x14003bab0 FUN_14003bab0
* Pseudocode, not original source. */
wchar_t * FUN_14003bab0(undefined4 param_1)
{
switch(param_1) {
case 1:
return L"Unexpected Error.";
case 2:
return L"Already connected.";
case 3:
return L"TCP connection failure.";
case 4:
return L"Invalid session key.";
case 5:
return L"Encryption failed.";
case 6:
return L"Decryption failed or hack suspected.";
case 7:
return L"Connect to server timed out.";
case 8:
return L"Mispatched protocol between hosts.";
case 9:
return L"Server denied connection attempt.";
case 10:
return L"Connecting to server successful.";
case 0xb:
return L"Remote host disconnected.";
case 0xc:
return L"Local host disconnected.";
case 0xd:
return L"Dangerous parameters are detected.";
case 0xe:
return L"Unknown Internet address.";
case 0xf:
return L"Server is not ready.";
case 0x10:
return
L"Server socket listen failure. Make sure that the TCP or UDP listening port is not already in use."
;
case 0x11:
return L"Object already exists.";
case 0x12:
return L"Permission denied.";
case 0x13:
return L"Bad session Guid.";
case 0x14:
return L"Invalid credential.";
case 0x15:
return L"Invalid player character name.";
case 0x16:
return L"Corruption occurred while unlocked loading and locking.";
case 0x17:
return L"Output parameter AdjustedGamerIDNotFilled is not filled.";
case 0x18:
return L"No Player Character(Hero) Found.";
case 0x19:
return L"UnitTestFailed";
case 0x1a:
return L"peer-to-peer UDP comm is blocked.";
case 0x1b:
return L"P2P reliable UDP failed.";
case 0x1c:
return L"Client-server UDP comm is blocked.";
case 0x1d:
return L"No common P2P group exists anymore.";
case 0x1e:
return L"By user request.";
case 0x1f:
return L"Invalid packet format. Remote host is hacked or has a bug.";
case 0x20:
return L"Too large message is detected. Contact technical supports.";
case 0x21:
return L"An unreliable message cannot be encrypted.";
case 0x22:
return L"Not exist value.";
case 0x23:
return L"Working is timeout.";
case 0x24:
return L"Can not found loaddata.";
case 0x25:
return L"SendQueue has Accumulated too much.";
case 0x26:
return L"Heartbeat Call in too slow.Suspected starvation";
case 0x27:
return L"Message uncompress fail.";
default:
return L"<none>";
}
}