// // EditorUI::createObject from 0x10003a4d0 to 0x10003a555 (133 bytes) // // 6 xrefs: // > EditorUI::createEdgeForObject @ 0x100614621 // > EditorUI::createOutlines @ 0x100614dca // > EditorUI::createOutlines @ 0x100614e88 // > EditorUI::createRockBases @ 0x100615ba7 // > EditorUI::createRockBases @ 0x100615cc4 // > EditorUI::createExtraObject @ 0x100618ae1 // // 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 // GameObject *__fastcall EditorUI::createObject(EditorUI *a1, int a2, cocos2d::CCPoint a3) { __int64 v3; // rax LevelEditorLayer *m_editorLayer; // r14 cocos2d::CCPoint v5; // xmm0_8 GameObject *Object; // rax GameObject *v7; // rbx float m_pixelScaleX; // xmm0_4 _QWORD v10[4]; // [rsp+0h] [rbp-20h] BYREF v10[0] = v3; m_editorLayer = a1->m_editorLayer; *(double *)&v5 = sub_10028CC60(v10); Object = LevelEditorLayer::createObject(m_editorLayer, a2, v5, (bool)v10); v7 = Object; if ( Object ) { m_pixelScaleX = Object->m_pixelScaleX; if ( m_pixelScaleX != 1.0 || Object->m_pixelScaleY != 1.0 ) { GameObject::updateCustomScaleX(Object, m_pixelScaleX); GameObject::updateCustomScaleY(v7, v7->m_pixelScaleY); } } return v7; }