//
// GJGarageLayer::onShop from 0x10036c080 to 0x10036c0d2 (82 bytes)
//
// 1 xrefs:
// > GJGarageLayer::init @ 0x100369ff4
//
// 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 __fastcall GJGarageLayer::onShop(GJGarageLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v2; // r14
cocos2d::CCScene *v3; // rax
cocos2d::CCTransitionMoveInT *v4; // rax
v2 = cocos2d::CCDirector::sharedDirector();
v3 = GJShopLayer::scene((ShopType)0);
v4 = cocos2d::CCTransitionMoveInT::create(0.5, v3);
if ( cocos2d::CCDirector::replaceScene(v2, v4) )
((void (__fastcall *)(GJGarageLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);
}