// // sub_5905C from 0x5905c to 0x590bc (96 bytes) // // 1 xrefs: // > @ 0x10c588 // // 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_5905C(__int64 a1, __int64 a2, __int64 a3) { __int64 v3; // x30 __int64 v4; // x0 __int64 v5; // x1 __int64 v6; // x2 char v7; // zf __int64 v8; // x0 float v9; // s0 float v10; // s1 __int64 v11; // x8 v4 = sub_593A4(a1, v3, a3); if ( v7 ) return 29; v8 = sub_593A4(v4, v5, v6); if ( v7 ) return 29; v11 = *(_QWORD *)v8; *(float *)(v8 + 208) = fmaxf(fminf(v9, 1.0), 0.0); *(float *)(v8 + 212) = fmaxf(fminf(v10, 1.0), 0.0); return (*(__int64 (__fastcall **)(__int64, _QWORD, float, float))(v11 + 408))( v8, 0, *(float *)(v8 + 192), *(float *)(v8 + 196)); }