//
// MoreOptionsLayer::onFMODDebug from 0x530be4 to 0x530c82 (158 bytes)
//
// 0 xrefs:
//
// 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:52:04 +0000
//
int __fastcall MoreOptionsLayer::onFMODDebug(MoreOptionsLayer *this, cocos2d::CCObject *a2)
{
char *v2; // r8
int v3; // r0
size_t v4; // r0
int *v5; // r4
char v7; // [sp+Ch] [bp+0h] BYREF
char v8; // [sp+Dh] [bp+1h] BYREF
char *v9; // [sp+14h] [bp+8h]
int v10[3]; // [sp+18h] [bp+Ch] BYREF
v3 = FMODAudioEngine::sharedEngine(this);
FMODAudioEngine::getFMODStatus((FMODAudioEngine *)&v7, v3);
v10[0] = 0;
v10[1] = 0;
if ( (v7 & 1) == 0 )
v2 = &v8;
v10[2] = 0;
if ( (v7 & 1) != 0 )
v2 = v9;
v4 = strlen(v2);
std::string::__init(v10, v2, v4);
v5 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"FMOD Debug", (int)v10, (ButtonSprite *)"OK", nullptr, 380.0);
std::string::~string((int)v10);
std::string::~string((int)&v7);
return (*(int (__fastcall **)(int *))(*v5 + 656))(v5);
}