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
28
decomp/DBCServer_Release_x64/full/functions/0x140001000.c
Normal file
28
decomp/DBCServer_Release_x64/full/functions/0x140001000.c
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001000 FUN_140001000
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_140001000(undefined8 *param_1,undefined8 param_2)
|
||||
|
||||
{
|
||||
undefined8 *puVar1;
|
||||
undefined8 uVar2;
|
||||
|
||||
puVar1 = operator_new(0x18);
|
||||
if (puVar1 == (undefined8 *)0x0) {
|
||||
puVar1 = (undefined8 *)0x0;
|
||||
}
|
||||
else {
|
||||
puVar1[1] = 0;
|
||||
*(undefined4 *)(puVar1 + 2) = 1;
|
||||
uVar2 = FUN_1402182d0(param_2);
|
||||
*puVar1 = uVar2;
|
||||
}
|
||||
*param_1 = puVar1;
|
||||
if (puVar1 == (undefined8 *)0x0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x8007000e);
|
||||
}
|
||||
return param_1;
|
||||
}
|
||||
|
||||
32
decomp/DBCServer_Release_x64/full/functions/0x140001080.c
Normal file
32
decomp/DBCServer_Release_x64/full/functions/0x140001080.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001080 FUN_140001080
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140001080(undefined8 *param_1)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
longlong *plVar2;
|
||||
longlong lVar3;
|
||||
|
||||
plVar2 = (longlong *)*param_1;
|
||||
if (plVar2 != (longlong *)0x0) {
|
||||
LOCK();
|
||||
plVar1 = plVar2 + 2;
|
||||
lVar3 = *plVar1;
|
||||
*(int *)plVar1 = (int)*plVar1 + -1;
|
||||
UNLOCK();
|
||||
if (((int)lVar3 == 1) && (plVar2 != (longlong *)0x0)) {
|
||||
if (*plVar2 != 0) {
|
||||
Ordinal_6();
|
||||
}
|
||||
if ((void *)plVar2[1] != (void *)0x0) {
|
||||
operator_delete__((void *)plVar2[1]);
|
||||
}
|
||||
operator_delete(plVar2);
|
||||
}
|
||||
*param_1 = 0;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
32
decomp/DBCServer_Release_x64/full/functions/0x1400010e0.c
Normal file
32
decomp/DBCServer_Release_x64/full/functions/0x1400010e0.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400010e0 FUN_1400010e0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 *
|
||||
FUN_1400010e0(longlong param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
undefined8 uVar1;
|
||||
undefined8 *puVar2;
|
||||
undefined8 local_res8;
|
||||
|
||||
local_res8 = 0;
|
||||
if (*(longlong *)(param_1 + 0x10) != 0) {
|
||||
(**(code **)(**(longlong **)(param_1 + 0x10) + 0x28))
|
||||
(*(longlong **)(param_1 + 0x10),&local_res8,param_3,param_4,0xfffffffffffffffe);
|
||||
}
|
||||
uVar1 = local_res8;
|
||||
puVar2 = operator_new(0x18);
|
||||
if (puVar2 != (undefined8 *)0x0) {
|
||||
puVar2[1] = 0;
|
||||
*(undefined4 *)(puVar2 + 2) = 1;
|
||||
*puVar2 = uVar1;
|
||||
}
|
||||
*param_2 = puVar2;
|
||||
if (puVar2 == (undefined8 *)0x0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x8007000e);
|
||||
}
|
||||
return param_2;
|
||||
}
|
||||
|
||||
32
decomp/DBCServer_Release_x64/full/functions/0x140001170.c
Normal file
32
decomp/DBCServer_Release_x64/full/functions/0x140001170.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001170 FUN_140001170
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 *
|
||||
FUN_140001170(longlong param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
undefined8 uVar1;
|
||||
undefined8 *puVar2;
|
||||
undefined8 local_res8;
|
||||
|
||||
local_res8 = 0;
|
||||
if (*(longlong *)(param_1 + 0x10) != 0) {
|
||||
(**(code **)(**(longlong **)(param_1 + 0x10) + 0x20))
|
||||
(*(longlong **)(param_1 + 0x10),&local_res8,param_3,param_4,0xfffffffffffffffe);
|
||||
}
|
||||
uVar1 = local_res8;
|
||||
puVar2 = operator_new(0x18);
|
||||
if (puVar2 != (undefined8 *)0x0) {
|
||||
puVar2[1] = 0;
|
||||
*(undefined4 *)(puVar2 + 2) = 1;
|
||||
*puVar2 = uVar1;
|
||||
}
|
||||
*param_2 = puVar2;
|
||||
if (puVar2 == (undefined8 *)0x0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x8007000e);
|
||||
}
|
||||
return param_2;
|
||||
}
|
||||
|
||||
54
decomp/DBCServer_Release_x64/full/functions/0x140001200.c
Normal file
54
decomp/DBCServer_Release_x64/full/functions/0x140001200.c
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001200 FUN_140001200
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
longlong FUN_140001200(longlong param_1)
|
||||
|
||||
{
|
||||
longlong *lpBuffer;
|
||||
longlong lVar1;
|
||||
int iVar2;
|
||||
char *_DstBuf;
|
||||
longlong lVar3;
|
||||
char *_Format;
|
||||
|
||||
lpBuffer = (longlong *)(param_1 + 0x18);
|
||||
if (*(longlong *)(param_1 + 0x18) == 0) {
|
||||
FormatMessageA(0x1300,(LPCVOID)0x0,*(DWORD *)(param_1 + 8),0x400,(LPSTR)lpBuffer,0,
|
||||
(va_list *)0x0);
|
||||
if ((LPCSTR)*lpBuffer == (LPCSTR)0x0) {
|
||||
_DstBuf = LocalAlloc(0,0x20);
|
||||
*lpBuffer = (longlong)_DstBuf;
|
||||
if (_DstBuf == (char *)0x0) {
|
||||
return 0;
|
||||
}
|
||||
if ((*(int *)(param_1 + 8) + 0x7ffbfe00U < 0xfe00) && ((short)*(int *)(param_1 + 8) != 0x200))
|
||||
{
|
||||
_Format = "IDispatch error #%d";
|
||||
}
|
||||
else {
|
||||
_Format = "Unknown error 0x%0lX";
|
||||
}
|
||||
sprintf_s(_DstBuf,0x20,_Format);
|
||||
}
|
||||
else {
|
||||
iVar2 = lstrlenA((LPCSTR)*lpBuffer);
|
||||
if (1 < iVar2) {
|
||||
lVar3 = (longlong)iVar2;
|
||||
lVar1 = *lpBuffer;
|
||||
if (*(char *)(lVar3 + -1 + lVar1) != '\n') {
|
||||
return lVar1;
|
||||
}
|
||||
*(undefined1 *)(lVar3 + -1 + lVar1) = 0;
|
||||
lVar1 = *lpBuffer;
|
||||
if (*(char *)(lVar3 + -2 + lVar1) != '\r') {
|
||||
return lVar1;
|
||||
}
|
||||
*(undefined1 *)(lVar3 + -2 + lVar1) = 0;
|
||||
return *lpBuffer;
|
||||
}
|
||||
}
|
||||
}
|
||||
return *lpBuffer;
|
||||
}
|
||||
|
||||
19
decomp/DBCServer_Release_x64/full/functions/0x140001310.c
Normal file
19
decomp/DBCServer_Release_x64/full/functions/0x140001310.c
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001310 FUN_140001310
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void * FUN_140001310(IUnknown *param_1,void *param_2)
|
||||
|
||||
{
|
||||
ULONG UVar1;
|
||||
undefined1 local_28 [32];
|
||||
|
||||
Ordinal_8(local_28);
|
||||
UVar1 = (*param_1->lpVtbl[3].AddRef)(param_1);
|
||||
if ((int)UVar1 < 0) {
|
||||
_com_issue_errorex(UVar1,param_1,(_GUID *)&DAT_14029dfd0);
|
||||
}
|
||||
memcpy_s(param_2,0x18,local_28,0x18);
|
||||
return param_2;
|
||||
}
|
||||
|
||||
26
decomp/DBCServer_Release_x64/full/functions/0x140001380.c
Normal file
26
decomp/DBCServer_Release_x64/full/functions/0x140001380.c
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001380 FUN_140001380
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_140001380(IUnknown *param_1,undefined8 *param_2,undefined8 *param_3)
|
||||
|
||||
{
|
||||
HRESULT HVar1;
|
||||
void *local_res8;
|
||||
IID local_28;
|
||||
undefined8 local_18;
|
||||
|
||||
local_res8 = (void *)0x0;
|
||||
local_28._0_8_ = *param_3;
|
||||
local_28.Data4 = *(uchar (*) [8])(param_3 + 1);
|
||||
local_18 = param_3[2];
|
||||
HVar1 = (*param_1->lpVtbl[4].QueryInterface)(param_1,&local_28,&local_res8);
|
||||
if (HVar1 < 0) {
|
||||
_com_issue_errorex(HVar1,param_1,(_GUID *)&DAT_14029dfe0);
|
||||
*param_2 = local_res8;
|
||||
return param_2;
|
||||
}
|
||||
*param_2 = local_res8;
|
||||
return param_2;
|
||||
}
|
||||
|
||||
44
decomp/DBCServer_Release_x64/full/functions/0x140001410.c
Normal file
44
decomp/DBCServer_Release_x64/full/functions/0x140001410.c
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001410 FUN_140001410
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140001410(IUnknown *param_1,longlong *param_2,void **param_3)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
longlong *plVar2;
|
||||
longlong lVar3;
|
||||
HRESULT HVar4;
|
||||
IID *riid;
|
||||
|
||||
if ((undefined8 *)*param_2 == (undefined8 *)0x0) {
|
||||
riid = (IID *)0x0;
|
||||
}
|
||||
else {
|
||||
riid = *(IID **)*param_2;
|
||||
}
|
||||
HVar4 = (*param_1->lpVtbl[4].QueryInterface)(param_1,riid,param_3);
|
||||
if (HVar4 < 0) {
|
||||
_com_issue_errorex(HVar4,param_1,(_GUID *)&DAT_14029dff0);
|
||||
}
|
||||
plVar2 = (longlong *)*param_2;
|
||||
if (plVar2 != (longlong *)0x0) {
|
||||
LOCK();
|
||||
plVar1 = plVar2 + 2;
|
||||
lVar3 = *plVar1;
|
||||
*(int *)plVar1 = (int)*plVar1 + -1;
|
||||
UNLOCK();
|
||||
if (((int)lVar3 == 1) && (plVar2 != (longlong *)0x0)) {
|
||||
if (*plVar2 != 0) {
|
||||
Ordinal_6();
|
||||
}
|
||||
if ((void *)plVar2[1] != (void *)0x0) {
|
||||
operator_delete__((void *)plVar2[1]);
|
||||
}
|
||||
operator_delete(plVar2);
|
||||
}
|
||||
*param_2 = 0;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
19
decomp/DBCServer_Release_x64/full/functions/0x1400014b0.c
Normal file
19
decomp/DBCServer_Release_x64/full/functions/0x1400014b0.c
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400014b0 FUN_1400014b0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_1400014b0(IUnknown *param_1,undefined8 *param_2)
|
||||
|
||||
{
|
||||
ULONG UVar1;
|
||||
|
||||
UVar1 = (*param_1->lpVtbl[5].Release)(param_1);
|
||||
if ((int)UVar1 < 0) {
|
||||
_com_issue_errorex(UVar1,param_1,(_GUID *)&DAT_14029dff0);
|
||||
*param_2 = 0;
|
||||
return param_2;
|
||||
}
|
||||
*param_2 = 0;
|
||||
return param_2;
|
||||
}
|
||||
|
||||
43
decomp/DBCServer_Release_x64/full/functions/0x140001530.c
Normal file
43
decomp/DBCServer_Release_x64/full/functions/0x140001530.c
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001530 FUN_140001530
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_140001530(IUnknown *param_1,undefined8 *param_2,longlong *param_3,uint param_4)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
longlong *plVar2;
|
||||
longlong lVar3;
|
||||
HRESULT HVar4;
|
||||
IID *riid;
|
||||
|
||||
riid = (IID *)0x0;
|
||||
if ((undefined8 *)*param_3 != (undefined8 *)0x0) {
|
||||
riid = *(IID **)*param_3;
|
||||
}
|
||||
HVar4 = (*param_1->lpVtbl[6].QueryInterface)(param_1,riid,(void **)(ulonglong)param_4);
|
||||
if (HVar4 < 0) {
|
||||
_com_issue_errorex(HVar4,param_1,(_GUID *)&DAT_14029dff0);
|
||||
}
|
||||
*param_2 = 0;
|
||||
plVar2 = (longlong *)*param_3;
|
||||
if (plVar2 != (longlong *)0x0) {
|
||||
LOCK();
|
||||
plVar1 = plVar2 + 2;
|
||||
lVar3 = *plVar1;
|
||||
*(int *)plVar1 = (int)*plVar1 + -1;
|
||||
UNLOCK();
|
||||
if (((int)lVar3 == 1) && (plVar2 != (longlong *)0x0)) {
|
||||
if (*plVar2 != 0) {
|
||||
Ordinal_6();
|
||||
}
|
||||
if ((void *)plVar2[1] != (void *)0x0) {
|
||||
operator_delete__((void *)plVar2[1]);
|
||||
}
|
||||
operator_delete(plVar2);
|
||||
}
|
||||
*param_3 = 0;
|
||||
}
|
||||
return param_2;
|
||||
}
|
||||
|
||||
19
decomp/DBCServer_Release_x64/full/functions/0x140001650.c
Normal file
19
decomp/DBCServer_Release_x64/full/functions/0x140001650.c
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001650 FUN_140001650
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_140001650(IUnknown *param_1,undefined8 *param_2)
|
||||
|
||||
{
|
||||
ULONG UVar1;
|
||||
|
||||
UVar1 = (*param_1->lpVtbl[6].AddRef)(param_1);
|
||||
if ((int)UVar1 < 0) {
|
||||
_com_issue_errorex(UVar1,param_1,(_GUID *)&DAT_14029dff0);
|
||||
*param_2 = 0;
|
||||
return param_2;
|
||||
}
|
||||
*param_2 = 0;
|
||||
return param_2;
|
||||
}
|
||||
|
||||
15
decomp/DBCServer_Release_x64/full/functions/0x1400016c0.c
Normal file
15
decomp/DBCServer_Release_x64/full/functions/0x1400016c0.c
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400016c0 FUN_1400016c0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_1400016c0(longlong *param_1,undefined8 param_2)
|
||||
|
||||
{
|
||||
if (*param_1 == 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x80004003);
|
||||
}
|
||||
FUN_1400014b0();
|
||||
return param_2;
|
||||
}
|
||||
|
||||
40
decomp/DBCServer_Release_x64/full/functions/0x140001700.c
Normal file
40
decomp/DBCServer_Release_x64/full/functions/0x140001700.c
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001700 FUN_140001700
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140001700(longlong *param_1,IID *param_2,void **param_3)
|
||||
|
||||
{
|
||||
IUnknown *pIVar1;
|
||||
HRESULT HVar2;
|
||||
ULONG UVar3;
|
||||
undefined8 uVar4;
|
||||
undefined1 local_res8 [8];
|
||||
|
||||
pIVar1 = (IUnknown *)*param_1;
|
||||
if (pIVar1 == (IUnknown *)0x0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x80004003);
|
||||
}
|
||||
HVar2 = (*pIVar1->lpVtbl[3].QueryInterface)(pIVar1,param_2,param_3);
|
||||
if (HVar2 < 0) {
|
||||
_com_issue_errorex(HVar2,pIVar1,(_GUID *)&DAT_14029dff0);
|
||||
}
|
||||
uVar4 = FUN_140001000(local_res8,param_3);
|
||||
if (*param_1 == 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x80004003);
|
||||
}
|
||||
FUN_140001410(*param_1,uVar4);
|
||||
pIVar1 = (IUnknown *)*param_1;
|
||||
if (pIVar1 == (IUnknown *)0x0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x80004003);
|
||||
}
|
||||
UVar3 = (*pIVar1->lpVtbl[6].Release)(pIVar1);
|
||||
if ((int)UVar3 < 0) {
|
||||
_com_issue_errorex(UVar3,pIVar1,(_GUID *)&DAT_14029dff0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
37
decomp/DBCServer_Release_x64/full/functions/0x1400017d0.c
Normal file
37
decomp/DBCServer_Release_x64/full/functions/0x1400017d0.c
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400017d0 FUN_1400017d0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1400017d0(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
IUnknown *This;
|
||||
ULONG UVar1;
|
||||
undefined8 *puVar2;
|
||||
longlong *local_res8;
|
||||
longlong *local_res10;
|
||||
|
||||
local_res10 = param_2;
|
||||
if (*param_1 == 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x80004003);
|
||||
}
|
||||
puVar2 = (undefined8 *)FUN_140001650(*param_1,&local_res8,param_3,param_4,0xfffffffffffffffe);
|
||||
This = (IUnknown *)*puVar2;
|
||||
if (This == (IUnknown *)0x0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x80004003);
|
||||
}
|
||||
UVar1 = (*This->lpVtbl[3].AddRef)(This);
|
||||
if ((int)UVar1 < 0) {
|
||||
_com_issue_errorex(UVar1,This,(_GUID *)&DAT_14029dfc0);
|
||||
}
|
||||
if (local_res8 != (longlong *)0x0) {
|
||||
(**(code **)(*local_res8 + 0x10))();
|
||||
}
|
||||
if ((longlong *)*param_2 != (longlong *)0x0) {
|
||||
(**(code **)(*(longlong *)*param_2 + 0x10))();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
47
decomp/DBCServer_Release_x64/full/functions/0x140001870.c
Normal file
47
decomp/DBCServer_Release_x64/full/functions/0x140001870.c
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001870 FUN_140001870
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8
|
||||
FUN_140001870(longlong *param_1,undefined8 param_2,longlong *param_3,undefined8 param_4,
|
||||
undefined4 param_5,undefined8 param_6,undefined8 param_7)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
longlong *plVar2;
|
||||
longlong lVar3;
|
||||
longlong local_res8;
|
||||
|
||||
local_res8 = *param_3;
|
||||
if (local_res8 != 0) {
|
||||
LOCK();
|
||||
*(int *)(local_res8 + 0x10) = *(int *)(local_res8 + 0x10) + 1;
|
||||
UNLOCK();
|
||||
}
|
||||
if (*param_1 == 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x80004003);
|
||||
}
|
||||
FUN_140001530(*param_1,param_2,&local_res8,param_4,param_5,param_6,param_7);
|
||||
plVar2 = (longlong *)*param_3;
|
||||
if (plVar2 != (longlong *)0x0) {
|
||||
LOCK();
|
||||
plVar1 = plVar2 + 2;
|
||||
lVar3 = *plVar1;
|
||||
*(int *)plVar1 = (int)*plVar1 + -1;
|
||||
UNLOCK();
|
||||
if (((int)lVar3 == 1) && (plVar2 != (longlong *)0x0)) {
|
||||
if (*plVar2 != 0) {
|
||||
Ordinal_6();
|
||||
}
|
||||
if ((void *)plVar2[1] != (void *)0x0) {
|
||||
operator_delete__((void *)plVar2[1]);
|
||||
}
|
||||
operator_delete(plVar2);
|
||||
}
|
||||
*param_3 = 0;
|
||||
}
|
||||
Ordinal_9(param_7);
|
||||
return param_2;
|
||||
}
|
||||
|
||||
13
decomp/DBCServer_Release_x64/full/functions/0x140001970.c
Normal file
13
decomp/DBCServer_Release_x64/full/functions/0x140001970.c
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001970 FUN_140001970
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140001970(longlong *param_1)
|
||||
|
||||
{
|
||||
if ((longlong *)*param_1 != (longlong *)0x0) {
|
||||
(**(code **)(*(longlong *)*param_1 + 0x10))();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
93
decomp/DBCServer_Release_x64/full/functions/0x140001990.c
Normal file
93
decomp/DBCServer_Release_x64/full/functions/0x140001990.c
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001990 FUN_140001990
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __chkstk replaced with injection: alloca_probe */
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
|
||||
DWORD FUN_140001990(undefined8 param_1)
|
||||
|
||||
{
|
||||
ulonglong _Size;
|
||||
longlong lVar1;
|
||||
int iVar2;
|
||||
int iVar3;
|
||||
DWORD DVar4;
|
||||
ulonglong uVar5;
|
||||
undefined4 *puVar6;
|
||||
undefined4 *puVar7;
|
||||
undefined1 *puVar8;
|
||||
undefined1 *puVar9;
|
||||
undefined1 auStackY_48 [32];
|
||||
ulonglong local_18 [2];
|
||||
|
||||
puVar8 = auStackY_48;
|
||||
puVar9 = auStackY_48;
|
||||
local_18[0] = DAT_1403463c0 ^ (ulonglong)local_18;
|
||||
iVar2 = lstrlenA("ADODB.Command");
|
||||
iVar3 = MultiByteToWideChar(0,0,"ADODB.Command",iVar2 + 1,(LPWSTR)0x0,0);
|
||||
if (iVar3 == 0) {
|
||||
LAB_140001a8e:
|
||||
*(undefined8 *)(puVar9 + -8) = 0x140001a94;
|
||||
DVar4 = GetLastError();
|
||||
if (0 < (int)DVar4) {
|
||||
DVar4 = DVar4 & 0xffff | 0x80070000;
|
||||
}
|
||||
}
|
||||
else {
|
||||
_Size = (longlong)iVar3 * 2 + 0x10;
|
||||
if (_Size < 0x401) {
|
||||
uVar5 = (longlong)iVar3 * 2 + 0x1f;
|
||||
if (uVar5 <= _Size) {
|
||||
uVar5 = 0xffffffffffffff0;
|
||||
}
|
||||
lVar1 = -(uVar5 & 0xfffffffffffffff0);
|
||||
puVar9 = auStackY_48 + lVar1;
|
||||
puVar8 = auStackY_48 + lVar1;
|
||||
puVar6 = (undefined4 *)((longlong)local_18 + lVar1);
|
||||
if (puVar6 != (undefined4 *)0x0) {
|
||||
*puVar6 = 0xcccc;
|
||||
LAB_140001a49:
|
||||
puVar7 = puVar6 + 4;
|
||||
puVar9 = puVar8;
|
||||
goto LAB_140001a4d;
|
||||
}
|
||||
}
|
||||
else {
|
||||
puVar6 = malloc(_Size);
|
||||
puVar7 = (undefined4 *)0x0;
|
||||
puVar9 = auStackY_48;
|
||||
if (puVar6 != (undefined4 *)0x0) {
|
||||
*puVar6 = 0xdddd;
|
||||
goto LAB_140001a49;
|
||||
}
|
||||
LAB_140001a4d:
|
||||
if (puVar7 != (undefined4 *)0x0) {
|
||||
*(int *)(puVar9 + 0x28) = iVar3;
|
||||
*(undefined4 **)(puVar9 + 0x20) = puVar7;
|
||||
*(undefined8 *)(puVar9 + -8) = 0x140001a77;
|
||||
iVar2 = MultiByteToWideChar(0,0,"ADODB.Command",iVar2 + 1,*(LPWSTR *)(puVar9 + 0x20),
|
||||
*(int *)(puVar9 + 0x28));
|
||||
if (iVar2 != 0) {
|
||||
*(undefined8 *)(puVar9 + -8) = 0x140001aad;
|
||||
DVar4 = FUN_140001af0(param_1,puVar7);
|
||||
if (puVar7[-4] == 0xdddd) {
|
||||
*(undefined8 *)(puVar9 + -8) = 0x140001ac2;
|
||||
free(puVar7 + -4);
|
||||
}
|
||||
goto LAB_140001ac4;
|
||||
}
|
||||
if (puVar7[-4] == 0xdddd) {
|
||||
*(undefined8 *)(puVar9 + -8) = 0x140001a8e;
|
||||
free(puVar7 + -4);
|
||||
}
|
||||
goto LAB_140001a8e;
|
||||
}
|
||||
}
|
||||
DVar4 = 0x8007000e;
|
||||
}
|
||||
LAB_140001ac4:
|
||||
*(undefined8 *)(puVar9 + -8) = 0x140001ad0;
|
||||
return DVar4;
|
||||
}
|
||||
|
||||
45
decomp/DBCServer_Release_x64/full/functions/0x140001af0.c
Normal file
45
decomp/DBCServer_Release_x64/full/functions/0x140001af0.c
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001af0 FUN_140001af0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
|
||||
int FUN_140001af0(void **param_1,LPCOLESTR param_2)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined1 auStackY_58 [32];
|
||||
LPUNKNOWN local_28;
|
||||
CLSID local_20;
|
||||
ulonglong local_10;
|
||||
|
||||
local_10 = DAT_1403463c0 ^ (ulonglong)auStackY_58;
|
||||
if (param_2 == (LPCOLESTR)0x0) {
|
||||
return -0x7ff8ffa9;
|
||||
}
|
||||
if (*param_2 == L'{') {
|
||||
iVar1 = CLSIDFromString(param_2,&local_20);
|
||||
}
|
||||
else {
|
||||
iVar1 = CLSIDFromProgID(param_2,&local_20);
|
||||
}
|
||||
if (-1 < iVar1) {
|
||||
if (*param_1 != (longlong *)0x0) {
|
||||
(**(code **)(*(longlong *)*param_1 + 0x10))();
|
||||
}
|
||||
iVar1 = CoCreateInstance(&local_20,(LPUNKNOWN)0x0,0x17,(IID *)&DAT_14029dfb0,&local_28);
|
||||
if (-1 < iVar1) {
|
||||
iVar1 = OleRun(local_28);
|
||||
if (-1 < iVar1) {
|
||||
iVar1 = (*local_28->lpVtbl->QueryInterface)(local_28,(IID *)&DAT_14029e000,param_1);
|
||||
}
|
||||
(*local_28->lpVtbl->Release)(local_28);
|
||||
if (-1 < iVar1) {
|
||||
return iVar1;
|
||||
}
|
||||
}
|
||||
*param_1 = (void *)0x0;
|
||||
}
|
||||
return iVar1;
|
||||
}
|
||||
|
||||
73
decomp/DBCServer_Release_x64/full/functions/0x140001be0.c
Normal file
73
decomp/DBCServer_Release_x64/full/functions/0x140001be0.c
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001be0 FUN_140001be0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
ULONG FUN_140001be0(IUnknown *param_1,undefined8 *param_2,undefined8 *param_3,undefined8 *param_4)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
longlong *plVar2;
|
||||
longlong lVar3;
|
||||
ULONG UVar4;
|
||||
|
||||
UVar4 = (*param_1->lpVtbl[6].Release)(param_1);
|
||||
if ((int)UVar4 < 0) {
|
||||
_com_issue_errorex(UVar4,param_1,(_GUID *)&DAT_14029e018);
|
||||
}
|
||||
plVar2 = (longlong *)*param_2;
|
||||
if (plVar2 != (longlong *)0x0) {
|
||||
LOCK();
|
||||
plVar1 = plVar2 + 2;
|
||||
lVar3 = *plVar1;
|
||||
*(int *)plVar1 = (int)*plVar1 + -1;
|
||||
UNLOCK();
|
||||
if (((int)lVar3 == 1) && (plVar2 != (longlong *)0x0)) {
|
||||
if (*plVar2 != 0) {
|
||||
Ordinal_6();
|
||||
}
|
||||
if ((void *)plVar2[1] != (void *)0x0) {
|
||||
operator_delete__((void *)plVar2[1]);
|
||||
}
|
||||
operator_delete(plVar2);
|
||||
}
|
||||
*param_2 = 0;
|
||||
}
|
||||
plVar2 = (longlong *)*param_3;
|
||||
if (plVar2 != (longlong *)0x0) {
|
||||
LOCK();
|
||||
plVar1 = plVar2 + 2;
|
||||
lVar3 = *plVar1;
|
||||
*(int *)plVar1 = (int)*plVar1 + -1;
|
||||
UNLOCK();
|
||||
if (((int)lVar3 == 1) && (plVar2 != (longlong *)0x0)) {
|
||||
if (*plVar2 != 0) {
|
||||
Ordinal_6();
|
||||
}
|
||||
if ((void *)plVar2[1] != (void *)0x0) {
|
||||
operator_delete__((void *)plVar2[1]);
|
||||
}
|
||||
operator_delete(plVar2);
|
||||
}
|
||||
*param_3 = 0;
|
||||
}
|
||||
plVar2 = (longlong *)*param_4;
|
||||
if (plVar2 != (longlong *)0x0) {
|
||||
LOCK();
|
||||
plVar1 = plVar2 + 2;
|
||||
lVar3 = *plVar1;
|
||||
*(int *)plVar1 = (int)*plVar1 + -1;
|
||||
UNLOCK();
|
||||
if (((int)lVar3 == 1) && (plVar2 != (longlong *)0x0)) {
|
||||
if (*plVar2 != 0) {
|
||||
Ordinal_6();
|
||||
}
|
||||
if ((void *)plVar2[1] != (void *)0x0) {
|
||||
operator_delete__((void *)plVar2[1]);
|
||||
}
|
||||
operator_delete(plVar2);
|
||||
}
|
||||
*param_4 = 0;
|
||||
}
|
||||
return UVar4;
|
||||
}
|
||||
|
||||
75
decomp/DBCServer_Release_x64/full/functions/0x140001d50.c
Normal file
75
decomp/DBCServer_Release_x64/full/functions/0x140001d50.c
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001d50 FUN_140001d50
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
uint FUN_140001d50(longlong *param_1,char *param_2)
|
||||
|
||||
{
|
||||
char cVar1;
|
||||
IUnknown *pIVar2;
|
||||
ULONG UVar3;
|
||||
int iVar4;
|
||||
undefined8 uVar5;
|
||||
undefined8 uVar6;
|
||||
undefined8 uVar7;
|
||||
longlong lVar8;
|
||||
char *pcVar9;
|
||||
int local_res10 [2];
|
||||
undefined1 local_res18 [8];
|
||||
undefined1 local_res20 [8];
|
||||
undefined8 uVar10;
|
||||
int *piVar11;
|
||||
undefined1 *puVar12;
|
||||
undefined1 *puVar13;
|
||||
|
||||
uVar10 = 0xfffffffffffffffe;
|
||||
if (param_2 != (char *)0x0) {
|
||||
pIVar2 = (IUnknown *)*param_1;
|
||||
if (pIVar2 != (IUnknown *)0x0) {
|
||||
local_res10[0] = 0;
|
||||
UVar3 = (*pIVar2->lpVtbl[0xb].AddRef)(pIVar2);
|
||||
if ((int)UVar3 < 0) {
|
||||
_com_issue_errorex(UVar3,pIVar2,(_GUID *)&DAT_14029e018);
|
||||
}
|
||||
if (local_res10[0] != 0) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
lVar8 = -1;
|
||||
pcVar9 = param_2;
|
||||
do {
|
||||
if (lVar8 == 0) break;
|
||||
lVar8 = lVar8 + -1;
|
||||
cVar1 = *pcVar9;
|
||||
pcVar9 = pcVar9 + 1;
|
||||
} while (cVar1 != '\0');
|
||||
if (lVar8 != -2) {
|
||||
param_1[1] = (longlong)param_2;
|
||||
piVar11 = local_res10;
|
||||
puVar12 = local_res18;
|
||||
puVar13 = local_res20;
|
||||
uVar5 = FUN_140001000(local_res10,&DAT_14029e010);
|
||||
uVar6 = FUN_140001000(local_res18,&DAT_14029e010);
|
||||
uVar7 = FUN_140001000(local_res20,param_1[1]);
|
||||
if (*param_1 == 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x80004003);
|
||||
}
|
||||
iVar4 = FUN_140001be0(*param_1,uVar7,uVar6,uVar5,uVar10,piVar11,puVar12,puVar13);
|
||||
if (iVar4 == 0) {
|
||||
pIVar2 = (IUnknown *)*param_1;
|
||||
if (pIVar2 == (IUnknown *)0x0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x80004003);
|
||||
}
|
||||
UVar3 = (*pIVar2->lpVtbl[9].Release)(pIVar2);
|
||||
if ((int)UVar3 < 0) {
|
||||
_com_issue_errorex(UVar3,pIVar2,(_GUID *)&DAT_14029e018);
|
||||
}
|
||||
}
|
||||
return -(uint)(iVar4 != 0) & 0xfffffffe;
|
||||
}
|
||||
}
|
||||
return 0xffffffff;
|
||||
}
|
||||
|
||||
39
decomp/DBCServer_Release_x64/full/functions/0x140001eb0.c
Normal file
39
decomp/DBCServer_Release_x64/full/functions/0x140001eb0.c
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001eb0 FUN_140001eb0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140001eb0(undefined8 *param_1,undefined8 param_2,void **param_3)
|
||||
|
||||
{
|
||||
IUnknown *This;
|
||||
ULONG UVar1;
|
||||
HRESULT HVar2;
|
||||
IID *riid;
|
||||
IID *This_00;
|
||||
ulong local_res8;
|
||||
|
||||
This_00 = (IID *)*param_1;
|
||||
if (This_00 != (IID *)0x0) {
|
||||
riid = (IID *)&local_res8;
|
||||
local_res8 = 0;
|
||||
UVar1 = (*(*(IUnknownVtbl **)This_00)[0xb].AddRef)((IUnknown *)This_00);
|
||||
if ((int)UVar1 < 0) {
|
||||
param_3 = (void **)&DAT_14029e018;
|
||||
_com_issue_errorex(UVar1,(IUnknown *)This_00,(_GUID *)&DAT_14029e018);
|
||||
riid = This_00;
|
||||
}
|
||||
if (local_res8 != 0) {
|
||||
This = (IUnknown *)*param_1;
|
||||
if (This == (IUnknown *)0x0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x80004003);
|
||||
}
|
||||
HVar2 = (*This->lpVtbl[5].QueryInterface)(This,riid,param_3);
|
||||
if (HVar2 < 0) {
|
||||
_com_issue_errorex(HVar2,This,(_GUID *)&DAT_14029e018);
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
15
decomp/DBCServer_Release_x64/full/functions/0x140001f40.c
Normal file
15
decomp/DBCServer_Release_x64/full/functions/0x140001f40.c
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001f40 FUN_140001f40
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
longlong * FUN_140001f40(longlong *param_1,longlong *param_2)
|
||||
|
||||
{
|
||||
param_1 = (longlong *)*param_1;
|
||||
*param_2 = (longlong)param_1;
|
||||
if (param_1 != (longlong *)0x0) {
|
||||
(**(code **)(*param_1 + 8))();
|
||||
}
|
||||
return param_2;
|
||||
}
|
||||
|
||||
29
decomp/DBCServer_Release_x64/full/functions/0x140001f70.c
Normal file
29
decomp/DBCServer_Release_x64/full/functions/0x140001f70.c
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001f70 FUN_140001f70
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
HRESULT FUN_140001f70(void **param_1)
|
||||
|
||||
{
|
||||
HRESULT HVar1;
|
||||
LPUNKNOWN local_res8;
|
||||
|
||||
if (*param_1 != (longlong *)0x0) {
|
||||
(**(code **)(*(longlong *)*param_1 + 0x10))();
|
||||
}
|
||||
HVar1 = CoCreateInstance((IID *)&DAT_14029e048,(LPUNKNOWN)0x0,0x17,(IID *)&DAT_14029dfb0,
|
||||
&local_res8);
|
||||
if (-1 < HVar1) {
|
||||
HVar1 = OleRun(local_res8);
|
||||
if (-1 < HVar1) {
|
||||
HVar1 = (*local_res8->lpVtbl->QueryInterface)(local_res8,(IID *)&DAT_14029e028,param_1);
|
||||
}
|
||||
(*local_res8->lpVtbl->Release)(local_res8);
|
||||
if (-1 < HVar1) {
|
||||
return HVar1;
|
||||
}
|
||||
}
|
||||
*param_1 = (void *)0x0;
|
||||
return HVar1;
|
||||
}
|
||||
|
||||
19
decomp/DBCServer_Release_x64/full/functions/0x140002000.c
Normal file
19
decomp/DBCServer_Release_x64/full/functions/0x140002000.c
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002000 FUN_140002000
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void * FUN_140002000(IUnknown *param_1,void *param_2)
|
||||
|
||||
{
|
||||
ULONG UVar1;
|
||||
undefined1 local_28 [32];
|
||||
|
||||
Ordinal_8(local_28);
|
||||
UVar1 = (*param_1->lpVtbl[4].AddRef)(param_1);
|
||||
if ((int)UVar1 < 0) {
|
||||
_com_issue_errorex(UVar1,param_1,(_GUID *)&DAT_14029e058);
|
||||
}
|
||||
memcpy_s(param_2,0x18,local_28,0x18);
|
||||
return param_2;
|
||||
}
|
||||
|
||||
19
decomp/DBCServer_Release_x64/full/functions/0x140002070.c
Normal file
19
decomp/DBCServer_Release_x64/full/functions/0x140002070.c
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002070 FUN_140002070
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_140002070(IUnknown *param_1,undefined8 *param_2)
|
||||
|
||||
{
|
||||
ULONG UVar1;
|
||||
|
||||
UVar1 = (*param_1->lpVtbl[3].AddRef)(param_1);
|
||||
if ((int)UVar1 < 0) {
|
||||
_com_issue_errorex(UVar1,param_1,(_GUID *)&DAT_14029e068);
|
||||
*param_2 = 0;
|
||||
return param_2;
|
||||
}
|
||||
*param_2 = 0;
|
||||
return param_2;
|
||||
}
|
||||
|
||||
23
decomp/DBCServer_Release_x64/full/functions/0x140002100.c
Normal file
23
decomp/DBCServer_Release_x64/full/functions/0x140002100.c
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002100 FUN_140002100
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_140002100(IUnknown *param_1,undefined8 *param_2,void **param_3)
|
||||
|
||||
{
|
||||
HRESULT HVar1;
|
||||
undefined8 local_res8;
|
||||
|
||||
local_res8._0_4_ = 0;
|
||||
local_res8._4_2_ = 0;
|
||||
local_res8._6_2_ = 0;
|
||||
HVar1 = (*param_1->lpVtbl[7].QueryInterface)(param_1,(IID *)&local_res8,param_3);
|
||||
if (HVar1 < 0) {
|
||||
_com_issue_errorex(HVar1,param_1,(_GUID *)&DAT_14029e038);
|
||||
*param_2 = local_res8;
|
||||
return param_2;
|
||||
}
|
||||
*param_2 = local_res8;
|
||||
return param_2;
|
||||
}
|
||||
|
||||
28
decomp/DBCServer_Release_x64/full/functions/0x140002170.c
Normal file
28
decomp/DBCServer_Release_x64/full/functions/0x140002170.c
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002170 FUN_140002170
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
longlong * FUN_140002170(longlong *param_1)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
|
||||
*param_1 = 0;
|
||||
param_1[1] = 0;
|
||||
Ordinal_8(param_1 + 4);
|
||||
Ordinal_8(param_1 + 7);
|
||||
plVar1 = (longlong *)*param_1;
|
||||
if (plVar1 != (longlong *)0x0) {
|
||||
*param_1 = 0;
|
||||
(**(code **)(*plVar1 + 0x10))();
|
||||
}
|
||||
param_1[0xe] = (longlong)&DAT_14029e010;
|
||||
param_1[0xb] = (longlong)&DAT_14029e010;
|
||||
*(undefined4 *)(param_1 + 0xc) = 0;
|
||||
param_1[0xd] = 0;
|
||||
FUN_1400024d0(param_1);
|
||||
*(undefined4 *)(param_1 + 10) = 2;
|
||||
*(undefined4 *)(param_1 + 2) = 1;
|
||||
return param_1;
|
||||
}
|
||||
|
||||
28
decomp/DBCServer_Release_x64/full/functions/0x140002200.c
Normal file
28
decomp/DBCServer_Release_x64/full/functions/0x140002200.c
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002200 FUN_140002200
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140002200(longlong *param_1)
|
||||
|
||||
{
|
||||
FUN_140002440();
|
||||
if ((longlong *)*param_1 != (longlong *)0x0) {
|
||||
(**(code **)(*(longlong *)*param_1 + 0x10))();
|
||||
*param_1 = 0;
|
||||
}
|
||||
param_1[0xd] = 0;
|
||||
param_1[0xe] = (longlong)&DAT_14029e010;
|
||||
param_1[0xb] = (longlong)&DAT_14029e010;
|
||||
*(undefined4 *)(param_1 + 0xc) = 0;
|
||||
*(undefined4 *)(param_1 + 10) = 0;
|
||||
Ordinal_9(param_1 + 7);
|
||||
Ordinal_9(param_1 + 4);
|
||||
if ((longlong *)param_1[1] != (longlong *)0x0) {
|
||||
(**(code **)(*(longlong *)param_1[1] + 0x10))();
|
||||
}
|
||||
if ((longlong *)*param_1 != (longlong *)0x0) {
|
||||
(**(code **)(*(longlong *)*param_1 + 0x10))();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
71
decomp/DBCServer_Release_x64/full/functions/0x140002290.c
Normal file
71
decomp/DBCServer_Release_x64/full/functions/0x140002290.c
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002290 FUN_140002290
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_140002290(longlong *param_1,undefined8 param_2,undefined8 param_3,byte *param_4)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
longlong *plVar2;
|
||||
undefined8 uVar3;
|
||||
undefined4 local_98;
|
||||
undefined4 uStack_94;
|
||||
undefined1 local_90 [24];
|
||||
longlong *local_78;
|
||||
undefined1 local_70 [24];
|
||||
undefined2 local_58 [4];
|
||||
undefined8 local_50;
|
||||
undefined8 local_40;
|
||||
undefined1 local_38 [32];
|
||||
|
||||
local_40 = 0xfffffffffffffffe;
|
||||
local_98 = 0;
|
||||
Ordinal_8(local_90);
|
||||
local_58[0] = 8;
|
||||
local_50 = FUN_1402182d0(param_3);
|
||||
if (*param_1 == 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x80004003);
|
||||
}
|
||||
plVar2 = (longlong *)FUN_140002100(*param_1,&local_78);
|
||||
if (*plVar2 == 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x80004003);
|
||||
}
|
||||
plVar2 = (longlong *)FUN_140002070(*plVar2,&local_98,local_58);
|
||||
if (*plVar2 == 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x80004003);
|
||||
}
|
||||
uVar3 = FUN_140002000(*plVar2,local_38);
|
||||
Ordinal_8(local_70);
|
||||
iVar1 = Ordinal_10(local_70,uVar3);
|
||||
if (iVar1 < 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(iVar1);
|
||||
}
|
||||
iVar1 = Ordinal_10(local_90,local_70);
|
||||
if (iVar1 < 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(iVar1);
|
||||
}
|
||||
Ordinal_9(local_70);
|
||||
Ordinal_9(local_38);
|
||||
if ((longlong *)CONCAT44(uStack_94,local_98) != (longlong *)0x0) {
|
||||
(**(code **)(*(longlong *)CONCAT44(uStack_94,local_98) + 0x10))();
|
||||
}
|
||||
if (local_78 != (longlong *)0x0) {
|
||||
(**(code **)(*local_78 + 0x10))();
|
||||
}
|
||||
Ordinal_9(local_58);
|
||||
*param_4 = *param_4 & 1;
|
||||
Ordinal_8(param_2);
|
||||
iVar1 = Ordinal_10(param_2,local_90);
|
||||
if (iVar1 < 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(iVar1);
|
||||
}
|
||||
Ordinal_9(local_90);
|
||||
return param_2;
|
||||
}
|
||||
|
||||
22
decomp/DBCServer_Release_x64/full/functions/0x140002440.c
Normal file
22
decomp/DBCServer_Release_x64/full/functions/0x140002440.c
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002440 FUN_140002440
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Removing unreachable block (ram,0x00014000248f) */
|
||||
/* WARNING: Removing unreachable block (ram,0x000140002497) */
|
||||
/* WARNING: Removing unreachable block (ram,0x0001400024a2) */
|
||||
/* WARNING: Removing unreachable block (ram,0x0001400024b2) */
|
||||
|
||||
void FUN_140002440(undefined8 *param_1)
|
||||
|
||||
{
|
||||
IUnknown *This;
|
||||
ULONG UVar1;
|
||||
|
||||
This = (IUnknown *)*param_1;
|
||||
if ((This != (IUnknown *)0x0) && (UVar1 = (*This->lpVtbl[0x12].AddRef)(This), (int)UVar1 < 0)) {
|
||||
_com_issue_errorex(UVar1,This,(_GUID *)&DAT_14029e038);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
29
decomp/DBCServer_Release_x64/full/functions/0x1400024d0.c
Normal file
29
decomp/DBCServer_Release_x64/full/functions/0x1400024d0.c
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400024d0 FUN_1400024d0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
HRESULT FUN_1400024d0(void **param_1)
|
||||
|
||||
{
|
||||
HRESULT HVar1;
|
||||
LPUNKNOWN local_res8;
|
||||
|
||||
if (*param_1 != (longlong *)0x0) {
|
||||
(**(code **)(*(longlong *)*param_1 + 0x10))();
|
||||
}
|
||||
HVar1 = CoCreateInstance((IID *)&DAT_14029e088,(LPUNKNOWN)0x0,0x17,(IID *)&DAT_14029dfb0,
|
||||
&local_res8);
|
||||
if (-1 < HVar1) {
|
||||
HVar1 = OleRun(local_res8);
|
||||
if (-1 < HVar1) {
|
||||
HVar1 = (*local_res8->lpVtbl->QueryInterface)(local_res8,(IID *)&DAT_14029e078,param_1);
|
||||
}
|
||||
(*local_res8->lpVtbl->Release)(local_res8);
|
||||
if (-1 < HVar1) {
|
||||
return HVar1;
|
||||
}
|
||||
}
|
||||
*param_1 = (void *)0x0;
|
||||
return HVar1;
|
||||
}
|
||||
|
||||
30
decomp/DBCServer_Release_x64/full/functions/0x140002560.c
Normal file
30
decomp/DBCServer_Release_x64/full/functions/0x140002560.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002560 FUN_140002560
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_140002560(undefined8 *param_1)
|
||||
|
||||
{
|
||||
undefined8 *puVar1;
|
||||
|
||||
*param_1 = CmdQueue::vftable;
|
||||
param_1[1] = 0;
|
||||
param_1[2] = 0;
|
||||
param_1[3] = 0;
|
||||
param_1[5] = 0;
|
||||
*(undefined4 *)(param_1 + 6) = 0;
|
||||
InitializeCriticalSection((LPCRITICAL_SECTION)(param_1 + 7));
|
||||
puVar1 = operator_new(0x58);
|
||||
if (puVar1 != (undefined8 *)0x0) {
|
||||
*puVar1 = 0;
|
||||
puVar1[1] = 0;
|
||||
puVar1[2] = 0;
|
||||
*(undefined4 *)(puVar1 + 3) = 0;
|
||||
InitializeCriticalSection((LPCRITICAL_SECTION)(puVar1 + 4));
|
||||
param_1[3] = puVar1;
|
||||
return param_1;
|
||||
}
|
||||
param_1[3] = 0;
|
||||
return param_1;
|
||||
}
|
||||
|
||||
14
decomp/DBCServer_Release_x64/full/functions/0x140002600.c
Normal file
14
decomp/DBCServer_Release_x64/full/functions/0x140002600.c
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002600 FUN_140002600
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void * FUN_140002600(void *param_1,uint param_2)
|
||||
|
||||
{
|
||||
FUN_140002630();
|
||||
if ((param_2 & 1) != 0) {
|
||||
operator_delete(param_1);
|
||||
}
|
||||
return param_1;
|
||||
}
|
||||
|
||||
36
decomp/DBCServer_Release_x64/full/functions/0x140002630.c
Normal file
36
decomp/DBCServer_Release_x64/full/functions/0x140002630.c
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002630 FUN_140002630
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140002630(undefined8 *param_1)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined2 local_res8 [4];
|
||||
|
||||
*param_1 = CmdQueue::vftable;
|
||||
if (param_1[1] != 0) {
|
||||
local_res8[0] = 0;
|
||||
EnterCriticalSection((LPCRITICAL_SECTION)(param_1 + 7));
|
||||
iVar1 = FUN_1400a7630(param_1[3],local_res8);
|
||||
if (iVar1 != 0) {
|
||||
ReleaseSemaphore((HANDLE)param_1[2],1,(LPLONG)0x0);
|
||||
}
|
||||
LeaveCriticalSection((LPCRITICAL_SECTION)(param_1 + 7));
|
||||
WaitForSingleObject((HANDLE)param_1[1],0xffffffff);
|
||||
CloseHandle((HANDLE)param_1[1]);
|
||||
printf("command thread end!\n");
|
||||
}
|
||||
if ((HANDLE)param_1[2] != (HANDLE)0x0) {
|
||||
CloseHandle((HANDLE)param_1[2]);
|
||||
}
|
||||
if (param_1[3] != 0) {
|
||||
FUN_1400026f0();
|
||||
param_1[3] = 0;
|
||||
}
|
||||
/* WARNING: Could not recover jumptable at 0x0001400026e7. Too many branches */
|
||||
/* WARNING: Treating indirect jump as call */
|
||||
DeleteCriticalSection((LPCRITICAL_SECTION)(param_1 + 7));
|
||||
return;
|
||||
}
|
||||
|
||||
18
decomp/DBCServer_Release_x64/full/functions/0x1400026f0.c
Normal file
18
decomp/DBCServer_Release_x64/full/functions/0x1400026f0.c
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400026f0 FUN_1400026f0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_1400026f0(undefined8 *param_1)
|
||||
|
||||
{
|
||||
EnterCriticalSection((LPCRITICAL_SECTION)(param_1 + 4));
|
||||
if ((void *)*param_1 != (void *)0x0) {
|
||||
operator_delete__((void *)*param_1);
|
||||
*param_1 = 0;
|
||||
}
|
||||
LeaveCriticalSection((LPCRITICAL_SECTION)(param_1 + 4));
|
||||
DeleteCriticalSection((LPCRITICAL_SECTION)(param_1 + 4));
|
||||
operator_delete(param_1);
|
||||
return param_1;
|
||||
}
|
||||
|
||||
11
decomp/DBCServer_Release_x64/full/functions/0x140002750.c
Normal file
11
decomp/DBCServer_Release_x64/full/functions/0x140002750.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002750 FUN_140002750
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140002750(void)
|
||||
|
||||
{
|
||||
FUN_140002780();
|
||||
return;
|
||||
}
|
||||
|
||||
25
decomp/DBCServer_Release_x64/full/functions/0x140002780.c
Normal file
25
decomp/DBCServer_Release_x64/full/functions/0x140002780.c
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002780 FUN_140002780
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_140002780(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined8 uVar2;
|
||||
|
||||
uVar2 = 0xfffffffffffffffe;
|
||||
while( true ) {
|
||||
if ((int)param_1[6] != 1) {
|
||||
return 0;
|
||||
}
|
||||
WaitForSingleObject((HANDLE)param_1[2],0xffffffff);
|
||||
EnterCriticalSection((LPCRITICAL_SECTION)(param_1 + 7));
|
||||
iVar1 = FUN_1400a77d0(param_1[3],param_1 + 0xc,param_3,param_4,uVar2);
|
||||
LeaveCriticalSection((LPCRITICAL_SECTION)(param_1 + 7));
|
||||
if (iVar1 != 1) break;
|
||||
(**(code **)(*param_1 + 8))(param_1);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
102
decomp/DBCServer_Release_x64/full/functions/0x140002810.c
Normal file
102
decomp/DBCServer_Release_x64/full/functions/0x140002810.c
Normal file
|
|
@ -0,0 +1,102 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002810 FUN_140002810
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
basic_ostream<char,std::char_traits<char>_> *
|
||||
FUN_140002810(basic_ostream<char,std::char_traits<char>_> *param_1,char *param_2)
|
||||
|
||||
{
|
||||
longlong lVar1;
|
||||
char cVar2;
|
||||
bool bVar3;
|
||||
int iVar4;
|
||||
__int64 _Var5;
|
||||
ulonglong uVar6;
|
||||
int iVar7;
|
||||
char *pcVar8;
|
||||
longlong lVar9;
|
||||
|
||||
iVar7 = 0;
|
||||
uVar6 = 0xffffffffffffffff;
|
||||
pcVar8 = param_2;
|
||||
do {
|
||||
if (uVar6 == 0) break;
|
||||
uVar6 = uVar6 - 1;
|
||||
cVar2 = *pcVar8;
|
||||
pcVar8 = pcVar8 + 1;
|
||||
} while (cVar2 != '\0');
|
||||
lVar1 = ~uVar6 - 1;
|
||||
lVar9 = *(longlong *)(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x28);
|
||||
if ((lVar9 < 1) || (lVar9 <= lVar1)) {
|
||||
lVar9 = 0;
|
||||
}
|
||||
else {
|
||||
lVar9 = lVar9 - lVar1;
|
||||
}
|
||||
if (*(longlong **)(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x48) !=
|
||||
(longlong *)0x0) {
|
||||
(**(code **)(**(longlong **)(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x48) + 8)
|
||||
)();
|
||||
}
|
||||
if ((*(int *)(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x10) == 0) &&
|
||||
(*(basic_ostream<char,std::char_traits<char>_> **)
|
||||
(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x50) !=
|
||||
(basic_ostream<char,std::char_traits<char>_> *)0x0)) {
|
||||
std::basic_ostream<char,std::char_traits<char>_>::flush
|
||||
(*(basic_ostream<char,std::char_traits<char>_> **)
|
||||
(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x50));
|
||||
}
|
||||
if (*(int *)(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x10) != 0) {
|
||||
iVar7 = 4;
|
||||
goto LAB_140002985;
|
||||
}
|
||||
if ((*(uint *)(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x18) & 0x1c0) == 0x40) {
|
||||
LAB_140002909:
|
||||
_Var5 = std::basic_streambuf<char,std::char_traits<char>_>::sputn
|
||||
(*(basic_streambuf<char,std::char_traits<char>_> **)
|
||||
(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x48),param_2,
|
||||
lVar1);
|
||||
if (_Var5 == lVar1) {
|
||||
for (; 0 < lVar9; lVar9 = lVar9 + -1) {
|
||||
iVar4 = std::basic_streambuf<char,std::char_traits<char>_>::sputc
|
||||
(*(basic_streambuf<char,std::char_traits<char>_> **)
|
||||
(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x48),
|
||||
(char)param_1[(longlong)*(int *)(*(longlong *)param_1 + 4) + 0x58]);
|
||||
if (iVar4 == -1) goto LAB_14000295b;
|
||||
}
|
||||
}
|
||||
else {
|
||||
LAB_14000295b:
|
||||
iVar7 = 4;
|
||||
}
|
||||
}
|
||||
else {
|
||||
for (; 0 < lVar9; lVar9 = lVar9 + -1) {
|
||||
iVar4 = std::basic_streambuf<char,std::char_traits<char>_>::sputc
|
||||
(*(basic_streambuf<char,std::char_traits<char>_> **)
|
||||
(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x48),
|
||||
(char)param_1[(longlong)*(int *)(*(longlong *)param_1 + 4) + 0x58]);
|
||||
if (iVar4 == -1) {
|
||||
iVar7 = 4;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (iVar7 == 0) goto LAB_140002909;
|
||||
}
|
||||
*(undefined8 *)(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x28) = 0;
|
||||
LAB_140002985:
|
||||
std::basic_ios<char,std::char_traits<char>_>::setstate
|
||||
((basic_ios<char,std::char_traits<char>_> *)
|
||||
(param_1 + *(int *)(*(longlong *)param_1 + 4)),iVar7,false);
|
||||
bVar3 = std::uncaught_exception();
|
||||
if (!bVar3) {
|
||||
std::basic_ostream<char,std::char_traits<char>_>::_Osfx(param_1);
|
||||
}
|
||||
if (*(longlong **)(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x48) !=
|
||||
(longlong *)0x0) {
|
||||
(**(code **)(**(longlong **)(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x48) +
|
||||
0x10))();
|
||||
}
|
||||
return param_1;
|
||||
}
|
||||
|
||||
86
decomp/DBCServer_Release_x64/full/functions/0x1400029e0.c
Normal file
86
decomp/DBCServer_Release_x64/full/functions/0x1400029e0.c
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400029e0 FUN_1400029e0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
basic_ostream<char,std::char_traits<char>_> *
|
||||
FUN_1400029e0(basic_ostream<char,std::char_traits<char>_> *param_1)
|
||||
|
||||
{
|
||||
bool bVar1;
|
||||
int iVar2;
|
||||
longlong lVar3;
|
||||
int iVar4;
|
||||
longlong lVar5;
|
||||
int iVar6;
|
||||
|
||||
iVar4 = 0;
|
||||
if (*(longlong **)(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x48) !=
|
||||
(longlong *)0x0) {
|
||||
(**(code **)(**(longlong **)(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x48) + 8)
|
||||
)();
|
||||
}
|
||||
if ((*(int *)(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x10) == 0) &&
|
||||
(*(basic_ostream<char,std::char_traits<char>_> **)
|
||||
(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x50) !=
|
||||
(basic_ostream<char,std::char_traits<char>_> *)0x0)) {
|
||||
std::basic_ostream<char,std::char_traits<char>_>::flush
|
||||
(*(basic_ostream<char,std::char_traits<char>_> **)
|
||||
(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x50));
|
||||
}
|
||||
lVar3 = (longlong)*(int *)(*(longlong *)param_1 + 4);
|
||||
if (*(int *)(param_1 + lVar3 + 0x10) == 0) {
|
||||
if (*(longlong *)(param_1 + lVar3 + 0x28) < 2) {
|
||||
lVar5 = 0;
|
||||
}
|
||||
else {
|
||||
lVar5 = *(longlong *)(param_1 + lVar3 + 0x28) + -1;
|
||||
}
|
||||
iVar6 = 4;
|
||||
if ((*(uint *)(param_1 + lVar3 + 0x18) & 0x1c0) == 0x40) {
|
||||
LAB_140002ac0:
|
||||
iVar2 = std::basic_streambuf<char,std::char_traits<char>_>::sputc
|
||||
(*(basic_streambuf<char,std::char_traits<char>_> **)
|
||||
(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x48),'\n');
|
||||
if (iVar2 == -1) {
|
||||
iVar4 = iVar6;
|
||||
}
|
||||
for (; (iVar4 == 0 && (0 < lVar5)); lVar5 = lVar5 + -1) {
|
||||
iVar2 = std::basic_streambuf<char,std::char_traits<char>_>::sputc
|
||||
(*(basic_streambuf<char,std::char_traits<char>_> **)
|
||||
(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x48),
|
||||
(char)param_1[(longlong)*(int *)(*(longlong *)param_1 + 4) + 0x58]);
|
||||
if (iVar2 == -1) {
|
||||
iVar4 = iVar6;
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
while (iVar4 == 0) {
|
||||
if (lVar5 < 1) goto LAB_140002ac0;
|
||||
iVar2 = std::basic_streambuf<char,std::char_traits<char>_>::sputc
|
||||
(*(basic_streambuf<char,std::char_traits<char>_> **)
|
||||
(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x48),
|
||||
(char)param_1[(longlong)*(int *)(*(longlong *)param_1 + 4) + 0x58]);
|
||||
if (iVar2 == -1) {
|
||||
iVar4 = iVar6;
|
||||
}
|
||||
lVar5 = lVar5 + -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
*(undefined8 *)(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x28) = 0;
|
||||
std::basic_ios<char,std::char_traits<char>_>::setstate
|
||||
((basic_ios<char,std::char_traits<char>_> *)
|
||||
(param_1 + *(int *)(*(longlong *)param_1 + 4)),iVar4,false);
|
||||
bVar1 = std::uncaught_exception();
|
||||
if (!bVar1) {
|
||||
std::basic_ostream<char,std::char_traits<char>_>::_Osfx(param_1);
|
||||
}
|
||||
if (*(longlong **)(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x48) !=
|
||||
(longlong *)0x0) {
|
||||
(**(code **)(**(longlong **)(param_1 + (longlong)*(int *)(*(longlong *)param_1 + 4) + 0x48) +
|
||||
0x10))();
|
||||
}
|
||||
return param_1;
|
||||
}
|
||||
|
||||
22
decomp/DBCServer_Release_x64/full/functions/0x140002b90.c
Normal file
22
decomp/DBCServer_Release_x64/full/functions/0x140002b90.c
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002b90 FUN_140002b90
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140002b90(longlong *param_1)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
bool bVar2;
|
||||
|
||||
bVar2 = std::uncaught_exception();
|
||||
if (!bVar2) {
|
||||
std::basic_ostream<char,std::char_traits<char>_>::_Osfx
|
||||
((basic_ostream<char,std::char_traits<char>_> *)*param_1);
|
||||
}
|
||||
plVar1 = *(longlong **)((longlong)*(int *)(*(longlong *)*param_1 + 4) + 0x48 + *param_1);
|
||||
if (plVar1 != (longlong *)0x0) {
|
||||
(**(code **)(*plVar1 + 0x10))();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
16
decomp/DBCServer_Release_x64/full/functions/0x140002be0.c
Normal file
16
decomp/DBCServer_Release_x64/full/functions/0x140002be0.c
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002be0 FUN_140002be0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140002be0(longlong *param_1)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
|
||||
plVar1 = *(longlong **)((longlong)*(int *)(*(longlong *)*param_1 + 4) + 0x48 + *param_1);
|
||||
if (plVar1 != (longlong *)0x0) {
|
||||
(**(code **)(*plVar1 + 0x10))();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
32
decomp/DBCServer_Release_x64/full/functions/0x140002c10.c
Normal file
32
decomp/DBCServer_Release_x64/full/functions/0x140002c10.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002c10 FUN_140002c10
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140002c10(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined4 *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2af9);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"ERROR_NOTIFY",0x2af9);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
30
decomp/DBCServer_Release_x64/full/functions/0x140002d00.c
Normal file
30
decomp/DBCServer_Release_x64/full/functions/0x140002d00.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002d00 FUN_140002d00
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140002d00(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined4 *param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2af9);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_140153c40(local_30,*param_6);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"ERROR_NOTIFY",0x2af9);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
42
decomp/DBCServer_Release_x64/full/functions/0x140002e00.c
Normal file
42
decomp/DBCServer_Release_x64/full/functions/0x140002e00.c
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002e00 FUN_140002e00
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140002e00(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined8 param_5,undefined1 *param_6,undefined4 *param_7,undefined1 *param_8,
|
||||
undefined4 *param_9,undefined4 *param_10,undefined4 *param_11,undefined4 *param_12,
|
||||
undefined8 param_13)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2afa);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_14016e5b0(local_30,param_5);
|
||||
FUN_14004eef0(local_30,*param_6);
|
||||
FUN_140153c40(local_30,*param_7);
|
||||
FUN_14004eef0(local_30,*param_8);
|
||||
FUN_140153c40(local_30,*param_9);
|
||||
FUN_140153c40(local_30,*param_10);
|
||||
FUN_140153c40(local_30,*param_11);
|
||||
FUN_140153c40(local_30,*param_12);
|
||||
FUN_14016ce80(local_30,param_13);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))(param_1,local_res10,1,param_3,local_30,L"RESP_AUTH",0x2afa)
|
||||
;
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
40
decomp/DBCServer_Release_x64/full/functions/0x140002f90.c
Normal file
40
decomp/DBCServer_Release_x64/full/functions/0x140002f90.c
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002f90 FUN_140002f90
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140002f90(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined8 param_6,undefined1 *param_7,undefined4 *param_8,
|
||||
undefined1 *param_9,undefined4 *param_10,undefined4 *param_11,undefined4 *param_12,
|
||||
undefined4 *param_13,undefined8 param_14)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2afa);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_14016e5b0(local_30,param_6);
|
||||
FUN_14004eef0(local_30,*param_7);
|
||||
FUN_140153c40(local_30,*param_8);
|
||||
FUN_14004eef0(local_30,*param_9);
|
||||
FUN_140153c40(local_30,*param_10);
|
||||
FUN_140153c40(local_30,*param_11);
|
||||
FUN_140153c40(local_30,*param_12);
|
||||
FUN_140153c40(local_30,*param_13);
|
||||
FUN_14016ce80(local_30,param_14);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_AUTH",0x2afa);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
39
decomp/DBCServer_Release_x64/full/functions/0x140003130.c
Normal file
39
decomp/DBCServer_Release_x64/full/functions/0x140003130.c
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140003130 FUN_140003130
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1 FUN_140003130(longlong *param_1,undefined4 param_2,undefined8 param_3,longlong *param_4)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 *puVar2;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2afb);
|
||||
FUN_140153c40(local_40,(param_4[1] - *param_4) / 0xc);
|
||||
puVar2 = (undefined4 *)*param_4;
|
||||
if (puVar2 != (undefined4 *)param_4[1]) {
|
||||
do {
|
||||
FUN_140153c40(local_40,*puVar2);
|
||||
FUN_140153c40(local_40,puVar2[1]);
|
||||
FUN_140153c40(local_40,puVar2[2]);
|
||||
puVar2 = puVar2 + 3;
|
||||
} while (puVar2 != (undefined4 *)param_4[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_40,L"RESP_READ_ITEM_DROPGROUP",0x2afb);
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
39
decomp/DBCServer_Release_x64/full/functions/0x140003260.c
Normal file
39
decomp/DBCServer_Release_x64/full/functions/0x140003260.c
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140003260 FUN_140003260
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140003260(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
longlong *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 *puVar2;
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2afb);
|
||||
FUN_140153c40(local_40,(param_5[1] - *param_5) / 0xc);
|
||||
puVar2 = (undefined4 *)*param_5;
|
||||
if (puVar2 != (undefined4 *)param_5[1]) {
|
||||
do {
|
||||
FUN_140153c40(local_40,*puVar2);
|
||||
FUN_140153c40(local_40,puVar2[1]);
|
||||
FUN_140153c40(local_40,puVar2[2]);
|
||||
puVar2 = puVar2 + 3;
|
||||
} while (puVar2 != (undefined4 *)param_5[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_40,L"RESP_READ_ITEM_DROPGROUP",0x2afb);
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
38
decomp/DBCServer_Release_x64/full/functions/0x1400033a0.c
Normal file
38
decomp/DBCServer_Release_x64/full/functions/0x1400033a0.c
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400033a0 FUN_1400033a0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1 FUN_1400033a0(longlong *param_1,undefined4 param_2,undefined8 param_3,longlong *param_4)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2afc);
|
||||
FUN_140153c40(local_40,(param_4[1] - *param_4) / 0x14);
|
||||
lVar2 = *param_4;
|
||||
if (lVar2 != param_4[1]) {
|
||||
do {
|
||||
FUN_14016e5b0(local_40,lVar2);
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x10));
|
||||
lVar2 = lVar2 + 0x14;
|
||||
} while (lVar2 != param_4[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_40,L"RESP_READ_GUILD",0x2afc);
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
38
decomp/DBCServer_Release_x64/full/functions/0x1400034c0.c
Normal file
38
decomp/DBCServer_Release_x64/full/functions/0x1400034c0.c
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400034c0 FUN_1400034c0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400034c0(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
longlong *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2afc);
|
||||
FUN_140153c40(local_40,(param_5[1] - *param_5) / 0x14);
|
||||
lVar2 = *param_5;
|
||||
if (lVar2 != param_5[1]) {
|
||||
do {
|
||||
FUN_14016e5b0(local_40,lVar2);
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x10));
|
||||
lVar2 = lVar2 + 0x14;
|
||||
} while (lVar2 != param_5[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_40,L"RESP_READ_GUILD",0x2afc);
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
34
decomp/DBCServer_Release_x64/full/functions/0x140003600.c
Normal file
34
decomp/DBCServer_Release_x64/full/functions/0x140003600.c
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140003600 FUN_140003600
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140003600(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined4 *param_5,undefined8 param_6,undefined8 param_7)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2afd);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_140148850(local_30,param_6);
|
||||
FUN_14016e5b0(local_30,param_7);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_CHARACTER_CREATE",0x2afd);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
32
decomp/DBCServer_Release_x64/full/functions/0x140003710.c
Normal file
32
decomp/DBCServer_Release_x64/full/functions/0x140003710.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140003710 FUN_140003710
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140003710(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined4 *param_6,undefined8 param_7,undefined8 param_8)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2afd);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_140153c40(local_30,*param_6);
|
||||
FUN_140148850(local_30,param_7);
|
||||
FUN_14016e5b0(local_30,param_8);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_CHARACTER_CREATE",0x2afd);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
33
decomp/DBCServer_Release_x64/full/functions/0x140003830.c
Normal file
33
decomp/DBCServer_Release_x64/full/functions/0x140003830.c
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140003830 FUN_140003830
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140003830(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined8 param_5,undefined4 *param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2afe);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_14016e5b0(local_30,param_5);
|
||||
FUN_140153c40(local_30,*param_6);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_CHARACTER_DELETE",0x2afe);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
31
decomp/DBCServer_Release_x64/full/functions/0x140003930.c
Normal file
31
decomp/DBCServer_Release_x64/full/functions/0x140003930.c
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140003930 FUN_140003930
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140003930(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined8 param_6,undefined4 *param_7)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2afe);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_14016e5b0(local_30,param_6);
|
||||
FUN_140153c40(local_30,*param_7);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_CHARACTER_DELETE",0x2afe);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
32
decomp/DBCServer_Release_x64/full/functions/0x140003a40.c
Normal file
32
decomp/DBCServer_Release_x64/full/functions/0x140003a40.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140003a40 FUN_140003a40
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140003a40(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined8 param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2aff);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140148850(local_30,param_5);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_CHARACTER_GET",0x2aff);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
30
decomp/DBCServer_Release_x64/full/functions/0x140003b30.c
Normal file
30
decomp/DBCServer_Release_x64/full/functions/0x140003b30.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140003b30 FUN_140003b30
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140003b30(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined8 param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2aff);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_140148850(local_30,param_6);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_CHARACTER_GET",0x2aff);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
32
decomp/DBCServer_Release_x64/full/functions/0x140003c20.c
Normal file
32
decomp/DBCServer_Release_x64/full/functions/0x140003c20.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140003c20 FUN_140003c20
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140003c20(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined4 *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b00);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_READ_MONEY",0x2b00);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
30
decomp/DBCServer_Release_x64/full/functions/0x140003d10.c
Normal file
30
decomp/DBCServer_Release_x64/full/functions/0x140003d10.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140003d10 FUN_140003d10
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140003d10(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined4 *param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b00);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_140153c40(local_30,*param_6);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_READ_MONEY",0x2b00);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
40
decomp/DBCServer_Release_x64/full/functions/0x140003e10.c
Normal file
40
decomp/DBCServer_Release_x64/full/functions/0x140003e10.c
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140003e10 FUN_140003e10
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140003e10(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
longlong *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b01);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140153c40(local_30,(param_5[1] - *param_5) / 0x97);
|
||||
lVar2 = *param_5;
|
||||
if (lVar2 != param_5[1]) {
|
||||
do {
|
||||
FUN_14014ab20(local_30,lVar2);
|
||||
lVar2 = lVar2 + 0x97;
|
||||
} while (lVar2 != param_5[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))(param_1,local_res10,1,param_3,local_30,L"RESP_ITEM",0x2b01)
|
||||
;
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
38
decomp/DBCServer_Release_x64/full/functions/0x140003f50.c
Normal file
38
decomp/DBCServer_Release_x64/full/functions/0x140003f50.c
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140003f50 FUN_140003f50
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140003f50(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,longlong *param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2b01);
|
||||
FUN_140153c40(local_40,*param_5);
|
||||
FUN_140153c40(local_40,(param_6[1] - *param_6) / 0x97);
|
||||
lVar2 = *param_6;
|
||||
if (lVar2 != param_6[1]) {
|
||||
do {
|
||||
FUN_14014ab20(local_40,lVar2);
|
||||
lVar2 = lVar2 + 0x97;
|
||||
} while (lVar2 != param_6[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_40,L"RESP_ITEM",0x2b01);
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
32
decomp/DBCServer_Release_x64/full/functions/0x140004090.c
Normal file
32
decomp/DBCServer_Release_x64/full/functions/0x140004090.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140004090 FUN_140004090
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140004090(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined8 param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b02);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140045230(local_30,param_5);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_SKILL",0x2b02);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
30
decomp/DBCServer_Release_x64/full/functions/0x140004180.c
Normal file
30
decomp/DBCServer_Release_x64/full/functions/0x140004180.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140004180 FUN_140004180
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140004180(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined8 param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b02);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_140045230(local_30,param_6);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_SKILL",0x2b02);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
43
decomp/DBCServer_Release_x64/full/functions/0x140004270.c
Normal file
43
decomp/DBCServer_Release_x64/full/functions/0x140004270.c
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140004270 FUN_140004270
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140004270(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined4 *param_5,undefined4 *param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined4 *puVar3;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2b03);
|
||||
FUN_140153c40(local_40,*param_4);
|
||||
puVar3 = param_5 + 0x20;
|
||||
lVar2 = 0x20;
|
||||
do {
|
||||
FUN_140153c40(local_40,*param_5);
|
||||
FUN_14016e5b0(local_40,puVar3);
|
||||
puVar3 = puVar3 + 4;
|
||||
param_5 = param_5 + 1;
|
||||
lVar2 = lVar2 + -1;
|
||||
} while (lVar2 != 0);
|
||||
FUN_140153c40(local_40,*param_6);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_40,L"RESP_READ_QUICKSLOT",0x2b03);
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
41
decomp/DBCServer_Release_x64/full/functions/0x1400043a0.c
Normal file
41
decomp/DBCServer_Release_x64/full/functions/0x1400043a0.c
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400043a0 FUN_1400043a0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400043a0(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined4 *param_6,undefined4 *param_7)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined4 *puVar3;
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2b03);
|
||||
FUN_140153c40(local_40,*param_5);
|
||||
puVar3 = param_6 + 0x20;
|
||||
lVar2 = 0x20;
|
||||
do {
|
||||
FUN_140153c40(local_40,*param_6);
|
||||
FUN_14016e5b0(local_40,puVar3);
|
||||
puVar3 = puVar3 + 4;
|
||||
param_6 = param_6 + 1;
|
||||
lVar2 = lVar2 + -1;
|
||||
} while (lVar2 != 0);
|
||||
FUN_140153c40(local_40,*param_7);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_40,L"RESP_READ_QUICKSLOT",0x2b03);
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
40
decomp/DBCServer_Release_x64/full/functions/0x1400044e0.c
Normal file
40
decomp/DBCServer_Release_x64/full/functions/0x1400044e0.c
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400044e0 FUN_1400044e0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400044e0(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
longlong *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 *puVar2;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b04);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140153c40(local_30,param_5[1] - *param_5 >> 2);
|
||||
puVar2 = (undefined4 *)*param_5;
|
||||
if (puVar2 != (undefined4 *)param_5[1]) {
|
||||
do {
|
||||
FUN_140153c40(local_30,*puVar2);
|
||||
puVar2 = puVar2 + 1;
|
||||
} while (puVar2 != (undefined4 *)param_5[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_GET_KEY_MAP",0x2b04);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
38
decomp/DBCServer_Release_x64/full/functions/0x140004600.c
Normal file
38
decomp/DBCServer_Release_x64/full/functions/0x140004600.c
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140004600 FUN_140004600
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140004600(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,longlong *param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 *puVar2;
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2b04);
|
||||
FUN_140153c40(local_40,*param_5);
|
||||
FUN_140153c40(local_40,param_6[1] - *param_6 >> 2);
|
||||
puVar2 = (undefined4 *)*param_6;
|
||||
if (puVar2 != (undefined4 *)param_6[1]) {
|
||||
do {
|
||||
FUN_140153c40(local_40,*puVar2);
|
||||
puVar2 = puVar2 + 1;
|
||||
} while (puVar2 != (undefined4 *)param_6[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_40,L"RESP_GET_KEY_MAP",0x2b04);
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
50
decomp/DBCServer_Release_x64/full/functions/0x140004730.c
Normal file
50
decomp/DBCServer_Release_x64/full/functions/0x140004730.c
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140004730 FUN_140004730
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140004730(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
longlong *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2b05);
|
||||
FUN_140153c40(local_40,*param_4);
|
||||
FUN_140153c40(local_40,(param_5[1] - *param_5) / 0x38);
|
||||
lVar2 = *param_5;
|
||||
if (lVar2 != param_5[1]) {
|
||||
do {
|
||||
FUN_14016e5b0(local_40,lVar2);
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x10));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x14));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(lVar2 + 0x18));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x1a));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x1e));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x22));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x26));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x2a));
|
||||
FUN_14004ee00(local_40,*(undefined8 *)(lVar2 + 0x2e));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(lVar2 + 0x36));
|
||||
lVar2 = lVar2 + 0x38;
|
||||
} while (lVar2 != param_5[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_40,L"RESP_QUEST",0x2b05);
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
48
decomp/DBCServer_Release_x64/full/functions/0x1400048d0.c
Normal file
48
decomp/DBCServer_Release_x64/full/functions/0x1400048d0.c
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400048d0 FUN_1400048d0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400048d0(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,longlong *param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2b05);
|
||||
FUN_140153c40(local_40,*param_5);
|
||||
FUN_140153c40(local_40,(param_6[1] - *param_6) / 0x38);
|
||||
lVar2 = *param_6;
|
||||
if (lVar2 != param_6[1]) {
|
||||
do {
|
||||
FUN_14016e5b0(local_40,lVar2);
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x10));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x14));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(lVar2 + 0x18));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x1a));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x1e));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x22));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x26));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x2a));
|
||||
FUN_14004ee00(local_40,*(undefined8 *)(lVar2 + 0x2e));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(lVar2 + 0x36));
|
||||
lVar2 = lVar2 + 0x38;
|
||||
} while (lVar2 != param_6[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_40,L"RESP_QUEST",0x2b05);
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
32
decomp/DBCServer_Release_x64/full/functions/0x140004aa0.c
Normal file
32
decomp/DBCServer_Release_x64/full/functions/0x140004aa0.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140004aa0 FUN_140004aa0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140004aa0(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined4 *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b06);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_SKILL_RESET",0x2b06);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
30
decomp/DBCServer_Release_x64/full/functions/0x140004b90.c
Normal file
30
decomp/DBCServer_Release_x64/full/functions/0x140004b90.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140004b90 FUN_140004b90
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140004b90(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined4 *param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b06);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_140153c40(local_30,*param_6);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_SKILL_RESET",0x2b06);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
40
decomp/DBCServer_Release_x64/full/functions/0x140004c90.c
Normal file
40
decomp/DBCServer_Release_x64/full/functions/0x140004c90.c
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140004c90 FUN_140004c90
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140004c90(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
longlong *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b07);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140153c40(local_30,(param_5[1] - *param_5) / 0x122);
|
||||
lVar2 = *param_5;
|
||||
if (lVar2 != param_5[1]) {
|
||||
do {
|
||||
FUN_140148850(local_30,lVar2);
|
||||
lVar2 = lVar2 + 0x122;
|
||||
} while (lVar2 != param_5[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_CHARACTER_GET_LIST",0x2b07);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
38
decomp/DBCServer_Release_x64/full/functions/0x140004dd0.c
Normal file
38
decomp/DBCServer_Release_x64/full/functions/0x140004dd0.c
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140004dd0 FUN_140004dd0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140004dd0(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,longlong *param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2b07);
|
||||
FUN_140153c40(local_40,*param_5);
|
||||
FUN_140153c40(local_40,(param_6[1] - *param_6) / 0x122);
|
||||
lVar2 = *param_6;
|
||||
if (lVar2 != param_6[1]) {
|
||||
do {
|
||||
FUN_140148850(local_40,lVar2);
|
||||
lVar2 = lVar2 + 0x122;
|
||||
} while (lVar2 != param_6[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_40,L"RESP_CHARACTER_GET_LIST",0x2b07);
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
32
decomp/DBCServer_Release_x64/full/functions/0x140004f10.c
Normal file
32
decomp/DBCServer_Release_x64/full/functions/0x140004f10.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140004f10 FUN_140004f10
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140004f10(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined8 param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b08);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140148b70(local_30,param_5);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_SELECT_DUEL_INFO",0x2b08);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
30
decomp/DBCServer_Release_x64/full/functions/0x140005000.c
Normal file
30
decomp/DBCServer_Release_x64/full/functions/0x140005000.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140005000 FUN_140005000
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140005000(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined8 param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b08);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_140148b70(local_30,param_6);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_SELECT_DUEL_INFO",0x2b08);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
33
decomp/DBCServer_Release_x64/full/functions/0x1400050f0.c
Normal file
33
decomp/DBCServer_Release_x64/full/functions/0x1400050f0.c
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400050f0 FUN_1400050f0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400050f0(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined4 *param_5,undefined8 param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b09);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_140045300(local_30,param_6);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_SELECT_BATTLE_RANK_LIST",0x2b09);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
32
decomp/DBCServer_Release_x64/full/functions/0x1400051f0.c
Normal file
32
decomp/DBCServer_Release_x64/full/functions/0x1400051f0.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400051f0 FUN_1400051f0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400051f0(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined4 *param_6,undefined8 param_7)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b09);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_140153c40(local_30,*param_6);
|
||||
FUN_140045300(local_30,param_7);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_SELECT_BATTLE_RANK_LIST",0x2b09
|
||||
);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
32
decomp/DBCServer_Release_x64/full/functions/0x140005300.c
Normal file
32
decomp/DBCServer_Release_x64/full/functions/0x140005300.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140005300 FUN_140005300
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140005300(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined8 param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b0a);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_1400453b0(local_30,param_5);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_FRIEND",0x2b0a);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
30
decomp/DBCServer_Release_x64/full/functions/0x1400053f0.c
Normal file
30
decomp/DBCServer_Release_x64/full/functions/0x1400053f0.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400053f0 FUN_1400053f0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400053f0(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined8 param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b0a);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_1400453b0(local_30,param_6);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_FRIEND",0x2b0a);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
53
decomp/DBCServer_Release_x64/full/functions/0x1400054e0.c
Normal file
53
decomp/DBCServer_Release_x64/full/functions/0x1400054e0.c
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400054e0 FUN_1400054e0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400054e0(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
longlong *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2b0b);
|
||||
FUN_140153c40(local_40,*param_4);
|
||||
lVar2 = SUB168(SEXT816(-0x608b85ead287c92f) * SEXT816(param_5[1] - *param_5),8) +
|
||||
(param_5[1] - *param_5);
|
||||
FUN_140153c40(local_40,(lVar2 >> 9) - (lVar2 >> 0x3f));
|
||||
lVar2 = *param_5;
|
||||
if (lVar2 != param_5[1]) {
|
||||
do {
|
||||
FUN_14016e5b0(local_40,lVar2);
|
||||
FUN_14016e5b0(local_40,lVar2 + 0x10);
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x31c));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(lVar2 + 800));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x322));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(lVar2 + 0x326));
|
||||
FUN_14004ee00(local_40,*(undefined8 *)(lVar2 + 0x328));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(lVar2 + 0x330));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x332));
|
||||
FUN_14016cf00(local_40,lVar2 + 0x20);
|
||||
FUN_14016cf00(local_40,lVar2 + 0x40);
|
||||
FUN_14016cf00(local_40,lVar2 + 0x60);
|
||||
lVar2 = lVar2 + 0x336;
|
||||
} while (lVar2 != param_5[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))(param_1,local_res10,1,param_3,local_40,L"RESP_MAIL",0x2b0b)
|
||||
;
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
51
decomp/DBCServer_Release_x64/full/functions/0x1400056c0.c
Normal file
51
decomp/DBCServer_Release_x64/full/functions/0x1400056c0.c
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400056c0 FUN_1400056c0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400056c0(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,longlong *param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2b0b);
|
||||
FUN_140153c40(local_40,*param_5);
|
||||
lVar2 = SUB168(SEXT816(-0x608b85ead287c92f) * SEXT816(param_6[1] - *param_6),8) +
|
||||
(param_6[1] - *param_6);
|
||||
FUN_140153c40(local_40,(lVar2 >> 9) - (lVar2 >> 0x3f));
|
||||
lVar2 = *param_6;
|
||||
if (lVar2 != param_6[1]) {
|
||||
do {
|
||||
FUN_14016e5b0(local_40,lVar2);
|
||||
FUN_14016e5b0(local_40,lVar2 + 0x10);
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x31c));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(lVar2 + 800));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x322));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(lVar2 + 0x326));
|
||||
FUN_14004ee00(local_40,*(undefined8 *)(lVar2 + 0x328));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(lVar2 + 0x330));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x332));
|
||||
FUN_14016cf00(local_40,lVar2 + 0x20);
|
||||
FUN_14016cf00(local_40,lVar2 + 0x40);
|
||||
FUN_14016cf00(local_40,lVar2 + 0x60);
|
||||
lVar2 = lVar2 + 0x336;
|
||||
} while (lVar2 != param_6[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_40,L"RESP_MAIL",0x2b0b);
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
40
decomp/DBCServer_Release_x64/full/functions/0x1400058c0.c
Normal file
40
decomp/DBCServer_Release_x64/full/functions/0x1400058c0.c
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400058c0 FUN_1400058c0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400058c0(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
longlong *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b0c);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140153c40(local_30,(param_5[1] - *param_5) / 0x9f);
|
||||
lVar2 = *param_5;
|
||||
if (lVar2 != param_5[1]) {
|
||||
do {
|
||||
FUN_14014ae60(local_30,lVar2);
|
||||
lVar2 = lVar2 + 0x9f;
|
||||
} while (lVar2 != param_5[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_MAIL_ITEM",0x2b0c);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
38
decomp/DBCServer_Release_x64/full/functions/0x140005a00.c
Normal file
38
decomp/DBCServer_Release_x64/full/functions/0x140005a00.c
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140005a00 FUN_140005a00
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140005a00(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,longlong *param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2b0c);
|
||||
FUN_140153c40(local_40,*param_5);
|
||||
FUN_140153c40(local_40,(param_6[1] - *param_6) / 0x9f);
|
||||
lVar2 = *param_6;
|
||||
if (lVar2 != param_6[1]) {
|
||||
do {
|
||||
FUN_14014ae60(local_40,lVar2);
|
||||
lVar2 = lVar2 + 0x9f;
|
||||
} while (lVar2 != param_6[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_40,L"RESP_MAIL_ITEM",0x2b0c);
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
44
decomp/DBCServer_Release_x64/full/functions/0x140005b40.c
Normal file
44
decomp/DBCServer_Release_x64/full/functions/0x140005b40.c
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140005b40 FUN_140005b40
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140005b40(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
longlong *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 *puVar2;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b0d);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140153c40(local_30,(param_5[1] - *param_5) / 0xc);
|
||||
puVar2 = (undefined4 *)*param_5;
|
||||
if (puVar2 != (undefined4 *)param_5[1]) {
|
||||
do {
|
||||
FUN_140153c40(local_30,*puVar2);
|
||||
FUN_14004f3c0(local_30,*(undefined2 *)(puVar2 + 1));
|
||||
FUN_14004f3c0(local_30,*(undefined2 *)((longlong)puVar2 + 6));
|
||||
FUN_14004f3c0(local_30,*(undefined2 *)(puVar2 + 2));
|
||||
FUN_14004f3c0(local_30,*(undefined2 *)((longlong)puVar2 + 10));
|
||||
puVar2 = puVar2 + 3;
|
||||
} while (puVar2 != (undefined4 *)param_5[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_READ_DUNGEON_RANK",0x2b0d);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
42
decomp/DBCServer_Release_x64/full/functions/0x140005cb0.c
Normal file
42
decomp/DBCServer_Release_x64/full/functions/0x140005cb0.c
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140005cb0 FUN_140005cb0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140005cb0(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,longlong *param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 *puVar2;
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2b0d);
|
||||
FUN_140153c40(local_40,*param_5);
|
||||
FUN_140153c40(local_40,(param_6[1] - *param_6) / 0xc);
|
||||
puVar2 = (undefined4 *)*param_6;
|
||||
if (puVar2 != (undefined4 *)param_6[1]) {
|
||||
do {
|
||||
FUN_140153c40(local_40,*puVar2);
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(puVar2 + 1));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)((longlong)puVar2 + 6));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(puVar2 + 2));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)((longlong)puVar2 + 10));
|
||||
puVar2 = puVar2 + 3;
|
||||
} while (puVar2 != (undefined4 *)param_6[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_40,L"RESP_READ_DUNGEON_RANK",0x2b0d);
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
43
decomp/DBCServer_Release_x64/full/functions/0x140005e20.c
Normal file
43
decomp/DBCServer_Release_x64/full/functions/0x140005e20.c
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140005e20 FUN_140005e20
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140005e20(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
longlong *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b0e);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140153c40(local_30,(param_5[1] - *param_5) / 0x1c);
|
||||
lVar2 = *param_5;
|
||||
if (lVar2 != param_5[1]) {
|
||||
do {
|
||||
FUN_14016e5b0(local_30,lVar2);
|
||||
FUN_140153c40(local_30,*(undefined4 *)(lVar2 + 0x10));
|
||||
FUN_140153c40(local_30,*(undefined4 *)(lVar2 + 0x14));
|
||||
FUN_140153c40(local_30,*(undefined4 *)(lVar2 + 0x18));
|
||||
lVar2 = lVar2 + 0x1c;
|
||||
} while (lVar2 != param_5[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_TITLE",0x2b0e);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
41
decomp/DBCServer_Release_x64/full/functions/0x140005f80.c
Normal file
41
decomp/DBCServer_Release_x64/full/functions/0x140005f80.c
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140005f80 FUN_140005f80
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140005f80(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,longlong *param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2b0e);
|
||||
FUN_140153c40(local_40,*param_5);
|
||||
FUN_140153c40(local_40,(param_6[1] - *param_6) / 0x1c);
|
||||
lVar2 = *param_6;
|
||||
if (lVar2 != param_6[1]) {
|
||||
do {
|
||||
FUN_14016e5b0(local_40,lVar2);
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x10));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x14));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x18));
|
||||
lVar2 = lVar2 + 0x1c;
|
||||
} while (lVar2 != param_6[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_40,L"RESP_TITLE",0x2b0e);
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
32
decomp/DBCServer_Release_x64/full/functions/0x1400060e0.c
Normal file
32
decomp/DBCServer_Release_x64/full/functions/0x1400060e0.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400060e0 FUN_1400060e0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400060e0(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined4 *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b0f);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_IS_PUSH_QUEUE",0x2b0f);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
30
decomp/DBCServer_Release_x64/full/functions/0x1400061d0.c
Normal file
30
decomp/DBCServer_Release_x64/full/functions/0x1400061d0.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400061d0 FUN_1400061d0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400061d0(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined4 *param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b0f);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_140153c40(local_30,*param_6);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_IS_PUSH_QUEUE",0x2b0f);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
33
decomp/DBCServer_Release_x64/full/functions/0x1400062d0.c
Normal file
33
decomp/DBCServer_Release_x64/full/functions/0x1400062d0.c
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400062d0 FUN_1400062d0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400062d0(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined8 param_5,undefined8 param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b10);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_14016e5b0(local_30,param_5);
|
||||
FUN_140045470(local_30,param_6);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_ITEM_EQUIP_SIMPLE",0x2b10);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
31
decomp/DBCServer_Release_x64/full/functions/0x1400063d0.c
Normal file
31
decomp/DBCServer_Release_x64/full/functions/0x1400063d0.c
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400063d0 FUN_1400063d0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400063d0(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined8 param_6,undefined8 param_7)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b10);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_14016e5b0(local_30,param_6);
|
||||
FUN_140045470(local_30,param_7);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_ITEM_EQUIP_SIMPLE",0x2b10);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
30
decomp/DBCServer_Release_x64/full/functions/0x1400064d0.c
Normal file
30
decomp/DBCServer_Release_x64/full/functions/0x1400064d0.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400064d0 FUN_1400064d0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400064d0(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b11);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_ITEM_EQUIP_SIMPLE_END",0x2b11);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
29
decomp/DBCServer_Release_x64/full/functions/0x1400065b0.c
Normal file
29
decomp/DBCServer_Release_x64/full/functions/0x1400065b0.c
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400065b0 FUN_1400065b0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400065b0(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b11);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_ITEM_EQUIP_SIMPLE_END",0x2b11);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
38
decomp/DBCServer_Release_x64/full/functions/0x140006690.c
Normal file
38
decomp/DBCServer_Release_x64/full/functions/0x140006690.c
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140006690 FUN_140006690
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140006690(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined4 *param_5,undefined4 *param_6,undefined4 *param_7,undefined4 *param_8,
|
||||
undefined8 param_9,undefined8 param_10)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b12);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_140153c40(local_30,*param_6);
|
||||
FUN_140153c40(local_30,*param_7);
|
||||
FUN_140153c40(local_30,*param_8);
|
||||
FUN_14016cec0(local_30,param_9);
|
||||
FUN_140148c70(local_30,param_10);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_GUILD_CREATE",0x2b12);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
36
decomp/DBCServer_Release_x64/full/functions/0x1400067e0.c
Normal file
36
decomp/DBCServer_Release_x64/full/functions/0x1400067e0.c
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400067e0 FUN_1400067e0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400067e0(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined4 *param_6,undefined4 *param_7,undefined4 *param_8,
|
||||
undefined4 *param_9,undefined8 param_10,undefined8 param_11)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b12);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_140153c40(local_30,*param_6);
|
||||
FUN_140153c40(local_30,*param_7);
|
||||
FUN_140153c40(local_30,*param_8);
|
||||
FUN_140153c40(local_30,*param_9);
|
||||
FUN_14016cec0(local_30,param_10);
|
||||
FUN_140148c70(local_30,param_11);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_GUILD_CREATE",0x2b12);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
32
decomp/DBCServer_Release_x64/full/functions/0x140006940.c
Normal file
32
decomp/DBCServer_Release_x64/full/functions/0x140006940.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140006940 FUN_140006940
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140006940(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined8 param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b13);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140148c70(local_30,param_5);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_READ_GUILD_INFO",0x2b13);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
30
decomp/DBCServer_Release_x64/full/functions/0x140006a30.c
Normal file
30
decomp/DBCServer_Release_x64/full/functions/0x140006a30.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140006a30 FUN_140006a30
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140006a30(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined8 param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b13);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_140148c70(local_30,param_6);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_READ_GUILD_INFO",0x2b13);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
36
decomp/DBCServer_Release_x64/full/functions/0x140006b20.c
Normal file
36
decomp/DBCServer_Release_x64/full/functions/0x140006b20.c
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140006b20 FUN_140006b20
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140006b20(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined1 *param_5,undefined8 param_6,undefined8 param_7)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b14);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_140153c40(local_30,param_4[1]);
|
||||
FUN_14016e5b0(local_30,param_4 + 2);
|
||||
FUN_14004eef0(local_30,*param_5);
|
||||
FUN_14016e5b0(local_30,param_6);
|
||||
FUN_140045530(local_30,param_7);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_READ_GUILD_MEMBER",0x2b14);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
34
decomp/DBCServer_Release_x64/full/functions/0x140006c50.c
Normal file
34
decomp/DBCServer_Release_x64/full/functions/0x140006c50.c
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140006c50 FUN_140006c50
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140006c50(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,undefined1 *param_6,undefined8 param_7,undefined8 param_8)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b14);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_140153c40(local_30,param_5[1]);
|
||||
FUN_14016e5b0(local_30,param_5 + 2);
|
||||
FUN_14004eef0(local_30,*param_6);
|
||||
FUN_14016e5b0(local_30,param_7);
|
||||
FUN_140045530(local_30,param_8);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_READ_GUILD_MEMBER",0x2b14);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
35
decomp/DBCServer_Release_x64/full/functions/0x140006d90.c
Normal file
35
decomp/DBCServer_Release_x64/full/functions/0x140006d90.c
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140006d90 FUN_140006d90
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140006d90(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
longlong param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b15);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
FUN_14004f3c0(local_30,*(undefined2 *)(param_5 + 0x20));
|
||||
FUN_14004f3c0(local_30,*(undefined2 *)(param_5 + 0x22));
|
||||
FUN_14004f3c0(local_30,*(undefined2 *)(param_5 + 0x24));
|
||||
FUN_14016cf00(local_30,param_5);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_OTHER_CHARACTER_INFO",0x2b15);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
33
decomp/DBCServer_Release_x64/full/functions/0x140006eb0.c
Normal file
33
decomp/DBCServer_Release_x64/full/functions/0x140006eb0.c
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140006eb0 FUN_140006eb0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140006eb0(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,longlong param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b15);
|
||||
FUN_140153c40(local_30,*param_5);
|
||||
FUN_14004f3c0(local_30,*(undefined2 *)(param_6 + 0x20));
|
||||
FUN_14004f3c0(local_30,*(undefined2 *)(param_6 + 0x22));
|
||||
FUN_14004f3c0(local_30,*(undefined2 *)(param_6 + 0x24));
|
||||
FUN_14016cf00(local_30,param_6);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_30,L"RESP_OTHER_CHARACTER_INFO",0x2b15);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
43
decomp/DBCServer_Release_x64/full/functions/0x140006fe0.c
Normal file
43
decomp/DBCServer_Release_x64/full/functions/0x140006fe0.c
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140006fe0 FUN_140006fe0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140006fe0(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
longlong *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_30 [8];
|
||||
undefined1 local_28 [8];
|
||||
longlong local_20;
|
||||
int local_14;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_30);
|
||||
FUN_14016abe0(local_30);
|
||||
FUN_14004f3c0(local_30,0x2b16);
|
||||
FUN_140153c40(local_30,*param_4);
|
||||
lVar2 = SUB168(SEXT816(-0x6c657a3bf6c657a3) * SEXT816(param_5[1] - *param_5),8) +
|
||||
(param_5[1] - *param_5);
|
||||
FUN_140153c40(local_30,(lVar2 >> 6) - (lVar2 >> 0x3f));
|
||||
lVar2 = *param_5;
|
||||
if (lVar2 != param_5[1]) {
|
||||
do {
|
||||
FUN_14014ad00(local_30,lVar2);
|
||||
lVar2 = lVar2 + 0x6f;
|
||||
} while (lVar2 != param_5[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_30,L"RESP_OTHER_CHARACTER_EQUIP_ITEM",
|
||||
0x2b16);
|
||||
FUN_14016d0e0(local_28);
|
||||
if ((local_20 != 0) && (local_14 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue