//
// cocos2d::ccpForAngle from 0x100356190 to 0x1003561b7 (39 bytes)
//
// 10 xrefs:
// > PlayLayer::applyCustomEnterEffect @ 0x1000b8800
// > PlayLayer::applyEnterEffect @ 0x1000b8da4
// > GJBaseGameLayer::processAreaEffects @ 0x100140ffa
// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x1001426bb
// > GJBaseGameLayer::getFollowSpeedVal @ 0x100147d58
// > GJBaseGameLayer::processAdvancedFollowAction @ 0x100149e2b
// > GJBaseGameLayer::processAdvancedFollowAction @ 0x10014a183
// > ForceBlockGameObject::calculateForceToTarget @ 0x1001ecf16
// > PlayerObject::startDashing @ 0x100411777
// > PlayerObject::updateStaticForce @ 0x10041b09d
//
// 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
//
// local variable allocation has failed, the output may be wrong!
cocos2d::CCPoint __fastcall cocos2d::ccpForAngle(float a1)
{
float *v1; // rdi
__m128 v2; // xmm0
float v3; // xmm1_4
cocos2d::CCPoint result; // 0:xmm0_8.8
*(__float2 *)v2.f32 = __sincosf_stret(a1);
v3 = v2.f32[0];
result = (cocos2d::CCPoint)_mm_movehdup_ps(v2).u64[0];
sub_10028CBE0(v1, result.x, v3);
return result;
}