//
// cocos2d::extension::CCControlPotentiometer::angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint from 0x10035b520 to 0x10035b59b (123 bytes)
//
// 0 xrefs:
//
// 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 __fastcall 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; // rdx
float *v6; // rcx
float *v7; // rsi
float *v8; // r8
float v10; // [rsp+4h] [rbp-Ch]
float v11; // [rsp+8h] [rbp-8h]
float v12; // [rsp+Ch] [rbp-4h]
v10 = *v8 - *v6;
v11 = v8[1] - v6[1];
v12 = atan2f(*v5 - *v7, v5[1] - v7[1]);
return (float)((float)(v12 - atan2f(v10, v11)) * 180.0) / 3.141592653589793;
}