// // GJBaseGameLayer::updateProximityVolumeEffects from 0x14034c460 to 0x14034c574 (276 bytes) // // 5 xrefs: // > GJBaseGameLayer::update @ 0x140341c9c // > PlayLayer::setupHasCompleted @ 0x140505afd // > PlayLayer::resetLevel @ 0x14051960f // > PlayLayer::startMusic @ 0x14051af70 // > @ 0x14092009c // // 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:30:45 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall GJBaseGameLayer::updateProximityVolumeEffects(__int64 a1) { __int64 *v2; // rbx int v3; // edi int v4; // esi float v5; // xmm0_4 _QWORD *v6; // rcx __int64 **v7; // rax __int64 *i; // rax __int64 *j; // rax __int128 v10; // [rsp+20h] [rbp-38h] BYREF __int64 v11; // [rsp+30h] [rbp-28h] void *v12; // [rsp+60h] [rbp+8h] v2 = **(__int64 ***)(a1 + 1960); while ( !*((_BYTE *)v2 + 25) ) { v3 = *((_DWORD *)v2 + 8); v4 = *((_DWORD *)v2 + 9); v10 = *(_OWORD *)(v2 + 5); v11 = v2[7]; v5 = GJBaseGameLayer::volumeForProximityEffect(a1, &v10); v6 = (_QWORD *)qword_14090BF60; if ( !qword_14090BF60 ) { v12 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v12); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); v6 = (_QWORD *)qword_14090BF60; } FMODAudioEngine::setChannelVolumeMod(v6, v3, v4, v5); v7 = (__int64 **)v2[2]; if ( *((_BYTE *)v7 + 25) ) { for ( i = (__int64 *)v2[1]; !*((_BYTE *)i + 25); i = (__int64 *)i[1] ) { if ( v2 != (__int64 *)i[2] ) break; v2 = i; } v2 = i; } else { v2 = (__int64 *)v2[2]; for ( j = *v7; !*((_BYTE *)j + 25); j = (__int64 *)*j ) v2 = j; } } }