{"type": "func", "start": 421032, "end": 421088, "name": "sub_66CA8", "pseudocode": "// \n// sub_66CA8 from 0x66ca8 to 0x66ce0 (56 bytes)\n// \n// 2 xrefs:\n// > sub_58CA8 @ 0x59398\n// > sub_62360 @ 0x62562\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_66CA8()\n{\n  dword_F3078 = 7;\n  dword_F3068 = 23;\n  dword_F3044 = 2;\n  dword_F3034 = 1;\n  dword_F3038 = (int)\"FMOD FADPCM Codec\";\n  dword_F303C = 0x10000;\n  dword_F306C = 224;\n  dword_F30A4 = (int)sub_66CFC;\n  dword_F3058 = (int)&sub_66CF8;\n  dword_F3050 = (int)sub_66CF4;\n  return &dword_F3034;\n}", "assembly": "; \n; sub_66CA8 from 0x66ca8 to 0x66ce0 (56 bytes)\n; \n; 2 xrefs:\n; > sub_58CA8 @ 0x59398\n; > sub_62360 @ 0x62562\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\nLDR             R0, =(dword_F3034 - 0x66CB2)                           ; +0x0, 0x66ca8\nMOVS            R1, #7                                                 ; +0x2, 0x66caa\nMOVS            R3, #1                                                 ; +0x4, 0x66cac\nADD             R0, PC; dword_F3034                                    ; +0x6, 0x66cae\nSTR             R1, [R0,#(dword_F3078 - 0xF3034)]                      ; +0x8, 0x66cb0\nMOVS            R1, #0x17                                              ; +0xa, 0x66cb2\nSTR             R1, [R0,#(dword_F3068 - 0xF3034)]                      ; +0xc, 0x66cb4\nMOVS            R1, #2                                                 ; +0xe, 0x66cb6\nSTR             R1, [R0,#(dword_F3044 - 0xF3034)]                      ; +0x10, 0x66cb8\nMOV.W           R1, #0x10000                                           ; +0x12, 0x66cba\nLDR             R2, =(aFmodFadpcmCode - 0x66CC4); \"FMOD FADPCM Codec\" ... ; +0x16, 0x66cbe\nADD             R2, PC; \"FMOD FADPCM Codec\"                            ; +0x18, 0x66cc0\nSTRD.W          R3, R2, [R0]                                           ; +0x1a, 0x66cc2\nSTR             R1, [R0,#(dword_F303C - 0xF3034)]                      ; +0x1e, 0x66cc6\nMOVS            R1, #0xE0                                              ; +0x20, 0x66cc8\nSTR             R1, [R0,#(dword_F306C - 0xF3034)]                      ; +0x22, 0x66cca\nLDR             R1, =(sub_66CFC+1 - 0x66CD2)                           ; +0x24, 0x66ccc\nADD             R1, PC; sub_66CFC                                      ; +0x26, 0x66cce\nSTR             R1, [R0,#(dword_F30A4 - 0xF3034)]                      ; +0x28, 0x66cd0\nLDR             R1, =(sub_66CF8+1 - 0x66CD8)                           ; +0x2a, 0x66cd2\nADD             R1, PC; sub_66CF8                                      ; +0x2c, 0x66cd4\nSTR             R1, [R0,#(dword_F3058 - 0xF3034)]                      ; +0x2e, 0x66cd6\nLDR             R1, =(sub_66CF4+1 - 0x66CDE)                           ; +0x30, 0x66cd8\nADD             R1, PC; sub_66CF4                                      ; +0x32, 0x66cda\nSTR             R1, [R0,#(dword_F3050 - 0xF3034)]                      ; +0x34, 0x66cdc\nBX              LR                                                     ; +0x36, 0x66cde", "xrefs": ["sub_58CA8 @ 0x59398", "sub_62360 @ 0x62562"], "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"}