// // SecretRewardsLayer::onShop from 0x6cd67c to 0x6cd706 (138 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:57:00 +0000 // GameManager *__fastcall SecretRewardsLayer::onShop(SecretRewardsLayer *this, cocos2d::CCObject *a2) { GameManager *result; // r0 cocos2d::CCScene *v4; // r5 GameManager *v5; // r0 GameManager *v6; // r0 GameManager *v7; // r0 GameManager *v8; // r0 result = (GameManager *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); v4 = result; switch ( (unsigned int)result ) { case 1u: v5 = (GameManager *)GameManager::sharedState(result); if ( GameManager::getUGV(v5, "11") ) goto LABEL_10; result = (GameManager *)SecretRewardsLayer::showDialog01(this); break; case 2u: v6 = (GameManager *)GameManager::sharedState(result); if ( GameManager::getUGV(v6, "20") ) goto LABEL_10; result = (GameManager *)SecretRewardsLayer::showDialog03(this); break; case 3u: v7 = (GameManager *)GameManager::sharedState(result); if ( GameManager::getUGV(v7, "35") ) goto LABEL_10; result = (GameManager *)SecretRewardsLayer::showDialogMechanic(this); break; case 4u: v8 = (GameManager *)GameManager::sharedState(result); if ( GameManager::getUGV(v8, "34") ) LABEL_10: result = (GameManager *)SecretRewardsLayer::showShop(this, v4); else result = (GameManager *)SecretRewardsLayer::showDialogDiamond(this); break; default: return result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source