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

71 lines
1.5 KiB
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x14015c5d0 FUN_14015c5d0
* Pseudocode, not original source. */
void FUN_14015c5d0(longlong param_1,undefined8 param_2)
{
wchar_t *pwVar1;
switch(*(undefined1 *)(param_1 + 0x40)) {
case 1:
FUN_140056040(param_2,L"Lobby",5);
return;
case 2:
FUN_140056040(param_2,L"Dungeon",7);
return;
case 3:
FUN_140056040(param_2,&DAT_1402af510,3);
return;
case 4:
FUN_140056040(param_2,&DAT_1402af518,3);
return;
case 5:
FUN_140056040(param_2,L"Guild",5);
return;
case 6:
FUN_140056040(param_2,L"Message",7);
return;
case 7:
FUN_140056040(param_2,&DAT_1402af520,2);
return;
case 8:
FUN_140056040(param_2,L"Gate",4);
return;
case 9:
FUN_140056040(param_2,L"Manager",7);
return;
case 10:
FUN_140056040(param_2,L"Auction",7);
return;
case 0xb:
FUN_140056040(param_2,L"Match",5);
return;
case 0xc:
pwVar1 = L"DBC_GAME";
break;
case 0xd:
FUN_140056040(param_2,L"Agent",5);
return;
default:
goto switchD_14015c5f9_caseD_d;
case 0x11:
FUN_140056040(param_2,L"DBC_LOG",7);
return;
case 0x12:
pwVar1 = L"DBC_CHAT";
break;
case 0x13:
FUN_140056040(param_2,L"DBC_EMERGENCY",0xd);
return;
case 0x15:
FUN_140056040(param_2,L"Agentmanager",0xc);
return;
case 0x16:
pwVar1 = L"MiniGame";
}
FUN_140056040(param_2,pwVar1,8);
switchD_14015c5f9_caseD_d:
return;
}