// // rotateCCPoint from 0x8567c8 to 0x856858 (144 bytes) // // 2 xrefs: // > GJBaseGameLayer::spawnParticleTrigger @ 0x86797c // > @ 0x3fd38 // // 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 // void __fastcall rotateCCPoint(float *a1, float *a2, float a3) { float v4; // s11 float v5; // s8 float v6; // s12 float v7; // s9 float v8; // s10 float v9; // s13 float v10; // s0 if ( a3 != 0.0 ) { v4 = *a2; v5 = a3 * 0.017453; v6 = a2[1]; v7 = *a1 - *a2; v8 = a1[1] - v6; v9 = cosf(a3 * 0.017453); v10 = sinf(v5); a1[1] = v6 + (float)((float)(v8 * v9) + (float)(v7 * v10)); *a1 = v4 - (float)((float)(v8 * v10) - (float)(v7 * v9)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source