//
// sub_1400963C0 from 0x1400963c0 to 0x140096460 (160 bytes)
//
// 3 xrefs:
// > sub_1400983A4 @ 0x1400983ab
// > ??> @ 0x140541158
// > ??> @ 0x1406c7254
//
// 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_1400963C0(_QWORD *Block, char a2)
{
*Block = &HSVWidgetPopup::`vftable';
Block[40] = &HSVWidgetPopup::`vftable';
Block[41] = &HSVWidgetPopup::`vftable';
Block[42] = &HSVWidgetPopup::`vftable';
Block[43] = &HSVWidgetPopup::`vftable';
Block[44] = &HSVWidgetPopup::`vftable';
Block[51] = &HSVWidgetPopup::`vftable';
Block[54] = &HSVWidgetPopup::`vftable';
FLAlertLayer::dFLAlertLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}