//
// LevelSelectLayer::onDownload from 0x100402298 to 0x1004022f0 (88 bytes)
//
// 1 xrefs:
// > LevelSelectLayer::init @ 0x100401ea4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall LevelSelectLayer::onDownload(LevelSelectLayer *a1, cocos2d::CCObject *a2)
{
SongsLayer *v3; // x20
__int64 v4; // x0
v3 = SongsLayer::create();
v4 = ((__int64 (__fastcall *)(LevelSelectLayer *))a1->getParent)(a1);
(*(void (__fastcall **)(__int64, SongsLayer *, __int64))(*(_QWORD *)v4 + 448LL))(v4, v3, 100);
((void (__fastcall *)(SongsLayer *, _QWORD))v3->showLayer)(v3, 0);
}