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/0x14016bd20.c
Normal file
30
decomp/DBCServer_Release_x64/full/functions/0x14016bd20.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14016bd20 FUN_14016bd20
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_14016bd20(uint *param_1,uint *param_2)
|
||||
|
||||
{
|
||||
char cVar1;
|
||||
uint uVar2;
|
||||
uint uVar3;
|
||||
uint uVar4;
|
||||
ushort local_res8 [4];
|
||||
|
||||
*param_2 = 0;
|
||||
uVar3 = (int)*param_1 >> 0x1f & 7;
|
||||
uVar2 = *param_1 + uVar3;
|
||||
uVar4 = uVar2 & 0xfffffff8;
|
||||
*param_1 = uVar4;
|
||||
if (0 < (int)((uVar2 & 7) - uVar3)) {
|
||||
*param_1 = uVar4 + 8;
|
||||
}
|
||||
cVar1 = FUN_14016b100(param_1,local_res8,2);
|
||||
if (cVar1 != '\0') {
|
||||
FUN_14016b2e0(param_1);
|
||||
*param_2 = (uint)local_res8[0];
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue