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
41
decomp/DBCServer_Release_x64/full/functions/0x14021bc30.c
Normal file
41
decomp/DBCServer_Release_x64/full/functions/0x14021bc30.c
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14021bc30 FUN_14021bc30
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14021bc30(longlong param_1,longlong param_2)
|
||||
|
||||
{
|
||||
longlong *_Src;
|
||||
longlong *plVar1;
|
||||
longlong lVar2;
|
||||
longlong *_Dst;
|
||||
|
||||
_Dst = *(longlong **)(param_1 + 0x70);
|
||||
_Src = *(longlong **)(param_1 + 0x78);
|
||||
if (_Dst == _Src) {
|
||||
return;
|
||||
}
|
||||
while (*_Dst != param_2) {
|
||||
_Dst = _Dst + 1;
|
||||
if (_Dst == _Src) goto LAB_14021bc88;
|
||||
}
|
||||
plVar1 = _Dst;
|
||||
if (_Dst == _Src) {
|
||||
return;
|
||||
}
|
||||
while (plVar1 = plVar1 + 1, plVar1 != _Src) {
|
||||
if (*plVar1 != param_2) {
|
||||
*_Dst = *plVar1;
|
||||
_Dst = _Dst + 1;
|
||||
}
|
||||
}
|
||||
LAB_14021bc88:
|
||||
if (_Dst == _Src) {
|
||||
return;
|
||||
}
|
||||
lVar2 = *(longlong *)(param_1 + 0x78) - (longlong)_Src >> 3;
|
||||
memmove(_Dst,_Src,lVar2 * 8);
|
||||
*(longlong **)(param_1 + 0x78) = _Dst + lVar2;
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue