{"type": "func", "start": 7851636, "end": 7851680, "name": "EditorSFXManager::setGlobalVolume", "pseudocode": "// \n// EditorSFXManager::setGlobalVolume from 0x77ce74 to 0x77cea0 (44 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::editorSFXSliderChanged @ 0x508d7e\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:59:24 +0000\n// \n\nint __fastcall EditorSFXManager::setGlobalVolume(int this, float a2)\n{\n  float v2; // s15\n\n  v2 = a2;\n  if ( a2 < 0.0 )\n  {\n    v2 = 0.0;\n  }\n  else if ( a2 > 1.0 )\n  {\n    v2 = 1.0;\n  }\n  *(float *)(this + 96) = v2;\n  return this;\n}", "assembly": "; \n; EditorSFXManager::setGlobalVolume from 0x77ce74 to 0x77cea0 (44 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::editorSFXSliderChanged @ 0x508d7e\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:59:24 +0000\n; \nVMOV            S15, R1                                                ; +0x0, 0x77ce74\nVCMPE.F32       S15, #0.0                                              ; +0x4, 0x77ce78\nVMRS            APSR_nzcv, FPSCR                                       ; +0x8, 0x77ce7c\nBMI             loc_77CE96                                             ; +0xc, 0x77ce80\nVMOV.F32        S14, #1.0                                              ; +0xe, 0x77ce82\nVCMP.F32        S15, S14                                               ; +0x12, 0x77ce86\nVMRS            APSR_nzcv, FPSCR                                       ; +0x16, 0x77ce8a\nIT GT                                                                  ; +0x1a, 0x77ce8e\nVMOVGT.F32      S15, S14                                               ; +0x1c, 0x77ce90\nB               loc_77CE9A                                             ; +0x20, 0x77ce94\nVLDR            S15, =0.0                                              ; +0x22, 0x77ce96\nVSTR            S15, [R0,#0x60]                                        ; +0x26, 0x77ce9a\nBX              LR                                                     ; +0x2a, 0x77ce9e", "xrefs": ["EditorPauseLayer::editorSFXSliderChanged @ 0x508d7e"], "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"}