// // GameStatsManager::keyCostForSecretChest from 0x100076f30 to 0x100076f89 (89 bytes) // // 1 xrefs: // > SecretRewardsLayer::onSelectItem @ 0x10063487d // // 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::keyCostForSecretChest(GameStatsManager *a1, int a2) { int result; // eax result = 1; if ( a2 <= 6000 ) { result = 100; if ( a2 <= 5000 ) { result = 50; if ( a2 <= 4000 ) { result = 25; if ( a2 <= 3000 ) { result = 10; if ( a2 <= 2000 ) return 4 * (a2 >= 1001) + 1; } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source