//
// LevelSelectLayer::onDownload from 0x100482b7c to 0x100482bd4 (88 bytes)
//
// 1 xrefs:
// > LevelSelectLayer::init @ 0x100482708
//
// 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 11:05:47 +0000
//
__int64 __fastcall LevelSelectLayer::onDownload(__int64 a1)
{
_QWORD *v2; // x20
__int64 v3; // x0
v2 = SongsLayer::create();
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 512LL))(a1);
(*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)v3 + 464LL))(v3, v2, 100);
return (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*v2 + 1328LL))(v2, 0);
}