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
37
decomp/DBCServer_Release_x64/full/functions/0x14019a780.c
Normal file
37
decomp/DBCServer_Release_x64/full/functions/0x14019a780.c
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14019a780 FUN_14019a780
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14019a780(longlong param_1,longlong param_2)
|
||||
|
||||
{
|
||||
*(longlong *)(param_1 + 0x78) = param_2;
|
||||
*(undefined4 *)(param_1 + 0x70) = 0;
|
||||
if (param_2 + 0x80U < 0x100) {
|
||||
*(undefined1 *)(param_1 + 0xc) = 1;
|
||||
*(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;
|
||||
*(char *)((longlong)*(int *)(param_1 + 0x70) + 0xc + param_1) = (char)param_2;
|
||||
*(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;
|
||||
return;
|
||||
}
|
||||
if (param_2 + 0x8000U < 0x10000) {
|
||||
*(undefined1 *)(param_1 + 0xc) = 2;
|
||||
*(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;
|
||||
*(short *)((longlong)*(int *)(param_1 + 0x70) + 0xc + param_1) = (short)param_2;
|
||||
*(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 2;
|
||||
return;
|
||||
}
|
||||
if (param_2 + 0x80000000U < 0x100000000) {
|
||||
*(undefined1 *)(param_1 + 0xc) = 4;
|
||||
*(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;
|
||||
*(int *)((longlong)*(int *)(param_1 + 0x70) + 0xc + param_1) = (int)param_2;
|
||||
*(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 4;
|
||||
return;
|
||||
}
|
||||
*(undefined1 *)(param_1 + 0xc) = 8;
|
||||
*(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;
|
||||
*(longlong *)((longlong)*(int *)(param_1 + 0x70) + 0xc + param_1) = param_2;
|
||||
*(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 8;
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue