//
// SongSelectNode::FLAlert_Clicked from 0x140168d60 to 0x140168de7 (135 bytes)
//
// 3 xrefs:
// > ??> @ 0x140742ef0
// > ??> @ 0x14091802c
// > ??> @ 0x140918038
//
// This function is hookable on this platform (idp: pc, 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 11:27:28 +0000
//
// Hidden C++ exception states: #wind=1
__int64 __fastcall SongSelectNode::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)
{
__int64 result; // rax
__int64 v6; // r8
__int64 v7; // rcx
void *v8; // [rsp+38h] [rbp+10h]
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
if ( (_DWORD)result == 1 && a3 )
{
v7 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v8 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager(v8);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v7 = qword_14090BFD0;
}
LOBYTE(v6) = 1;
GameManager::setGameVariable(v7, "0016", v6);
return SongSelectNode::showCustomSongSelect(a1 - 320);
}
return result;
}