//
// GameLevelManager::createSmartTemplate from 0x10054f030 to 0x10054f06a (58 bytes)
//
// 2 xrefs:
// > LevelBrowserLayer::onNew @ 0x100482f6b
// > LevelBrowserLayer::createNewSmartTemplate @ 0x10048741a
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:32:02 +0000
//
char *__fastcall GameLevelManager::createSmartTemplate(__int64 a1)
{
char *v1; // r14
v1 = GJSmartTemplate::create();
*((_DWORD *)v1 + 48) = GameLevelManager::getNextFreeTemplateID(a1);
sub_1007FF110(*(_QWORD *)(a1 + 1520), v1, 0);
return v1;
}