//
// LevelInfoLayer::onAddToList from 0x14041e800 to 0x14041e846 (70 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::init @ 0x14041e499
// > ??> @ 0x140926720
//
// 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 11:32:08 +0000
//
__int64 __fastcall LevelInfoLayer::onAddToList(__int64 a1)
{
__int64 v2; // rax
cocos2d::CCObject *v3; // rax
__int64 v4; // rdx
v2 = GJSearchObject::create_2(102);
*(_BYTE *)(v2 + 462) = 1;
v3 = LevelBrowserLayer::create(v2);
v4 = a1 + 472;
if ( !a1 )
v4 = 0;
*((_QWORD *)v3 + 98) = v4;
return LevelBrowserLayer::show((__int64)v3);
}