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
28
decomp/DBCServer_Release_x64/full/functions/0x1401b7bc0.c
Normal file
28
decomp/DBCServer_Release_x64/full/functions/0x1401b7bc0.c
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401b7bc0 FUN_1401b7bc0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
uint * FUN_1401b7bc0(longlong param_1,uint *param_2,undefined8 *param_3)
|
||||
|
||||
{
|
||||
uint uVar1;
|
||||
ulonglong uVar2;
|
||||
uint *puVar3;
|
||||
|
||||
uVar1 = *param_2;
|
||||
uVar2 = (ulonglong)uVar1 % (ulonglong)*(uint *)(param_1 + 0x28);
|
||||
if (*(longlong *)(param_1 + 8) != 0) {
|
||||
for (puVar3 = *(uint **)(*(longlong *)(param_1 + 8) + uVar2 * 8);
|
||||
(puVar3 != (uint *)0x0 && ((uint)uVar2 == puVar3[8] % *(uint *)(param_1 + 0x28)));
|
||||
puVar3 = *(uint **)(puVar3 + 4)) {
|
||||
if (*puVar3 == uVar1) {
|
||||
*(undefined8 *)(puVar3 + 2) = *param_3;
|
||||
return puVar3;
|
||||
}
|
||||
}
|
||||
}
|
||||
puVar3 = (uint *)FUN_1401c97c0(param_1,param_2,uVar2,(ulonglong)uVar1,0xfffffffffffffffe);
|
||||
*(undefined8 *)(puVar3 + 2) = *param_3;
|
||||
return puVar3;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue