//
// GJGarageLayer::onShop from 0x8b9670 to 0x8b96cc (92 bytes)
//
// 3 xrefs:
// > ??> @ 0xf9178
// > GJGarageLayer::init @ 0x8c21e8
// > ??> @ 0x1547918
//
// This function is hookable on this platform (idp: arm, 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 12:56:26 +0000
//
__int64 __fastcall GJGarageLayer::onShop(GJGarageLayer *this, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v3; // x19
cocos2d::CCTransitionMoveInT *v4; // x0
cocos2d::CCScene *v5; // x1
cocos2d::CCScene *v6; // x0
__int64 result; // x0
v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(this);
v4 = (cocos2d::CCTransitionMoveInT *)GJShopLayer::scene(0);
v6 = (cocos2d::CCScene *)cocos2d::CCTransitionMoveInT::create(v4, 0.5, v5);
result = (unsigned __int8)cocos2d::CCDirector::replaceScene(v3, v6);
if ( (_BYTE)result )
return (*(__int64 (__fastcall **)(GJGarageLayer *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
return result;
}