{"type": "func", "start": 4299982188, "end": 4299982228, "name": "EditorSFXManager::setGlobalVolume", "pseudocode": "// \n// EditorSFXManager::setGlobalVolume from 0x1004c856c to 0x1004c8594 (40 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::editorSFXSliderChanged @ 0x1004449d4\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:06:24 +0000\n// \n\n__int64 __fastcall EditorSFXManager::setGlobalVolume(__int64 result, float a2)\n{\n  float v2; // s1\n\n  v2 = 0.0;\n  if ( a2 >= 0.0 )\n  {\n    v2 = a2;\n    if ( a2 > 1.0 )\n      v2 = 1.0;\n  }\n  *(float *)(result + 192) = v2;\n  return result;\n}", "assembly": "; \n; EditorSFXManager::setGlobalVolume from 0x1004c856c to 0x1004c8594 (40 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::editorSFXSliderChanged @ 0x1004449d4\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:06:24 +0000\n; \nFMOV            S1, WZR                                                ; +0x0, 0x1004c856c\nFCMP            S0, #0.0                                               ; +0x4, 0x1004c8570\nB.MI            loc_1004C858C                                          ; +0x8, 0x1004c8574\nFMOV            S1, #1.0                                               ; +0xc, 0x1004c8578\nFCMP            S0, S1                                                 ; +0x10, 0x1004c857c\nFMOV            S1, S0                                                 ; +0x14, 0x1004c8580\nB.LE            loc_1004C858C                                          ; +0x18, 0x1004c8584\nFMOV            S1, #1.0                                               ; +0x1c, 0x1004c8588\nSTR             S1, [X0,#0xC0]                                         ; +0x20, 0x1004c858c\nRET                                                                    ; +0x24, 0x1004c8590", "xrefs": ["EditorPauseLayer::editorSFXSliderChanged @ 0x1004449d4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}