// // GameStatsManager::getBaseCurrency from 0x100070c90 to 0x100070cd2 (66 bytes) // // 0 xrefs: // // 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::getBaseCurrency(GameStatsManager *a1, int a2, bool a3, int a4) { int result; // eax int v5; // edx unsigned int v6; // esi if ( a3 ) { if ( (unsigned int)a4 > 0x14 ) return 20 * a2 + 20; result = 400; v5 = 1327104; if ( !_bittest(&v5, a4) ) return 20 * a2 + 20; } else { v6 = a2 - 2; result = 0; if ( v6 <= 8 ) return dword_10081593C[v6]; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source