//
// cocos2d::extension::CCControlPotentiometer::angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint from 0x180008fc0 to 0x180009030 (112 bytes)
//
// 2 xrefs:
// > ??> @ 0x180032408
// > ??> @ 0x18004b90c
//
// This function is hookable on this platform (idp: pc, 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 12:15:37 +0000
//
__m128 __fastcall cocos2d::extension::CCControlPotentiometer::angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint(
__int64 a1,
float *a2,
float *a3,
float *a4,
float *a5)
{
float v6; // xmm6_4
float v7; // xmm6_4
__m128d v8; // xmm0
v6 = atan2f(*a3 - *a2, a3[1] - a2[1]);
v7 = v6 - atan2f(*a5 - *a4, a5[1] - a4[1]);
v8 = 0;
v8.m128d_f64[0] = (float)(v7 * 180.0) / 3.141592653589793;
return _mm_cvtpd_ps(v8);
}