{"type": "func", "start": 616504, "end": 616662, "name": "sub_96838", "pseudocode": "// \n// sub_96838 from 0x96838 to 0x968d6 (158 bytes)\n// \n// 1 xrefs:\n// > sub_56BEC @ 0x56f5e\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_96838()\n{\n  __int64 v0; // r2\n\n  memset(&unk_10AAB8, 0, 0x44u);\n  sub_BE220(&unk_10AABC, \"Cutoff freq\", 16);\n  sub_BE220(&unk_10AACC, \"hz\", 16);\n  HIDWORD(v0) = 1092616192;\n  LODWORD(v0) = \"Lowpass cutoff frequency in hz.   1.0 to output 22000.0.  Default = 5000.0.\";\n  *(_QWORD *)&dword_10AADC = v0;\n  dword_10AAE4 = 1185669120;\n  dword_10AAE8 = 1167867904;\n  dword_10AAEC = 1;\n  memset(&unk_10AA50, 0, 0x44u);\n  sub_BE220(&unk_10AA54, \"Resonance\", 16);\n  sub_BE220(&unk_10AA64, &unk_2191F, 16);\n  dword_10AA74 = (int)\"Lowpass resonance Q value. 1.0 to 10.0.  Default = 1.0.\";\n  dword_10AA78 = 1065353216;\n  dword_10AA7C = 1092616192;\n  dword_10AA80 = 1065353216;\n  dword_10AA84 = 1;\n  dword_10AAA4 = 3;\n  dword_10AA94 = (int)&unk_ECC70;\n  dword_10AA9C = 1008;\n  return &dword_10AA94;\n}", "assembly": "; \n; sub_96838 from 0x96838 to 0x968d6 (158 bytes)\n; \n; 1 xrefs:\n; > sub_56BEC @ 0x56f5e\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, 0x96838\nADD             R7, SP, #0xC                                           ; +0x2, 0x9683a\nPUSH.W          {R8,R9,R11}                                            ; +0x4, 0x9683c\nLDR             R4, =(dword_10AA94 - 0x96848)                          ; +0x8, 0x96840\nMOVS            R1, #0x44 ; 'D'                                        ; +0xa, 0x96842\nADD             R4, PC; dword_10AA94                                   ; +0xc, 0x96844\nADD.W           R0, R4, #(unk_10AAB8 - 0x10AA94)                       ; +0xe, 0x96846\nBLX             __aeabi_memclr4                                        ; +0x12, 0x9684a\nLDR             R1, =(off_E61C4 - 0x9685A)                             ; +0x16, 0x9684e\nADD.W           R0, R4, #(unk_10AABC - 0x10AA94)                       ; +0x18, 0x96850\nMOVS            R2, #0x10                                              ; +0x1c, 0x96854\nADD             R1, PC; off_E61C4                                      ; +0x1e, 0x96856\nLDR             R6, [R1]; sub_BE220                                    ; +0x20, 0x96858\nLDR             R1, =(aCutoffFreq - 0x96860); \"Cutoff freq\" ...        ; +0x22, 0x9685a\nADD             R1, PC; \"Cutoff freq\"                                  ; +0x24, 0x9685c\nBLX             R6; sub_BE220                                          ; +0x26, 0x9685e\nLDR             R1, =(aHz_1 - 0x9686C); \"hz\" ...                       ; +0x28, 0x96860\nADD.W           R0, R4, #(unk_10AACC - 0x10AA94)                       ; +0x2a, 0x96862\nMOVS            R2, #0x10                                              ; +0x2e, 0x96866\nADD             R1, PC; \"hz\"                                           ; +0x30, 0x96868\nBLX             R6; sub_BE220                                          ; +0x32, 0x9686a\nLDR             R3, =0x41200000                                        ; +0x34, 0x9686c\nMOV.W           R8, #1                                                 ; +0x36, 0x9686e\nLDR             R0, =0x459C4000                                        ; +0x3a, 0x96872\nLDR             R2, =(aLowpassCutoffF - 0x9687E); \"Lowpass cutoff frequency in hz.   1.0 t\"... ... ; +0x3c, 0x96874\nLDR             R1, =0x46ABE000                                        ; +0x3e, 0x96876\nMOV             R9, R3                                                 ; +0x40, 0x96878\nADD             R2, PC; \"Lowpass cutoff frequency in hz.   1.0 t\"...   ; +0x42, 0x9687a\nSTRD.W          R2, R3, [R4,#(dword_10AADC - 0x10AA94)]                ; +0x44, 0x9687c\nSTRD.W          R1, R0, [R4,#(dword_10AAE4 - 0x10AA94)]                ; +0x48, 0x96880\nMOVS            R1, #0x44 ; 'D'                                        ; +0x4c, 0x96884\nSTR.W           R8, [R4,#(dword_10AAEC - 0x10AA94)]                    ; +0x4e, 0x96886\nLDR             R5, =(unk_10AA50 - 0x96890)                            ; +0x52, 0x9688a\nADD             R5, PC; unk_10AA50                                     ; +0x54, 0x9688c\nMOV             R0, R5                                                 ; +0x56, 0x9688e\nBLX             __aeabi_memclr8                                        ; +0x58, 0x96890\nLDR             R1, =(aResonance - 0x9689E); \"Resonance\" ...           ; +0x5c, 0x96894\nADDS            R0, R5, #(unk_10AA54 - 0x10AA50)                       ; +0x5e, 0x96896\nMOVS            R2, #0x10                                              ; +0x60, 0x96898\nADD             R1, PC; \"Resonance\"                                    ; +0x62, 0x9689a\nBLX             R6; sub_BE220                                          ; +0x64, 0x9689c\nLDR             R1, =(unk_2191F - 0x968AA)                             ; +0x66, 0x9689e\nADD.W           R0, R5, #(unk_10AA64 - 0x10AA50)                       ; +0x68, 0x968a0\nMOVS            R2, #0x10                                              ; +0x6c, 0x968a4\nADD             R1, PC; unk_2191F                                      ; +0x6e, 0x968a6\nBLX             R6; sub_BE220                                          ; +0x70, 0x968a8\nLDR             R1, =(aLowpassResonan - 0x968B4); \"Lowpass resonance Q value. 1.0 to 10.0.\"... ... ; +0x72, 0x968aa\nMOV.W           R0, #0x3F800000                                        ; +0x74, 0x968ac\nADD             R1, PC; \"Lowpass resonance Q value. 1.0 to 10.0.\"...   ; +0x78, 0x968b0\nSTRD.W          R1, R0, [R5,#(dword_10AA74 - 0x10AA50)]                ; +0x7a, 0x968b2\nSTRD.W          R9, R0, [R5,#(dword_10AA7C - 0x10AA50)]                ; +0x7e, 0x968b6\nMOVS            R0, #3                                                 ; +0x82, 0x968ba\nSTR.W           R8, [R5,#(dword_10AA84 - 0x10AA50)]                    ; +0x84, 0x968bc\nSTR             R0, [R4,#(dword_10AAA4 - 0x10AA94)]                    ; +0x88, 0x968c0\nLDR             R0, =(unk_ECC70 - 0x968C8)                             ; +0x8a, 0x968c2\nADD             R0, PC; unk_ECC70                                      ; +0x8c, 0x968c4\nSTR             R0, [R4]                                               ; +0x8e, 0x968c6\nMOV.W           R0, #0x3F0                                             ; +0x90, 0x968c8\nSTR             R0, [R4,#(dword_10AA9C - 0x10AA94)]                    ; +0x94, 0x968cc\nMOV             R0, R4                                                 ; +0x96, 0x968ce\nPOP.W           {R8,R9,R11}                                            ; +0x98, 0x968d0\nPOP             {R4-R7,PC}                                             ; +0x9c, 0x968d4", "xrefs": ["sub_56BEC @ 0x56f5e"], "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"}