//
// SecretRewardsLayer::showShop from 0x100389a6c to 0x100389adc (112 bytes)
//
// 2 xrefs:
// > SecretRewardsLayer::onShop @ 0x100385278
// > SecretRewardsLayer::dialogClosed @ 0x100389bb4
//
// 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 11:03:34 +0000
//
__int64 __fastcall SecretRewardsLayer::showShop(__int64 a1, __int64 a2)
{
__int64 v4; // x21
__int64 v5; // x0
_QWORD *v6; // x0
__int64 result; // x0
v4 = cocos2d::CCDirector::sharedDirector();
v5 = GJShopLayer::scene(a2);
v6 = cocos2d::CCTransitionMoveInT::create(v5, 0.5);
result = cocos2d::CCDirector::replaceScene(v4, v6);
if ( (_DWORD)result )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);
return result;
}