//
// LevelInfoLayer::showSongWarning from 0x1002c4140 to 0x1002c41f0 (176 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::onPlay @ 0x1002bfee4
//
// 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 LevelInfoLayer::showSongWarning(LevelInfoLayer *a1)
{
__int64 v1; // rbx
_QWORD v2[2]; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
__p = operator new(0xA0u);
v2[0] = 161;
v2[1] = 154;
strcpy(
(char *)__p,
"This level uses a custom song that has not been downloaded yet.\n"
"Do you want to play without music?\n"
"Download by using the bar below");
v1 = FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, "No Song", v2, "Cancel", "Play", 300.0);
if ( (v2[0] & 1) != 0 )
operator delete(__p);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 72LL))(v1, 9);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 1288LL))(v1);
}