//
// cocos2d::extension::CCControlPotentiometer::angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint from 0x100346ab0 to 0x100346b2b (123 bytes)
//
// 0 xrefs:
//
// 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:28:45 +0000
//
float __fastcall cocos2d::extension::CCControlPotentiometer::angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint(
__int64 a1,
float *a2,
float *a3,
float *a4,
float *a5)
{
float v6; // [rsp+4h] [rbp-Ch]
float v7; // [rsp+8h] [rbp-8h]
float v8; // [rsp+Ch] [rbp-4h]
v6 = *a5 - *a4;
v7 = a5[1] - a4[1];
v8 = atan2f(*a3 - *a2, a3[1] - a2[1]);
return (float)((float)(v8 - atan2f(v6, v7)) * 180.0) / 3.141592653589793;
}