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
60
decomp/DBCServer_Release_x64/full/functions/0x1401c5f30.c
Normal file
60
decomp/DBCServer_Release_x64/full/functions/0x1401c5f30.c
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401c5f30 FUN_1401c5f30
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1401c5f30(longlong *param_1)
|
||||
|
||||
{
|
||||
longlong lVar1;
|
||||
longlong *plVar2;
|
||||
longlong *plVar3;
|
||||
undefined1 local_58 [88];
|
||||
|
||||
lVar1 = *param_1;
|
||||
while( true ) {
|
||||
if (lVar1 == 0) {
|
||||
return;
|
||||
}
|
||||
plVar2 = (longlong *)*param_1;
|
||||
if ((longlong *)plVar2[2] != param_1) break;
|
||||
plVar3 = (longlong *)plVar2[1];
|
||||
lVar1 = *plVar2;
|
||||
if (plVar3 != (longlong *)0x0) {
|
||||
*plVar3 = lVar1;
|
||||
}
|
||||
if (lVar1 != 0) {
|
||||
*(longlong **)(lVar1 + 8) = plVar3;
|
||||
}
|
||||
if (plVar3 == (longlong *)0x0) {
|
||||
if ((longlong *)param_1[1] != plVar2) {
|
||||
FUN_14016d300(local_58,PTR_u_CListNode_reports_a_consistency_p_1403452b8,
|
||||
L"Proud::CListNode<class Proud::CHeartbeatWorkThread::WorkData>::CListOwner::Erase"
|
||||
);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1403417f8);
|
||||
}
|
||||
param_1[1] = lVar1;
|
||||
}
|
||||
if (lVar1 == 0) {
|
||||
if ((longlong *)*param_1 != plVar2) {
|
||||
FUN_14016d300(local_58,PTR_u_CListNode_reports_a_consistency_p_1403452b8,
|
||||
L"Proud::CListNode<class Proud::CHeartbeatWorkThread::WorkData>::CListOwner::Erase"
|
||||
);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1403417f8);
|
||||
}
|
||||
*param_1 = (longlong)plVar3;
|
||||
}
|
||||
*plVar2 = 0;
|
||||
plVar2[1] = 0;
|
||||
plVar2[2] = 0;
|
||||
*(int *)(param_1 + 2) = (int)param_1[2] + -1;
|
||||
lVar1 = *param_1;
|
||||
}
|
||||
FUN_14016d300(local_58,PTR_u_CListNode_reports_a_consistency_p_1403452b8,
|
||||
L"Proud::CListNode<class Proud::CHeartbeatWorkThread::WorkData>::CListOwner::Erase")
|
||||
;
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1403417f8);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue