//
// RewardUnlockLayer::step2 from 0x6188a4 to 0x618934 (144 bytes)
//
// 0 xrefs:
//
// 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:54:57 +0000
//
int __fastcall RewardUnlockLayer::step2(RewardUnlockLayer *this)
{
FMODAudioEngine *v2; // r7
float v3; // r1
cocos2d::CCSequence *v4; // r7
cocos2d::CCFiniteTimeAction *v5; // r0
int v6; // r3
cocos2d::CCAction *v7; // r0
int v9[3]; // [sp+8h] [bp-14h] BYREF
memset(v9, 0, sizeof(v9));
v2 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(this);
std::string::__init(v9, "chestOpen01.ogg", 0xFu);
FMODAudioEngine::playEffect(v2, (int)v9);
std::string::~string((int)v9);
GJChestSprite::switchToState(*((_DWORD **)this + 133), 3, 0);
v4 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)0x3E99999A, v3);
v5 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, RewardUnlockLayer::step3, 0);
v7 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v4, v5, 0, v6, RewardUnlockLayer::step3, 0);
return cocos2d::CCNode::runAction(this, v7);
}