//
// sub_100606620 from 0x100606620 to 0x100606688 (104 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:10:03 +0000
//
long double __fastcall sub_100606620(unsigned int a1, double a2)
{
bool v2; // nf
long double result; // d0
v2 = a2 < 0.0;
if ( a2 <= 0.0 )
{
result = 1.0e32;
if ( !v2 )
return 0.0;
}
else
{
result = log(0.240226507 / (double)a1 * a2) * 0.5 / 0.693147181;
if ( result < 0.0 )
return 0.0;
}
return result;
}