// // BrowseSmartTemplateLayer::createPrefab from 0x10007274c to 0x1000727dc (144 bytes) // // 2 xrefs: // > BrowseSmartTemplateLayer::onTemplateObject @ 0x1000722d0 // > BrowseSmartKeyLayer::createTemplateObjects @ 0x1000734e4 // // 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, __int64 a2, __int64 a3) { EditorUI *m_editorUI; // x20 __int64 v7; // x21 void *__p[2]; // [xsp+0h] [xbp-40h] BYREF __int64 v9; // [xsp+10h] [xbp-30h] m_editorUI = GameManager::sharedState()->m_levelEditorLayer->m_editorUI; v7 = *(_QWORD *)(a1 + 632); if ( *(char *)(a2 + 23) < 0 ) { sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8)); } else { *(_OWORD *)__p = *(_OWORD *)a2; v9 = *(_QWORD *)(a2 + 16); } EditorUI::createPrefab(m_editorUI, v7, __p, a3); if ( SHIBYTE(v9) < 0 ) operator delete(__p[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source