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
40
decomp/DBCServer_Release_x64/full/functions/0x1401e5c10.c
Normal file
40
decomp/DBCServer_Release_x64/full/functions/0x1401e5c10.c
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401e5c10 FUN_1401e5c10
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_1401e5c10(longlong param_1)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
longlong lVar2;
|
||||
undefined8 uVar3;
|
||||
|
||||
if ((param_1 == 0) || (lVar2 = *(longlong *)(param_1 + 0x28), lVar2 == 0)) {
|
||||
return 0xfffffffe;
|
||||
}
|
||||
iVar1 = *(int *)(lVar2 + 8);
|
||||
if ((((iVar1 != 0x2a) && (iVar1 != 0x45)) && (iVar1 != 0x49)) &&
|
||||
(((iVar1 != 0x5b && (iVar1 != 0x67)) && ((iVar1 != 0x71 && (iVar1 != 0x29a)))))) {
|
||||
return 0xfffffffe;
|
||||
}
|
||||
if (*(longlong *)(lVar2 + 0x10) != 0) {
|
||||
(**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40));
|
||||
}
|
||||
if (*(longlong *)(*(longlong *)(param_1 + 0x28) + 0x68) != 0) {
|
||||
(**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40));
|
||||
}
|
||||
if (*(longlong *)(*(longlong *)(param_1 + 0x28) + 0x60) != 0) {
|
||||
(**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40));
|
||||
}
|
||||
if (*(longlong *)(*(longlong *)(param_1 + 0x28) + 0x50) != 0) {
|
||||
(**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40));
|
||||
}
|
||||
(**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40),*(undefined8 *)(param_1 + 0x28));
|
||||
uVar3 = 0;
|
||||
*(undefined8 *)(param_1 + 0x28) = 0;
|
||||
if (iVar1 == 0x71) {
|
||||
uVar3 = 0xfffffffd;
|
||||
}
|
||||
return uVar3;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue