//
// SetupTriggerPopup::updateCustomEaseRateLabel from 0x9ea7fc to 0x9ea924 (296 bytes)
//
// 3 xrefs:
// > SetupTriggerPopup::createCustomEasingControls @ 0x9eb1a8
// > SetupTriggerPopup::valuePopupClosed @ 0x9ed8c0
// > ??> @ 0x8fe50
//
// 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 SetupTriggerPopup::updateCustomEaseRateLabel(SetupTriggerPopup *a1, int a2, float a3)
{
const char *v3; // x1
cocos2d::CCObject *v4; // x20
cocos2d::CCString *v5; // x0
char *CString; // x0
cocos2d::CCDataVisitor *v7; // x0
unsigned int *v8; // x2
int v9; // w1
cocos2d::CCDataVisitor *v11; // [xsp+50h] [xbp+50h] BYREF
v4 = cocos2d::CCDictionary::objectForKey(a1->m_customEasingLabels, a2);
if ( v4 )
{
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", v3, a3);
CString = (char *)cocos2d::CCString::getCString(v5);
sub_D153B8((int)&v11, CString);
v4->__vftable[11].acceptVisitor(v4, v11);
v7 = v11 - 3;
if ( &v11[-3] != (cocos2d::CCDataVisitor *)&qword_124B6B0 )
{
if ( &pthread_create )
{
v8 = (unsigned int *)&v11[-1];
do
v9 = __ldaxr(v8);
while ( __stlxr(v9 - 1, v8) );
}
else
{
v9 = (int)v11[-1].__vftable;
LODWORD(v11[-1].__vftable) = v9 - 1;
}
if ( v9 <= 0 )
operator delete(v7);
}
}
}