// // cocos2d::CCAffineTransformRotate from 0x180006240 to 0x1800062f6 (182 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801ad8ac // // 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 *__fastcall cocos2d::CCAffineTransformRotate( cocos2d *this, struct cocos2d::CCAffineTransform *retstr, const struct cocos2d::CCAffineTransform *a3, float a4) { float v4; // xmm2_4 float v7; // xmm7_4 float v8; // xmm0_4 float c; // xmm6_4 float a; // xmm5_4 float b; // xmm3_4 float d; // xmm4_4 float v13; // xmm2_4 v7 = sinf(v4); v8 = cosf(v4); c = retstr->c; a = retstr->a; b = retstr->b; d = retstr->d; v13 = retstr->a * v8; *((_DWORD *)this + 4) = LODWORD(retstr->tx); *((_DWORD *)this + 5) = LODWORD(retstr->ty); *(float *)this = v13 + (float)(c * v7); *((float *)this + 2) = (float)(c * v8) - (float)(a * v7); *((float *)this + 1) = (float)(d * v7) + (float)(b * v8); *((float *)this + 3) = (float)(d * v8) - (float)(b * v7); return this; }