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
36
decomp/DBCServer_Release_x64/full/functions/0x1401a2220.c
Normal file
36
decomp/DBCServer_Release_x64/full/functions/0x1401a2220.c
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401a2220 FUN_1401a2220
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
longlong FUN_1401a2220(longlong *param_1,longlong *param_2)
|
||||
|
||||
{
|
||||
longlong lVar1;
|
||||
|
||||
if (param_2 == (longlong *)0x0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14004dc60(0x80004005);
|
||||
}
|
||||
lVar1 = *param_2;
|
||||
if (param_2 == (longlong *)param_1[1]) {
|
||||
param_1[1] = lVar1;
|
||||
}
|
||||
else {
|
||||
*(longlong *)param_2[1] = lVar1;
|
||||
}
|
||||
if (param_2 == (longlong *)param_1[2]) {
|
||||
param_1[2] = param_2[1];
|
||||
}
|
||||
else {
|
||||
*(longlong *)(*param_2 + 8) = param_2[1];
|
||||
}
|
||||
if ((longlong *)*param_1 != (longlong *)0x0) {
|
||||
(**(code **)(*(longlong *)*param_1 + 0x10))();
|
||||
param_1[3] = param_1[3] + -1;
|
||||
return lVar1;
|
||||
}
|
||||
FUN_14016d970(param_2);
|
||||
param_1[3] = param_1[3] + -1;
|
||||
return lVar1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue