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
35
decomp/DBCServer_Release_x64/full/functions/0x14020e120.c
Normal file
35
decomp/DBCServer_Release_x64/full/functions/0x14020e120.c
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14020e120 FUN_14020e120
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_14020e120(byte *param_1,uint param_2,uint *param_3)
|
||||
|
||||
{
|
||||
byte bVar1;
|
||||
uint uVar2;
|
||||
uint uVar3;
|
||||
|
||||
if ((param_3 != (uint *)0x0) && (param_1 != (byte *)0x0)) {
|
||||
if ((1 < param_2) && ((*param_1 & 0x1f) == 2)) {
|
||||
bVar1 = param_1[1];
|
||||
uVar3 = (uint)bVar1;
|
||||
if (bVar1 + 2 <= param_2) {
|
||||
uVar2 = 0;
|
||||
if (bVar1 != 0) {
|
||||
param_1 = param_1 + 2;
|
||||
do {
|
||||
bVar1 = *param_1;
|
||||
param_1 = param_1 + 1;
|
||||
uVar2 = uVar2 << 8 | (uint)bVar1;
|
||||
uVar3 = uVar3 - 1;
|
||||
} while (uVar3 != 0);
|
||||
}
|
||||
*param_3 = uVar2;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return 7;
|
||||
}
|
||||
return 0x10;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue