// // RewardsPage::onReward from 0x1403cd350 to 0x1403cd486 (310 bytes) // // 2 xrefs: // > RewardsPage::init @ 0x1403cceb2 // > @ 0x1406d7bb0 // // 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 // // Hidden C++ exception states: #wind=1 void RewardsPage::onReward(RewardsPage *a1, cocos2d::CCObject *a2) { float v2; // xmm3_4 int v5; // eax cocos2d::CCLabelBMFont *m_leftLabel; // rbx struct cocos2d::CCTintTo *v7; // rax cocos2d::ccColor3B *v8; // r8 RewardUnlockLayer *v9; // rax GameLevelManager *v10; // rbx int v11; // eax void *v12; // [rsp+38h] [rbp+10h] BYREF float v13; // [rsp+50h] [rbp+28h] v5 = a2->getTag(a2); if ( v5 == 1 ) { if ( !a1->m_leftOpen ) { m_leftLabel = a1->m_leftLabel; goto LABEL_7; } } else if ( v5 == 2 && !a1->m_rightOpen ) { m_leftLabel = a1->m_rightLabel; LABEL_7: if ( m_leftLabel ) { cocos2d::CCNode::stopAllActions(m_leftLabel); LOWORD(v12) = 19455; BYTE2(v12) = 0; m_leftLabel->setColor(&m_leftLabel->cocos2d::CCRGBAProtocol, (const cocos2d::ccColor3B *)&v12); v7 = cocos2d::CCTintTo::create(1.0, 0xFFu, 0xFFu, 0xFFu); cocos2d::CCNode::runAction((CCLightFlash *)m_leftLabel, (cocos2d::CCPoint)v7, v8, v2, v13); } return; } if ( !a1->m_openLayer ) { v9 = RewardUnlockLayer::create(v5, a1); a1->m_openLayer = v9; a1->addChild_1(a1, v9); v10 = (GameLevelManager *)qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v12 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280((__int64)v12); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v10 = (GameLevelManager *)qword_1406C2EC0; } v11 = a2->getTag(a2); GameLevelManager::getGJRewards(v10, v11); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source