//
// MoreOptionsLayer::onFMODDebug from 0x1000eed48 to 0x1000eedf0 (168 bytes)
//
// 1 xrefs:
// > MoreOptionsLayer::init @ 0x1000ee184
//
// 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 MoreOptionsLayer::onFMODDebug(MoreOptionsLayer *a1, cocos2d::CCObject *a2)
{
FMODAudioEngine *v2; // x0
char *v3; // x1
__int64 v4; // x19
void *v5[2]; // [xsp+0h] [xbp-40h] BYREF
char v6; // [xsp+17h] [xbp-29h]
void *__p[2]; // [xsp+18h] [xbp-28h] BYREF
char v8; // [xsp+2Fh] [xbp-11h]
v2 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::getFMODStatus(v5, v2, 0);
if ( v6 >= 0 )
v3 = (char *)v5;
else
v3 = (char *)v5[0];
sub_100009900(__p, v3);
v4 = FLAlertLayer::create_1(0, "FMOD Debug", __p, "OK", 0, 380.0);
if ( v8 < 0 )
operator delete(__p[0]);
if ( v6 < 0 )
operator delete(v5[0]);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1288LL))(v4);
}