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
|
|
@ -0,0 +1,40 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400dd640 FUN_1400dd640
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1400dd640(undefined8 *param_1,longlong param_2,SIZE_T param_3)
|
||||
|
||||
{
|
||||
ulonglong uVar1;
|
||||
char *pcVar2;
|
||||
SIZE_T SVar3;
|
||||
int *piVar4;
|
||||
uint local_res10 [6];
|
||||
exception local_58 [80];
|
||||
|
||||
FUN_1400146f0(param_2,0x400,param_3);
|
||||
local_res10[0] = *(uint *)(param_2 + 0x18);
|
||||
if (local_res10[0] == 0) {
|
||||
pcVar2 = (char *)0x0;
|
||||
}
|
||||
else {
|
||||
pcVar2 = *(char **)(param_2 + 0x10);
|
||||
}
|
||||
piVar4 = (int *)*param_1;
|
||||
SVar3 = 0;
|
||||
uVar1 = FUN_1400fbdd0(pcVar2,local_res10,0,piVar4);
|
||||
if ((int)uVar1 != 0) {
|
||||
FUN_14006ba50(local_58,L"PUBLIC KEY EXPORT ERROR",SVar3,piVar4);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1401a93e8);
|
||||
}
|
||||
if (*(uint *)(param_2 + 0x18) < local_res10[0]) {
|
||||
FUN_14006ba50(local_58,L"PublicKey To Blob result is larger! Memory corruption may occur!",SVar3
|
||||
,piVar4);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1401a93e8);
|
||||
}
|
||||
FUN_1400146f0(param_2,local_res10[0],SVar3);
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue