j_ prefix is used by IDA for functions which do not do anything besides jumping to another function, likely the real implementation. So the real function you need is
This function doesn’t seem to be documented anywhere but the name is very close to
ftol which is the standard CRT function for converting a
float to a
According to this MASM forum post:
ftol2_sse is an internal C function that is called when a cast or conversion is made from a floating point variable to an integer. It was first used in VC 2005 (8.0). Before that it was ftol_sse and before that ftol.
_excpt suffix probably means it can raise an exception (e.g. if called with a NaN value).
Because the function is internal, the function prototype is not known and the decompiler did not detect the arguments, probably because they’re passed in FPU registers and not on stack. If the function is really equivalent to
ftol, you can try renaming it to that and the decompiler should recognize it. Alternatively, you can try specifying a manual function prototype using
__usercall calling convention.