//
// GameLevelManager::createSmartTemplate from 0x4aa8a2 to 0x4aa8c4 (34 bytes)
//
// 1 xrefs:
// > LevelBrowserLayer::createNewSmartTemplate @ 0x4a4a44
//
// 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:49:58 +0000
//
cocos2d::CCObject *__fastcall GameLevelManager::createSmartTemplate(cocos2d::CCArray **this)
{
cocos2d::CCObject *v2; // r4
v2 = (cocos2d::CCObject *)GJSmartTemplate::create((GJSmartTemplate *)this);
*((_DWORD *)v2 + 30) = GameLevelManager::getNextFreeTemplateID(this);
cocos2d::CCArray::insertObject(*(this + 243), v2, 0);
return v2;
}