{"type": "func", "start": 887888, "end": 887988, "name": "sub_D8C50", "pseudocode": "// \n// sub_D8C50 from 0xd8c50 to 0xd8cb4 (100 bytes)\n// \n// 2 xrefs:\n// > FMOD::Sound::getSubSound @ 0xd8c24\n// > FMOD::SoundGroup::getSound @ 0xdab90\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\n__int64 __fastcall sub_D8C50(_BYTE *a1, __int64 a2, unsigned int a3, const void *a4)\n{\n  int v5; // w20\n  int v7; // w22\n  __int64 v8; // x22\n\n  v5 = a2;\n  v7 = sub_714EC(a1, a2, a3);\n  v8 = (int)sub_715AC(&a1[v7], v5 - v7, \", \") + (__int64)v7;\n  return (unsigned int)v8 + (unsigned int)sub_71798((__int64)&a1[v8], (unsigned int)(v5 - v8), a4);\n}", "assembly": "; \n; sub_D8C50 from 0xd8c50 to 0xd8cb4 (100 bytes)\n; \n; 2 xrefs:\n; > FMOD::Sound::getSubSound @ 0xd8c24\n; > FMOD::SoundGroup::getSound @ 0xdab90\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0xd8c50\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0xd8c54\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0xd8c58\nADD             X29, SP, #0x20                                         ; +0xc, 0xd8c5c\nMOV             X19, X3                                                ; +0x10, 0xd8c60\nMOV             W20, W1                                                ; +0x14, 0xd8c64\nMOV             X21, X0                                                ; +0x18, 0xd8c68\nBL              sub_714EC                                              ; +0x1c, 0xd8c6c\nMOV             W22, W0                                                ; +0x20, 0xd8c70\nADRP            X2, #asc_2DA9C@PAGE; \", \"                              ; +0x24, 0xd8c74\nADD             X0, X21, W0,SXTW                                       ; +0x28, 0xd8c78\nSUB             W1, W20, W22                                           ; +0x2c, 0xd8c7c\nADD             X2, X2, #asc_2DA9C@PAGEOFF; \", \"                       ; +0x30, 0xd8c80\nBL              sub_715AC                                              ; +0x34, 0xd8c84\nSXTW            X8, W0                                                 ; +0x38, 0xd8c88\nADD             X22, X8, W22,SXTW                                      ; +0x3c, 0xd8c8c\nADD             X0, X21, X22                                           ; +0x40, 0xd8c90\nSUB             W1, W20, W22                                           ; +0x44, 0xd8c94\nMOV             X2, X19                                                ; +0x48, 0xd8c98\nBL              sub_71798                                              ; +0x4c, 0xd8c9c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x50, 0xd8ca0\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x54, 0xd8ca4\nADD             W0, W22, W0                                            ; +0x58, 0xd8ca8\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x5c, 0xd8cac\nRET                                                                    ; +0x60, 0xd8cb0", "xrefs": ["FMOD::Sound::getSubSound @ 0xd8c24", "FMOD::SoundGroup::getSound @ 0xdab90"], "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"}