//
// LevelSearchLayer::scene from 0x100059b10 to 0x100059b5c (76 bytes)
//
// 2 xrefs:
// > LevelSearchLayer::onSearchMode @ 0x10005b9fc
// > CreatorLayer::onOnlineLevels @ 0x1000dbe5c
//
// 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 10:57:47 +0000
//
__int64 __fastcall LevelSearchLayer::scene(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x0
v2 = cocos2d::CCScene::create();
*(_QWORD *)(AppDelegate::get(v2) + 24) = v2;
v3 = LevelSearchLayer::create(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 456LL))(v2, v3);
return v2;
}