// // GameStatsManager::getBonusDiamonds from 0x100071610 to 0x100071643 (51 bytes) // // 2 xrefs: // > DailyLevelPage::claimLevelReward @ 0x100232406 // > DailyLevelNode::init @ 0x100233053 // // 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::getBonusDiamonds(GameStatsManager *a1, int a2) { __m128 v2; // xmm0 int result; // eax result = 0; if ( (unsigned int)(a2 - 11) >= 0xFFFFFFF7 ) { result = 20; if ( a2 != 10 ) { v2.f32[0] = (float)(a2 + 2) * 0.5; return (int)_mm_round_ss(v2, v2, 9).f32[0]; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source