//
// LevelBrowserLayer::create from 0x7fb020 to 0x7fb1ac (396 bytes)
//
// 5 xrefs:
// > LevelInfoLayer::onAddToList @ 0x7e4f14
// > LevelBrowserLayer::scene @ 0x7fb1d0
// > SetupSmartBlockLayer::onSelectTemplate @ 0xb14384
// > SetupSmartTemplateLayer::onBack @ 0xb17bf4
// > ??> @ 0x4dff8
//
// 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:41 +0000
//
__int64 __fastcall LevelBrowserLayer::create(LevelBrowserLayer *this, GJSearchObject *a2)
{
__int64 v3; // x19
v3 = operator new(0x348u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v3);
*(_BYTE *)(v3 + 592) = 0;
*(_QWORD *)v3 = &off_143E390;
*(_QWORD *)(v3 + 320) = off_143E908;
*(_QWORD *)(v3 + 328) = &off_143E978;
*(_QWORD *)(v3 + 336) = off_143E990;
*(_QWORD *)(v3 + 344) = off_143E9B0;
*(_QWORD *)(v3 + 352) = off_143E9D8;
*(_QWORD *)(v3 + 408) = &off_143EA08;
*(_QWORD *)(v3 + 432) = &off_143EA88;
*(_QWORD *)(v3 + 544) = &off_143EAA8;
*(_QWORD *)(v3 + 552) = &off_143EAE0;
*(_QWORD *)(v3 + 560) = &off_143EAF8;
*(_QWORD *)(v3 + 568) = &off_143EB10;
*(_QWORD *)(v3 + 576) = &off_143EB28;
*(_QWORD *)(v3 + 584) = &off_143EB80;
*(_QWORD *)(v3 + 600) = 0;
*(_QWORD *)(v3 + 608) = 0;
*(_QWORD *)(v3 + 616) = 0;
*(_QWORD *)(v3 + 624) = 0;
*(_QWORD *)(v3 + 632) = 0;
*(_QWORD *)(v3 + 640) = 0;
*(_QWORD *)(v3 + 648) = 0;
*(_QWORD *)(v3 + 656) = 0;
*(_QWORD *)(v3 + 664) = 0;
*(_QWORD *)(v3 + 672) = 0;
*(_QWORD *)(v3 + 680) = 0;
*(_QWORD *)(v3 + 688) = 0;
*(_QWORD *)(v3 + 696) = 0;
*(_QWORD *)(v3 + 704) = 0;
*(_QWORD *)(v3 + 712) = 0;
*(_DWORD *)(v3 + 720) = 0;
*(_DWORD *)(v3 + 724) = 0;
*(_DWORD *)(v3 + 728) = 0;
*(_QWORD *)(v3 + 736) = 0;
*(_DWORD *)(v3 + 744) = 0;
*(_BYTE *)(v3 + 748) = 0;
*(_QWORD *)(v3 + 752) = 0;
*(_DWORD *)(v3 + 760) = 0;
*(_BYTE *)(v3 + 764) = 0;
*(_DWORD *)(v3 + 768) = 0;
*(_QWORD *)(v3 + 784) = 0;
*(_BYTE *)(v3 + 792) = 0;
*(_QWORD *)(v3 + 800) = 0;
*(_QWORD *)(v3 + 808) = 0;
*(_QWORD *)(v3 + 816) = 0;
*(_QWORD *)(v3 + 824) = 0;
*(_QWORD *)(v3 + 832) = 0;
*(_DWORD *)(v3 + 772) = 0;
*(_DWORD *)(v3 + 776) = 0;
if ( (unsigned __int8)LevelBrowserLayer::init((LevelBrowserLayer *)v3, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
return v3;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 16LL))(v3);
return 0;
}
}