{"type": "func", "start": 720960, "end": 721050, "name": "FMOD::ChannelGroup::release", "pseudocode": "// \n// FMOD::ChannelGroup::release from 0xb0040 to 0xb009a (90 bytes)\n// \n// 1 xrefs:\n// > FMOD::ChannelGroup::release @ 0xe0bf8\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:40 +0000\n// \n\nint __fastcall FMOD::ChannelGroup::release(FMOD::ChannelGroup *this)\n{\n  int v2; // r4\n  _BYTE v4[256]; // [sp+8h] [bp-110h] BYREF\n  int v5; // [sp+108h] [bp-10h] BYREF\n  int v6; // [sp+10Ch] [bp-Ch] BYREF\n\n  v5 = 0;\n  v2 = sub_48F28((int)this, &v6, &v5);\n  if ( v2 || (v2 = sub_49324(v6)) != 0 )\n  {\n    if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )\n    {\n      v4[0] = 0;\n      sub_BAB40(v2, 3, this, \"ChannelGroup::release\", v4);\n    }\n  }\n  else\n  {\n    v2 = 0;\n  }\n  sub_444C0(&v5);\n  return v2;\n}", "assembly": "; \n; FMOD::ChannelGroup::release from 0xb0040 to 0xb009a (90 bytes)\n; \n; 1 xrefs:\n; > FMOD::ChannelGroup::release @ 0xe0bf8\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:40 +0000\n; \nPUSH            {R4,R5,R7,LR}                                          ; +0x0, 0xb0040\nADD             R7, SP, #8                                             ; +0x2, 0xb0042\nSUB             SP, SP, #0x110                                         ; +0x4, 0xb0044\nMOV             R5, R0                                                 ; +0x6, 0xb0046\nMOVS            R0, #0                                                 ; +0x8, 0xb0048\nADD             R1, SP, #0x110+var_4                                   ; +0xa, 0xb004a\nADD             R2, SP, #0x110+var_8                                   ; +0xc, 0xb004c\nSTR             R0, [SP,#0x110+var_8]                                  ; +0xe, 0xb004e\nMOV             R0, R5                                                 ; +0x10, 0xb0050\nBL              sub_48F28                                              ; +0x12, 0xb0052\nMOV             R4, R0                                                 ; +0x16, 0xb0056\nCBNZ            R0, loc_B0064                                          ; +0x18, 0xb0058\nLDR             R0, [SP,#0x110+var_4]                                  ; +0x1a, 0xb005a\nBL              sub_49324                                              ; +0x1c, 0xb005c\nMOV             R4, R0                                                 ; +0x20, 0xb0060\nCBZ             R0, loc_B008C                                          ; +0x22, 0xb0062\nLDR             R0, =(off_E6144 - 0xB006A)                             ; +0x24, 0xb0064\nADD             R0, PC; off_E6144                                      ; +0x26, 0xb0066\nLDR             R0, [R0]; off_E8000                                    ; +0x28, 0xb0068\nLDR             R0, [R0]; dword_F2488                                  ; +0x2a, 0xb006a\nLDRB            R0, [R0,#(dword_F249C - 0xF2488)]                      ; +0x2c, 0xb006c\nLSLS            R0, R0, #0x18                                          ; +0x2e, 0xb006e\nBPL             loc_B008E                                              ; +0x30, 0xb0070\nMOVS            R0, #0                                                 ; +0x32, 0xb0072\nMOVS            R1, #3                                                 ; +0x34, 0xb0074\nSTRB.W          R0, [SP,#0x110+var_108]                                ; +0x36, 0xb0076\nADD             R0, SP, #0x110+var_108                                 ; +0x3a, 0xb007a\nSTR             R0, [SP,#0x110+var_110]                                ; +0x3c, 0xb007c\nMOV             R0, R4                                                 ; +0x3e, 0xb007e\nLDR             R3, =(aChannelgroupRe - 0xB0088); \"ChannelGroup::release\" ... ; +0x40, 0xb0080\nMOV             R2, R5                                                 ; +0x42, 0xb0082\nADD             R3, PC; \"ChannelGroup::release\"                        ; +0x44, 0xb0084\nBL              sub_BAB40                                              ; +0x46, 0xb0086\nB               loc_B008E                                              ; +0x4a, 0xb008a\nMOVS            R4, #0                                                 ; +0x4c, 0xb008c\nADD             R0, SP, #0x110+var_8                                   ; +0x4e, 0xb008e\nBL              sub_444C0                                              ; +0x50, 0xb0090\nMOV             R0, R4                                                 ; +0x54, 0xb0094\nADD             SP, SP, #0x110                                         ; +0x56, 0xb0096\nPOP             {R4,R5,R7,PC}                                          ; +0x58, 0xb0098", "xrefs": ["FMOD::ChannelGroup::release @ 0xe0bf8"], "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"}