// // FMODAudioEngine::setChannelVolume from 0x1400619d0 to 0x140061b95 (453 bytes) // // 7 xrefs: // > FMODAudioEngine::updateChannelTweens @ 0x14005f43e // > FMODAudioEngine::updateChannel @ 0x1400617e6 // > GJBaseGameLayer::processActivatedAudioTriggers @ 0x14034ef08 // > GJBaseGameLayer::processSongState @ 0x14034fcee // > @ 0x140888144 // > @ 0x140888154 // > @ 0x140910b2c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:25:44 +0000 // __int64 __fastcall FMODAudioEngine::setChannelVolume(_QWORD *a1, int a2, int a3, float a4) { __int64 ChannelGroup; // rax __int64 v6; // rax __int64 result; // rax int v8; // edx __int64 v9; // rbx _QWORD *v10; // rcx _QWORD v11[2]; // [rsp+20h] [rbp-40h] BYREF _BYTE v12[16]; // [rsp+30h] [rbp-30h] BYREF int v13; // [rsp+78h] [rbp+18h] BYREF int v14; // [rsp+80h] [rbp+20h] BYREF v13 = a2; if ( a3 == 1 ) { *(float *)(*(_QWORD *)sub_140067F60(a1 + 113, v11, &v13) + 20LL) = a4; v11[0] = 0x3FF0000000000000LL; sub_1400660E0(a1 + 121, v12, &v13, v11); sub_140067F60(a1 + 121, v12, &v13); ChannelGroup = FMODAudioEngine::getChannelGroup(a1, v13, 0); FMOD::ChannelControl::setVolume(ChannelGroup); sub_140067F60(a1 + 121, v12, &v13); v6 = FMODAudioEngine::getChannelGroup(a1, v13, 1); return FMOD::ChannelControl::setVolume(v6); } if ( a3 != 2 ) { *(float *)(*(_QWORD *)sub_140067F60(a1 + 89, v12, &v13) + 20LL) = a4; result = FMODAudioEngine::channelForChannelID(a1, v13); v9 = result; if ( !result ) return result; v10 = a1 + 97; goto LABEL_11; } *(float *)(*(_QWORD *)sub_140067F60(a1 + 137, v12, &v13) + 20LL) = a4; v14 = v13; if ( sub_140066B50(a1 + 40, &v14) ) v8 = *(_DWORD *)(*(_QWORD *)sub_140068620(a1 + 40, v12, &v14) + 24LL); else v8 = 0; result = FMODAudioEngine::channelForChannelID(a1, v8); v9 = result; if ( result ) { v10 = a1 + 145; LABEL_11: sub_140067F60(v10, v12, &v13); return FMOD::ChannelControl::setVolume(v9); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source