//
// cocos2d::extension::CCControlPotentiometer::angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint from 0x5a7188 to 0x5a721e (150 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCControlPotentiometer::potentiometerMoved @ 0x5a7348
//
// 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
//
float cocos2d::extension::CCControlPotentiometer::angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint(
cocos2d::extension::CCControlPotentiometer *a1,
cocos2d::CCPoint a2,
cocos2d::CCPoint a3,
cocos2d::CCPoint a4,
cocos2d::CCPoint a5)
{
float v5; // s19
float v6; // s18
float v7; // s16
float v8; // s15
v5 = *(float *)LODWORD(a3.y) - *(float *)LODWORD(a3.x);
v6 = *(float *)(LODWORD(a3.y) + 4) - *(float *)(LODWORD(a3.x) + 4);
v7 = atan2(
(float)(*(float *)LODWORD(a2.y) - *(float *)LODWORD(a2.x)),
(float)(*(float *)(LODWORD(a2.y) + 4) - *(float *)(LODWORD(a2.x) + 4)));
v8 = atan2(v5, v6);
return (float)((float)(v7 - v8) * 180.0) / 3.14159265;
}