// // sub_1004D1F1C from 0x1004d1f1c to 0x1004d1f98 (124 bytes) // // 1 xrefs: // > FMOD::System::set3DSettings @ 0x1004ca9d8 // // 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 // __int64 __fastcall sub_1004D1F1C(__int64 a1, float a2, float a3, float a4) { __int64 result; // x0 float *v6; // x8 if ( (~LODWORD(a2) & 0x7F800000) == 0 ) return 29; if ( (~LODWORD(a3) & 0x7F800000) == 0 ) return 29; if ( (~LODWORD(a4) & 0x7F800000) == 0 ) return 29; result = 31; if ( a2 >= 0.0 && a3 > 0.0 && a4 >= 0.0 ) { v6 = (float *)(a1 + 69108); v6[1] = a4; v6[2] = a2; *v6 = a3; return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source