// // sub_597E8 from 0x597e8 to 0x59854 (108 bytes) // // 1 xrefs: // > FMOD::System::set3DSettings @ 0xb8afc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:40:47 +0000 // 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