//
// TOSPopup::dTOSPopup from 0x140399bc0 to 0x140399c6e (174 bytes)
//
// 3 xrefs:
// > sub_1403AC4C8 @ 0x1403ac4cf
// > ??> @ 0x14077b980
// > ??> @ 0x140923258
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:31:14 +0000
//
_QWORD *__fastcall TOSPopup::dTOSPopup(_QWORD *Block, char a2)
{
*Block = &TOSPopup::`vftable';
Block[40] = &TOSPopup::`vftable';
Block[41] = &TOSPopup::`vftable';
Block[42] = &TOSPopup::`vftable';
Block[43] = &TOSPopup::`vftable';
Block[44] = &TOSPopup::`vftable';
Block[51] = &TOSPopup::`vftable';
Block[54] = &TOSPopup::`vftable';
Block[68] = &TOSPopup::`vftable';
FLAlertLayer::dFLAlertLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}