// // cocos2d::CCPoint::rotateByAngle from 0xace890 to 0xace958 (200 bytes) // // 2 xrefs: // > cocos2d::ccpRotateByAngle @ 0xb1f258 // > @ 0x30828 // // 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 // cocos2d::CCPoint *__usercall cocos2d::CCPoint::rotateByAngle@( cocos2d::CCPoint *this@, cocos2d::CCPoint *a2@, float a3@, cocos2d::CCPoint *a4@) { float v7; // s9 float v8; // s0 cocos2d::CCPoint v10; // [xsp+50h] [xbp+50h] BYREF cocos2d::CCPoint v11; // [xsp+58h] [xbp+58h] BYREF cocos2d::CCPoint v12; // [xsp+60h] [xbp+60h] BYREF cocos2d::CCPoint::operator-((float *)this, (float *)a2, &v10); v7 = cosf(a3); v8 = sinf(a3); cocos2d::CCPoint::CCPoint(&v11, v7, v8); cocos2d::CCPoint::CCPoint( &v12, -(float)((float)(v10.y * v11.y) - (float)(v10.x * v11.x)), (float)(v11.x * v10.y) + (float)(v10.x * v11.y)); cocos2d::CCPoint::operator+((float *)a2, (float *)&v12, a4); return a4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source