//
// sub_100613450 from 0x100613450 to 0x100613514 (196 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ab5318
//
// This function is hookable on this platform (idp: pc, 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 12:34:35 +0000
//
__int64 __fastcall sub_100613450(_QWORD *a1, unsigned __int8 a2, float a3, float a4)
{
__int64 v4; // rbx
bool v5; // zf
__int64 result; // rax
__int64 v7; // r15
__int64 v8; // [rsp+8h] [rbp-38h] BYREF
float v9; // [rsp+10h] [rbp-30h]
float v10; // [rsp+14h] [rbp-2Ch]
v4 = (__int64)(a1 - 54);
v5 = a1[133] == 0;
v10 = a4;
if ( v5 )
{
v9 = a3;
result = sub_1007FEF90(a1[58]);
if ( (_DWORD)result )
{
v7 = a1[58];
sub_1002782D0(&v8, a1 + 42);
return EditorUI::scaleObjects(v4, v7, (float *)&v8, 0, a2, v9, v10);
}
}
else
{
(*(void (__fastcall **)(_QWORD *, _QWORD))(*(_QWORD *)v4 + 1384LL))(a1 - 54, a2);
return (*(__int64 (__fastcall **)(__int64, _QWORD, float))(*(_QWORD *)v4 + 1392LL))(v4, a2, v10);
}
return result;
}