//
// cocos2d::extension::CCControlPotentiometer::angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint from 0xd15518 to 0xd15598 (128 bytes)
//
// 2 xrefs:
// > cocos2d::extension::CCControlPotentiometer::potentiometerMoved @ 0xd157a0
// > ??> @ 0x60e08
//
// This function is hookable on this platform (idp: arm, 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 13:07:05 +0000
//
float __fastcall cocos2d::extension::CCControlPotentiometer::angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint(
__int64 a1,
float *a2,
float *a3,
float *a4,
float *a5)
{
float v5; // s10
float v6; // s9
float v7; // s8
v5 = *a5 - *a4;
v6 = a5[1] - a4[1];
v7 = atan2f(*a3 - *a2, a3[1] - a2[1]);
return (float)((float)(v7 - atan2f(v5, v6)) * 180.0) / 3.14159265;
}