// // GameStatsManager::getBonusDiamonds from 0x1000370f0 to 0x100037123 (51 bytes) // // 2 xrefs: // > DailyLevelPage::claimLevelReward @ 0x100216a56 // > DailyLevelNode::init @ 0x1002176a5 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 12:19:32 +0000 // __int64 __fastcall GameStatsManager::getBonusDiamonds(__m128 a1, __int64 a2, int a3) { __int64 result; // rax result = 0; if ( (unsigned int)(a3 - 11) >= 0xFFFFFFF7 ) { result = 20; if ( a3 != 10 ) { a1.f32[0] = (float)(a3 + 2) * 0.5; return (unsigned int)(int)_mm_round_ss(a1, a1, 9).f32[0]; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source