//
// SetupGravityModPopup::updateValueLabel from 0x9bf004 to 0x9bf068 (100 bytes)
//
// 3 xrefs:
// > SetupGravityModPopup::sliderChanged @ 0x9bf138
// > SetupGravityModPopup::init @ 0x9bf714
// > ??> @ 0x86058
//
// 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 SetupGravityModPopup::updateValueLabel(SetupGravityModPopup *a1)
{
cocos2d::CCLabelBMFont *m_gravityModLabel; // x19
void (__fastcall *setString)(cocos2d::CCLabelBMFont *__hidden, const unsigned __int8 *); // x20
cocos2d::CCString *v3; // x0
const char *CString; // x0
m_gravityModLabel = a1->m_gravityModLabel;
setString = m_gravityModLabel->setString;
if ( a1->m_gravityTrigger )
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%s: %.1f",
"Gravity mod",
a1->m_gravityMod);
else
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%s: %.1f",
"Force",
a1->m_gravityMod);
CString = cocos2d::CCString::getCString(v3);
setString(m_gravityModLabel, (const unsigned __int8 *)CString);
}