// // SecretRewardsLayer::dialogClosed from 0x585770 to 0x5857fa (138 bytes) // // 1 xrefs: // > `non-virtual thunk to'SecretRewardsLayer::dialogClosed @ 0x585810 // // 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 SecretRewardsLayer::dialogClosed(SecretRewardsLayer *a1, DialogLayer *a2) { int v4; // r6 GameManager *v5; // r0 const char *v6; // r1 GameManager *v7; // r0 GameManager *v8; // r0 v4 = a2->getTag(a2); if ( v4 == 2 ) { v5 = GameManager::sharedState(); v6 = "20"; LABEL_5: GameManager::setUGV(v5, v6, 1); SecretRewardsLayer::showShop(a1, v4); return; } v4 = a2->getTag(a2); if ( v4 == 1 ) { v5 = GameManager::sharedState(); v6 = "11"; goto LABEL_5; } if ( a2->getTag(a2) == 3 ) { v7 = GameManager::sharedState(); GameManager::setUGV(v7, "34", 1); SecretRewardsLayer::showShop(a1, 4); } else if ( a2->getTag(a2) == 4 ) { v8 = GameManager::sharedState(); GameManager::setUGV(v8, "35", 1); SecretRewardsLayer::showShop(a1, 3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source