{"type": "func", "start": 791660, "end": 791724, "name": "sub_C146C", "pseudocode": "// \n// sub_C146C from 0xc146c to 0xc14ac (64 bytes)\n// \n// 0 xrefs:\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_C146C(int *a1)\n{\n  int v1; // r5\n  int v3; // r0\n\n  v1 = *a1;\n  if ( !*a1 )\n    return 0;\n  v3 = *(_DWORD *)(v1 + 4);\n  if ( v3 )\n  {\n    if ( sub_C085C(v3) )\n      return 28;\n    *(_DWORD *)(v1 + 4) = 0;\n  }\n  if ( *(_DWORD *)v1 )\n  {\n    sub_C06BE(*(void **)v1);\n    *(_DWORD *)v1 = 0;\n  }\n  ((void (__fastcall *)(_DWORD, const char *, int))a1[3])(*a1, \"../android/src/fmod_output_aaudio.cpp\", 869);\n  *a1 = 0;\n  return 0;\n}", "assembly": "; \n; sub_C146C from 0xc146c to 0xc14ac (64 bytes)\n; \n; 0 xrefs:\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,R5,R7,LR}                                          ; +0x0, 0xc146c\nADD             R7, SP, #8                                             ; +0x2, 0xc146e\nLDR             R5, [R0]                                               ; +0x4, 0xc1470\nCBZ             R5, loc_C1484                                          ; +0x6, 0xc1472\nMOV             R4, R0                                                 ; +0x8, 0xc1474\nLDR             R0, [R5,#4]                                            ; +0xa, 0xc1476\nCBZ             R0, loc_C148C                                          ; +0xc, 0xc1478\nBL              sub_C085C                                              ; +0xe, 0xc147a\nCBZ             R0, loc_C1488                                          ; +0x12, 0xc147e\nMOVS            R0, #0x1C                                              ; +0x14, 0xc1480\nPOP             {R4,R5,R7,PC}                                          ; +0x16, 0xc1482\nMOVS            R0, #0                                                 ; +0x18, 0xc1484\nPOP             {R4,R5,R7,PC}                                          ; +0x1a, 0xc1486\nMOVS            R0, #0                                                 ; +0x1c, 0xc1488\nSTR             R0, [R5,#4]                                            ; +0x1e, 0xc148a\nLDR             R0, [R5]                                               ; +0x20, 0xc148c\nCBZ             R0, loc_C1498                                          ; +0x22, 0xc148e\nBL              sub_C06BE                                              ; +0x24, 0xc1490\nMOVS            R0, #0                                                 ; +0x28, 0xc1494\nSTR             R0, [R5]                                               ; +0x2a, 0xc1496\nLDR             R0, [R4]                                               ; +0x2c, 0xc1498\nMOVW            R2, #0x365                                             ; +0x2e, 0xc149a\nLDR             R3, [R4,#0xC]                                          ; +0x32, 0xc149e\nLDR             R1, =(aAndroidSrcFmod_0 - 0xC14A6); \"../android/src/fmod_output_aaudio.cpp\" ... ; +0x34, 0xc14a0\nADD             R1, PC; \"../android/src/fmod_output_aaudio.cpp\"        ; +0x36, 0xc14a2\nBLX             R3                                                     ; +0x38, 0xc14a4\nMOVS            R0, #0                                                 ; +0x3a, 0xc14a6\nSTR             R0, [R4]                                               ; +0x3c, 0xc14a8\nPOP             {R4,R5,R7,PC}                                          ; +0x3e, 0xc14aa", "xrefs": [], "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"}