//
// cocos2d::extension::CCControlPotentiometer::angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint from 0x7ace98 to 0x7acf16 (126 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCControlPotentiometer::potentiometerMoved @ 0x7ad040
//
// 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:03 +0000
//
int __fastcall cocos2d::extension::CCControlPotentiometer::angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint(
int a1,
float *a2,
float *a3,
float *a4,
float *a5)
{
float v5; // s18
float v6; // s16
float v7; // s17
float v8; // r0
float v9; // s15
v5 = *a5 - *a4;
v6 = a5[1];
v7 = a4[1];
v8 = atan2f(*a3 - *a2, a3[1] - a2[1]);
v9 = (float)((float)(v8 - atan2f(v5, v6 - v7)) * 180.0) / 3.14159265;
return LODWORD(v9);
}