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
27
decomp/DBCServer_Release_x64/full/functions/0x14020df20.c
Normal file
27
decomp/DBCServer_Release_x64/full/functions/0x14020df20.c
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14020df20 FUN_14020df20
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_14020df20(ulonglong param_1,int *param_2)
|
||||
|
||||
{
|
||||
uint uVar1;
|
||||
|
||||
if (param_2 != (int *)0x0) {
|
||||
uVar1 = ((param_1 & 7) != 0) + 1 + ((uint)(param_1 >> 3) & 0x1fffffff);
|
||||
if (uVar1 < 0x80) {
|
||||
*param_2 = uVar1 + 2;
|
||||
return 0;
|
||||
}
|
||||
if (uVar1 < 0x100) {
|
||||
*param_2 = uVar1 + 3;
|
||||
return 0;
|
||||
}
|
||||
if (uVar1 < 0x10000) {
|
||||
*param_2 = uVar1 + 4;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return 0x10;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue