{"type": "func", "start": 887720, "end": 887888, "name": "FMOD::Sound::getSubSound", "pseudocode": "// \n// FMOD::Sound::getSubSound from 0xd8ba8 to 0xd8c50 (168 bytes)\n// \n// 4 xrefs:\n// > FMOD::Sound::getSubSound @ 0x1071fc\n// > <???> @ 0x62e0\n// > FMOD::Sound::getSubSound @ 0x1071f4\n// > <???> @ 0x1101c0\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 12:14:54 +0000\n// \n\n__int64 __fastcall FMOD::Sound::getSubSound(FMOD::Sound *this, int a2, FMOD::Sound **a3)\n{\n  unsigned int v3; // w22\n  __int64 v4; // x0\n  int v5; // w8\n  int v6; // w9\n  __int64 v7; // x0\n  __int64 v8; // x8\n  __int64 v9; // x0\n  char v10; // w8\n  __int64 v11; // x0\n\n  v3 = sub_DA3AC(this);\n  if ( !v3 )\n  {\n    v4 = sub_DA3A0();\n    if ( v6 && v5 )\n    {\n      v3 = 46;\n    }\n    else\n    {\n      v7 = sub_DA5A8(v4);\n      v9 = (*(__int64 (__fastcall **)(__int64))(v8 + 120))(v7);\n      v3 = v9;\n      if ( !(_DWORD)v9 )\n        goto LABEL_8;\n    }\n  }\n  v9 = sub_DA344();\n  if ( v10 < 0 )\n  {\n    v11 = sub_DA56C(v9);\n    sub_D8C50(v11);\n    v9 = sub_DA398(v3, 5);\n  }\nLABEL_8:\n  sub_DA4E8(v9);\n  return v3;\n}", "assembly": "; \n; FMOD::Sound::getSubSound from 0xd8ba8 to 0xd8c50 (168 bytes)\n; \n; 4 xrefs:\n; > FMOD::Sound::getSubSound @ 0x1071fc\n; > <???> @ 0x62e0\n; > FMOD::Sound::getSubSound @ 0x1071f4\n; > <???> @ 0x1101c0\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 12:14:54 +0000\n; \nSUB             SP, SP, #0x150                                         ; +0x0, 0xd8ba8\nSTP             X29, X30, [SP,#0x140+var_s0]                           ; +0x4, 0xd8bac\nADD             X29, SP, #0x140                                        ; +0x8, 0xd8bb0\nSTP             X22, X21, [SP,#0x140+var_20]                           ; +0xc, 0xd8bb4\nSTP             X20, X19, [SP,#0x140+var_10]                           ; +0x10, 0xd8bb8\nMOV             X20, X2                                                ; +0x14, 0xd8bbc\nMOV             W21, W1                                                ; +0x18, 0xd8bc0\nBL              sub_DA3AC                                              ; +0x1c, 0xd8bc4\nMOV             W22, W0                                                ; +0x20, 0xd8bc8\nCBNZ            W0, loc_D8C18                                          ; +0x24, 0xd8bcc\nLDUR            X8, [X29,#var_28]                                      ; +0x28, 0xd8bd0\nLDR             X9, [X8,#0x108]                                        ; +0x2c, 0xd8bd4\nCBZ             X9, loc_D8BEC                                          ; +0x30, 0xd8bd8\nLDR             W9, [X9,#0x124]                                        ; +0x34, 0xd8bdc\nCMP             W9, #0xF                                               ; +0x38, 0xd8be0\nCSET            W9, NE                                                 ; +0x3c, 0xd8be4\nB               loc_D8BF0                                              ; +0x40, 0xd8be8\nMOV             W9, #1                                                 ; +0x44, 0xd8bec\nBL              sub_DA3A0                                              ; +0x48, 0xd8bf0\nCBZ             W9, loc_D8C04                                          ; +0x4c, 0xd8bf4\nCBZ             W8, loc_D8C04                                          ; +0x50, 0xd8bf8\nMOV             W22, #0x2E ; '.'                                       ; +0x54, 0xd8bfc\nB               loc_D8C18                                              ; +0x58, 0xd8c00\nBL              sub_DA5A8                                              ; +0x5c, 0xd8c04\nLDR             X8, [X8,#0x78]                                         ; +0x60, 0xd8c08\nBLR             X8                                                     ; +0x64, 0xd8c0c\nMOV             W22, W0                                                ; +0x68, 0xd8c10\nCBZ             W0, loc_D8C40                                          ; +0x6c, 0xd8c14\nBL              sub_DA344                                              ; +0x70, 0xd8c18\nTBZ             W8, #7, loc_D8C40                                      ; +0x74, 0xd8c1c\nBL              sub_DA56C                                              ; +0x78, 0xd8c20\nBL              sub_D8C50                                              ; +0x7c, 0xd8c24\nADRL            X3, aSoundGetsubsou; \"Sound::getSubSound\"              ; +0x80, 0xd8c28\nADD             X4, SP, #0x140+var_138                                 ; +0x88, 0xd8c30\nMOV             W1, #5                                                 ; +0x8c, 0xd8c34\nMOV             W0, W22                                                ; +0x90, 0xd8c38\nBL              sub_DA398                                              ; +0x94, 0xd8c3c\nBL              sub_DA4E8                                              ; +0x98, 0xd8c40\nMOV             W0, W22                                                ; +0x9c, 0xd8c44\nLDP             X29, X30, [SP,#0x140+var_s0]                           ; +0xa0, 0xd8c48\nB               loc_DA3FC                                              ; +0xa4, 0xd8c4c", "xrefs": ["FMOD::Sound::getSubSound @ 0x1071fc", "<???> @ 0x62e0", "FMOD::Sound::getSubSound @ 0x1071f4", "<???> @ 0x1101c0"], "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"}