{"type": "func", "start": 620752, "end": 620840, "name": "sub_978D0", "pseudocode": "// \n// sub_978D0 from 0x978d0 to 0x97928 (88 bytes)\n// \n// 1 xrefs:\n// > sub_56BEC @ 0x56f9e\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_978D0()\n{\n  memset(&unk_10AB20, 0, 0x44u);\n  sub_BE220(&unk_10AB24, \"Cutoff freq\", 16);\n  sub_BE220(&unk_10AB34, \"hz\", 16);\n  dword_10AB44 = (int)\"Lowpass cutoff frequency in hz.  1.0 to 22000.0.  Default = 5000.0\";\n  dword_10AB48 = 1092616192;\n  dword_10AB4C = 1185669120;\n  dword_10AB50 = 1167867904;\n  dword_10AB54 = 1;\n  dword_10AB0C = 20;\n  dword_10AAFC = (int)&unk_ECD00;\n  dword_10AB04 = 648;\n  return &dword_10AAFC;\n}", "assembly": "; \n; sub_978D0 from 0x978d0 to 0x97928 (88 bytes)\n; \n; 1 xrefs:\n; > sub_56BEC @ 0x56f9e\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,R5,R7,LR}                                          ; +0x0, 0x978d0\nADD             R7, SP, #8                                             ; +0x2, 0x978d2\nLDR             R4, =(dword_10AAFC - 0x978DC)                          ; +0x4, 0x978d4\nMOVS            R1, #0x44 ; 'D'                                        ; +0x6, 0x978d6\nADD             R4, PC; dword_10AAFC                                   ; +0x8, 0x978d8\nADD.W           R0, R4, #(unk_10AB20 - 0x10AAFC)                       ; +0xa, 0x978da\nBLX             __aeabi_memclr4                                        ; +0xe, 0x978de\nLDR             R1, =(aCutoffFreq - 0x978EE); \"Cutoff freq\" ...        ; +0x12, 0x978e2\nADD.W           R0, R4, #(unk_10AB24 - 0x10AAFC)                       ; +0x14, 0x978e4\nMOVS            R2, #0x10                                              ; +0x18, 0x978e8\nADD             R1, PC; \"Cutoff freq\"                                  ; +0x1a, 0x978ea\nBL              sub_BE220                                              ; +0x1c, 0x978ec\nLDR             R1, =(aHz_1 - 0x978FC); \"hz\" ...                       ; +0x20, 0x978f0\nADD.W           R0, R4, #(unk_10AB34 - 0x10AAFC)                       ; +0x22, 0x978f2\nMOVS            R2, #0x10                                              ; +0x26, 0x978f6\nADD             R1, PC; \"hz\"                                           ; +0x28, 0x978f8\nBL              sub_BE220                                              ; +0x2a, 0x978fa\nLDR             R1, =0x459C4000                                        ; +0x2e, 0x978fe\nMOVS            R0, #1                                                 ; +0x30, 0x97900\nLDR             R3, =0x41200000                                        ; +0x32, 0x97902\nLDR             R5, =(aLowpassCutoffF_0 - 0x9790C); \"Lowpass cutoff frequency in hz.  1.0 to\"... ... ; +0x34, 0x97904\nLDR             R2, =0x46ABE000                                        ; +0x36, 0x97906\nADD             R5, PC; \"Lowpass cutoff frequency in hz.  1.0 to\"...   ; +0x38, 0x97908\nSTRD.W          R5, R3, [R4,#(dword_10AB44 - 0x10AAFC)]                ; +0x3a, 0x9790a\nSTRD.W          R2, R1, [R4,#(dword_10AB4C - 0x10AAFC)]                ; +0x3e, 0x9790e\nSTR             R0, [R4,#(dword_10AB54 - 0x10AAFC)]                    ; +0x42, 0x97912\nMOVS            R0, #0x14                                              ; +0x44, 0x97914\nSTR             R0, [R4,#(dword_10AB0C - 0x10AAFC)]                    ; +0x46, 0x97916\nLDR             R0, =(unk_ECD00 - 0x9791E)                             ; +0x48, 0x97918\nADD             R0, PC; unk_ECD00                                      ; +0x4a, 0x9791a\nSTR             R0, [R4]                                               ; +0x4c, 0x9791c\nMOV.W           R0, #0x288                                             ; +0x4e, 0x9791e\nSTR             R0, [R4,#(dword_10AB04 - 0x10AAFC)]                    ; +0x52, 0x97922\nMOV             R0, R4                                                 ; +0x54, 0x97924\nPOP             {R4,R5,R7,PC}                                          ; +0x56, 0x97926", "xrefs": ["sub_56BEC @ 0x56f9e"], "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"}