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,23 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x140076d80 FUN_140076d80
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
int FUN_140076d80(longlong param_1,int param_2)
|
||||
|
||||
{
|
||||
uint uVar1;
|
||||
int iVar2;
|
||||
double dVar3;
|
||||
|
||||
uVar1 = FUN_140076a80(param_1);
|
||||
dVar3 = (double)uVar1 / 4294967295.0;
|
||||
if (dVar3 <= 0.0) {
|
||||
dVar3 = 0.0;
|
||||
}
|
||||
iVar2 = (int)((double)(param_2 + 1) * dVar3);
|
||||
if (iVar2 < param_2) {
|
||||
param_2 = iVar2;
|
||||
}
|
||||
return param_2;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue