//
// MenuGameLayer::dMenuGameLayer from 0x14046f960 to 0x14046f9e5 (133 bytes)
//
// 3 xrefs:
// > sub_140471DB4 @ 0x140471dbb
// > ??> @ 0x1407b3d28
// > ??> @ 0x140928148
//
// 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:38 +0000
//
cocos2d::CCLayer *__fastcall MenuGameLayer::dMenuGameLayer(cocos2d::CCLayer *Block, char a2)
{
*(_QWORD *)Block = &MenuGameLayer::`vftable';
*((_QWORD *)Block + 40) = &MenuGameLayer::`vftable';
*((_QWORD *)Block + 41) = &MenuGameLayer::`vftable';
*((_QWORD *)Block + 42) = &MenuGameLayer::`vftable';
*((_QWORD *)Block + 43) = &MenuGameLayer::`vftable';
*((_QWORD *)Block + 44) = &MenuGameLayer::`vftable';
cocos2d::CCLayer::~CCLayer(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}