//
// sub_14040B020 from 0x14040b020 to 0x14040b0ea (202 bytes)
//
// 3 xrefs:
// > sub_140412A44 @ 0x140412a4b
// > ??> @ 0x1405dc2f0
// > ??> @ 0x1406d8b40
//
// 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_14040B020(_QWORD *Block, char a2)
{
*Block = &SetupAreaTriggerPopup::`vftable';
Block[40] = &SetupAreaTriggerPopup::`vftable';
Block[41] = &SetupAreaTriggerPopup::`vftable';
Block[42] = &SetupAreaTriggerPopup::`vftable';
Block[43] = &SetupAreaTriggerPopup::`vftable';
Block[44] = &SetupAreaTriggerPopup::`vftable';
Block[51] = &SetupAreaTriggerPopup::`vftable';
Block[54] = &SetupAreaTriggerPopup::`vftable';
Block[79] = &SetupAreaTriggerPopup::`vftable';
Block[80] = &SetupAreaTriggerPopup::`vftable';
Block[81] = &SetupAreaTriggerPopup::`vftable';
SetupAreaMoveTriggerPopup::dSetupAreaMoveTriggerPopup();
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}