//
// GJGarageLayer::GJGarageLayer from 0x100309420 to 0x1003094bc (156 bytes)
//
// 1 xrefs:
// > GJGarageLayer::node @ 0x100301aec
//
// 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
//
GJGarageLayer *__fastcall GJGarageLayer::GJGarageLayer(GJGarageLayer *a1)
{
GJGarageLayer *result; // x0
result = (GJGarageLayer *)cocos2d::CCLayer::CCLayer((__int64)a1);
result->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJGarageLayer_vtbl *)off_1007EBBB0;
result->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1007EC080;
result->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1007EC0F0;
result->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1007EC108;
result->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_1007EC128;
result->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1007EC148;
result->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)off_1007EC170;
result->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_1007EC1B8;
result->GameRateDelegate::__vftable = (GameRateDelegate_vtbl *)&off_1007EC1D0;
result->ListButtonBarDelegate::__vftable = (ListButtonBarDelegate_vtbl *)&off_1007EC1E8;
result->DialogDelegate::__vftable = (DialogDelegate_vtbl *)&off_1007EC200;
result->CharacterColorDelegate::__vftable = (CharacterColorDelegate_vtbl *)off_1007EC218;
result->RewardedVideoDelegate::__vftable = (RewardedVideoDelegate_vtbl *)off_1007EC238;
result->m_playerObject = nullptr;
*(_OWORD *)&result->m_iconPages.__tree_.__pair1_.__value_.__left_ = 0u;
*(_OWORD *)&result->m_unknown = 0u;
result->m_hasClosed = 0;
result->m_iconPages.__tree_.__begin_node_ = &result->m_iconPages.__tree_.__pair1_.__value_;
result->m_iconSelection = nullptr;
*(_OWORD *)&result->m_cursor2 = 0u;
*(_QWORD *)&result->m_iconID = 0;
result->m_videoPlaying = 0;
return result;
}