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
30
decomp/DBCServer_Release_x64/full/functions/0x14020e0d0.c
Normal file
30
decomp/DBCServer_Release_x64/full/functions/0x14020e0d0.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14020e0d0 FUN_14020e0d0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined4 FUN_14020e0d0(uint param_1,int *param_2)
|
||||
|
||||
{
|
||||
ulonglong uVar1;
|
||||
ulonglong uVar2;
|
||||
int iVar3;
|
||||
|
||||
if (param_2 == (int *)0x0) {
|
||||
return 0x10;
|
||||
}
|
||||
iVar3 = 0;
|
||||
uVar2 = (ulonglong)param_1;
|
||||
if (param_1 != 0) {
|
||||
do {
|
||||
iVar3 = iVar3 + 1;
|
||||
uVar1 = uVar2 >> 8;
|
||||
uVar2 = uVar2 >> 8;
|
||||
} while ((int)uVar1 != 0);
|
||||
if (iVar3 != 0) goto LAB_14020e102;
|
||||
}
|
||||
iVar3 = 1;
|
||||
LAB_14020e102:
|
||||
*param_2 = ((param_1 >> (iVar3 * 8 - 1U & 0x1f) & 1) != 0) + 2 + iVar3;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue