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
31
decomp/DBCServer_Release_x64/full/functions/0x1401e2680.c
Normal file
31
decomp/DBCServer_Release_x64/full/functions/0x1401e2680.c
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401e2680 FUN_1401e2680
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1401e2680(double *param_1,double param_2,double param_3)
|
||||
|
||||
{
|
||||
double dVar1;
|
||||
|
||||
if (param_3 == 0.0) {
|
||||
param_3 = 2146483647.0;
|
||||
}
|
||||
if (param_2 * 0.5 <= param_3) {
|
||||
dVar1 = *param_1 * 2.0;
|
||||
*param_1 = dVar1;
|
||||
if (2146483647.0 <= dVar1) {
|
||||
dVar1 = 2146483647.0;
|
||||
}
|
||||
*param_1 = dVar1;
|
||||
}
|
||||
else {
|
||||
*param_1 = param_3 * 0.8;
|
||||
}
|
||||
if (*param_1 <= (double)DAT_140344d7c) {
|
||||
*param_1 = (double)DAT_140344d7c;
|
||||
return;
|
||||
}
|
||||
*param_1 = *param_1;
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue