35 lines
1.1 KiB
C
35 lines
1.1 KiB
C
/* 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;
|
|
}
|
|
|