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,43 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400bc600 FUN_1400bc600
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1400bc600(int *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
uint uVar1;
|
||||
longlong lVar2;
|
||||
exception local_50 [80];
|
||||
|
||||
lVar2 = *(longlong *)(param_1 + 2);
|
||||
if (lVar2 == 0) {
|
||||
if (*(longlong *)(param_1 + 4) == 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_1400d1900(param_1,param_2,param_3,param_4);
|
||||
}
|
||||
uVar1 = param_1[6];
|
||||
}
|
||||
else {
|
||||
uVar1 = *(uint *)(lVar2 + 0x18);
|
||||
}
|
||||
if ((int)uVar1 < (int)param_2) {
|
||||
if (lVar2 == 0) {
|
||||
if (*(longlong *)(param_1 + 4) == 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_1400d1900(param_1,param_2,(ulonglong)uVar1,param_4);
|
||||
}
|
||||
uVar1 = param_1[6];
|
||||
}
|
||||
else {
|
||||
uVar1 = *(uint *)(lVar2 + 0x18);
|
||||
}
|
||||
FUN_14006ba50(local_50,
|
||||
L"너무 큰 offset으로 read pointer를 잡으려 했음. buffer 크기=%d, 잡으려는 offset=%d"
|
||||
,(ulonglong)uVar1,param_2 & 0xffffffff);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_50,(ThrowInfo *)&DAT_1401a93e8);
|
||||
}
|
||||
*param_1 = (int)param_2 * 8;
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue