// // CurrencyRewardLayer::create from 0x4d36d4 to 0x4d3856 (386 bytes) // // 7 xrefs: // > PlayLayer::showNewBest @ 0x310816 // > GJGarageLayer::dialogClosed @ 0x404bb8 // > EndLevelLayer::playEndEffect @ 0x42890e // > ChallengesPage::claimItem @ 0x4cd126 // > DailyLevelPage::claimLevelReward @ 0x4d576c // > RewardUnlockLayer::playRewardEffect @ 0x4e945a // > LevelListLayer::onClaimReward @ 0x58ecba // // 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 // CurrencyRewardLayer *CurrencyRewardLayer::create( int a1, int a2, int a3, int a4, CurrencySpriteType a5, int a6, CurrencySpriteType a7, int a8, cocos2d::CCPoint a9, CurrencyRewardType a10, float a11, float a12) { CurrencyRewardLayer *v16; // r4 CurrencyRewardLayer_vtbl *v17; // r3 int *v18; // r0 cocos2d::CCPoint v20; // [sp+14h] [bp-28h] float v21; // [sp+24h] [bp-18h] cocos2d::CCPoint v22; // [sp+2Ch] [bp-10h] BYREF v16 = (CurrencyRewardLayer *)operator new(0x1E0u); cocos2d::CCLayer::CCLayer(v16); v16->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CurrencyRewardLayer_vtbl *)&off_A76338; v16->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A76578; v16->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A765B0; v16->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A765BC; v16->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A765CC; v16->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A765DC; v16->m_delegate = nullptr; v16->m_objects = nullptr; v16->m_orbsLabel = nullptr; v16->m_starsLabel = nullptr; v16->m_diamondsLabel = nullptr; v16->m_keysLabel = nullptr; v16->m_shardsLabel = nullptr; v16->m_orbsSprite = nullptr; v16->m_starsSprite = nullptr; v16->m_diamondsSprite = nullptr; v16->m_keysSprite = nullptr; v16->m_shardsSprite = nullptr; v16->m_currencyBatchNode = nullptr; v16->m_orbBatchNode = nullptr; v16->m_orbs = 0; v16->m_stars = 0; v16->m_moons = 0; v16->m_diamonds = 0; v16->m_keys = 0; v16->m_shards = 0; v16->m_elapsed = 0.0; v16->m_unknown = 0.0; v16->m_time = 1.0; cocos2d::CCPoint::CCPoint(&v16->m_orbsPosition); cocos2d::CCPoint::CCPoint(&v16->m_starsPosition); cocos2d::CCPoint::CCPoint(&v16->m_moonsPosition); cocos2d::CCPoint::CCPoint(&v16->m_diamondsPosition); cocos2d::CCPoint::CCPoint(&v16->m_keysPosition); cocos2d::CCPoint::CCPoint(&v16->m_shardsPosition); v16->m_particlesAdded = 0; v16->m_objectsAdded = 0; v16->m_mainNode = nullptr; v16->m_rewardCount = 0; v16->m_rewardType = 0; cocos2d::CCPoint::CCPoint(&v22, (const cocos2d::CCPoint *)LODWORD(a9.x)); LODWORD(v20.x) = &v22; v20.y = a9.y; if ( CurrencyRewardLayer::init(v16, a1, a2, a3, a4, a5, a6, a7, a8, v20, a10, a11, v21) ) { cocos2d::CCObject::autorelease(v16); } else { v17 = v16->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v18 = (int *)v16; v16 = nullptr; v17->~CurrencyRewardLayer_0((CurrencyRewardLayer *)v18); } return v16; }
GD Web Decomp Icon

GD Web Decomp

Raw Source