// // sub_597E8 from 0x597e8 to 0x59854 (108 bytes) // // 1 xrefs: // > FMOD::System::set3DSettings @ 0xb8afc // // 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_597E8(float *a1, float a2, float a3, float a4) { int result; // r0 bool v6; // cc if ( (LODWORD(a2) & 0x7F800000) == 0x7F800000 || (LODWORD(a3) & 0x7F800000) == 0x7F800000 || (LODWORD(a4) & 0x7F800000) == 0x7F800000 ) { return 29; } result = 31; v6 = a2 <= 0.0; if ( a2 >= 0.0 ) v6 = a3 <= 0.0; if ( !v6 && a4 >= 0.0 ) { a1[17064] = a3; a1[17065] = a4; a1[17066] = a2; return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source