// // RewardUnlockLayer::step2 from 0x10021cdb0 to 0x10021ce59 (169 bytes) // // 1 xrefs: // > RewardUnlockLayer::init @ 0x10021c84c // // 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 RewardUnlockLayer::step2(RewardUnlockLayer *a1) { FMODAudioEngine *v1; // rax unsigned int v2; // r14d unsigned int v3; // eax int v4; // ecx int v5; // r8d int v6; // r9d cocos2d::CCAction *v7; // rax char v8; // [rsp+8h] [rbp-28h] BYREF _BYTE v9[23]; // [rsp+9h] [rbp-27h] BYREF v1 = FMODAudioEngine::sharedEngine(); v8 = 30; strcpy(v9, "chestOpen01.ogg"); FMODAudioEngine::playEffect_1(v1, &v8); if ( (v8 & 1) != 0 ) operator delete(*(void **)&v9[15]); GJChestSprite::switchToState(a1->m_chestSprite, Opening, 0); v2 = (unsigned int)cocos2d::CCDelayTime::create(0.30000001); v3 = (unsigned int)cocos2d::CCCallFunc::create(a1, (cocos2d::SEL_CallFunc)(unsigned __int64)RewardUnlockLayer::step3); v7 = (cocos2d::CCAction *)sub_1003B5760(v2, v3, 0, v4, v5, v6); cocos2d::CCNode::runAction(a1, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source