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
38
decomp/DBCServer_Release_x64/full/functions/0x14004f1a0.c
Normal file
38
decomp/DBCServer_Release_x64/full/functions/0x14004f1a0.c
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14004f1a0 FUN_14004f1a0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14004f1a0(undefined8 *param_1,undefined8 *param_2,size_t param_3)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined8 uVar2;
|
||||
undefined8 *puVar3;
|
||||
ulonglong uVar4;
|
||||
ulonglong uVar5;
|
||||
|
||||
if (param_3 < 0x21) {
|
||||
uVar5 = (ulonglong)((uint)param_3 & 7);
|
||||
for (uVar4 = param_3 >> 3; uVar4 != 0; uVar4 = uVar4 - 1) {
|
||||
uVar2 = *param_2;
|
||||
param_2 = param_2 + 1;
|
||||
*param_1 = uVar2;
|
||||
param_1 = param_1 + 1;
|
||||
}
|
||||
if (uVar5 != 0) {
|
||||
puVar3 = param_2;
|
||||
do {
|
||||
uVar1 = *(undefined1 *)puVar3;
|
||||
puVar3 = (undefined8 *)((longlong)puVar3 + 1);
|
||||
uVar5 = uVar5 - 1;
|
||||
*(undefined1 *)((longlong)param_1 + (-1 - (longlong)param_2) + (longlong)puVar3) = uVar1;
|
||||
} while (uVar5 != 0);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else {
|
||||
memcpy(param_1,param_2,param_3);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue