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
47
decomp/DBCServer_Release_x64/full/functions/0x1401e96a0.c
Normal file
47
decomp/DBCServer_Release_x64/full/functions/0x1401e96a0.c
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401e96a0 FUN_1401e96a0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1401e96a0(longlong param_1,undefined1 *param_2,int param_3,int param_4)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
byte bVar2;
|
||||
|
||||
if (*(int *)(param_1 + 0x1714) < 9) {
|
||||
if (*(int *)(param_1 + 0x1714) < 1) goto LAB_1401e96fa;
|
||||
uVar1 = *(undefined1 *)(param_1 + 0x1710);
|
||||
}
|
||||
else {
|
||||
*(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) =
|
||||
*(undefined1 *)(param_1 + 0x1710);
|
||||
*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1;
|
||||
uVar1 = *(undefined1 *)(param_1 + 0x1711);
|
||||
}
|
||||
*(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = uVar1;
|
||||
*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1;
|
||||
LAB_1401e96fa:
|
||||
*(undefined4 *)(param_1 + 0x170c) = 8;
|
||||
*(undefined2 *)(param_1 + 0x1710) = 0;
|
||||
*(undefined4 *)(param_1 + 0x1714) = 0;
|
||||
if (param_4 != 0) {
|
||||
*(byte *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = (byte)param_3;
|
||||
*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1;
|
||||
bVar2 = (byte)((uint)param_3 >> 8);
|
||||
*(byte *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = bVar2;
|
||||
*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1;
|
||||
*(byte *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = ~(byte)param_3
|
||||
;
|
||||
*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1;
|
||||
*(byte *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = ~bVar2;
|
||||
*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1;
|
||||
}
|
||||
for (; param_3 != 0; param_3 = param_3 + -1) {
|
||||
*(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = *param_2
|
||||
;
|
||||
*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1;
|
||||
param_2 = param_2 + 1;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue