//
// GameLevelManager::createSmartTemplate from 0x8010e0 to 0x801124 (68 bytes)
//
// 2 xrefs:
// > LevelBrowserLayer::createNewSmartTemplate @ 0x7f5d38
// > ??> @ 0xb6db8
//
// This function is hookable on this platform (idp: arm, 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:54:43 +0000
//
cocos2d::CCObject *__fastcall GameLevelManager::createSmartTemplate(cocos2d::CCArray **this)
{
cocos2d::CCObject *v2; // x19
v2 = (cocos2d::CCObject *)GJSmartTemplate::create((GJSmartTemplate *)this);
*((_DWORD *)v2 + 48) = GameLevelManager::getNextFreeTemplateID(this);
cocos2d::CCArray::insertObject(*(this + 190), v2, 0);
return v2;
}