{"type": "func", "start": 887576, "end": 887720, "name": "FMOD::Sound::get3DCustomRolloff", "pseudocode": "// \n// FMOD::Sound::get3DCustomRolloff from 0xd8b18 to 0xd8ba8 (144 bytes)\n// \n// 4 xrefs:\n// > FMOD::Sound::get3DCustomRolloff @ 0x1071ec\n// > <???> @ 0x3610\n// > FMOD::Sound::get3DCustomRolloff @ 0x1071e4\n// > <???> @ 0x1101b8\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::get3DCustomRolloff(__int64 a1, __int64 a2, __int64 a3)\n{\n  unsigned int v3; // w22\n  __int64 v4; // x0\n  int v5; // w8\n  char v6; // zf\n  __int64 v7; // x0\n  __int64 v8; // x8\n  char v9; // w8\n  __int64 v10; // x0\n  __int64 v11; // x1\n  const void *v12; // x2\n  _DWORD *v13; // x3\n  __int64 v15; // [xsp+0h] [xbp-140h] BYREF\n\n  v3 = sub_DA444(a1, a2, a3);\n  if ( !v3 )\n  {\n    v4 = sub_DA368();\n    if ( !v5 || (v4 = sub_DA358(v4), v6) || (v4 = sub_DA410(v4), v6) )\n    {\n      v7 = sub_DA4F0(v4);\n      v3 = (*(__int64 (__fastcall **)(__int64))(v8 + 112))(v7);\n      if ( !v3 )\n        return v3;\n    }\n    else\n    {\n      v3 = 46;\n    }\n  }\n  sub_DA344();\n  if ( v9 < 0 )\n  {\n    v10 = sub_DA55C(&v15);\n    sub_D162C(v10, v11, v12, v13);\n    sub_DA398(v3, 5);\n  }\n  return v3;\n}", "assembly": "; \n; FMOD::Sound::get3DCustomRolloff from 0xd8b18 to 0xd8ba8 (144 bytes)\n; \n; 4 xrefs:\n; > FMOD::Sound::get3DCustomRolloff @ 0x1071ec\n; > <???> @ 0x3610\n; > FMOD::Sound::get3DCustomRolloff @ 0x1071e4\n; > <???> @ 0x1101b8\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, #0x140                                         ; +0x0, 0xd8b18\nSTP             X29, X30, [SP,#0x140+var_10]                           ; +0x4, 0xd8b1c\nBL              sub_DA444                                              ; +0x8, 0xd8b20\nMOV             W22, W0                                                ; +0xc, 0xd8b24\nCBNZ            W0, loc_D8B64                                          ; +0x10, 0xd8b28\nBL              sub_DA368                                              ; +0x14, 0xd8b2c\nCBZ             W8, loc_D8B48                                          ; +0x18, 0xd8b30\nLDUR            X8, [X29,#-0x28]                                       ; +0x1c, 0xd8b34\nBL              sub_DA358                                              ; +0x20, 0xd8b38\nB.EQ            loc_D8B48                                              ; +0x24, 0xd8b3c\nBL              sub_DA410                                              ; +0x28, 0xd8b40\nB.NE            loc_D8B60                                              ; +0x2c, 0xd8b44\nBL              sub_DA4F0                                              ; +0x30, 0xd8b48\nLDR             X8, [X8,#0x70]                                         ; +0x34, 0xd8b4c\nBLR             X8                                                     ; +0x38, 0xd8b50\nMOV             W22, W0                                                ; +0x3c, 0xd8b54\nCBNZ            W0, loc_D8B64                                          ; +0x40, 0xd8b58\nB               loc_D8B90                                              ; +0x44, 0xd8b5c\nMOV             W22, #0x2E ; '.'                                       ; +0x48, 0xd8b60\nBL              sub_DA344                                              ; +0x4c, 0xd8b64\nTBZ             W8, #7, loc_D8B90                                      ; +0x50, 0xd8b68\nMOV             X0, SP                                                 ; +0x54, 0xd8b6c\nBL              sub_DA55C                                              ; +0x58, 0xd8b70\nBL              sub_D162C                                              ; +0x5c, 0xd8b74\nADRL            X3, aSoundGet3dcust; \"Sound::get3DCustomRolloff\"       ; +0x60, 0xd8b78\nMOV             X4, SP                                                 ; +0x68, 0xd8b80\nMOV             W1, #5                                                 ; +0x6c, 0xd8b84\nMOV             W0, W22                                                ; +0x70, 0xd8b88\nBL              sub_DA398                                              ; +0x74, 0xd8b8c\nMOV             W0, W22                                                ; +0x78, 0xd8b90\nLDP             X29, X30, [SP,#0x140+var_10]                           ; +0x7c, 0xd8b94\nLDP             X20, X19, [SP,#0x140+var_20]                           ; +0x80, 0xd8b98\nLDP             X22, X21, [SP,#0x140+var_30]                           ; +0x84, 0xd8b9c\nLDR             X28, [SP,#0x140+var_40]                                ; +0x88, 0xd8ba0\nB               loc_DA43C                                              ; +0x8c, 0xd8ba4", "xrefs": ["FMOD::Sound::get3DCustomRolloff @ 0x1071ec", "<???> @ 0x3610", "FMOD::Sound::get3DCustomRolloff @ 0x1071e4", "<???> @ 0x1101b8"], "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"}