//
// SetupReverbPopup::updateReverbLabel from 0x1004b8410 to 0x1004b8499 (137 bytes)
//
// 2 xrefs:
// > SetupReverbPopup::init @ 0x1004b8238
// > SetupReverbPopup::onReverb @ 0x1004b83fd
//
// 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 __fastcall SetupReverbPopup::updateReverbLabel(SetupReverbPopup *a1)
{
int v2; // r14d
cocos2d::CCLabelBMFont *m_reverbLabel; // rdi
char *v4; // rsi
char v5; // [rsp+8h] [rbp-28h] BYREF
char v6; // [rsp+9h] [rbp-27h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
v2 = (int)((float (__fastcall *)(SetupReverbPopup *, __int64))a1->getValue)(a1, 502);
FMODAudioEngine::sharedEngine();
FMODAudioEngine::reverbToString(&v5, v2);
m_reverbLabel = a1->m_reverbLabel;
if ( (v5 & 1) != 0 )
v4 = (char *)__p;
else
v4 = &v6;
((void (__fastcall *)(cocos2d::CCLabelBMFont *, char *))m_reverbLabel->setString)(m_reverbLabel, v4);
cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_reverbLabel, 150.0, 0.80000001, 0.0);
if ( (v5 & 1) != 0 )
operator delete(__p);
}