//
// EditorUI::angleChanged from 0x70e6d0 to 0x70e7c2 (242 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EditorUI::angleChanged @ 0x70e7cc
//
// 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 11:57:42 +0000
//
unsigned int __fastcall EditorUI::angleChanged(EditorUI *this, float a2, unsigned __int8 a3)
{
int v6; // r0
float v7; // s17
float v8; // r0
int *v9; // r5
int v10; // r3
void (__fastcall *v11)(int *, _DWORD); // r7
float v12; // r0
int v13; // r4
int (__fastcall *v14)(int, _DWORD); // r5
float v15; // r0
unsigned int result; // r0
int (__fastcall *v17)(int *, _DWORD); // r4
float v18; // r0
cocos2d::CCArray *v19; // r7
_BYTE v20[8]; // [sp+Ch] [bp-Ch] BYREF
v6 = *((_DWORD *)this + 249);
if ( v6 )
{
v7 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)v6 + 192))(v6));
v8 = (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 249) + 200))(*((_DWORD *)this + 249));
v9 = *((int **)this + 249);
v10 = *v9;
if ( v7 == v8 )
{
v17 = *(int (__fastcall **)(int *, _DWORD))(v10 + 180);
v18 = COERCE_FLOAT((*(int (__fastcall **)(int *))(v10 + 184))(v9));
return v17(v9, v18 + a2);
}
else
{
v11 = *(void (__fastcall **)(int *, _DWORD))(v10 + 188);
v12 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(v10 + 192))(*((_DWORD *)this + 249)));
v11(v9, v12 + a2);
v13 = *((_DWORD *)this + 249);
v14 = *(int (__fastcall **)(int, _DWORD))(*(_DWORD *)v13 + 196);
v15 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)v13 + 200))(v13));
return v14(v13, v15 + a2);
}
}
else
{
result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 167));
if ( result )
{
v19 = *((cocos2d::CCArray **)this + 167);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v20, (EditorUI *)((char *)this + 580));
return EditorUI::rotateObjects(this, v19, a2, (cocos2d::CCPoint *)v20, a3);
}
}
return result;
}