//
// BrowseSmartTemplateLayer::createPrefab from 0x673d74 to 0x673dd6 (98 bytes)
//
// 2 xrefs:
// > BrowseSmartKeyLayer::createTemplateObjects @ 0x674170
// > BrowseSmartTemplateLayer::onTemplateObject @ 0x67534a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:55:54 +0000
//
int __fastcall BrowseSmartTemplateLayer::createPrefab(GameManager *a1, int a2, int a3)
{
int v6; // r0
int v7; // r7
int v8; // r8
int v10[3]; // [sp+0h] [bp-14h] BYREF
v6 = GameManager::sharedState(a1);
v7 = *((_DWORD *)a1 + 130);
v8 = *(_DWORD *)(*(_DWORD *)(v6 + 408) + 11856);
std::string::basic_string(v10, a2);
EditorUI::createPrefab(v8, v7, (unsigned __int8 *)v10, a3);
return std::string::~string((int)v10);
}