//
// EditorUI::angleChanged from 0xc01c40 to 0xc01d80 (320 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'EditorUI::angleChanged @ 0xc01d84
// > ??> @ 0xc9508
// > ??> @ 0x14372b0
//
// 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:03:49 +0000
//
__int64 __fastcall EditorUI::angleChanged(EditorUI *this, float a2, unsigned __int8 a3)
{
__int64 v5; // x0
float v7; // s9
__int64 v8; // x20
void (__fastcall *v9)(__int64, float); // x21
float v10; // s0
__int64 v12; // x21
void (__fastcall *v13)(__int64, float); // x22
float v14; // s0
__int64 v15; // x20
void (__fastcall *v16)(__int64, float); // x21
float v17; // s0
cocos2d::CCArray *v18; // x22
_BYTE v19[8]; // [xsp+50h] [xbp+50h] BYREF
v5 = *((_QWORD *)this + 187);
if ( v5 )
{
v7 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v5 + 384LL))(v5);
if ( v7 == (*(float (__fastcall **)(_QWORD))(**((_QWORD **)this + 187) + 400LL))(*((_QWORD *)this + 187)) )
{
v8 = *((_QWORD *)this + 187);
v9 = *(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 360LL);
v10 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v8 + 368LL))(v8);
v9(v8, v10 + a2);
}
else
{
v12 = *((_QWORD *)this + 187);
v13 = *(void (__fastcall **)(__int64, float))(*(_QWORD *)v12 + 376LL);
v14 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v12 + 384LL))(v12);
v13(v12, a2 + v14);
v15 = *((_QWORD *)this + 187);
v16 = *(void (__fastcall **)(__int64, float))(*(_QWORD *)v15 + 392LL);
v17 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v15 + 400LL))(v15);
v16(v15, a2 + v17);
}
}
else if ( (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)) )
{
v18 = *((cocos2d::CCArray **)this + 112);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, (EditorUI *)((char *)this + 768));
EditorUI::rotateObjects((__int64)this, v18, (cocos2d::CCPoint *)v19, a3, a2);
}
return _stack_chk_guard;
}