// // GJBaseGameLayer::updateProximityVolumeEffects from 0x9aaa54 to 0x9aab48 (244 bytes) // // 5 xrefs: // > PlayLayer::setupHasCompleted @ 0x708308 // > PlayLayer::startMusic @ 0x710e40 // > PlayLayer::resetLevel @ 0x7115c8 // > GJBaseGameLayer::update @ 0x9ee1b4 // > @ 0xd3660 // // This function is hookable on this platform (idp: arm, 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 12:58:12 +0000 // __int64 __fastcall GJBaseGameLayer::updateProximityVolumeEffects(GJBaseGameLayer *this) { char *v2; // x22 char *v3; // x19 int v4; // w24 __int64 v5; // x4 __int64 v6; // x5 FMODAudioEngine *v7; // x0 float v8; // s0 __int64 v9; // x0 char *v10; // x0 char *v12; // x1 char *v13; // x1 int v14; // [xsp+48h] [xbp+48h] float v15; // [xsp+50h] [xbp+50h] _QWORD v16[3]; // [xsp+60h] [xbp+60h] BYREF v2 = (char *)this + 1776; v3 = *((char **)this + 221); if ( (char *)this + 1776 != v3 ) { do { v4 = *((_DWORD *)v3 + 8); v5 = *((_QWORD *)v3 + 5); v6 = *((_QWORD *)v3 + 6); v14 = *((_DWORD *)v3 + 9); v16[2] = *((_QWORD *)v3 + 7); v16[0] = v5; v16[1] = v6; v7 = (FMODAudioEngine *)GJBaseGameLayer::volumeForProximityEffect((__int64)this, (__int64)v16); v15 = v8; v9 = FMODAudioEngine::sharedEngine(v7); FMODAudioEngine::setChannelVolumeMod(v9, v4, v14, v15); v10 = *((char **)v3 + 1); if ( v10 ) { do { v3 = v10; v10 = *(char **)v10; } while ( v10 ); } else { do { v12 = v3; v3 = *((char **)v3 + 2); if ( v12 == *(char **)v3 ) break; v13 = v3; v3 = *((char **)v3 + 2); } while ( v13 != *(char **)v3 ); } } while ( v2 != v3 ); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source