// // GameStatsManager::getBaseCurrency from 0x51631c to 0x516350 (52 bytes) // // 1 xrefs: // > GameStatsManager::getBaseCurrencyForLevel @ 0x517cf2 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:51:40 +0000 // int __fastcall GameStatsManager::getBaseCurrency(GameStatsManager *this, int a2, int a3, int a4) { unsigned int v4; // r3 unsigned int v6; // r1 if ( a3 ) { v4 = a4 - 14; if ( v4 <= 6 && ((1 << v4) & 0x51) != 0 ) return 400; else return 20 * a2 + 20; } else { v6 = a2 - 2; if ( v6 > 8 ) return 0; else return aD_2[v6]; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source