{"type": "func", "start": 724900, "end": 725020, "name": "FMOD::DSP::getInput", "pseudocode": "// \n// FMOD::DSP::getInput from 0xb0fa4 to 0xb101c (120 bytes)\n// \n// 1 xrefs:\n// > FMOD::DSP::getInput @ 0xe0df8\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:40 +0000\n// \n\nint __fastcall FMOD::DSP::getInput(FMOD::DSP *this, int a2, FMOD::DSP **a3, FMOD::DSPConnection **a4)\n{\n  int v8; // r5\n  _BYTE v10[256]; // [sp+8h] [bp-120h] BYREF\n  int v11; // [sp+108h] [bp-20h] BYREF\n  int v12; // [sp+10Ch] [bp-1Ch] BYREF\n\n  v11 = 0;\n  v8 = FMOD::DSPI::validate(this, &v12, &v11);\n  if ( v8 || (v8 = sub_7754C(v12, a2, (int)a3, (int)a4)) != 0 )\n  {\n    if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )\n    {\n      sub_B1024(v10, 256, a2, a3, a4);\n      sub_BAB40(v8, 7, this, \"DSP::getInput\", v10);\n    }\n  }\n  else\n  {\n    v8 = 0;\n  }\n  sub_444C0(&v11);\n  return v8;\n}", "assembly": "; \n; FMOD::DSP::getInput from 0xb0fa4 to 0xb101c (120 bytes)\n; \n; 1 xrefs:\n; > FMOD::DSP::getInput @ 0xe0df8\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:40 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0xb0fa4\nADD             R7, SP, #0xC                                           ; +0x2, 0xb0fa6\nPUSH.W          {R8,R9,R11}                                            ; +0x4, 0xb0fa8\nSUB             SP, SP, #0x110                                         ; +0x8, 0xb0fac\nMOV             R8, R2                                                 ; +0xa, 0xb0fae\nMOV             R9, R1                                                 ; +0xc, 0xb0fb0\nMOV             R4, R0                                                 ; +0xe, 0xb0fb2\nMOVS            R0, #0                                                 ; +0x10, 0xb0fb4\nADD             R1, SP, #0x110+var_4                                   ; +0x12, 0xb0fb6\nADD             R2, SP, #0x110+var_8                                   ; +0x14, 0xb0fb8\nSTR             R0, [SP,#0x110+var_8]                                  ; +0x16, 0xb0fba\nMOV             R0, R4                                                 ; +0x18, 0xb0fbc\nMOV             R6, R3                                                 ; +0x1a, 0xb0fbe\nBLX             j__ZN4FMOD4DSPI8validateEPNS_3DSPEPPS0_PNS_15SystemLockScopeE; FMOD::DSPI::validate(FMOD::DSP *,FMOD::DSPI**,FMOD::SystemLockScope *) ; +0x1c, 0xb0fc0\nMOV             R5, R0                                                 ; +0x20, 0xb0fc4\nCBNZ            R0, loc_B0FD8                                          ; +0x22, 0xb0fc6\nLDR             R0, [SP,#0x110+var_4]                                  ; +0x24, 0xb0fc8\nMOV             R1, R9                                                 ; +0x26, 0xb0fca\nMOV             R2, R8                                                 ; +0x28, 0xb0fcc\nMOV             R3, R6                                                 ; +0x2a, 0xb0fce\nBL              sub_7754C                                              ; +0x2c, 0xb0fd0\nMOV             R5, R0                                                 ; +0x30, 0xb0fd4\nCBZ             R0, loc_B100A                                          ; +0x32, 0xb0fd6\nLDR             R0, =(off_E6144 - 0xB0FDE)                             ; +0x34, 0xb0fd8\nADD             R0, PC; off_E6144                                      ; +0x36, 0xb0fda\nLDR             R0, [R0]; off_E8000                                    ; +0x38, 0xb0fdc\nLDR             R0, [R0]; dword_F2488                                  ; +0x3a, 0xb0fde\nLDRB            R0, [R0,#(dword_F249C - 0xF2488)]                      ; +0x3c, 0xb0fe0\nLSLS            R0, R0, #0x18                                          ; +0x3e, 0xb0fe2\nBPL             loc_B100C                                              ; +0x40, 0xb0fe4\nSTR             R6, [SP,#0x110+var_110]                                ; +0x42, 0xb0fe6\nADD             R6, SP, #0x110+var_108                                 ; +0x44, 0xb0fe8\nMOV.W           R1, #0x100                                             ; +0x46, 0xb0fea\nMOV             R2, R9                                                 ; +0x4a, 0xb0fee\nMOV             R0, R6                                                 ; +0x4c, 0xb0ff0\nMOV             R3, R8                                                 ; +0x4e, 0xb0ff2\nBL              sub_B1024                                              ; +0x50, 0xb0ff4\nSTR             R6, [SP,#0x110+var_110]                                ; +0x54, 0xb0ff8\nMOV             R0, R5                                                 ; +0x56, 0xb0ffa\nLDR             R3, =(aDspGetinput - 0xB1006); \"DSP::getInput\" ...     ; +0x58, 0xb0ffc\nMOVS            R1, #7                                                 ; +0x5a, 0xb0ffe\nMOV             R2, R4                                                 ; +0x5c, 0xb1000\nADD             R3, PC; \"DSP::getInput\"                                ; +0x5e, 0xb1002\nBL              sub_BAB40                                              ; +0x60, 0xb1004\nB               loc_B100C                                              ; +0x64, 0xb1008\nMOVS            R5, #0                                                 ; +0x66, 0xb100a\nADD             R0, SP, #0x110+var_8                                   ; +0x68, 0xb100c\nBL              sub_444C0                                              ; +0x6a, 0xb100e\nMOV             R0, R5                                                 ; +0x6e, 0xb1012\nADD             SP, SP, #0x110                                         ; +0x70, 0xb1014\nPOP.W           {R8,R9,R11}                                            ; +0x72, 0xb1016\nPOP             {R4-R7,PC}                                             ; +0x76, 0xb101a", "xrefs": ["FMOD::DSP::getInput @ 0xe0df8"], "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"}