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

32 lines
976 B
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x14015b1d0 FUN_14015b1d0
* Pseudocode, not original source. */
undefined8 * FUN_14015b1d0(undefined8 *param_1,undefined8 param_2)
{
undefined8 *puVar1;
undefined4 uVar2;
FUN_14015bd00();
FUN_14016eb50(param_1 + 9);
*param_1 = MGSAgentSession::vftable;
param_1[9] = MGSAgentSession::vftable;
puVar1 = param_1 + 0xd;
FUN_14016dca0(puVar1);
*puVar1 = SERVER2AGENT_PROTOCOL::Proxy::vftable;
if (*(int *)((longlong)param_1 + 0x7c) != 1) {
FUN_14016f090(PTR_u_PIDL_compiler_is_incompatible_to_1403440e0);
}
*puVar1 = RNP::Server2AgentProxy::vftable;
*(undefined1 *)(param_1 + 0x10) = 0;
*(undefined1 *)(param_1 + 0x11) = 0;
param_1[0x12] = param_2;
param_1[0x13] = 0;
param_1[0x14] = 0;
param_1[0x15] = 0;
uVar2 = FUN_140171510();
FUN_14016da70(param_1 + 0x17,uVar2,1);
return param_1;
}