{"type": "func", "start": 422160, "end": 422252, "name": "sub_67110", "pseudocode": "// \n// sub_67110 from 0x67110 to 0x6716c (92 bytes)\n// \n// 1 xrefs:\n// > sub_5A67C @ 0x5a794\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_67110()\n{\n  memset(byte_F30D8, 0, 0x40u);\n  dword_F30D4 = 1;\n  strncpy(byte_F30D8, \"Channel Count\", 0xFu);\n  *(int *)((char *)&dword_F30F0 + 3) = 0;\n  dword_F30E8 = 0;\n  dword_F30EC = 0;\n  dword_F30F0 = 0;\n  dword_F30F8 = (int)\"Device channel count. Default = 2\";\n  dword_F30FC = 1;\n  dword_F3100 = 32;\n  dword_F3104 = 2;\n  dword_F3108 = 0;\n  dword_F310C = 0;\n  dword_F30C0 = 0;\n  porthead_ex = (int)&unk_E8820;\n  dword_F30B8 = 48;\n  return &porthead_ex;\n}", "assembly": "; \n; sub_67110 from 0x67110 to 0x6716c (92 bytes)\n; \n; 1 xrefs:\n; > sub_5A67C @ 0x5a794\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, 0x67110\nADD             R7, SP, #0xC                                           ; +0x2, 0x67112\nPUSH.W          {R11}                                                  ; +0x4, 0x67114\nLDR             R4, =(porthead_ex - 0x67120)                           ; +0x8, 0x67118\nMOVS            R1, #0x40 ; '@'                                        ; +0xa, 0x6711a\nADD             R4, PC; porthead_ex                                    ; +0xc, 0x6711c\nADD.W           R5, R4, #(byte_F30D8 - 0xF30B0)                        ; +0xe, 0x6711e\nMOV             R0, R5                                                 ; +0x12, 0x67122\nBLX             __aeabi_memclr4                                        ; +0x14, 0x67124\nMOVS            R6, #1                                                 ; +0x18, 0x67128\nMOV             R0, R5; dest                                           ; +0x1a, 0x6712a\nSTR             R6, [R4,#(dword_F30D4 - 0xF30B0)]                      ; +0x1c, 0x6712c\nMOVS            R2, #0xF; n                                            ; +0x1e, 0x6712e\nLDR             R1, =(aChannelCount - 0x67136); \"Channel Count\" ...    ; +0x20, 0x67130\nADD             R1, PC; \"Channel Count\"                                ; +0x22, 0x67132\nBLX             strncpy                                                ; +0x24, 0x67134\nMOVS            R0, #0                                                 ; +0x28, 0x67138\nMOVS            R1, #2                                                 ; +0x2a, 0x6713a\nSTR.W           R0, [R4,#(dword_F30F0+3 - 0xF30B0)]                    ; +0x2c, 0x6713c\nMOVS            R2, #0x20 ; ' '                                        ; +0x30, 0x67140\nSTRD.W          R0, R0, [R4,#(dword_F30E8 - 0xF30B0)]                  ; +0x32, 0x67142\nSTR             R0, [R4,#(dword_F30F0 - 0xF30B0)]                      ; +0x36, 0x67146\nLDR             R3, =(aDeviceChannelC - 0x6714E); \"Device channel count. Default = 2\" ... ; +0x38, 0x67148\nADD             R3, PC; \"Device channel count. Default = 2\"            ; +0x3a, 0x6714a\nSTRD.W          R3, R6, [R4,#(dword_F30F8 - 0xF30B0)]                  ; +0x3c, 0x6714c\nSTRD.W          R2, R1, [R4,#(dword_F3100 - 0xF30B0)]                  ; +0x40, 0x67150\nSTRD.W          R0, R0, [R4,#(dword_F3108 - 0xF30B0)]                  ; +0x44, 0x67154\nSTR             R0, [R4,#(dword_F30C0 - 0xF30B0)]                      ; +0x48, 0x67158\nLDR             R0, =(unk_E8820 - 0x67160)                             ; +0x4a, 0x6715a\nADD             R0, PC; unk_E8820                                      ; +0x4c, 0x6715c\nSTR             R0, [R4]                                               ; +0x4e, 0x6715e\nMOVS            R0, #0x30 ; '0'                                        ; +0x50, 0x67160\nSTR             R0, [R4,#(dword_F30B8 - 0xF30B0)]                      ; +0x52, 0x67162\nMOV             R0, R4                                                 ; +0x54, 0x67164\nPOP.W           {R11}                                                  ; +0x56, 0x67166\nPOP             {R4-R7,PC}                                             ; +0x5a, 0x6716a", "xrefs": ["sub_5A67C @ 0x5a794"], "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"}