// // FMODAudioEngine::getFMODStatus from 0x3e9468 to 0x3e9634 (460 bytes) // // 1 xrefs: // > MoreOptionsLayer::onFMODDebug @ 0x530c04 // // 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:47:06 +0000 // FMODAudioEngine *__fastcall FMODAudioEngine::getFMODStatus(FMODAudioEngine *this, int a2) { unsigned int v4; // r3 cocos2d::CCString *v5; // r0 char *CString; // r0 const char *v7; // r1 cocos2d::CCString *v8; // r0 char *v9; // r0 float v10; // s16 const char *v11; // r1 cocos2d::CCString *v12; // r0 char *v13; // r0 const char *v14; // r1 cocos2d::CCString *v15; // r0 char *v16; // r0 const char *v17; // r1 cocos2d::CCString *v18; // r0 char *v19; // r0 cocos2d::CCString *v20; // r0 char *v21; // r0 FMOD::System *v22; // r0 cocos2d::CCString *v23; // r0 char *v24; // r0 char *v26; // [sp+2Ch] [bp-44h] unsigned int v27; // [sp+34h] [bp-3Ch] BYREF int v28[5]; // [sp+38h] [bp-38h] BYREF char *v29; // [sp+4Ch] [bp-24h] BYREF unsigned int v30[8]; // [sp+50h] [bp-20h] BYREF *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; v4 = _stack_chk_guard; *(_DWORD *)this = 0; v30[7] = v4; std::string::__init((int *)this, &unk_B6B226, 0); FMOD_Memory_GetStats(); v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"Memory: %i, Max: %i", v26); CString = (char *)cocos2d::CCString::getCString(v5); std::string::assign((int *)this, CString); FMOD::System::getCPUUsage(); v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"\ndsp: %f, stream: %f\ngeo: %f, update: %f\nconv1: %f, conv2: %f", v7, *(float *)&v30[1], *(float *)&v30[2], *(float *)&v30[3], *(float *)&v30[4], *(float *)&v30[5], *(float *)&v30[6]); v9 = (char *)cocos2d::CCString::getCString(v8); std::string::append(this, v9); FMOD::System::getDSPBufferSize(*(FMOD::System **)(a2 + 364), &v27, v28); FMOD::System::getSoftwareFormat(); v10 = (float)((float)v27 * 1000.0) / (float)v28[1]; v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"\nMixer blocksize = %f ms", v11, v10); v13 = (char *)cocos2d::CCString::getCString(v12); std::string::append(this, v13); v15 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"\nMixer Total buffersize = %f ms", v14, (float)(v10 * (float)v28[0])); v16 = (char *)cocos2d::CCString::getCString(v15); std::string::append(this, v16); v18 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"\nMixer Average Latency = %f ms", v17, (float)(v10 * (float)((float)v28[0] - 1.5))); v19 = (char *)cocos2d::CCString::getCString(v18); std::string::append(this, v19); FMOD::System::getSoftwareFormat(); v20 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"\nSR: %i, SM: %i, NRS: %i", (const char *)v28[2], v28[3], v28[4]); v21 = (char *)cocos2d::CCString::getCString(v20); std::string::append(this, v21); v22 = *(FMOD::System **)(a2 + 364); v29 = nullptr; v30[0] = 1; FMOD::System::getStreamBufferSize(v22, (unsigned int *)&v29, v30); v23 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"\nstreamBufferSize: %i, Type: %i", v29, v30[0]); v24 = (char *)cocos2d::CCString::getCString(v23); std::string::append(this, v24); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source