server-re/decomp/DBCServer_Release_x64/full/functions/0x1401c59a0.c

19 lines
492 B
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401c59a0 FUN_1401c59a0
* Pseudocode, not original source. */
void FUN_1401c59a0(double *param_1,double param_2)
{
double dVar1;
if (param_2 <= 0.0) {
/* WARNING: Subroutine does not return */
FUN_14016d6b0();
}
dVar1 = param_1[1];
param_1[1] = param_2;
*param_1 = (param_2 / dVar1) * *param_1;
return;
}