//
// MenuLayer::onGarage from 0x30a6fc to 0x30a734 (56 bytes)
//
// 1 xrefs:
// > MenuLayer::keyDown @ 0x30b5ae
//
// 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
//
void MenuLayer::onGarage(MenuLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v2; // r4
cocos2d::CCScene *v3; // r0
cocos2d::CCTransitionFade *v4; // r1
if ( !a1->m_showingTOS )
{
MenuLayer::willClose(a1);
GameManager::sharedState()->m_clickedGarage = 1;
v2 = cocos2d::CCDirector::sharedDirector();
v3 = GJGarageLayer::scene();
v4 = cocos2d::CCTransitionFade::create(0.5, v3);
cocos2d::CCDirector::replaceScene(v2, v4);
}
}