// // GameStatsManager::getNextGoldChestID from 0x10008beb0 to 0x10008c0d1 (545 bytes) // // 2 xrefs: // > SecretRewardsLayer::init @ 0x1006315b4 // > SecretRewardsLayer::onGoldChest @ 0x1006324bf // // 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 // int __fastcall GameStatsManager::getNextGoldChestID(GameStatsManager *a1) { int v1; // r14d v1 = 6001; if ( GameStatsManager::isSecretChestUnlocked(a1, 6001) ) { v1 = 6002; if ( GameStatsManager::isSecretChestUnlocked(a1, 6002) ) { v1 = 6003; if ( GameStatsManager::isSecretChestUnlocked(a1, 6003) ) { v1 = 6004; if ( GameStatsManager::isSecretChestUnlocked(a1, 6004) ) { v1 = 6005; if ( GameStatsManager::isSecretChestUnlocked(a1, 6005) ) { v1 = 6006; if ( GameStatsManager::isSecretChestUnlocked(a1, 6006) ) { v1 = 6007; if ( GameStatsManager::isSecretChestUnlocked(a1, 6007) ) { v1 = 6008; if ( GameStatsManager::isSecretChestUnlocked(a1, 6008) ) { v1 = 6009; if ( GameStatsManager::isSecretChestUnlocked(a1, 6009) ) { v1 = 6010; if ( GameStatsManager::isSecretChestUnlocked(a1, 6010) ) { v1 = 6011; if ( GameStatsManager::isSecretChestUnlocked(a1, 6011) ) { v1 = 6012; if ( GameStatsManager::isSecretChestUnlocked(a1, 6012) ) { v1 = 6013; if ( GameStatsManager::isSecretChestUnlocked(a1, 6013) ) { v1 = 6014; if ( GameStatsManager::isSecretChestUnlocked(a1, 6014) ) { v1 = 6015; if ( GameStatsManager::isSecretChestUnlocked(a1, 6015) ) { v1 = 6016; if ( GameStatsManager::isSecretChestUnlocked(a1, 6016) ) { v1 = 6017; if ( GameStatsManager::isSecretChestUnlocked(a1, 6017) ) { v1 = 6018; if ( GameStatsManager::isSecretChestUnlocked(a1, 6018) ) { v1 = 6019; if ( GameStatsManager::isSecretChestUnlocked(a1, 6019) ) { v1 = 0; if ( !GameStatsManager::isSecretChestUnlocked(a1, 6020) ) return 6020; } } } } } } } } } } } } } } } } } } } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source