{"type": "func", "start": 5278980, "end": 5279038, "name": "EditorPauseLayer::sfxSliderChanged", "pseudocode": "// \n// EditorPauseLayer::sfxSliderChanged from 0x508d04 to 0x508d3e (58 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:51:26 +0000\n// \n\nFMOD::ChannelControl *__fastcall EditorPauseLayer::sfxSliderChanged(EditorPauseLayer *this, cocos2d::CCObject *a2)\n{\n  float v2; // r0\n  float v3; // s16\n  FMODAudioEngine *v4; // r0\n\n  v2 = COERCE_FLOAT(SliderThumb::getValue(a2));\n  v3 = v2;\n  if ( v2 < 0.03 )\n    v3 = 0.0;\n  v4 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine((FMODAudioEngine *)LODWORD(v2));\n  return FMODAudioEngine::setEffectsVolume(v4, v3);\n}", "assembly": "; \n; EditorPauseLayer::sfxSliderChanged from 0x508d04 to 0x508d3e (58 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:51:26 +0000\n; \nPUSH            {R3,LR}                                                ; +0x0, 0x508d04\nMOV             R0, R1; this                                           ; +0x2, 0x508d06\nVPUSH           {D8}                                                   ; +0x4, 0x508d08\nBL              _ZN11SliderThumb8getValueEv; SliderThumb::getValue(void) ; +0x8, 0x508d0c\nVLDR            S15, =0.03                                             ; +0xc, 0x508d10\nVMOV            S16, R0; this                                          ; +0x10, 0x508d14\nVCMP.F32        S16, S15                                               ; +0x14, 0x508d18\nVLDR            S15, =0.0                                              ; +0x18, 0x508d1c\nVMRS            APSR_nzcv, FPSCR                                       ; +0x1c, 0x508d20\nIT MI                                                                  ; +0x20, 0x508d24\nVMOVMI.F32      S16, S15                                               ; +0x22, 0x508d26\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x26, 0x508d2a\nVMOV            R1, S16; float                                         ; +0x2a, 0x508d2e\nVPOP            {D8}                                                   ; +0x2e, 0x508d32\nPOP.W           {R3,LR}                                                ; +0x32, 0x508d36\nB.W             _ZN15FMODAudioEngine16setEffectsVolumeEf; FMODAudioEngine::setEffectsVolume(float) ; +0x36, 0x508d3a", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}