// // rotatePoint from 0x681e04 to 0x681e78 (116 bytes) // // 7 xrefs: // > ShaderLayer::updateEffectOffsets @ 0x681fa0 // > ShaderLayer::updateEffectOffsets @ 0x682236 // > ShaderLayer::updateEffectOffsets @ 0x6824bc // > ShaderLayer::updateEffectOffsets @ 0x682592 // > ShaderLayer::updateEffectOffsets @ 0x68271a // > ShaderLayer::updateEffectOffsets @ 0x682858 // > ShaderLayer::updateEffectOffsets @ 0x68292c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:56:02 +0000 // float *__fastcall rotatePoint(float *result, float a2, float *a3) { float *v4; // r4 float v5; // s20 float v6; // s19 float v7; // s16 float v8; // s18 float v9; // s21 v4 = result; if ( a2 != 0.0 ) { v5 = *a3; v6 = a3[1]; v7 = result[1] - v6; v8 = *result - *a3; v9 = cosf(a2 * 0.017453); *(float *)&result = sinf(a2 * 0.017453); *v4 = (float)((float)(v8 * v9) - (float)(v7 * *(float *)&result)) + v5; v4[1] = (float)((float)(v7 * v9) + (float)(v8 * *(float *)&result)) + v6; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source