{"type": "func", "start": 786940, "end": 787032, "name": "sub_C01FC", "pseudocode": "// \n// sub_C01FC from 0xc01fc to 0xc0258 (92 bytes)\n// \n// 1 xrefs:\n// > FMOD_OS_Debug_Output @ 0xbe152\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 __fastcall sub_C01FC(int a1)\n{\n  int v2; // r0\n  const char *v3; // r2\n\n  if ( sub_BE2BC(a1, (int)\"[ERR]\", 5) )\n  {\n    if ( sub_BE2BC(a1, (int)\"[WRN]\", 5) )\n    {\n      if ( sub_BE2BC(a1, (int)\"[LOG]\", 5) )\n      {\n        v2 = 4;\n        v3 = (const char *)a1;\n      }\n      else\n      {\n        v3 = (const char *)(a1 + 6);\n        v2 = 4;\n      }\n    }\n    else\n    {\n      v3 = (const char *)(a1 + 6);\n      v2 = 5;\n    }\n  }\n  else\n  {\n    v3 = (const char *)(a1 + 6);\n    v2 = 6;\n  }\n  _android_log_write(v2, \"fmod\", v3);\n  return 0;\n}", "assembly": "; \n; sub_C01FC from 0xc01fc to 0xc0258 (92 bytes)\n; \n; 1 xrefs:\n; > FMOD_OS_Debug_Output @ 0xbe152\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,R6,R7,LR}                                          ; +0x0, 0xc01fc\nADD             R7, SP, #8                                             ; +0x2, 0xc01fe\nLDR             R1, =(aErr - 0xC020A); \"[ERR]\" ...                     ; +0x4, 0xc0200\nMOVS            R2, #5                                                 ; +0x6, 0xc0202\nMOV             R4, R0                                                 ; +0x8, 0xc0204\nADD             R1, PC; \"[ERR]\"                                        ; +0xa, 0xc0206\nBL              sub_BE2BC                                              ; +0xc, 0xc0208\nCBZ             R0, loc_C0234                                          ; +0x10, 0xc020c\nLDR             R1, =(aWrn - 0xC0218); \"[WRN]\" ...                     ; +0x12, 0xc020e\nMOV             R0, R4                                                 ; +0x14, 0xc0210\nMOVS            R2, #5                                                 ; +0x16, 0xc0212\nADD             R1, PC; \"[WRN]\"                                        ; +0x18, 0xc0214\nBL              sub_BE2BC                                              ; +0x1a, 0xc0216\nCBZ             R0, loc_C023E                                          ; +0x1e, 0xc021a\nLDR             R1, =(aLog_0 - 0xC0226); \"[LOG]\" ...                   ; +0x20, 0xc021c\nMOV             R0, R4                                                 ; +0x22, 0xc021e\nMOVS            R2, #5                                                 ; +0x24, 0xc0220\nADD             R1, PC; \"[LOG]\"                                        ; +0x26, 0xc0222\nBL              sub_BE2BC                                              ; +0x28, 0xc0224\nCBZ             R0, loc_C0248                                          ; +0x2c, 0xc0228\nLDR             R1, =(aFmod - 0xC0234); \"fmod\" ...                     ; +0x2e, 0xc022a\nMOVS            R0, #4                                                 ; +0x30, 0xc022c\nMOV             R2, R4                                                 ; +0x32, 0xc022e\nADD             R1, PC; \"fmod\"                                         ; +0x34, 0xc0230\nB               loc_C0250                                              ; +0x36, 0xc0232\nLDR             R1, =(aFmod - 0xC023E); \"fmod\" ...                     ; +0x38, 0xc0234\nADDS            R2, R4, #6                                             ; +0x3a, 0xc0236\nMOVS            R0, #6                                                 ; +0x3c, 0xc0238\nADD             R1, PC; \"fmod\"                                         ; +0x3e, 0xc023a\nB               loc_C0250                                              ; +0x40, 0xc023c\nLDR             R1, =(aFmod - 0xC0248); \"fmod\" ...                     ; +0x42, 0xc023e\nADDS            R2, R4, #6                                             ; +0x44, 0xc0240\nMOVS            R0, #5                                                 ; +0x46, 0xc0242\nADD             R1, PC; \"fmod\"                                         ; +0x48, 0xc0244\nB               loc_C0250                                              ; +0x4a, 0xc0246\nLDR             R1, =(aFmod - 0xC0252); \"fmod\" ...                     ; +0x4c, 0xc0248\nADDS            R2, R4, #6; text                                       ; +0x4e, 0xc024a\nMOVS            R0, #4; prio                                           ; +0x50, 0xc024c\nADD             R1, PC; \"fmod\"                                         ; +0x52, 0xc024e\nBLX             __android_log_write                                    ; +0x54, 0xc0250\nMOVS            R0, #0                                                 ; +0x58, 0xc0254\nPOP             {R4,R6,R7,PC}                                          ; +0x5a, 0xc0256", "xrefs": ["FMOD_OS_Debug_Output @ 0xbe152"], "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"}