// // sub_47D50 from 0x47d50 to 0x47dc2 (114 bytes) // // 1 xrefs: // > sub_785D0 @ 0x785f2 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_47D50(int a1, float a2) { float v3; // s0 if ( (LODWORD(a2) & 0x7F800000) == 0x7F800000 ) return 29; if ( a2 >= -1.0 ) { v3 = 1.0; if ( a2 <= 1.0 ) v3 = (float)(a2 * 0.5) + 0.5; } else { v3 = 0.0; } return (*(int (__fastcall **)(int, float, float, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD))(*(_DWORD *)a1 + 92))( a1, sqrtf(1.0 - v3), sqrtf(v3), 0, 0, 0, 0, 0, 0); }