{"type": "func", "start": 567604, "end": 567714, "name": "FMOD::DSPConnection::setMix", "pseudocode": "// \n// FMOD::DSPConnection::setMix from 0x8a934 to 0x8a9a2 (110 bytes)\n// \n// 1 xrefs:\n// > FMOD::DSPConnection::setMix @ 0xe1038\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:23 +0000\n// \n\nint __fastcall FMOD::DSPConnection::setMix(FMOD::DSPConnection *this, float a2)\n{\n  int v3; // r5\n  int v5; // r6\n  __int16 v7[128]; // [sp+8h] [bp-118h] BYREF\n  int v8; // [sp+108h] [bp-18h] BYREF\n  int v9; // [sp+10Ch] [bp-14h] BYREF\n\n  v3 = 0;\n  v8 = 0;\n  v5 = sub_8D300(this, &v9, &v8);\n  if ( v5 || (v5 = sub_8E614(v9, LODWORD(a2), 64, 1, 0)) != 0 )\n  {\n    if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )\n    {\n      sub_5C934(v7, 256, a2);\n      sub_BAB40(v5, 8, this, \"DSPConnection::setMix\", v7);\n    }\n    v3 = v5;\n  }\n  sub_444C0(&v8);\n  return v3;\n}", "assembly": "; \n; FMOD::DSPConnection::setMix from 0x8a934 to 0x8a9a2 (110 bytes)\n; \n; 1 xrefs:\n; > FMOD::DSPConnection::setMix @ 0xe1038\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:23 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x8a934\nADD             R7, SP, #0xC                                           ; +0x2, 0x8a936\nPUSH.W          {R8}                                                   ; +0x4, 0x8a938\nSUB             SP, SP, #0x110                                         ; +0x8, 0x8a93c\nMOV             R8, R1                                                 ; +0xa, 0x8a93e\nADD             R1, SP, #0x110+var_4                                   ; +0xc, 0x8a940\nADD             R2, SP, #0x110+var_8                                   ; +0xe, 0x8a942\nMOVS            R5, #0                                                 ; +0x10, 0x8a944\nMOV             R4, R0                                                 ; +0x12, 0x8a946\nSTR             R5, [SP,#0x110+var_8]                                  ; +0x14, 0x8a948\nBL              sub_8D300                                              ; +0x16, 0x8a94a\nMOV             R6, R0                                                 ; +0x1a, 0x8a94e\nCBNZ            R0, loc_8A964                                          ; +0x1c, 0x8a950\nLDR             R0, [SP,#0x110+var_4]                                  ; +0x1e, 0x8a952\nMOV             R1, R8                                                 ; +0x20, 0x8a954\nMOVS            R2, #0x40 ; '@'                                        ; +0x22, 0x8a956\nMOVS            R3, #1                                                 ; +0x24, 0x8a958\nSTR             R5, [SP,#0x110+var_110]                                ; +0x26, 0x8a95a\nBL              sub_8E614                                              ; +0x28, 0x8a95c\nMOV             R6, R0                                                 ; +0x2c, 0x8a960\nCBZ             R0, loc_8A992                                          ; +0x2e, 0x8a962\nLDR             R0, =(off_E6144 - 0x8A96A)                             ; +0x30, 0x8a964\nADD             R0, PC; off_E6144                                      ; +0x32, 0x8a966\nLDR             R0, [R0]; off_E8000                                    ; +0x34, 0x8a968\nLDR             R0, [R0]; dword_F2488                                  ; +0x36, 0x8a96a\nLDRB            R0, [R0,#(dword_F249C - 0xF2488)]                      ; +0x38, 0x8a96c\nLSLS            R0, R0, #0x18                                          ; +0x3a, 0x8a96e\nBPL             loc_8A990                                              ; +0x3c, 0x8a970\nADD             R5, SP, #0x110+var_108                                 ; +0x3e, 0x8a972\nMOV.W           R1, #0x100                                             ; +0x40, 0x8a974\nMOV             R2, R8                                                 ; +0x44, 0x8a978\nMOV             R0, R5                                                 ; +0x46, 0x8a97a\nBL              sub_5C934                                              ; +0x48, 0x8a97c\nSTR             R5, [SP,#0x110+var_110]                                ; +0x4c, 0x8a980\nMOV             R0, R6                                                 ; +0x4e, 0x8a982\nLDR             R3, =(aDspconnectionS - 0x8A98E); \"DSPConnection::setMix\" ... ; +0x50, 0x8a984\nMOVS            R1, #8                                                 ; +0x52, 0x8a986\nMOV             R2, R4                                                 ; +0x54, 0x8a988\nADD             R3, PC; \"DSPConnection::setMix\"                        ; +0x56, 0x8a98a\nBL              sub_BAB40                                              ; +0x58, 0x8a98c\nMOV             R5, R6                                                 ; +0x5c, 0x8a990\nADD             R0, SP, #0x110+var_8                                   ; +0x5e, 0x8a992\nBL              sub_444C0                                              ; +0x60, 0x8a994\nMOV             R0, R5                                                 ; +0x64, 0x8a998\nADD             SP, SP, #0x110                                         ; +0x66, 0x8a99a\nPOP.W           {R8}                                                   ; +0x68, 0x8a99c\nPOP             {R4-R7,PC}                                             ; +0x6c, 0x8a9a0", "xrefs": ["FMOD::DSPConnection::setMix @ 0xe1038"], "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"}