//
// SongSelectNode::FLAlert_Clicked from 0x9814fc to 0x98156c (112 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'SongSelectNode::FLAlert_Clicked @ 0x981570
// > ??> @ 0x9e9c8
// > ??> @ 0x1471330
//
// 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:57:51 +0000
//
GameManager *__fastcall SongSelectNode::FLAlert_Clicked(SongSelectNode *this, FLAlertLayer *a2, unsigned __int8 a3)
{
int v4; // w20
GameManager *result; // x0
unsigned __int8 v6; // w19
GameManager *v7; // x0
CustomSongDelegate *v8; // x1
v4 = a3;
result = (GameManager *)(*(__int64 (__fastcall **)(FLAlertLayer *))(*(_QWORD *)a2 + 64LL))(a2);
v6 = (unsigned __int8)result;
if ( (_DWORD)result == 1 )
{
if ( v4 )
{
v7 = (GameManager *)GameManager::sharedState(result);
GameManager::setGameVariable(v7, "0016", v6);
return (GameManager *)SongSelectNode::showCustomSongSelect(this, v8);
}
}
return result;
}