// // BrowseSmartTemplateLayer::createPrefab from 0x1004ea6b0 to 0x1004ea73c (140 bytes) // // 2 xrefs: // > BrowseSmartTemplateLayer::onTemplateObject @ 0x1004ea220 // > BrowseSmartKeyLayer::createTemplateObjects @ 0x1004eb85a // // 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 // void __fastcall BrowseSmartTemplateLayer::createPrefab(__int64 a1, std::string *a2, int a3, double a4) { EditorUI *m_editorUI; // r14 __int64 v6; // r15 std::string v7[2]; // [rsp+0h] [rbp-40h] BYREF m_editorUI = GameManager::sharedState()->m_levelEditorLayer->m_editorUI; v6 = *(_QWORD *)(a1 + 632); if ( (*(_BYTE *)&a2->__r_.__value_.__s.0 & 1) != 0 ) sub_100006B70(v7, a2->__r_.__value_.__l.__data_, a2->__r_.__value_.__l.__size_, a4); else v7[0] = *a2; EditorUI::createPrefab(m_editorUI, v6, v7, a3); if ( (*(_BYTE *)&v7[0].__r_.__value_.__s.0 & 1) != 0 ) operator delete(v7[0].__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source