{"type": "func", "start": 727092, "end": 727198, "name": "FMOD::DSP::setParameterInt", "pseudocode": "// \n// FMOD::DSP::setParameterInt from 0xb1834 to 0xb189e (106 bytes)\n// \n// 1 xrefs:\n// > FMOD::DSP::setParameterInt @ 0xe0ed8\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:41 +0000\n// \n\nint __fastcall FMOD::DSP::setParameterInt(FMOD::DSP *this, int a2, int a3)\n{\n  int v6; // r5\n  _BYTE v8[256]; // [sp+4h] [bp-11Ch] BYREF\n  int v9; // [sp+104h] [bp-1Ch] BYREF\n\n  v6 = FMOD::DSPI::validate(this, &v9, nullptr);\n  if ( !v6 )\n  {\n    v6 = sub_AB28A(v9, a2);\n    if ( !v6 )\n      return 0;\n  }\n  if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )\n  {\n    sub_B18A8(v8, 256, a2, a3);\n    sub_BAB40(v6, 7, this, \"DSP::setParameterInt\", v8);\n  }\n  return v6;\n}", "assembly": "; \n; FMOD::DSP::setParameterInt from 0xb1834 to 0xb189e (106 bytes)\n; \n; 1 xrefs:\n; > FMOD::DSP::setParameterInt @ 0xe0ed8\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:41 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0xb1834\nADD             R7, SP, #0xC                                           ; +0x2, 0xb1836\nPUSH.W          {R8,R9,R11}                                            ; +0x4, 0xb1838\nSUB             SP, SP, #0x108                                         ; +0x8, 0xb183c\nMOV             R6, R1                                                 ; +0xa, 0xb183e\nADD             R1, SP, #0x108+var_4                                   ; +0xc, 0xb1840\nMOV             R8, R2                                                 ; +0xe, 0xb1842\nMOVS            R2, #0                                                 ; +0x10, 0xb1844\nMOV             R4, R0                                                 ; +0x12, 0xb1846\nBLX             j__ZN4FMOD4DSPI8validateEPNS_3DSPEPPS0_PNS_15SystemLockScopeE; FMOD::DSPI::validate(FMOD::DSP *,FMOD::DSPI**,FMOD::SystemLockScope *) ; +0x14, 0xb1848\nMOV             R5, R0                                                 ; +0x18, 0xb184c\nCBNZ            R0, loc_B185E                                          ; +0x1a, 0xb184e\nLDR             R0, [SP,#0x108+var_4]                                  ; +0x1c, 0xb1850\nMOV             R1, R6                                                 ; +0x1e, 0xb1852\nMOV             R2, R8                                                 ; +0x20, 0xb1854\nBL              sub_AB28A                                              ; +0x22, 0xb1856\nMOV             R5, R0                                                 ; +0x26, 0xb185a\nCBZ             R0, loc_B1892                                          ; +0x28, 0xb185c\nLDR             R0, =(off_E6144 - 0xB1864)                             ; +0x2a, 0xb185e\nADD             R0, PC; off_E6144                                      ; +0x2c, 0xb1860\nLDR             R0, [R0]; off_E8000                                    ; +0x2e, 0xb1862\nLDR             R0, [R0]; dword_F2488                                  ; +0x30, 0xb1864\nLDRB            R0, [R0,#(dword_F249C - 0xF2488)]                      ; +0x32, 0xb1866\nLSLS            R0, R0, #0x18                                          ; +0x34, 0xb1868\nBPL             loc_B1894                                              ; +0x36, 0xb186a\nADD.W           R9, SP, #0x108+var_104                                 ; +0x38, 0xb186c\nMOV.W           R1, #0x100                                             ; +0x3c, 0xb1870\nMOV             R2, R6                                                 ; +0x40, 0xb1874\nMOV             R3, R8                                                 ; +0x42, 0xb1876\nMOV             R0, R9                                                 ; +0x44, 0xb1878\nBL              sub_B18A8                                              ; +0x46, 0xb187a\nSTR.W           R9, [SP,#0x108+var_108]                                ; +0x4a, 0xb187e\nMOV             R0, R5                                                 ; +0x4e, 0xb1882\nLDR             R3, =(aDspSetparamete_0 - 0xB188E); \"DSP::setParameterInt\" ... ; +0x50, 0xb1884\nMOVS            R1, #7                                                 ; +0x52, 0xb1886\nMOV             R2, R4                                                 ; +0x54, 0xb1888\nADD             R3, PC; \"DSP::setParameterInt\"                         ; +0x56, 0xb188a\nBL              sub_BAB40                                              ; +0x58, 0xb188c\nB               loc_B1894                                              ; +0x5c, 0xb1890\nMOVS            R5, #0                                                 ; +0x5e, 0xb1892\nMOV             R0, R5                                                 ; +0x60, 0xb1894\nADD             SP, SP, #0x108                                         ; +0x62, 0xb1896\nPOP.W           {R8,R9,R11}                                            ; +0x64, 0xb1898\nPOP             {R4-R7,PC}                                             ; +0x68, 0xb189c", "xrefs": ["FMOD::DSP::setParameterInt @ 0xe0ed8"], "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"}