//
// LevelInfoLayer::onAddToList from 0x1002af380 to 0x1002af3be (62 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::init @ 0x1002abfea
//
// This function is hookable on this platform (idp: pc, 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:28:00 +0000
//
__int64 __fastcall LevelInfoLayer::onAddToList(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // rax
v1 = GJSearchObject::create_2(102);
*(_BYTE *)(v1 + 430) = 1;
v2 = LevelBrowserLayer::create(v1);
*(_QWORD *)(v2 + 784) = a1 + 472;
return LevelBrowserLayer::show(v2);
}