{"type": "func", "start": 277678, "end": 277714, "name": "FMOD_ChannelGroup_GetVolumeRamp", "pseudocode": "// \n// FMOD_ChannelGroup_GetVolumeRamp from 0x43cae to 0x43cd2 (36 bytes)\n// \n// 1 xrefs:\n// > j_FMOD_ChannelGroup_GetVolumeRamp @ 0xe2348\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall FMOD_ChannelGroup_GetVolumeRamp(FMOD::ChannelControl *a1, _DWORD *a2, int a3, int a4)\n{\n  int result; // r0\n  bool v6; // [sp+7h] [bp-9h] BYREF\n\n  v6 = HIBYTE(a4);\n  if ( !a1 )\n    return 31;\n  result = FMOD::ChannelControl::getVolumeRamp(a1, &v6);\n  if ( a2 )\n  {\n    if ( !result )\n    {\n      *a2 = v6;\n      return 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; FMOD_ChannelGroup_GetVolumeRamp from 0x43cae to 0x43cd2 (36 bytes)\n; \n; 1 xrefs:\n; > j_FMOD_ChannelGroup_GetVolumeRamp @ 0xe2348\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R2-R4,R6,R7,LR}                                       ; +0x0, 0x43cae\nADD             R7, SP, #0x10                                          ; +0x2, 0x43cb0\nCBZ             R0, loc_43CCC                                          ; +0x4, 0x43cb2\nMOV             R4, R1                                                 ; +0x6, 0x43cb4\nSUB.W           R1, R7, #-(-8+var_1); bool *                           ; +0x8, 0x43cb6\nBLX             j__ZN4FMOD14ChannelControl13getVolumeRampEPb; FMOD::ChannelControl::getVolumeRamp(bool *) ; +0xc, 0x43cba\nCBZ             R4, loc_43CCE                                          ; +0x10, 0x43cbe\nCBNZ            R0, loc_43CCE                                          ; +0x12, 0x43cc0\nLDRB.W          R0, [R7,#-8+var_1]                                     ; +0x14, 0x43cc2\nSTR             R0, [R4]                                               ; +0x18, 0x43cc6\nMOVS            R0, #0                                                 ; +0x1a, 0x43cc8\nB               loc_43CCE                                              ; +0x1c, 0x43cca\nMOVS            R0, #0x1F                                              ; +0x1e, 0x43ccc\nADD             SP, SP, #8                                             ; +0x20, 0x43cce\nPOP             {R4,R6,R7,PC}                                          ; +0x22, 0x43cd0", "xrefs": ["j_FMOD_ChannelGroup_GetVolumeRamp @ 0xe2348"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}