// // sub_893B0 from 0x893b0 to 0x89410 (96 bytes) // // 1 xrefs: // > sub_88FB8 @ 0x89238 // // 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 // int __fastcall sub_893B0(int a1, float a2) { int v2; // r1 unsigned int v3; // r1 float v4; // s0 float v5; // s0 v2 = (int)(float)(a2 * 32768.0); if ( v2 < 0 ) v2 = -v2; v3 = v2 & 0x7FFF; switch ( v3 >> 13 ) { case 0u: goto LABEL_8; case 1u: v4 = *(float *)(a1 + 4 * (0x3FFF - v3) + 460); goto LABEL_6; case 2u: v4 = *(float *)(a1 + 4 * v3 - 65076); LABEL_6: v5 = -v4; break; case 3u: v3 ^= 0x7FFFu; LABEL_8: v5 = *(float *)(a1 + 4 * v3 + 460); break; } return LODWORD(v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source