//
// sub_14040AE40 from 0x14040ae40 to 0x14040af0a (202 bytes)
//
// 3 xrefs:
// > sub_140412A5C @ 0x140412a63
// > ??> @ 0x1405dd360
// > ??> @ 0x1406d8b1c
//
// 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_14040AE40(_QWORD *Block, char a2)
{
*Block = &SetupAreaFadeTriggerPopup::`vftable';
Block[40] = &SetupAreaFadeTriggerPopup::`vftable';
Block[41] = &SetupAreaFadeTriggerPopup::`vftable';
Block[42] = &SetupAreaFadeTriggerPopup::`vftable';
Block[43] = &SetupAreaFadeTriggerPopup::`vftable';
Block[44] = &SetupAreaFadeTriggerPopup::`vftable';
Block[51] = &SetupAreaFadeTriggerPopup::`vftable';
Block[54] = &SetupAreaFadeTriggerPopup::`vftable';
Block[79] = &SetupAreaFadeTriggerPopup::`vftable';
Block[80] = &SetupAreaFadeTriggerPopup::`vftable';
Block[81] = &SetupAreaFadeTriggerPopup::`vftable';
SetupAreaMoveTriggerPopup::dSetupAreaMoveTriggerPopup();
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}