{"type": "func", "start": 793332, "end": 793430, "name": "sub_C1AF4", "pseudocode": "// \n// sub_C1AF4 from 0xc1af4 to 0xc1b56 (98 bytes)\n// \n// 1 xrefs:\n// > sub_C0744 @ 0xc074a\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_C1AF4()\n{\n  memset(&unk_1262D4, 0, 0x7Cu);\n  byte_126328 = 1;\n  dword_126318 = 11;\n  dword_12631C = 1152;\n  dword_1262C8 = 5;\n  dword_1262CC = (int)\"FMOD Audio Track Output\";\n  dword_1262D0 = 0x10000;\n  dword_1262D8 = (int)sub_C1B78;\n  dword_1262DC = (int)sub_C1B82;\n  dword_1262E0 = (int)sub_C1B94;\n  dword_1262E4 = (int)sub_C1BC6;\n  dword_1262E8 = (int)sub_C1BD0;\n  dword_1262EC = (int)sub_C1BBC;\n  return &dword_1262C8;\n}", "assembly": "; \n; sub_C1AF4 from 0xc1af4 to 0xc1b56 (98 bytes)\n; \n; 1 xrefs:\n; > sub_C0744 @ 0xc074a\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, 0xc1af4\nADD             R7, SP, #0xC                                           ; +0x2, 0xc1af6\nPUSH.W          {R11}                                                  ; +0x4, 0xc1af8\nLDR             R4, =(dword_1262C8 - 0xC1B04)                          ; +0x8, 0xc1afc\nMOVS            R1, #0x7C ; '|'                                        ; +0xa, 0xc1afe\nADD             R4, PC; dword_1262C8                                   ; +0xc, 0xc1b00\nADD.W           R0, R4, #(unk_1262D4 - 0x1262C8)                       ; +0xe, 0xc1b02\nBLX             __aeabi_memclr4                                        ; +0x12, 0xc1b06\nMOVS            R0, #1                                                 ; +0x16, 0xc1b0a\nMOVS            R1, #0xB                                               ; +0x18, 0xc1b0c\nSTRB.W          R0, [R4,#(byte_126328 - 0x1262C8)]                     ; +0x1a, 0xc1b0e\nMOV.W           R0, #0x480                                             ; +0x1e, 0xc1b12\nSTRD.W          R1, R0, [R4,#(dword_126318 - 0x1262C8)]                ; +0x22, 0xc1b16\nMOV.W           R0, #0x10000                                           ; +0x26, 0xc1b1a\nLDR             R1, =(aFmodAudioTrack - 0xC1B26); \"FMOD Audio Track Output\" ... ; +0x2a, 0xc1b1e\nMOVS            R2, #5                                                 ; +0x2c, 0xc1b20\nADD             R1, PC; \"FMOD Audio Track Output\"                      ; +0x2e, 0xc1b22\nSTRD.W          R2, R1, [R4]                                           ; +0x30, 0xc1b24\nSTR             R0, [R4,#(dword_1262D0 - 0x1262C8)]                    ; +0x34, 0xc1b28\nLDR             R0, =(sub_C1BBC+1 - 0xC1B34)                           ; +0x36, 0xc1b2a\nLDR             R1, =(sub_C1B94+1 - 0xC1B38)                           ; +0x38, 0xc1b2c\nLDR             R2, =(sub_C1B82+1 - 0xC1B3C)                           ; +0x3a, 0xc1b2e\nADD             R0, PC; sub_C1BBC                                      ; +0x3c, 0xc1b30\nLDR             R3, =(sub_C1B78+1 - 0xC1B40)                           ; +0x3e, 0xc1b32\nADD             R1, PC; sub_C1B94                                      ; +0x40, 0xc1b34\nLDR             R5, =(sub_C1BD0+1 - 0xC1B42)                           ; +0x42, 0xc1b36\nADD             R2, PC; sub_C1B82                                      ; +0x44, 0xc1b38\nLDR             R6, =(sub_C1BC6+1 - 0xC1B48)                           ; +0x46, 0xc1b3a\nADD             R3, PC; sub_C1B78                                      ; +0x48, 0xc1b3c\nADD             R5, PC; sub_C1BD0                                      ; +0x4a, 0xc1b3e\nSTRD.W          R3, R2, [R4,#(dword_1262D8 - 0x1262C8)]                ; +0x4c, 0xc1b40\nADD             R6, PC; sub_C1BC6                                      ; +0x50, 0xc1b44\nSTRD.W          R1, R6, [R4,#(dword_1262E0 - 0x1262C8)]                ; +0x52, 0xc1b46\nSTRD.W          R5, R0, [R4,#(dword_1262E8 - 0x1262C8)]                ; +0x56, 0xc1b4a\nMOV             R0, R4                                                 ; +0x5a, 0xc1b4e\nPOP.W           {R11}                                                  ; +0x5c, 0xc1b50\nPOP             {R4-R7,PC}                                             ; +0x60, 0xc1b54", "xrefs": ["sub_C0744 @ 0xc074a"], "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"}