{"type": "func", "start": 748940, "end": 749052, "name": "FMOD::SoundGroup::getNumPlaying", "pseudocode": "// \n// FMOD::SoundGroup::getNumPlaying from 0xb6d8c to 0xb6dfc (112 bytes)\n// \n// 1 xrefs:\n// > FMOD::SoundGroup::getNumPlaying @ 0xe0d58\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:43 +0000\n// \n\nint __fastcall FMOD::SoundGroup::getNumPlaying(FMOD::SoundGroup *this, int *a2)\n{\n  int v4; // r4\n  _BYTE v6[256]; // [sp+8h] [bp-118h] BYREF\n  int v7; // [sp+108h] [bp-18h] BYREF\n  int v8; // [sp+10Ch] [bp-14h] BYREF\n\n  v7 = 0;\n  v4 = sub_549DC((int)this, &v8, &v7);\n  if ( v4 || (v4 = sub_54E1C(v8, a2)) != 0 )\n  {\n    if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )\n    {\n      sub_5C9EC((int)v6, 256, a2);\n      sub_BAB40(v4, 6, this, \"SoundGroup::getNumPlaying\", v6);\n    }\n  }\n  else\n  {\n    v4 = 0;\n  }\n  sub_444C0(&v7);\n  return v4;\n}", "assembly": "; \n; FMOD::SoundGroup::getNumPlaying from 0xb6d8c to 0xb6dfc (112 bytes)\n; \n; 1 xrefs:\n; > FMOD::SoundGroup::getNumPlaying @ 0xe0d58\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:43 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0xb6d8c\nADD             R7, SP, #0xC                                           ; +0x2, 0xb6d8e\nPUSH.W          {R8}                                                   ; +0x4, 0xb6d90\nSUB             SP, SP, #0x110                                         ; +0x8, 0xb6d94\nMOV             R6, R1                                                 ; +0xa, 0xb6d96\nMOV             R5, R0                                                 ; +0xc, 0xb6d98\nMOVS            R0, #0                                                 ; +0xe, 0xb6d9a\nADD             R1, SP, #0x110+var_4                                   ; +0x10, 0xb6d9c\nADD             R2, SP, #0x110+var_8                                   ; +0x12, 0xb6d9e\nSTR             R0, [SP,#0x110+var_8]                                  ; +0x14, 0xb6da0\nMOV             R0, R5                                                 ; +0x16, 0xb6da2\nBL              sub_549DC                                              ; +0x18, 0xb6da4\nMOV             R4, R0                                                 ; +0x1c, 0xb6da8\nCBNZ            R0, loc_B6DB8                                          ; +0x1e, 0xb6daa\nLDR             R0, [SP,#0x110+var_4]                                  ; +0x20, 0xb6dac\nMOV             R1, R6                                                 ; +0x22, 0xb6dae\nBL              sub_54E1C                                              ; +0x24, 0xb6db0\nMOV             R4, R0                                                 ; +0x28, 0xb6db4\nCBZ             R0, loc_B6DEA                                          ; +0x2a, 0xb6db6\nLDR             R0, =(off_E6144 - 0xB6DBE)                             ; +0x2c, 0xb6db8\nADD             R0, PC; off_E6144                                      ; +0x2e, 0xb6dba\nLDR             R0, [R0]; off_E8000                                    ; +0x30, 0xb6dbc\nLDR             R0, [R0]; dword_F2488                                  ; +0x32, 0xb6dbe\nLDRB            R0, [R0,#(dword_F249C - 0xF2488)]                      ; +0x34, 0xb6dc0\nLSLS            R0, R0, #0x18                                          ; +0x36, 0xb6dc2\nBPL             loc_B6DEC                                              ; +0x38, 0xb6dc4\nADD.W           R8, SP, #0x110+var_108                                 ; +0x3a, 0xb6dc6\nMOV.W           R1, #0x100                                             ; +0x3e, 0xb6dca\nMOV             R2, R6                                                 ; +0x42, 0xb6dce\nMOV             R0, R8                                                 ; +0x44, 0xb6dd0\nBL              sub_5C9EC                                              ; +0x46, 0xb6dd2\nSTR.W           R8, [SP,#0x110+var_110]                                ; +0x4a, 0xb6dd6\nMOV             R0, R4                                                 ; +0x4e, 0xb6dda\nLDR             R3, =(aSoundgroupGetn_1 - 0xB6DE6); \"SoundGroup::getNumPlaying\" ... ; +0x50, 0xb6ddc\nMOVS            R1, #6                                                 ; +0x52, 0xb6dde\nMOV             R2, R5                                                 ; +0x54, 0xb6de0\nADD             R3, PC; \"SoundGroup::getNumPlaying\"                    ; +0x56, 0xb6de2\nBL              sub_BAB40                                              ; +0x58, 0xb6de4\nB               loc_B6DEC                                              ; +0x5c, 0xb6de8\nMOVS            R4, #0                                                 ; +0x5e, 0xb6dea\nADD             R0, SP, #0x110+var_8                                   ; +0x60, 0xb6dec\nBL              sub_444C0                                              ; +0x62, 0xb6dee\nMOV             R0, R4                                                 ; +0x66, 0xb6df2\nADD             SP, SP, #0x110                                         ; +0x68, 0xb6df4\nPOP.W           {R8}                                                   ; +0x6a, 0xb6df6\nPOP             {R4-R7,PC}                                             ; +0x6e, 0xb6dfa", "xrefs": ["FMOD::SoundGroup::getNumPlaying @ 0xe0d58"], "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"}