// // GJBaseGameLayer::updateAudioVisualizer from 0x140248880 to 0x140248ad1 (593 bytes) // // 3 xrefs: // > GJBaseGameLayer::update @ 0x14023904b // > GJBaseGameLayer::update @ 0x1402392d3 // > @ 0x1406ce790 // // 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 // // Hidden C++ exception states: #wind=8 void GJBaseGameLayer::updateAudioVisualizer(GJBaseGameLayer *a1) { __int64 v2; // rax __int64 v3; // rsi __int64 v4; // rdi __int64 v5; // rbx __int64 v6; // rax __int64 v7; // rsi __int64 v8; // rdi __int64 v9; // rbx FMODAudioEngine *v10; // [rsp+30h] [rbp+8h] FMODAudioEngine *v11; // [rsp+30h] [rbp+8h] FMODAudioEngine *v12; // [rsp+30h] [rbp+8h] FMODAudioEngine *v13; // [rsp+30h] [rbp+8h] FMODAudioEngine *v14; // [rsp+30h] [rbp+8h] FMODAudioEngine *v15; // [rsp+30h] [rbp+8h] FMODAudioEngine *v16; // [rsp+30h] [rbp+8h] FMODAudioEngine *v17; // [rsp+30h] [rbp+8h] if ( a1->m_showAudioVisualizer ) { v2 = qword_1406C2E88; if ( !qword_1406C2E88 ) { v10 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v2 = qword_1406C2E88; } v3 = v2; if ( !v2 ) { v11 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v11); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v2 = qword_1406C2E88; } v4 = v2; if ( !v2 ) { v12 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v12); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v2 = qword_1406C2E88; } v5 = v2; if ( !v2 ) { v13 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v13); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v2 = qword_1406C2E88; } FMODLevelVisualizer::updateVisualizer( a1->m_audioVisualizerBG, *(float *)(v2 + 2164), *(float *)(v5 + 2160), *(float *)(v3 + 628) - *(float *)(v4 + 2156)); v6 = qword_1406C2E88; if ( !qword_1406C2E88 ) { v14 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v14); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v6 = qword_1406C2E88; } v7 = v6; if ( !v6 ) { v15 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v15); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v6 = qword_1406C2E88; } v8 = v6; if ( !v6 ) { v16 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v16); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v6 = qword_1406C2E88; } v9 = v6; if ( !v6 ) { v17 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v17); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v6 = qword_1406C2E88; } FMODLevelVisualizer::updateVisualizer( a1->m_audioVisualizerSFX, *(float *)(v6 + 2176), *(float *)(v9 + 2172), *(float *)(v7 + 628) - *(float *)(v8 + 2168)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source