//
// MenuGameLayer::MenuGameLayer from 0x10039b9ac to 0x10039ba20 (116 bytes)
//
// 1 xrefs:
// > MenuGameLayer::create @ 0x10039a520
//
// 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
//
MenuGameLayer *__fastcall MenuGameLayer::MenuGameLayer(MenuGameLayer *a1)
{
__int64 v2; // x0
v2 = cocos2d::CCLayer::CCLayer((__int64)a1);
*(_QWORD *)v2 = &off_10080B130;
*(_QWORD *)(v2 + 320) = off_10080B5B0;
*(_QWORD *)(v2 + 328) = &off_10080B620;
*(_QWORD *)(v2 + 336) = off_10080B638;
*(_QWORD *)(v2 + 344) = &off_10080B658;
*(_QWORD *)(v2 + 352) = off_10080B678;
*(_BYTE *)(v2 + 404) = 0;
*(_DWORD *)(v2 + 408) = 0;
*(_BYTE *)(v2 + 412) = 0;
*(_DWORD *)(v2 + 416) = 0;
sub_1000229B0((_QWORD *)(v2 + 420));
a1->m_playerObject = nullptr;
a1->m_backgroundSprite = nullptr;
a1->m_backgroundWrapPosition = 0.0;
a1->m_groundLayer = nullptr;
return a1;
}