// // EditorUI::createObject from 0x1003ec6e8 to 0x1003ec76c (132 bytes) // // 14 xrefs: // > EditorUI::createEdgeForObject @ 0x100078828 // > EditorUI::createOutlines @ 0x100078de8 // > EditorUI::createOutlines @ 0x100078eac // > EditorUI::createRockBases @ 0x1000799dc // > EditorUI::createRockBases @ 0x100079af4 // > EditorUI::createExtraObject @ 0x10007c0b4 // > EditorUI::onCreateObject @ 0x1003eb538 // > EditorUI::addObjectsToSmartTemplate @ 0x1003f135c // > EditorUI::createPrefab @ 0x1003f243c // > EditorUI::processSmartObjectsFromType @ 0x1003f2a40 // > EditorUI::processSmartObjectsFromType @ 0x1003f2b28 // > EditorUI::createNewKeyframeAnim @ 0x1003f35e8 // > EditorUI::createLoop @ 0x1003f38e4 // > EditorUI::createLoop @ 0x1003f3adc // // 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; // x2 LevelEditorLayer *m_editorLayer; // x20 GameObject *Object; // x0 GameObject *v7; // x19 float m_pixelScaleX; // s0 __int64 v10; // [xsp+8h] [xbp-18h] BYREF cocos2d::CCPoint v11; // 0:s0.4,4:s1.4 m_editorLayer = a1->m_editorLayer; v11.x = sub_1000229B8(&v10, v3); Object = LevelEditorLayer::createObject(m_editorLayer, a2, v11, (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; }