// // EditorPauseLayer::sfxSliderChanged from 0x508d04 to 0x508d3e (58 bytes) // // 0 xrefs: // // 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:51:26 +0000 // FMOD::ChannelControl *__fastcall EditorPauseLayer::sfxSliderChanged(EditorPauseLayer *this, cocos2d::CCObject *a2) { float v2; // r0 float v3; // s16 FMODAudioEngine *v4; // r0 v2 = COERCE_FLOAT(SliderThumb::getValue(a2)); v3 = v2; if ( v2 < 0.03 ) v3 = 0.0; v4 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine((FMODAudioEngine *)LODWORD(v2)); return FMODAudioEngine::setEffectsVolume(v4, v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source