// // GJChallengeItem::setCount from 0x40c828 to 0x40c856 (46 bytes) // // 3 xrefs: // > GJChallengeItem::incrementCount @ 0x412d30 // > GJChallengeItem::dataLoaded @ 0x412f14 // > GameStatsManager::dataLoaded @ 0x41dfa2 // // 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 // void GJChallengeItem::setCount(GJChallengeItem *a1, int a2) { int v4; // s15 a1->m_count.value = a2; v4 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0); a1->m_count.seed = v4; a1->m_count.random = v4 + a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source