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
23
decomp/DBCServer_Release_x64/full/functions/0x1401e2770.c
Normal file
23
decomp/DBCServer_Release_x64/full/functions/0x1401e2770.c
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401e2770 FUN_1401e2770
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1401e2770(double *param_1,double param_2)
|
||||
|
||||
{
|
||||
double dVar1;
|
||||
double dVar2;
|
||||
|
||||
if (param_1[2] == 0.0) {
|
||||
param_1[2] = param_2;
|
||||
}
|
||||
dVar2 = param_2 - param_1[2];
|
||||
if ((dVar2 != 0.0) && (DAT_140344db0 * 0.2 < dVar2)) {
|
||||
dVar1 = param_1[1];
|
||||
param_1[2] = param_2;
|
||||
param_1[1] = 0.0;
|
||||
*param_1 = (dVar1 / dVar2 - *param_1) * 0.7 + *param_1;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue