// // EditorUI::createObject from 0x688ea8 to 0x688f64 (188 bytes) // // 15 xrefs: // > EditorUI::processSmartObjectsFromType @ 0x68a334 // > EditorUI::processSmartObjectsFromType @ 0x68a4cc // > EditorUI::addObjectsToSmartTemplate @ 0x6b43c4 // > EditorUI::createLoop @ 0x6b6990 // > EditorUI::createLoop @ 0x6b6af4 // > EditorUI::createNewKeyframeAnim @ 0x6bf168 // > EditorUI::onCreateObject @ 0x6bfe68 // > EditorUI::createPrefab @ 0x6c07b4 // > EditorUI::createEdgeForObject @ 0x9cc18c // > EditorUI::createOutlines @ 0x9cca34 // > EditorUI::createOutlines @ 0x9ccb08 // > EditorUI::createRockBases @ 0x9cd3f4 // > EditorUI::createRockBases @ 0x9cd518 // > EditorUI::createExtraObject @ 0x9cdbcc // > @ 0x37ea8 // // 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 *EditorUI::createObject(EditorUI *a1, int a2, cocos2d::CCPoint a3) { const cocos2d::CCPoint *v3; // x2 LevelEditorLayer *m_editorLayer; // x22 GameObject *result; // x0 GameObject *v7; // x19 float m_pixelScaleX; // s0 cocos2d::CCPoint v9; // [xsp+30h] [xbp+30h] BYREF cocos2d::CCPoint v10; // 0:s0.4,4:s1.4 m_editorLayer = a1->m_editorLayer; cocos2d::CCPoint::CCPoint(&v9, v3); result = LevelEditorLayer::createObject(m_editorLayer, a2, v10, (bool)&v9); v7 = result; if ( !result ) return nullptr; m_pixelScaleX = result->m_pixelScaleX; if ( m_pixelScaleX != 1.0 || result->m_pixelScaleY != 1.0 ) { GameObject::updateCustomScaleX(result, m_pixelScaleX); GameObject::updateCustomScaleY(v7, v7->m_pixelScaleY); return v7; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source