{"type": "func", "start": 711716, "end": 711830, "name": "FMOD::ChannelControl::getVolume", "pseudocode": "// \n// FMOD::ChannelControl::getVolume from 0xadc24 to 0xadc96 (114 bytes)\n// \n// 1 xrefs:\n// > FMOD::ChannelControl::getVolume @ 0xe0788\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:41:39 +0000\n// \n\nint __fastcall FMOD::ChannelControl::getVolume(FMOD::ChannelControl *this, float *a2)\n{\n  int v4; // r5\n  _BYTE v6[256]; // [sp+8h] [bp-118h] BYREF\n  int v7; // [sp+108h] [bp-18h] BYREF\n  int v8; // [sp+10Ch] [bp-14h]\n\n  v7 = 0;\n  v4 = sub_47C34((int)this);\n  if ( v4 || (v4 = (*(int (__fastcall **)(int, float *))(*(_DWORD *)v8 + 20))(v8, a2)) != 0 )\n  {\n    if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )\n    {\n      sub_5CAA4((int)v6, 256, a2);\n      sub_BAB40(v4, 4, this, \"ChannelControl::getVolume\", v6);\n    }\n  }\n  else\n  {\n    v4 = 0;\n  }\n  sub_444C0(&v7);\n  return v4;\n}", "assembly": "; \n; FMOD::ChannelControl::getVolume from 0xadc24 to 0xadc96 (114 bytes)\n; \n; 1 xrefs:\n; > FMOD::ChannelControl::getVolume @ 0xe0788\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:41:39 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0xadc24\nADD             R7, SP, #0xC                                           ; +0x2, 0xadc26\nPUSH.W          {R8}                                                   ; +0x4, 0xadc28\nSUB             SP, SP, #0x110                                         ; +0x8, 0xadc2c\nMOV             R6, R1                                                 ; +0xa, 0xadc2e\nMOV             R4, R0                                                 ; +0xc, 0xadc30\nMOVS            R0, #0                                                 ; +0xe, 0xadc32\nADD             R1, SP, #0x110+var_4                                   ; +0x10, 0xadc34\nADD             R2, SP, #0x110+var_8                                   ; +0x12, 0xadc36\nSTR             R0, [SP,#0x110+var_8]                                  ; +0x14, 0xadc38\nMOV             R0, R4                                                 ; +0x16, 0xadc3a\nBL              sub_47C34                                              ; +0x18, 0xadc3c\nMOV             R5, R0                                                 ; +0x1c, 0xadc40\nCBNZ            R0, loc_ADC52                                          ; +0x1e, 0xadc42\nLDR             R0, [SP,#0x110+var_4]                                  ; +0x20, 0xadc44\nLDR             R1, [R0]                                               ; +0x22, 0xadc46\nLDR             R2, [R1,#0x14]                                         ; +0x24, 0xadc48\nMOV             R1, R6                                                 ; +0x26, 0xadc4a\nBLX             R2                                                     ; +0x28, 0xadc4c\nMOV             R5, R0                                                 ; +0x2a, 0xadc4e\nCBZ             R0, loc_ADC84                                          ; +0x2c, 0xadc50\nLDR             R0, =(off_E6144 - 0xADC58)                             ; +0x2e, 0xadc52\nADD             R0, PC; off_E6144                                      ; +0x30, 0xadc54\nLDR             R0, [R0]; off_E8000                                    ; +0x32, 0xadc56\nLDR             R0, [R0]; dword_F2488                                  ; +0x34, 0xadc58\nLDRB            R0, [R0,#(dword_F249C - 0xF2488)]                      ; +0x36, 0xadc5a\nLSLS            R0, R0, #0x18                                          ; +0x38, 0xadc5c\nBPL             loc_ADC86                                              ; +0x3a, 0xadc5e\nADD.W           R8, SP, #0x110+var_108                                 ; +0x3c, 0xadc60\nMOV.W           R1, #0x100                                             ; +0x40, 0xadc64\nMOV             R2, R6                                                 ; +0x44, 0xadc68\nMOV             R0, R8                                                 ; +0x46, 0xadc6a\nBL              sub_5CAA4                                              ; +0x48, 0xadc6c\nSTR.W           R8, [SP,#0x110+var_110]                                ; +0x4c, 0xadc70\nMOV             R0, R5                                                 ; +0x50, 0xadc74\nLDR             R3, =(aChannelcontrol_4 - 0xADC80); \"ChannelControl::getVolume\" ... ; +0x52, 0xadc76\nMOVS            R1, #4                                                 ; +0x54, 0xadc78\nMOV             R2, R4                                                 ; +0x56, 0xadc7a\nADD             R3, PC; \"ChannelControl::getVolume\"                    ; +0x58, 0xadc7c\nBL              sub_BAB40                                              ; +0x5a, 0xadc7e\nB               loc_ADC86                                              ; +0x5e, 0xadc82\nMOVS            R5, #0                                                 ; +0x60, 0xadc84\nADD             R0, SP, #0x110+var_8                                   ; +0x62, 0xadc86\nBL              sub_444C0                                              ; +0x64, 0xadc88\nMOV             R0, R5                                                 ; +0x68, 0xadc8c\nADD             SP, SP, #0x110                                         ; +0x6a, 0xadc8e\nPOP.W           {R8}                                                   ; +0x6c, 0xadc90\nPOP             {R4-R7,PC}                                             ; +0x70, 0xadc94", "xrefs": ["FMOD::ChannelControl::getVolume @ 0xe0788"], "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"}