{"type": "func", "start": 5278912, "end": 5278970, "name": "EditorPauseLayer::musicSliderChanged", "pseudocode": "// \n// EditorPauseLayer::musicSliderChanged from 0x508cc0 to 0x508cfa (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::musicSliderChanged(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::setBackgroundMusicVolume(v4, v3);\n}", "assembly": "; \n; EditorPauseLayer::musicSliderChanged from 0x508cc0 to 0x508cfa (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, 0x508cc0\nMOV             R0, R1; this                                           ; +0x2, 0x508cc2\nVPUSH           {D8}                                                   ; +0x4, 0x508cc4\nBL              _ZN11SliderThumb8getValueEv; SliderThumb::getValue(void) ; +0x8, 0x508cc8\nVLDR            S15, =0.03                                             ; +0xc, 0x508ccc\nVMOV            S16, R0; this                                          ; +0x10, 0x508cd0\nVCMP.F32        S16, S15                                               ; +0x14, 0x508cd4\nVLDR            S15, =0.0                                              ; +0x18, 0x508cd8\nVMRS            APSR_nzcv, FPSCR                                       ; +0x1c, 0x508cdc\nIT MI                                                                  ; +0x20, 0x508ce0\nVMOVMI.F32      S16, S15                                               ; +0x22, 0x508ce2\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x26, 0x508ce6\nVMOV            R1, S16; float                                         ; +0x2a, 0x508cea\nVPOP            {D8}                                                   ; +0x2e, 0x508cee\nPOP.W           {R3,LR}                                                ; +0x32, 0x508cf2\nB.W             _ZN15FMODAudioEngine24setBackgroundMusicVolumeEf; FMODAudioEngine::setBackgroundMusicVolume(float) ; +0x36, 0x508cf6", "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"}