// // SetupRandTriggerPopup::updateChance from 0x96c774 to 0x96c7dc (104 bytes) // // 3 xrefs: // > SetupRandTriggerPopup::sliderChanged @ 0x96c808 // > SetupRandTriggerPopup::textChanged @ 0x96dd68 // > @ 0x9d8c0 // // 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 SetupRandTriggerPopup::updateChance(SetupRandTriggerPopup *a1) { EffectGameObject *m_gameObject; // x1 unsigned int v3; // w20 bool v4; // cf unsigned int v5; // w1 m_gameObject = a1->m_gameObject; if ( m_gameObject ) { m_gameObject->m_duration = a1->m_chancePercent; } else { v3 = 0; while ( 1 ) { v4 = v3 >= (unsigned int)cocos2d::CCArray::count(a1->m_gameObjects); v5 = v3++; if ( v4 ) break; *(float *)(cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v5) + 1436) = a1->m_chancePercent; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source