//
// SelectPremadeLayer::dSelectPremadeLayer from 0x140599330 to 0x1405993de (174 bytes)
//
// 3 xrefs:
// > sub_1405A0304 @ 0x1405a030b
// > ??> @ 0x1407e7348
// > ??> @ 0x14092d278
//
// 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:34:34 +0000
//
_QWORD *__fastcall SelectPremadeLayer::dSelectPremadeLayer(_QWORD *Block, char a2)
{
*Block = &SelectPremadeLayer::`vftable';
Block[40] = &SelectPremadeLayer::`vftable';
Block[41] = &SelectPremadeLayer::`vftable';
Block[42] = &SelectPremadeLayer::`vftable';
Block[43] = &SelectPremadeLayer::`vftable';
Block[44] = &SelectPremadeLayer::`vftable';
Block[51] = &SelectPremadeLayer::`vftable';
Block[54] = &SelectPremadeLayer::`vftable';
Block[68] = &SelectPremadeLayer::`vftable';
FLAlertLayer::dFLAlertLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}