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
41
decomp/DBCServer_Release_x64/full/functions/0x14016b5a0.c
Normal file
41
decomp/DBCServer_Release_x64/full/functions/0x14016b5a0.c
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14016b5a0 FUN_14016b5a0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14016b5a0(int *param_1,undefined8 param_2)
|
||||
|
||||
{
|
||||
longlong lVar1;
|
||||
int iVar2;
|
||||
|
||||
iVar2 = (int)param_2;
|
||||
if (iVar2 * 8 < *param_1) {
|
||||
*param_1 = iVar2 * 8;
|
||||
}
|
||||
if (-1 < iVar2) {
|
||||
if (*(longlong *)(param_1 + 4) != 0) {
|
||||
if (param_1[7] < iVar2) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
param_1[6] = iVar2;
|
||||
return;
|
||||
}
|
||||
lVar1 = *(longlong *)(param_1 + 2);
|
||||
if (iVar2 < 1) {
|
||||
if (lVar1 == 0) {
|
||||
return;
|
||||
}
|
||||
param_2 = 0;
|
||||
}
|
||||
else if (lVar1 == 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d1e0();
|
||||
}
|
||||
FUN_14004f0e0(lVar1,param_2);
|
||||
return;
|
||||
}
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue