//
// LevelSearchLayer::scene from 0x1000512e4 to 0x100051330 (76 bytes)
//
// 2 xrefs:
// > LevelSearchLayer::onSearchMode @ 0x100053184
// > CreatorLayer::onOnlineLevels @ 0x1000b6330
//
// 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
//
cocos2d::CCScene *__fastcall LevelSearchLayer::scene(int a1)
{
char *v2; // x20
LevelSearchLayer *v3; // x0
v2 = (char *)cocos2d::CCScene::create();
AppDelegate::get()->m_resourceRootPath.m_data.m_long.longStorage = v2;
v3 = LevelSearchLayer::create(a1);
(*(void (__fastcall **)(char *, LevelSearchLayer *))(*(_QWORD *)v2 + 440LL))(v2, v3);
return (cocos2d::CCScene *)v2;
}