//
// EditorUI::createObject from 0x100011ca0 to 0x100011d25 (133 bytes)
//
// 6 xrefs:
// > EditorUI::createEdgeForObject @ 0x1006f10ae
// > EditorUI::createOutlines @ 0x1006f185a
// > EditorUI::createOutlines @ 0x1006f1918
// > EditorUI::createRockBases @ 0x1006f2608
// > EditorUI::createRockBases @ 0x1006f272a
// > EditorUI::createExtraObject @ 0x1006f5539
//
// 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:18:52 +0000
//
__int64 __fastcall EditorUI::createObject(__int64 a1, unsigned int a2, __int64 a3)
{
__int64 v3; // rax
__int64 v4; // r14
__int64 Object; // rax
__int64 v6; // rbx
_QWORD v8[4]; // [rsp+0h] [rbp-20h] BYREF
v8[0] = v3;
v4 = *(_QWORD *)(a1 + 1440);
sub_1002782D0(v8, a3);
Object = LevelEditorLayer::createObject(v4, a2, v8, 0);
v6 = Object;
if ( Object && (*(float *)(Object + 1312) != 1.0 || *(float *)(Object + 1316) != 1.0) )
{
GameObject::updateCustomScaleX(Object);
GameObject::updateCustomScaleY(v6, *(float *)(v6 + 1316));
}
return v6;
}