//
// SecretRewardsLayer::showShop from 0x6caa68 to 0x6caaa0 (56 bytes)
//
// 2 xrefs:
// > SecretRewardsLayer::dialogClosed @ 0x6cab24
// > SecretRewardsLayer::onShop @ 0x6cd700
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:56:58 +0000
//
int __fastcall SecretRewardsLayer::showShop(SecretRewardsLayer *this, cocos2d::CCScene *a2)
{
cocos2d::CCDirector *v4; // r5
AppDelegate *v5; // r0
cocos2d::CCScene *v6; // r2
cocos2d::CCScene *v7; // r0
int result; // r0
v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(this);
v5 = GJShopLayer::scene(a2);
v7 = (cocos2d::CCScene *)cocos2d::CCTransitionMoveInT::create(
(cocos2d::CCTransitionMoveInT *)0x3F000000,
*(float *)&v5,
v6);
result = cocos2d::CCDirector::replaceScene(v4, v7);
if ( result )
return (*(int (__fastcall **)(SecretRewardsLayer *, _DWORD))(*(_DWORD *)this + 536))(this, 0);
return result;
}