// // sub_10045EA18 from 0x10045ea18 to 0x10045ea90 (120 bytes) // // 1 xrefs: // > @ 0x100827d00 // // 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_10045EA18(float32x2_t *a1, float32x2_t a2, float32_t a3) { float32x2_t v3; // x8 v3 = a1[59]; if ( !*(_QWORD *)&v3 || !*(_QWORD *)&a1[4] ) return 30; if ( (*(_BYTE *)(*(_QWORD *)&v3 + 56LL) & 0x10) == 0 ) return 40; if ( (~a2.i32[0] & 0x7F800000) == 0 || (~LODWORD(a3) & 0x7F800000) == 0 ) return 29; a2.f32[1] = a3; __asm { FMOV V1.2S, #1.0 } a1[26] = vmax_f32(vmin_f32(a2, _D1), 0); return (*(__int64 (__fastcall **)(float32x2_t *, _QWORD, float32_t, float32_t))(*(_QWORD *)a1 + 408LL))( a1, 0, a1[24].f32[0], a1[24].f32[1]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source