//
// SetupReverbPopup::updateReverbLabel from 0x6af9dc to 0x6afa78 (156 bytes)
//
// 2 xrefs:
// > SetupReverbPopup::onReverb @ 0x6afada
// > SetupReverbPopup::init @ 0x6b0944
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:56:38 +0000
//
int __fastcall SetupReverbPopup::updateReverbLabel(SetupReverbPopup *this)
{
float v2; // s16
int v3; // r0
int v4; // r1
char *v5; // r2
char *v6; // r1
_DWORD v8[2]; // [sp+4h] [bp-20h] BYREF
char *v9; // [sp+Ch] [bp-18h]
int v10; // [sp+10h] [bp-14h] BYREF
int v11; // [sp+14h] [bp-10h]
char *v12; // [sp+18h] [bp-Ch]
v2 = COERCE_FLOAT((*(int (__fastcall **)(SetupReverbPopup *, int))(*(_DWORD *)this + 732))(this, 502));
FMODAudioEngine::sharedEngine((FMODAudioEngine *)LODWORD(v2));
FMODAudioEngine::reverbToString(&v10, (int)v2);
v3 = v10;
v4 = v11;
v5 = v12;
v10 = 0;
v11 = 0;
v12 = nullptr;
v8[0] = v3;
v8[1] = v4;
v9 = v5;
std::string::~string((int)&v10);
if ( (v8[0] & 1) != 0 )
v6 = v9;
else
v6 = (char *)v8 + 1;
(*(void (__fastcall **)(_DWORD, char *, int))(**((_DWORD **)this + 178) + 464))(
*((_DWORD *)this + 178),
v6,
LOBYTE(v8[0]) << 31);
cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 178), 150.0, 0.8, 0.0);
return std::string::~string((int)v8);
}