//
// LevelSelectLayer::onDownload from 0x8c3ae4 to 0x8c3b40 (92 bytes)
//
// 3 xrefs:
// > ??> @ 0x77aa0
// > LevelSelectLayer::init @ 0x8c558c
// > ??> @ 0x15430a8
//
// 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:56:32 +0000
//
__int64 __fastcall LevelSelectLayer::onDownload(LevelSelectLayer *this, cocos2d::CCObject *a2)
{
__int64 v3; // x19
__int64 v4; // x0
v3 = SongsLayer::create(this);
v4 = (*(__int64 (__fastcall **)(LevelSelectLayer *))(*(_QWORD *)this + 512LL))(this);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v4 + 464LL))(v4, v3, 100);
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 1328LL))(v3, 0);
}