//
// sub_14041C9C0 from 0x14041c9c0 to 0x14041ca8a (202 bytes)
//
// 3 xrefs:
// > sub_14041E14C @ 0x14041e153
// > ??> @ 0x1405e2f80
// > ??> @ 0x1406d9398
//
// 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_14041C9C0(_QWORD *Block, char a2)
{
*Block = &SetupPlatformerEndPopup::`vftable';
Block[40] = &SetupPlatformerEndPopup::`vftable';
Block[41] = &SetupPlatformerEndPopup::`vftable';
Block[42] = &SetupPlatformerEndPopup::`vftable';
Block[43] = &SetupPlatformerEndPopup::`vftable';
Block[44] = &SetupPlatformerEndPopup::`vftable';
Block[51] = &SetupPlatformerEndPopup::`vftable';
Block[54] = &SetupPlatformerEndPopup::`vftable';
Block[79] = &SetupPlatformerEndPopup::`vftable';
Block[80] = &SetupPlatformerEndPopup::`vftable';
Block[81] = &SetupPlatformerEndPopup::`vftable';
SetupTriggerPopup::dSetupTriggerPopup(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}