{"type": "func", "start": 610564, "end": 610830, "name": "sub_95104", "pseudocode": "// \n// sub_95104 from 0x95104 to 0x9520e (266 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x95102\n// > sub_56BEC @ 0x570de\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint *sub_95104()\n{\n  memset(&unk_10A7F4, 0, 0x44u);\n  sub_BE220(&unk_10A7F8, \"Release Time\", 16);\n  sub_BE220(&unk_10A808, \"ms\", 16);\n  dword_10A818 = (int)\"Time to return the gain reduction to full in ms.  0.0 to 1000.0. Default = 10.0.\";\n  dword_10A81C = 1065353216;\n  dword_10A820 = 1148846080;\n  dword_10A824 = 1092616192;\n  dword_10A828 = 1;\n  memset(&unk_10A700, 0, 0x44u);\n  sub_BE220(&unk_10A704, \"Ceiling\", 16);\n  sub_BE220(&unk_10A714, \"dB\", 16);\n  dword_10A724 = (int)\"Maximum level of the output signal in dB.  -12.0 to 0.0.  Default = 0.0.\";\n  dword_10A728 = -1052770304;\n  dword_10A72C = 0;\n  dword_10A730 = 0;\n  dword_10A734 = 1;\n  memset(&unk_10A748, 0, 0x44u);\n  sub_BE220(&unk_10A74C, \"Maximizer Gain\", 16);\n  sub_BE220(&unk_10A75C, \"dB\", 16);\n  dword_10A76C = (int)\"Maximum amplification allowed in dB.  0.0 to 12.0.  Default = 0.0. 0.0 = no amplifaction, higher v\"\n                      \"alues allow more boost.\";\n  dword_10A770 = 0;\n  dword_10A774 = 1094713344;\n  dword_10A778 = 0;\n  dword_10A77C = 1;\n  memset(&unk_10A790, 0, 0x40u);\n  dword_10A78C = 2;\n  sub_BE220(&unk_10A790, \"Linked mode\", 16);\n  sub_BE220(&unk_10A7A0, &unk_2191F, 16);\n  dword_10A7B0 = (int)\"Input signal channels [TRUE = summed together, FALSE = use each channel separately].  Default = FALSE.\";\n  dword_10A7B4 = 0;\n  dword_10A7B8 = 0;\n  dword_10A7E0 = 11;\n  dword_10A7D0 = (int)&unk_ECB50;\n  dword_10A7D8 = 528;\n  return &dword_10A7D0;\n}", "assembly": "; \n; sub_95104 from 0x95104 to 0x9520e (266 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x95102\n; > sub_56BEC @ 0x570de\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R4-R7,LR}                                             ; +0x0, 0x95104\nADD             R7, SP, #0xC                                           ; +0x2, 0x95106\nPUSH.W          {R8-R10}                                               ; +0x4, 0x95108\nLDR             R4, =(dword_10A7D0 - 0x95114)                          ; +0x8, 0x9510c\nMOVS            R1, #0x44 ; 'D'                                        ; +0xa, 0x9510e\nADD             R4, PC; dword_10A7D0                                   ; +0xc, 0x95110\nADD.W           R0, R4, #(unk_10A7F4 - 0x10A7D0)                       ; +0xe, 0x95112\nBLX             __aeabi_memclr4                                        ; +0x12, 0x95116\nLDR             R1, =(off_E61C4 - 0x95126)                             ; +0x16, 0x9511a\nADD.W           R0, R4, #(unk_10A7F8 - 0x10A7D0)                       ; +0x18, 0x9511c\nMOVS            R2, #0x10                                              ; +0x1c, 0x95120\nADD             R1, PC; off_E61C4                                      ; +0x1e, 0x95122\nLDR.W           R8, [R1]; sub_BE220                                    ; +0x20, 0x95124\nLDR             R1, =(aReleaseTime - 0x9512E); \"Release Time\" ...      ; +0x24, 0x95128\nADD             R1, PC; \"Release Time\"                                 ; +0x26, 0x9512a\nBLX             R8; sub_BE220                                          ; +0x28, 0x9512c\nLDR             R1, =(aMs - 0x9513A); \"ms\" ...                         ; +0x2a, 0x9512e\nADD.W           R0, R4, #(unk_10A808 - 0x10A7D0)                       ; +0x2c, 0x95130\nMOVS            R2, #0x10                                              ; +0x30, 0x95134\nADD             R1, PC; \"ms\"                                           ; +0x32, 0x95136\nBLX             R8; sub_BE220                                          ; +0x34, 0x95138\nLDR             R0, =0x41200000                                        ; +0x36, 0x9513a\nMOV.W           R9, #1                                                 ; +0x38, 0x9513c\nLDR             R3, =(aTimeToReturnTh - 0x9514C); \"Time to return the gain reduction to fu\"... ... ; +0x3c, 0x95140\nMOV.W           R2, #0x3F800000                                        ; +0x3e, 0x95142\nLDR             R1, =0x447A0000                                        ; +0x42, 0x95146\nADD             R3, PC; \"Time to return the gain reduction to fu\"...   ; +0x44, 0x95148\nSTRD.W          R3, R2, [R4,#(dword_10A818 - 0x10A7D0)]                ; +0x46, 0x9514a\nSTRD.W          R1, R0, [R4,#(dword_10A820 - 0x10A7D0)]                ; +0x4a, 0x9514e\nMOVS            R1, #0x44 ; 'D'                                        ; +0x4e, 0x95152\nSTR.W           R9, [R4,#(dword_10A828 - 0x10A7D0)]                    ; +0x50, 0x95154\nLDR             R6, =(unk_10A700 - 0x9515E)                            ; +0x54, 0x95158\nADD             R6, PC; unk_10A700                                     ; +0x56, 0x9515a\nMOV             R0, R6                                                 ; +0x58, 0x9515c\nBLX             __aeabi_memclr8                                        ; +0x5a, 0x9515e\nLDR             R1, =(aCeiling - 0x9516C); \"Ceiling\" ...               ; +0x5e, 0x95162\nADDS            R0, R6, #(unk_10A704 - 0x10A700)                       ; +0x60, 0x95164\nMOVS            R2, #0x10                                              ; +0x62, 0x95166\nADD             R1, PC; \"Ceiling\"                                      ; +0x64, 0x95168\nBLX             R8; sub_BE220                                          ; +0x66, 0x9516a\nLDR             R5, =(aDb - 0x95178); \"dB\" ...                         ; +0x68, 0x9516c\nADD.W           R0, R6, #(unk_10A714 - 0x10A700)                       ; +0x6a, 0x9516e\nMOVS            R2, #0x10                                              ; +0x6e, 0x95172\nADD             R5, PC; \"dB\"                                           ; +0x70, 0x95174\nMOV             R1, R5                                                 ; +0x72, 0x95176\nBLX             R8; sub_BE220                                          ; +0x74, 0x95178\nLDR             R0, =0xC1400000                                        ; +0x76, 0x9517a\nMOV.W           R10, #0                                                ; +0x78, 0x9517c\nLDR             R1, =(aMaximumLevelOf - 0x95186); \"Maximum level of the output signal in d\"... ... ; +0x7c, 0x95180\nADD             R1, PC; \"Maximum level of the output signal in d\"...   ; +0x7e, 0x95182\nSTRD.W          R1, R0, [R6,#(dword_10A724 - 0x10A700)]                ; +0x80, 0x95184\nSTRD.W          R10, R10, [R6,#(dword_10A72C - 0x10A700)]              ; +0x84, 0x95188\nMOVS            R1, #0x44 ; 'D'                                        ; +0x88, 0x9518c\nSTR.W           R9, [R6,#(dword_10A734 - 0x10A700)]                    ; +0x8a, 0x9518e\nLDR             R6, =(unk_10A748 - 0x95198)                            ; +0x8e, 0x95192\nADD             R6, PC; unk_10A748                                     ; +0x90, 0x95194\nMOV             R0, R6                                                 ; +0x92, 0x95196\nBLX             __aeabi_memclr8                                        ; +0x94, 0x95198\nLDR             R1, =(aMaximizerGain - 0x951A6); \"Maximizer Gain\" ...  ; +0x98, 0x9519c\nADDS            R0, R6, #(unk_10A74C - 0x10A748)                       ; +0x9a, 0x9519e\nMOVS            R2, #0x10                                              ; +0x9c, 0x951a0\nADD             R1, PC; \"Maximizer Gain\"                               ; +0x9e, 0x951a2\nBLX             R8; sub_BE220                                          ; +0xa0, 0x951a4\nADD.W           R0, R6, #(unk_10A75C - 0x10A748)                       ; +0xa2, 0x951a6\nMOV             R1, R5                                                 ; +0xa6, 0x951aa\nMOVS            R2, #0x10                                              ; +0xa8, 0x951ac\nBLX             R8; sub_BE220                                          ; +0xaa, 0x951ae\nLDR             R1, =(aMaximumAmplifi - 0x951B8); \"Maximum amplification allowed in dB.  0\"... ... ; +0xac, 0x951b0\nLDR             R0, =0x41400000                                        ; +0xae, 0x951b2\nADD             R1, PC; \"Maximum amplification allowed in dB.  0\"...   ; +0xb0, 0x951b4\nSTRD.W          R1, R10, [R6,#(dword_10A76C - 0x10A748)]               ; +0xb2, 0x951b6\nSTRD.W          R0, R10, [R6,#(dword_10A774 - 0x10A748)]               ; +0xb6, 0x951ba\nMOVS            R1, #0x40 ; '@'                                        ; +0xba, 0x951be\nSTR.W           R9, [R6,#(dword_10A77C - 0x10A748)]                    ; +0xbc, 0x951c0\nLDR             R6, =(dword_10A78C - 0x951CA)                          ; +0xc0, 0x951c4\nADD             R6, PC; dword_10A78C                                   ; +0xc2, 0x951c6\nADDS            R5, R6, #(unk_10A790 - 0x10A78C)                       ; +0xc4, 0x951c8\nMOV             R0, R5                                                 ; +0xc6, 0x951ca\nBLX             __aeabi_memclr4                                        ; +0xc8, 0x951cc\nMOVS            R0, #2                                                 ; +0xcc, 0x951d0\nMOVS            R2, #0x10                                              ; +0xce, 0x951d2\nSTR             R0, [R6]                                               ; +0xd0, 0x951d4\nMOV             R0, R5                                                 ; +0xd2, 0x951d6\nLDR             R1, =(aLinkedMode - 0x951DE); \"Linked mode\" ...        ; +0xd4, 0x951d8\nADD             R1, PC; \"Linked mode\"                                  ; +0xd6, 0x951da\nBLX             R8; sub_BE220                                          ; +0xd8, 0x951dc\nLDR             R1, =(unk_2191F - 0x951EA)                             ; +0xda, 0x951de\nADD.W           R0, R6, #(unk_10A7A0 - 0x10A78C)                       ; +0xdc, 0x951e0\nMOVS            R2, #0x10                                              ; +0xe0, 0x951e4\nADD             R1, PC; unk_2191F                                      ; +0xe2, 0x951e6\nBLX             R8; sub_BE220                                          ; +0xe4, 0x951e8\nLDR             R0, =(aInputSignalCha_0 - 0x951F0); \"Input signal channels [TRUE = summed to\"... ... ; +0xe6, 0x951ea\nADD             R0, PC; \"Input signal channels [TRUE = summed to\"...   ; +0xe8, 0x951ec\nSTRD.W          R0, R10, [R6,#(dword_10A7B0 - 0x10A78C)]               ; +0xea, 0x951ee\nMOVS            R0, #0xB                                               ; +0xee, 0x951f2\nSTR.W           R10, [R6,#(dword_10A7B8 - 0x10A78C)]                   ; +0xf0, 0x951f4\nSTR             R0, [R4,#(dword_10A7E0 - 0x10A7D0)]                    ; +0xf4, 0x951f8\nLDR             R0, =(unk_ECB50 - 0x95200)                             ; +0xf6, 0x951fa\nADD             R0, PC; unk_ECB50                                      ; +0xf8, 0x951fc\nSTR             R0, [R4]                                               ; +0xfa, 0x951fe\nMOV.W           R0, #0x210                                             ; +0xfc, 0x95200\nSTR             R0, [R4,#(dword_10A7D8 - 0x10A7D0)]                    ; +0x100, 0x95204\nMOV             R0, R4                                                 ; +0x102, 0x95206\nPOP.W           {R8-R10}                                               ; +0x104, 0x95208\nPOP             {R4-R7,PC}                                             ; +0x108, 0x9520c", "xrefs": ["<???> @ 0x95102", "sub_56BEC @ 0x570de"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}