// // SecretRewardsLayer::dialogClosed from 0x1002ee954 to 0x1002eea40 (236 bytes) // // 2 xrefs: // > sub_1002EEA40 @ 0x1002eea44 // > @ 0x1007e63c0 // // 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 SecretRewardsLayer::dialogClosed(SecretRewardsLayer *a1, DialogLayer *a2) { int v4; // w20 const char *v5; // x21 GameManager *v6; // x0 if ( ((unsigned int (__fastcall *)(DialogLayer *))a2->getTag)(a2) == 2 ) { v4 = 2; v5 = "20"; } else if ( ((unsigned int (__fastcall *)(DialogLayer *))a2->getTag)(a2) == 1 ) { v4 = 1; v5 = "11"; } else if ( ((unsigned int (__fastcall *)(DialogLayer *))a2->getTag)(a2) == 3 ) { v4 = 4; v5 = "34"; } else { if ( ((unsigned int (__fastcall *)(DialogLayer *))a2->getTag)(a2) != 4 ) return; v4 = 3; v5 = "35"; } v6 = GameManager::sharedState(); GameManager::setUGV(v6, v5, 1); SecretRewardsLayer::showShop(a1, v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source