// // SetupTriggerPopup::getTruncatedValueByTag from 0x100130cb8 to 0x100130d20 (104 bytes) // // 1 xrefs: // > SetupTriggerPopup::triggerSliderChanged @ 0x100130c74 // // 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 // float __fastcall SetupTriggerPopup::getTruncatedValueByTag(SetupTriggerPopup *a1, int a2, float a3) { cocos2d::CCObject *v4; // x0 int m_eObjType; // w8 float v6; // s0 v4 = cocos2d::CCDictionary::objectForKey(a1->m_inputNodes, a2); if ( v4 ) { m_eObjType = v4[10].m_eObjType; if ( m_eObjType <= 0 ) { return (float)(int)a3; } else { v6 = 10.0; if ( m_eObjType != 1 ) v6 = __exp10f((float)(unsigned int)m_eObjType); return roundf(v6 * a3) / v6; } } return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source