decomp DBCServer_Release and inspect/document database
This commit is contained in:
parent
4b267cbe05
commit
7834b98bf0
28222 changed files with 843300 additions and 144 deletions
104
decomp/MessageServer_Release_x64/full/functions/0x1400e55b0.c
Normal file
104
decomp/MessageServer_Release_x64/full/functions/0x1400e55b0.c
Normal file
|
|
@ -0,0 +1,104 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400e55b0 FUN_1400e55b0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1400e55b0(undefined8 *param_1,longlong *param_2,uint *param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
void *pvVar2;
|
||||
undefined8 *puVar3;
|
||||
longlong lVar4;
|
||||
undefined8 *puVar5;
|
||||
|
||||
*param_1 = Proud::CNetClientManager::vftable;
|
||||
param_1[1] = Proud::CNetClientManager::vftable;
|
||||
if (param_1[0x56] != 0) {
|
||||
FUN_1400ea570(param_1[0x56],(longlong)param_2,(longlong)param_3,param_4);
|
||||
FUN_1400ea690(param_1[0x56],param_2,param_3,param_4);
|
||||
}
|
||||
plVar1 = (longlong *)param_1[0x52];
|
||||
if ((plVar1 != (longlong *)0x0) && (*plVar1 != 0)) {
|
||||
if (plVar1 == (longlong *)0x0) {
|
||||
lVar4 = 0;
|
||||
}
|
||||
else {
|
||||
lVar4 = *plVar1;
|
||||
}
|
||||
FUN_1400fc7f0(lVar4,param_2,param_3,param_4);
|
||||
lVar4 = 0;
|
||||
if ((longlong *)param_1[0x52] != (longlong *)0x0) {
|
||||
lVar4 = *(longlong *)param_1[0x52];
|
||||
}
|
||||
FUN_1400fcfe0(lVar4);
|
||||
}
|
||||
*(undefined1 *)(param_1 + 0x10) = 1;
|
||||
if ((undefined8 *)param_1[0xf] == (undefined8 *)0x0) {
|
||||
puVar5 = (undefined8 *)0x0;
|
||||
}
|
||||
else {
|
||||
puVar5 = *(undefined8 **)param_1[0xf];
|
||||
}
|
||||
FUN_140074120(puVar5);
|
||||
pvVar2 = (void *)param_1[0x57];
|
||||
if (pvVar2 != (void *)0x0) {
|
||||
FUN_140076380((longlong)pvVar2,param_2,(longlong *)param_3,param_4);
|
||||
operator_delete(pvVar2);
|
||||
}
|
||||
param_1[0x57] = 0;
|
||||
timeKillEvent(*(UINT *)(param_1 + 0x4c));
|
||||
puVar5 = (undefined8 *)param_1[0x56];
|
||||
if (puVar5 != (undefined8 *)0x0) {
|
||||
FUN_1400ed320(puVar5,param_2,(longlong *)param_3,param_4);
|
||||
operator_delete(puVar5);
|
||||
}
|
||||
param_1[0x56] = 0;
|
||||
FUN_1400ae340(param_1 + 0x45);
|
||||
pvVar2 = (void *)param_1[0x57];
|
||||
if (pvVar2 != (void *)0x0) {
|
||||
FUN_140076380((longlong)pvVar2,param_2,(longlong *)param_3,param_4);
|
||||
operator_delete(pvVar2);
|
||||
}
|
||||
param_1[0x57] = 0;
|
||||
puVar5 = (undefined8 *)param_1[0x56];
|
||||
if (puVar5 != (undefined8 *)0x0) {
|
||||
FUN_1400ed320(puVar5,param_2,(longlong *)param_3,param_4);
|
||||
operator_delete(puVar5);
|
||||
}
|
||||
FUN_1400e0550(param_1 + 0x53);
|
||||
if ((param_1[0x52] != 0) &&
|
||||
(*(longlong *)(param_1[0x52] + 8) = *(longlong *)(param_1[0x52] + 8) + -1,
|
||||
*(longlong *)(param_1[0x52] + 8) == 0)) {
|
||||
plVar1 = (longlong *)param_1[0x52];
|
||||
puVar5 = (undefined8 *)*plVar1;
|
||||
if (puVar5 != (undefined8 *)0x0) {
|
||||
param_2 = (longlong *)0x1;
|
||||
(**(code **)*puVar5)();
|
||||
}
|
||||
FUN_14006cc60(plVar1);
|
||||
}
|
||||
FUN_1400ae340(param_1 + 0x45);
|
||||
if ((undefined8 *)param_1[0x45] != (undefined8 *)0x0) {
|
||||
param_2 = (longlong *)0x1;
|
||||
(*(code *)**(undefined8 **)param_1[0x45])();
|
||||
}
|
||||
FUN_140076120(param_1 + 0x41);
|
||||
FUN_14006b400((undefined4 *)(param_1 + 0x39),param_2,param_3,param_4);
|
||||
FUN_14006b400((undefined4 *)(param_1 + 0x11),param_2,param_3,param_4);
|
||||
if ((param_1[0xf] != 0) &&
|
||||
(*(longlong *)(param_1[0xf] + 8) = *(longlong *)(param_1[0xf] + 8) + -1,
|
||||
*(longlong *)(param_1[0xf] + 8) == 0)) {
|
||||
puVar5 = (undefined8 *)param_1[0xf];
|
||||
puVar3 = (undefined8 *)*puVar5;
|
||||
if (puVar3 != (undefined8 *)0x0) {
|
||||
FUN_1400741a0(puVar3);
|
||||
operator_delete(puVar3);
|
||||
}
|
||||
FUN_14006cc60(puVar5);
|
||||
}
|
||||
FUN_14006b400((undefined4 *)(param_1 + 2),param_2,param_3,param_4);
|
||||
param_1[1] = Proud::ISendSpeedMeasurerDg::vftable;
|
||||
*param_1 = Proud::ICompletionPortEventSink::vftable;
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue