//
// SelectArtLayer::dSelectArtLayer from 0x140457750 to 0x140457827 (215 bytes)
//
// 3 xrefs:
// > sub_14045FD48 @ 0x14045fd4f
// > ??> @ 0x140797058
// > ??> @ 0x140927b90
//
// 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:32:29 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *__fastcall SelectArtLayer::dSelectArtLayer(_QWORD *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
cocos2d::CCObject *v5; // rcx
*Block = &SelectArtLayer::`vftable';
Block[40] = &SelectArtLayer::`vftable';
Block[41] = &SelectArtLayer::`vftable';
Block[42] = &SelectArtLayer::`vftable';
Block[43] = &SelectArtLayer::`vftable';
Block[44] = &SelectArtLayer::`vftable';
Block[51] = &SelectArtLayer::`vftable';
Block[54] = &SelectArtLayer::`vftable';
Block[68] = &SelectArtLayer::`vftable';
v4 = (cocos2d::CCObject *)Block[83];
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = (cocos2d::CCObject *)Block[84];
if ( v5 )
cocos2d::CCObject::release(v5);
FLAlertLayer::dFLAlertLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}