//
// SongSelectNode::FLAlert_Clicked from 0x57cd8c to 0x57cdbc (48 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SongSelectNode::FLAlert_Clicked @ 0x57cdc4
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:50 +0000
//
int __fastcall SongSelectNode::FLAlert_Clicked(SongSelectNode *this, FLAlertLayer *a2, int a3)
{
int result; // r0
GameManager *v6; // r0
CustomSongDelegate *v7; // r1
result = (*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2);
if ( result == 1 )
{
if ( a3 )
{
v6 = (GameManager *)GameManager::sharedState((GameManager *)((char *)&dword_0 + 1));
GameManager::setGameVariable(v6, "0016", (_BYTE *)&dword_0 + 1);
return SongSelectNode::showCustomSongSelect(this, v7);
}
}
return result;
}