// // PlayLayer::getRelativeMod from 0x100086b90 to 0x100086bf4 (100 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 12:20:04 +0000 // __m128 __fastcall PlayLayer::getRelativeMod(__int64 a1, float *a2, float a3, float a4, float a5) { float v6; // xmm4_4 __m128 v7; // xmm0 float v8; // xmm6_4 float v9; // xmm4_4 __m128 v10; // xmm1 v6 = *a2; v7 = (__m128)*(unsigned int *)(a1 + 12680); v8 = *(float *)(a1 + 1204) + v7.f32[0]; if ( *a2 <= v8 ) { a3 = a4; v9 = (float)(v8 - v6) - a5; } else { v9 = (float)((float)(v6 - a5) - *(float *)(a1 + 1204)) - v7.f32[0]; } v7.f32[0] = (float)(v7.f32[0] - v9) * a3; v10 = (__m128)0x3F800000u; v10.f32[0] = fminf(1.0, v7.f32[0]); return _mm_andnot_ps(_mm_cmplt_ss(v7, (__m128)0LL), v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source