//
// sub_1400C2980 from 0x1400c2980 to 0x1400c2a4a (202 bytes)
//
// 3 xrefs:
// > sub_1400C7EC0 @ 0x1400c7ec7
// > ??> @ 0x14054e4a0
// > ??> @ 0x1406c7fec
//
// 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_1400C2980(_QWORD *Block, char a2)
{
*Block = &CustomSongLayer::`vftable';
Block[40] = &CustomSongLayer::`vftable';
Block[41] = &CustomSongLayer::`vftable';
Block[42] = &CustomSongLayer::`vftable';
Block[43] = &CustomSongLayer::`vftable';
Block[44] = &CustomSongLayer::`vftable';
Block[51] = &CustomSongLayer::`vftable';
Block[54] = &CustomSongLayer::`vftable';
Block[79] = &CustomSongLayer::`vftable';
Block[80] = &CustomSongLayer::`vftable';
Block[81] = &CustomSongLayer::`vftable';
FLAlertLayer::dFLAlertLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}