{"type": "func", "start": 4299436340, "end": 4299436424, "name": "EditorPauseLayer::volumeChanged", "pseudocode": "// \n// EditorPauseLayer::volumeChanged from 0x100443134 to 0x100443188 (84 bytes)\n// \n// 2 xrefs:\n// > sub_100443188 @ 0x10044318c\n// > <???> @ 0x100964960\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:05:13 +0000\n// \n\n__int64 __fastcall EditorPauseLayer::volumeChanged(__int64 result)\n{\n  __int64 v1; // x19\n  __int64 v2; // x20\n  __int64 v3; // x0\n  float BackgroundMusicVolume; // s0\n  __int64 v5; // x19\n  __int64 v6; // x0\n  float EffectsVolume; // s0\n\n  v1 = result;\n  v2 = *(_QWORD *)(result + 616);\n  if ( v2 )\n  {\n    v3 = FMODAudioEngine::sharedEngine();\n    BackgroundMusicVolume = FMODAudioEngine::getBackgroundMusicVolume(v3);\n    result = Slider::setValue(v2, BackgroundMusicVolume);\n  }\n  v5 = *(_QWORD *)(v1 + 624);\n  if ( v5 )\n  {\n    v6 = FMODAudioEngine::sharedEngine();\n    EffectsVolume = FMODAudioEngine::getEffectsVolume(v6);\n    return Slider::setValue(v5, EffectsVolume);\n  }\n  return result;\n}", "assembly": "; \n; EditorPauseLayer::volumeChanged from 0x100443134 to 0x100443188 (84 bytes)\n; \n; 2 xrefs:\n; > sub_100443188 @ 0x10044318c\n; > <???> @ 0x100964960\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:05:13 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100443134\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100443138\nADD             X29, SP, #0x10                                         ; +0x8, 0x10044313c\nMOV             X19, X0                                                ; +0xc, 0x100443140\nLDR             X20, [X0,#0x268]                                       ; +0x10, 0x100443144\nCBZ             X20, loc_10044315C                                     ; +0x14, 0x100443148\nBL              FMODAudioEngine__sharedEngine                          ; +0x18, 0x10044314c\nBL              FMODAudioEngine__getBackgroundMusicVolume              ; +0x1c, 0x100443150\nMOV             X0, X20                                                ; +0x20, 0x100443154\nBL              Slider__setValue                                       ; +0x24, 0x100443158\nLDR             X19, [X19,#0x270]                                      ; +0x28, 0x10044315c\nCBZ             X19, loc_10044317C                                     ; +0x2c, 0x100443160\nBL              FMODAudioEngine__sharedEngine                          ; +0x30, 0x100443164\nBL              FMODAudioEngine__getEffectsVolume                      ; +0x34, 0x100443168\nMOV             X0, X19                                                ; +0x38, 0x10044316c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x100443170\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x100443174\nB               Slider__setValue                                       ; +0x44, 0x100443178\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0x10044317c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x4c, 0x100443180\nRET                                                                    ; +0x50, 0x100443184", "xrefs": ["sub_100443188 @ 0x10044318c", "<???> @ 0x100964960"], "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"}