//
// cocos2d::CCPoint::rotateByAngle from 0x7c5f00 to 0x7c5f82 (130 bytes)
//
// 1 xrefs:
// > cocos2d::ccpRotateByAngle @ 0x7f64c8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:25 +0000
//
cocos2d::CCPoint *__fastcall cocos2d::CCPoint::rotateByAngle(
cocos2d::CCPoint *this,
const cocos2d::CCPoint *a2,
float *a3,
float a4)
{
float v7; // r8
float v8; // r0
float v10; // [sp+4h] [bp-1Ch] BYREF
float v11; // [sp+8h] [bp-18h]
float v12; // [sp+Ch] [bp-14h] BYREF
float v13; // [sp+10h] [bp-10h]
float v14[2]; // [sp+14h] [bp-Ch] BYREF
cocos2d::CCPoint::operator-(&v10, (float *)a2, a3);
v7 = cosf(a4);
v8 = sinf(a4);
cocos2d::CCPoint::CCPoint(&v12, v7, v8);
cocos2d::CCPoint::CCPoint(v14, (float)(v10 * v12) - (float)(v11 * v13), (float)(v11 * v12) + (float)(v10 * v13));
cocos2d::CCPoint::operator+((float *)this, a3, v14);
return this;
}