//
// cocos2d::CCPoint::rotate from 0x18000cd40 to 0x18000cd7c (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801438a8
//
// 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
//
const struct cocos2d::CCPoint *__fastcall cocos2d::CCPoint::rotate(
cocos2d::CCPoint *this,
const struct cocos2d::CCPoint *a2,
float *a3)
{
float y; // xmm0_4
float v5; // xmm5_4
float v6; // xmm3_4
float v7; // xmm0_4
float v8; // xmm5_4
y = this->y;
v5 = a3[1];
v6 = y * *a3;
v7 = y * v5;
v8 = (float)(v5 * this->x) + v6;
a2->x = (float)(this->x * *a3) - v7;
a2->y = v8;
return a2;
}