// // GameStatsManager::keyCostForSecretChest from 0x40e4b0 to 0x40e4f4 (68 bytes) // // 3 xrefs: // > GameStatsManager::unlockSecretChest @ 0x41c950 // > GameStatsManager::recountSpecialStats @ 0x41d576 // > SecretRewardsLayer::onSelectItem @ 0x585bf0 // // 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 GameStatsManager::keyCostForSecretChest(GameStatsManager *a1, int a2) { if ( a2 > 6000 ) return 1; if ( a2 > 5000 ) return 100; if ( a2 > 4000 ) return 50; if ( a2 > 3000 ) return 25; if ( a2 > 2000 ) return 10; if ( a2 <= 1000 ) return 1; return 5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source