{"type": "func", "start": 756936, "end": 757070, "name": "FMOD::System::set3DListenerAttributes", "pseudocode": "// \n// FMOD::System::set3DListenerAttributes from 0xb8cc8 to 0xb8d4e (134 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::set3DListenerAttributes @ 0xe0188\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:44 +0000\n// \n\nint __fastcall FMOD::System::set3DListenerAttributes(\n        int a1,\n        unsigned int a2,\n        float *a3,\n        float *a4,\n        float *a5,\n        float *a6)\n{\n  int v10; // r5\n  _BYTE v12[256]; // [sp+Ch] [bp-124h] BYREF\n  int v13; // [sp+10Ch] [bp-24h] BYREF\n  int v14; // [sp+110h] [bp-20h] BYREF\n\n  v13 = 0;\n  v10 = FMOD::SystemI::validate(a1, &v14, &v13);\n  if ( v10 || (v10 = sub_59870(v14, a2, a3, a4, a5, a6)) != 0 )\n  {\n    if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )\n    {\n      sub_B8D58(v12, 256, a2, a3, a4, a5, a6);\n      sub_BAB40(v10, 1, a1, \"System::set3DListenerAttributes\", v12);\n    }\n  }\n  else\n  {\n    v10 = 0;\n  }\n  sub_444C0(&v13);\n  return v10;\n}", "assembly": "; \n; FMOD::System::set3DListenerAttributes from 0xb8cc8 to 0xb8d4e (134 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::set3DListenerAttributes @ 0xe0188\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:44 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0xb8cc8\nADD             R7, SP, #0xC                                           ; +0x2, 0xb8cca\nPUSH.W          {R8-R11}                                               ; +0x4, 0xb8ccc\nSUB             SP, SP, #0x114                                         ; +0x8, 0xb8cd0\nMOV             R8, R2                                                 ; +0xa, 0xb8cd2\nMOV             R9, R1                                                 ; +0xc, 0xb8cd4\nMOV             R4, R0                                                 ; +0xe, 0xb8cd6\nMOVS            R0, #0                                                 ; +0x10, 0xb8cd8\nADD             R1, SP, #0x114+var_4                                   ; +0x12, 0xb8cda\nADD             R2, SP, #0x114+var_8                                   ; +0x14, 0xb8cdc\nSTR             R0, [SP,#0x114+var_8]                                  ; +0x16, 0xb8cde\nMOV             R0, R4                                                 ; +0x18, 0xb8ce0\nMOV             R6, R3                                                 ; +0x1a, 0xb8ce2\nBLX             j__ZN4FMOD7SystemI8validateEPNS_6SystemEPPS0_PNS_15SystemLockScopeE; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI**,FMOD::SystemLockScope *) ; +0x1c, 0xb8ce4\nLDRD.W          R11, R10, [R7,#-0x1C+arg_0]                            ; +0x20, 0xb8ce8\nMOV             R5, R0                                                 ; +0x24, 0xb8cec\nCBNZ            R0, loc_B8D04                                          ; +0x26, 0xb8cee\nLDR             R0, [SP,#0x114+var_4]                                  ; +0x28, 0xb8cf0\nMOV             R1, R9                                                 ; +0x2a, 0xb8cf2\nMOV             R2, R8                                                 ; +0x2c, 0xb8cf4\nMOV             R3, R6                                                 ; +0x2e, 0xb8cf6\nSTRD.W          R11, R10, [SP,#0x114+var_114]                          ; +0x30, 0xb8cf8\nBL              sub_59870                                              ; +0x34, 0xb8cfc\nMOV             R5, R0                                                 ; +0x38, 0xb8d00\nCBZ             R0, loc_B8D3C                                          ; +0x3a, 0xb8d02\nLDR             R0, =(off_E6144 - 0xB8D0A)                             ; +0x3c, 0xb8d04\nADD             R0, PC; off_E6144                                      ; +0x3e, 0xb8d06\nLDR             R0, [R0]; off_E8000                                    ; +0x40, 0xb8d08\nLDR             R0, [R0]; dword_F2488                                  ; +0x42, 0xb8d0a\nLDRB            R0, [R0,#(dword_F249C - 0xF2488)]                      ; +0x44, 0xb8d0c\nLSLS            R0, R0, #0x18                                          ; +0x46, 0xb8d0e\nBPL             loc_B8D3E                                              ; +0x48, 0xb8d10\nSTRD.W          R6, R11, [SP,#0x114+var_114]                           ; +0x4a, 0xb8d12\nADD             R6, SP, #0x114+var_108                                 ; +0x4e, 0xb8d16\nMOV.W           R1, #0x100                                             ; +0x50, 0xb8d18\nMOV             R2, R9                                                 ; +0x54, 0xb8d1c\nMOV             R0, R6                                                 ; +0x56, 0xb8d1e\nMOV             R3, R8                                                 ; +0x58, 0xb8d20\nSTR.W           R10, [SP,#0x114+var_10C]                               ; +0x5a, 0xb8d22\nBL              sub_B8D58                                              ; +0x5e, 0xb8d26\nSTR             R6, [SP,#0x114+var_114]                                ; +0x62, 0xb8d2a\nMOV             R0, R5                                                 ; +0x64, 0xb8d2c\nLDR             R3, =(aSystemSet3dlis - 0xB8D38); \"System::set3DListenerAttributes\" ... ; +0x66, 0xb8d2e\nMOVS            R1, #1                                                 ; +0x68, 0xb8d30\nMOV             R2, R4                                                 ; +0x6a, 0xb8d32\nADD             R3, PC; \"System::set3DListenerAttributes\"              ; +0x6c, 0xb8d34\nBL              sub_BAB40                                              ; +0x6e, 0xb8d36\nB               loc_B8D3E                                              ; +0x72, 0xb8d3a\nMOVS            R5, #0                                                 ; +0x74, 0xb8d3c\nADD             R0, SP, #0x114+var_8                                   ; +0x76, 0xb8d3e\nBL              sub_444C0                                              ; +0x78, 0xb8d40\nMOV             R0, R5                                                 ; +0x7c, 0xb8d44\nADD             SP, SP, #0x114                                         ; +0x7e, 0xb8d46\nPOP.W           {R8-R11}                                               ; +0x80, 0xb8d48\nPOP             {R4-R7,PC}                                             ; +0x84, 0xb8d4c", "xrefs": ["FMOD::System::set3DListenerAttributes @ 0xe0188"], "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"}