//
// sub_1400C2A50 from 0x1400c2a50 to 0x1400c2af0 (160 bytes)
//
// 3 xrefs:
// > sub_1400C7ECC @ 0x1400c7ed3
// > ??> @ 0x14054e070
// > ??> @ 0x1406c7ff8
//
// 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
//
_QWORD *__fastcall sub_1400C2A50(_QWORD *Block, char a2)
{
*Block = &SongOptionsLayer::`vftable';
Block[40] = &SongOptionsLayer::`vftable';
Block[41] = &SongOptionsLayer::`vftable';
Block[42] = &SongOptionsLayer::`vftable';
Block[43] = &SongOptionsLayer::`vftable';
Block[44] = &SongOptionsLayer::`vftable';
Block[51] = &SongOptionsLayer::`vftable';
Block[54] = &SongOptionsLayer::`vftable';
FLAlertLayer::dFLAlertLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}