// // cocos2d::CCPoint::rotateByAngle from 0xd40cf8 to 0xd40dc0 (200 bytes) // // 2 xrefs: // > cocos2d::ccpRotateByAngle @ 0xd8fd78 // > @ 0x485c8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:07:31 +0000 // float *__usercall cocos2d::CCPoint::rotateByAngle@( cocos2d::CCPoint *this@, const cocos2d::CCPoint *a2@, float a3@, float *a4@) { float v7; // s9 float v8; // s0 float v10; // [xsp+50h] [xbp+50h] BYREF float v11; // [xsp+54h] [xbp+54h] float v12; // [xsp+58h] [xbp+58h] BYREF float v13; // [xsp+5Ch] [xbp+5Ch] float v14; // [xsp+60h] [xbp+60h] BYREF cocos2d::CCPoint::operator-((float *)this, (float *)a2, &v10); v7 = cosf(a3); v8 = sinf(a3); cocos2d::CCPoint::CCPoint(&v12, v7, v8); cocos2d::CCPoint::CCPoint( &v14, -(float)((float)(v11 * v13) - (float)(v10 * v12)), (float)(v12 * v11) + (float)(v10 * v13)); cocos2d::CCPoint::operator+(a4, (float *)a2, &v14); return a4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source