{"type": "func", "start": 603876, "end": 604034, "name": "sub_936E4", "pseudocode": "// \n// sub_936E4 from 0x936e4 to 0x93782 (158 bytes)\n// \n// 1 xrefs:\n// > sub_56BEC @ 0x56fbc\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_936E4()\n{\n  __int64 v0; // r2\n\n  memset(&unk_10A4C8, 0, 0x44u);\n  sub_BE220(&unk_10A4CC, \"Cutoff freq\", 16);\n  sub_BE220(&unk_10A4DC, \"hz\", 16);\n  HIDWORD(v0) = 1092616192;\n  LODWORD(v0) = \"Highpass cutoff frequency in hz.   10.0 to 22000.0.  Default = 5000.0.\";\n  *(_QWORD *)&dword_10A4EC = v0;\n  dword_10A4F4 = 1185669120;\n  dword_10A4F8 = 1167867904;\n  dword_10A4FC = 1;\n  memset(&unk_10A460, 0, 0x44u);\n  sub_BE220(&unk_10A464, \"Resonance\", 16);\n  sub_BE220(&unk_10A474, &unk_2191F, 16);\n  dword_10A484 = (int)\"Highpass resonance Q value. 1.0 to 10.0.  Default = 1.0.\";\n  dword_10A488 = 1065353216;\n  dword_10A48C = 1092616192;\n  dword_10A490 = 1065353216;\n  dword_10A494 = 1;\n  dword_10A4B4 = 5;\n  dword_10A4A4 = (int)&unk_EC998;\n  dword_10A4AC = 936;\n  return &dword_10A4A4;\n}", "assembly": "; \n; sub_936E4 from 0x936e4 to 0x93782 (158 bytes)\n; \n; 1 xrefs:\n; > sub_56BEC @ 0x56fbc\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, 0x936e4\nADD             R7, SP, #0xC                                           ; +0x2, 0x936e6\nPUSH.W          {R8,R9,R11}                                            ; +0x4, 0x936e8\nLDR             R4, =(dword_10A4A4 - 0x936F4)                          ; +0x8, 0x936ec\nMOVS            R1, #0x44 ; 'D'                                        ; +0xa, 0x936ee\nADD             R4, PC; dword_10A4A4                                   ; +0xc, 0x936f0\nADD.W           R0, R4, #(unk_10A4C8 - 0x10A4A4)                       ; +0xe, 0x936f2\nBLX             __aeabi_memclr4                                        ; +0x12, 0x936f6\nLDR             R1, =(off_E61C4 - 0x93706)                             ; +0x16, 0x936fa\nADD.W           R0, R4, #(unk_10A4CC - 0x10A4A4)                       ; +0x18, 0x936fc\nMOVS            R2, #0x10                                              ; +0x1c, 0x93700\nADD             R1, PC; off_E61C4                                      ; +0x1e, 0x93702\nLDR             R6, [R1]; sub_BE220                                    ; +0x20, 0x93704\nLDR             R1, =(aCutoffFreq - 0x9370C); \"Cutoff freq\" ...        ; +0x22, 0x93706\nADD             R1, PC; \"Cutoff freq\"                                  ; +0x24, 0x93708\nBLX             R6; sub_BE220                                          ; +0x26, 0x9370a\nLDR             R1, =(aHz_1 - 0x93718); \"hz\" ...                       ; +0x28, 0x9370c\nADD.W           R0, R4, #(unk_10A4DC - 0x10A4A4)                       ; +0x2a, 0x9370e\nMOVS            R2, #0x10                                              ; +0x2e, 0x93712\nADD             R1, PC; \"hz\"                                           ; +0x30, 0x93714\nBLX             R6; sub_BE220                                          ; +0x32, 0x93716\nLDR             R3, =0x41200000                                        ; +0x34, 0x93718\nMOV.W           R8, #1                                                 ; +0x36, 0x9371a\nLDR             R0, =0x459C4000                                        ; +0x3a, 0x9371e\nLDR             R2, =(aHighpassCutoff - 0x9372A); \"Highpass cutoff frequency in hz.   10.0\"... ... ; +0x3c, 0x93720\nLDR             R1, =0x46ABE000                                        ; +0x3e, 0x93722\nMOV             R9, R3                                                 ; +0x40, 0x93724\nADD             R2, PC; \"Highpass cutoff frequency in hz.   10.0\"...   ; +0x42, 0x93726\nSTRD.W          R2, R3, [R4,#(dword_10A4EC - 0x10A4A4)]                ; +0x44, 0x93728\nSTRD.W          R1, R0, [R4,#(dword_10A4F4 - 0x10A4A4)]                ; +0x48, 0x9372c\nMOVS            R1, #0x44 ; 'D'                                        ; +0x4c, 0x93730\nSTR.W           R8, [R4,#(dword_10A4FC - 0x10A4A4)]                    ; +0x4e, 0x93732\nLDR             R5, =(unk_10A460 - 0x9373C)                            ; +0x52, 0x93736\nADD             R5, PC; unk_10A460                                     ; +0x54, 0x93738\nMOV             R0, R5                                                 ; +0x56, 0x9373a\nBLX             __aeabi_memclr8                                        ; +0x58, 0x9373c\nLDR             R1, =(aResonance - 0x9374A); \"Resonance\" ...           ; +0x5c, 0x93740\nADDS            R0, R5, #(unk_10A464 - 0x10A460)                       ; +0x5e, 0x93742\nMOVS            R2, #0x10                                              ; +0x60, 0x93744\nADD             R1, PC; \"Resonance\"                                    ; +0x62, 0x93746\nBLX             R6; sub_BE220                                          ; +0x64, 0x93748\nLDR             R1, =(unk_2191F - 0x93756)                             ; +0x66, 0x9374a\nADD.W           R0, R5, #(unk_10A474 - 0x10A460)                       ; +0x68, 0x9374c\nMOVS            R2, #0x10                                              ; +0x6c, 0x93750\nADD             R1, PC; unk_2191F                                      ; +0x6e, 0x93752\nBLX             R6; sub_BE220                                          ; +0x70, 0x93754\nLDR             R1, =(aHighpassResona - 0x93760); \"Highpass resonance Q value. 1.0 to 10.0\"... ... ; +0x72, 0x93756\nMOV.W           R0, #0x3F800000                                        ; +0x74, 0x93758\nADD             R1, PC; \"Highpass resonance Q value. 1.0 to 10.0\"...   ; +0x78, 0x9375c\nSTRD.W          R1, R0, [R5,#(dword_10A484 - 0x10A460)]                ; +0x7a, 0x9375e\nSTRD.W          R9, R0, [R5,#(dword_10A48C - 0x10A460)]                ; +0x7e, 0x93762\nMOVS            R0, #5                                                 ; +0x82, 0x93766\nSTR.W           R8, [R5,#(dword_10A494 - 0x10A460)]                    ; +0x84, 0x93768\nSTR             R0, [R4,#(dword_10A4B4 - 0x10A4A4)]                    ; +0x88, 0x9376c\nLDR             R0, =(unk_EC998 - 0x93774)                             ; +0x8a, 0x9376e\nADD             R0, PC; unk_EC998                                      ; +0x8c, 0x93770\nSTR             R0, [R4]                                               ; +0x8e, 0x93772\nMOV.W           R0, #0x3A8                                             ; +0x90, 0x93774\nSTR             R0, [R4,#(dword_10A4AC - 0x10A4A4)]                    ; +0x94, 0x93778\nMOV             R0, R4                                                 ; +0x96, 0x9377a\nPOP.W           {R8,R9,R11}                                            ; +0x98, 0x9377c\nPOP             {R4-R7,PC}                                             ; +0x9c, 0x93780", "xrefs": ["sub_56BEC @ 0x56fbc"], "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"}