// // GJRotationControl::setAngle from 0x100051a00 to 0x100051a7d (125 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! void __fastcall GJRotationControl::setAngle(GJRotationControl *a1, float a2) { __int64 v2; // rax __m128 v3; // xmm0 _QWORD v4[4]; // [rsp+0h] [rbp-20h] BYREF v4[0] = v2; a1->m_startingRotation = a2; a1->m_currentRotation = a2; *(__float2 *)v3.f32 = __sincosf_stret(a2 * -0.017453292); sub_10028CBE0(v4, _mm_movehdup_ps(v3).f32[0] * 60.0, 60.0 * v3.f32[0]); *(double *)v3.i64 = sub_10028CC90(); ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCPoint *, double))a1->m_controlSprite->setPosition)( a1->m_controlSprite, &a1->m_controlPosition, *(double *)v3.i64); }
GD Web Decomp Icon

GD Web Decomp

Raw Source