//
// sub_10015EB10 from 0x10015eb10 to 0x10015eb98 (136 bytes)
//
// 21 xrefs:
// > GJTransformControl::updateButtons @ 0x10015a598
// > EditorUI::transformScaleXChanged @ 0x10015fd08
// > sub_10015FD0C @ 0x10015fd18
// > EditorUI::transformScaleYChanged @ 0x10015fd20
// > sub_10015FD24 @ 0x10015fd30
// > EditorUI::transformScaleXYChanged @ 0x10015fd3c
// > sub_10015FD40 @ 0x10015fd4c
// > EditorUI::transformSkewXChanged @ 0x10015fd54
// > sub_10015FD58 @ 0x10015fd64
// > EditorUI::transformSkewYChanged @ 0x10015fd6c
// > sub_10015FD70 @ 0x10015fd7c
// > EditorUI::transformRotationXChanged @ 0x10015fd84
// > sub_10015FD88 @ 0x10015fd94
// > EditorUI::transformRotationYChanged @ 0x10015fd9c
// > sub_10015FDA0 @ 0x10015fdac
// > EditorUI::transformRotationChanged @ 0x10015fdb8
// > sub_10015FDBC @ 0x10015fdc8
// > EditorUI::transformResetRotation @ 0x10015fde8
// > sub_10015FDEC @ 0x10015fe0c
// > EditorUI::transformRestoreRotation @ 0x10015fe28
// > sub_10015FE2C @ 0x10015fe48
//
// 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 10:59:45 +0000
//
__int64 __fastcall sub_10015EB10(__int64 a1, __n128 a2)
{
__int64 v3; // x0
__int64 result; // x0
__int64 v5; // x20
__int64 v6; // [xsp+8h] [xbp-18h] BYREF
v3 = *(_QWORD *)(a1 + 896);
if ( v3 )
{
result = sub_1002E757C(v3);
if ( (_DWORD)result )
{
v5 = *(_QWORD *)(a1 + 896);
if ( !v5 )
return result;
LABEL_7:
sub_1000262F4(&v6, (double *)(a1 + 768));
return sub_10015EB98(
a1,
v5,
&v6,
*(float *)(a1 + 504),
*(float *)(a1 + 508),
*(float *)(a1 + 512),
*(float *)(a1 + 516),
*(float *)(a1 + 520),
*(float *)(a1 + 524));
}
}
result = *(_QWORD *)(a1 + 1496);
if ( result )
{
result = sub_1002E73C8(a2);
v5 = result;
if ( result )
goto LABEL_7;
}
return result;
}