//
// SetupReverbPopup::updateReverbLabel from 0xb6c3c8 to 0xb6c4ac (228 bytes)
//
// 3 xrefs:
// > SetupReverbPopup::onReverb @ 0xb6c52c
// > SetupReverbPopup::init @ 0xb6d000
// > ??> @ 0x7a1a0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:02:18 +0000
//
__int64 __fastcall SetupReverbPopup::updateReverbLabel(SetupReverbPopup *this)
{
FMODAudioEngine *v2; // x0
float v3; // s0
__int64 v4; // x2
char *v5; // x1
float v7; // [xsp+20h] [xbp+20h]
_QWORD v8[2]; // [xsp+38h] [xbp+38h] BYREF
void *v9; // [xsp+48h] [xbp+48h]
__int64 v10[2]; // [xsp+50h] [xbp+50h] BYREF
char *v11; // [xsp+60h] [xbp+60h]
v2 = (FMODAudioEngine *)(*(__int64 (__fastcall **)(SetupReverbPopup *, __int64))(*(_QWORD *)this + 1464LL))(this, 502);
v7 = v3;
FMODAudioEngine::sharedEngine(v2);
FMODAudioEngine::reverbToString((int)v7, v10);
v4 = *((_QWORD *)this + 127);
v8[0] = v10[0];
v8[1] = v10[1];
v9 = v11;
if ( (v10[0] & 1) != 0 )
v5 = v11;
else
v5 = (char *)v8 + 1;
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v4 + 928LL))(v4, v5);
cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 127), 150.0, 0.8, 0.0);
if ( (v8[0] & 1) != 0 )
operator delete(v9);
return _stack_chk_guard;
}