//
// sub_10003FF70 from 0x10003ff70 to 0x100040034 (196 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b07d8
//
// 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
//
void __fastcall sub_10003FF70(__int64 a1, unsigned __int8 a2, float a3, float a4, cocos2d::CCPoint a5)
{
EditorUI *v5; // rbx
bool v6; // zf
cocos2d::CCArray *v7; // r15
_BYTE v8[8]; // [rsp+8h] [rbp-38h] BYREF
float v9; // [rsp+10h] [rbp-30h]
float v10; // [rsp+14h] [rbp-2Ch]
v5 = (EditorUI *)(a1 - 432);
v6 = *(_QWORD *)(a1 + 880) == 0;
v10 = a4;
if ( v6 )
{
v9 = a3;
if ( (unsigned int)sub_100720070(*(_QWORD *)(a1 + 376)) )
{
v7 = *(cocos2d::CCArray **)(a1 + 376);
sub_10028CC60(v8);
EditorUI::scaleObjects(v5, v7, v9, v10, a5, (ObjectScaleType)v8, 0);
}
}
else
{
((void (__fastcall *)(__int64, _QWORD))v5->scaleXChanged)(a1 - 432, a2);
((void (__fastcall *)(EditorUI *, _QWORD, float))v5->scaleYChanged)(v5, a2, v10);
}
}