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
35
decomp/DBCServer_Release_x64/full/functions/0x1401c1510.c
Normal file
35
decomp/DBCServer_Release_x64/full/functions/0x1401c1510.c
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401c1510 FUN_1401c1510
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1401c1510(undefined8 *param_1,longlong param_2)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined8 uVar2;
|
||||
uint local_res10 [6];
|
||||
undefined1 local_58 [80];
|
||||
|
||||
FUN_14004f0e0(param_2,0x400);
|
||||
local_res10[0] = *(uint *)(param_2 + 0x18);
|
||||
if (local_res10[0] == 0) {
|
||||
uVar2 = 0;
|
||||
}
|
||||
else {
|
||||
uVar2 = *(undefined8 *)(param_2 + 0x10);
|
||||
}
|
||||
iVar1 = FUN_1401e4f20(uVar2,local_res10,0,*param_1);
|
||||
if (iVar1 != 0) {
|
||||
FUN_14016d300(local_58,L"PUBLIC KEY EXPORT ERROR");
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1403417f8);
|
||||
}
|
||||
if (*(uint *)(param_2 + 0x18) < local_res10[0]) {
|
||||
FUN_14016d300(local_58,L"PublicKey To Blob result is larger! Memory corruption may occur!");
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1403417f8);
|
||||
}
|
||||
FUN_14004f0e0(param_2);
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue