// // GJRotationControl::setAngle from 0x694fc4 to 0x695080 (188 bytes) // // 2 xrefs: // > GJRotationControl::init @ 0x69513c // > @ 0xbf8c8 // // 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 GJRotationControl::setAngle(GJRotationControl *a1, float a2) { float v3; // s8 cocos2d::CCPoint *p_m_controlPosition; // x22 float v5; // s9 float v6; // s0 float v7; // s0 float v8; // s1 cocos2d::CCPoint v9; // [xsp+50h] [xbp+50h] BYREF v3 = (float)-a2 * 0.017453; p_m_controlPosition = &a1->m_controlPosition; a1->m_startingRotation = a2; a1->m_currentRotation = a2; v5 = cosf(v3); v6 = sinf(v3); cocos2d::CCPoint::CCPoint(&v9, v5 * 60.0, v6 * 60.0); cocos2d::CCPoint::operator=(p_m_controlPosition, v7, v8); a1->m_controlSprite->setPosition(a1->m_controlSprite, p_m_controlPosition); }
GD Web Decomp Icon

GD Web Decomp

Raw Source