{"type": "func", "start": 856276, "end": 856384, "name": "sub_D10D4", "pseudocode": "// \n// sub_D10D4 from 0xd10d4 to 0xd1140 (108 bytes)\n// \n// 2 xrefs:\n// > sub_D1F14 @ 0xd1f24\n// > FMOD::Sound::set3DMinMaxDistance @ 0xd87c0\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_D10D4(__int16 *a1, __int64 a2, float a3, float a4)\n{\n  int v5; // w19\n  int v7; // w21\n  __int64 v8; // x21\n\n  v5 = a2;\n  v7 = sub_7154C(a1, a2, a3);\n  v8 = (int)sub_715AC((_BYTE *)a1 + v7, v5 - v7, \", \") + (__int64)v7;\n  return (unsigned int)v8 + (unsigned int)sub_7154C((__int16 *)((char *)a1 + v8), (unsigned int)(v5 - v8), a4);\n}", "assembly": "; \n; sub_D10D4 from 0xd10d4 to 0xd1140 (108 bytes)\n; \n; 2 xrefs:\n; > sub_D1F14 @ 0xd1f24\n; > FMOD::Sound::set3DMinMaxDistance @ 0xd87c0\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\nSTR             D8, [SP,#-0x10+var_20]!                                ; +0x0, 0xd10d4\nSTR             X21, [SP,#0x20+var_18]                                 ; +0x4, 0xd10d8\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x8, 0xd10dc\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0xc, 0xd10e0\nADD             X29, SP, #0x20                                         ; +0x10, 0xd10e4\nMOV             V8.16B, V1.16B                                         ; +0x14, 0xd10e8\nMOV             W19, W1                                                ; +0x18, 0xd10ec\nMOV             X20, X0                                                ; +0x1c, 0xd10f0\nBL              sub_7154C                                              ; +0x20, 0xd10f4\nMOV             W21, W0                                                ; +0x24, 0xd10f8\nADRP            X2, #asc_2DA9C@PAGE; \", \"                              ; +0x28, 0xd10fc\nADD             X0, X20, W0,SXTW                                       ; +0x2c, 0xd1100\nSUB             W1, W19, W21                                           ; +0x30, 0xd1104\nADD             X2, X2, #asc_2DA9C@PAGEOFF; \", \"                       ; +0x34, 0xd1108\nBL              sub_715AC                                              ; +0x38, 0xd110c\nSXTW            X8, W0                                                 ; +0x3c, 0xd1110\nADD             X21, X8, W21,SXTW                                      ; +0x40, 0xd1114\nADD             X0, X20, X21                                           ; +0x44, 0xd1118\nSUB             W1, W19, W21                                           ; +0x48, 0xd111c\nMOV             V0.16B, V8.16B                                         ; +0x4c, 0xd1120\nBL              sub_7154C                                              ; +0x50, 0xd1124\nADD             W0, W21, W0                                            ; +0x54, 0xd1128\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x58, 0xd112c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x5c, 0xd1130\nLDR             X21, [SP,#0x20+var_18]                                 ; +0x60, 0xd1134\nLDR             D8, [SP+0x20+var_20],#0x30                             ; +0x64, 0xd1138\nRET                                                                    ; +0x68, 0xd113c", "xrefs": ["sub_D1F14 @ 0xd1f24", "FMOD::Sound::set3DMinMaxDistance @ 0xd87c0"], "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"}