// // GJBaseGameLayer::performMathRounding from 0x10014c350 to 0x10014c396 (70 bytes) // // 0 xrefs: // // 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 // // local variable allocation has failed, the output may be wrong! double __fastcall GJBaseGameLayer::performMathRounding(GJBaseGameLayer *a1, double a2, int a3) { __m128d v3; // xmm1 switch ( a3 ) { case 3: return _mm_round_sd(*(__m128d *)&a2, *(__m128d *)&a2, 10).f64[0]; case 2: return _mm_round_sd(*(__m128d *)&a2, *(__m128d *)&a2, 9).f64[0]; case 1: v3 = _mm_or_pd(_mm_and_pd((__m128d)xmmword_100816590, *(__m128d *)&a2), (__m128d)xmmword_100816960); v3.f64[0] = v3.f64[0] + a2; return _mm_round_sd((__m128d)0LL, v3, 11).f64[0]; } return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source