//
// sub_1004E8AE0 from 0x1004e8ae0 to 0x1004e8b12 (50 bytes)
//
// 1 xrefs:
// > ??> @ 0x100956ee8
//
// 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 sub_1004E8AE0(__int64 a1, cocos2d::CCObject *a2)
{
GJSearchObject *v2; // rax
LevelBrowserLayer *v3; // rax
SetupSmartTemplateLayer::onClose((SetupSmartTemplateLayer *)(a1 - 336), a2);
v2 = GJSearchObject::create_2(SmartTemplates);
v2->m_searchIsOverlay = 1;
v3 = LevelBrowserLayer::create(v2);
LevelBrowserLayer::show(v3);
}