{"type": "func", "start": 798358, "end": 798456, "name": "Java_org_fmod_MediaCodec_fmodReadAt", "pseudocode": "// \n// Java_org_fmod_MediaCodec_fmodReadAt from 0xc2e96 to 0xc2ef8 (98 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 Java_org_fmod_MediaCodec_fmodReadAt(\n        int a1,\n        int a2,\n        int a3,\n        int a4,\n        int a5,\n        int a6,\n        int a7,\n        int a8,\n        int a9)\n{\n  int v11; // r10\n  int v12; // r5\n  int v14; // [sp+Ch] [bp-1Ch] BYREF\n\n  v11 = (*(int (__fastcall **)(int, int, _DWORD))(*(_DWORD *)a1 + 736))(a1, a7, 0);\n  v14 = 0;\n  if ( sub_C2E2E(a3, a5, v11, a8, a9, &v14) )\n  {\n    v12 = -1;\n    v14 = -1;\n  }\n  else\n  {\n    v12 = v14;\n  }\n  (*(void (__fastcall **)(int, int, int, _DWORD))(*(_DWORD *)a1 + 768))(a1, a7, v11, 0);\n  return v12;\n}", "assembly": "; \n; Java_org_fmod_MediaCodec_fmodReadAt from 0xc2e96 to 0xc2ef8 (98 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-R7,LR}                                             ; +0x0, 0xc2e96\nADD             R7, SP, #0xC                                           ; +0x2, 0xc2e98\nPUSH.W          {R4-R10}                                               ; +0x4, 0xc2e9a\nMOV             R4, R0                                                 ; +0x8, 0xc2e9e\nLDR             R0, [R0]                                               ; +0xa, 0xc2ea0\nLDR.W           R8, [R7,#-0x18+arg_8]                                  ; +0xc, 0xc2ea2\nMOV             R5, R2                                                 ; +0x10, 0xc2ea6\nMOVS            R2, #0                                                 ; +0x12, 0xc2ea8\nMOV.W           R9, #0                                                 ; +0x14, 0xc2eaa\nLDR.W           R3, [R0,#0x2E0]                                        ; +0x18, 0xc2eae\nMOV             R0, R4                                                 ; +0x1c, 0xc2eb2\nMOV             R1, R8                                                 ; +0x1e, 0xc2eb4\nBLX             R3                                                     ; +0x20, 0xc2eb6\nMOV             R10, R0                                                ; +0x22, 0xc2eb8\nADD             R0, SP, #0x10+var_4                                    ; +0x24, 0xc2eba\nLDR             R1, [R7,#-0x18+arg_0]                                  ; +0x26, 0xc2ebc\nMOV             R2, R10                                                ; +0x28, 0xc2ebe\nLDR             R3, [R7,#-0x18+arg_C]                                  ; +0x2a, 0xc2ec0\nSTR             R0, [SP,#0x10+var_C]                                   ; +0x2c, 0xc2ec2\nLDR             R0, [R7,#-0x18+arg_10]                                 ; +0x2e, 0xc2ec4\nSTR             R0, [SP,#0x10+var_10]                                  ; +0x30, 0xc2ec6\nMOV             R0, R5                                                 ; +0x32, 0xc2ec8\nSTR.W           R9, [SP,#0x10+var_4]                                   ; +0x34, 0xc2eca\nBL              sub_C2E2E                                              ; +0x38, 0xc2ece\nCMP             R0, #0                                                 ; +0x3c, 0xc2ed2\nITTE NE                                                                ; +0x3e, 0xc2ed4\nMOVNE.W         R5, #0xFFFFFFFF                                        ; +0x40, 0xc2ed6\nSTRNE           R5, [SP,#0x10+var_4]                                   ; +0x44, 0xc2eda\nLDREQ           R5, [SP,#0x10+var_4]                                   ; +0x46, 0xc2edc\nLDR             R0, [R4]                                               ; +0x48, 0xc2ede\nMOV             R1, R8                                                 ; +0x4a, 0xc2ee0\nMOV             R2, R10                                                ; +0x4c, 0xc2ee2\nMOVS            R3, #0                                                 ; +0x4e, 0xc2ee4\nLDR.W           R6, [R0,#0x300]                                        ; +0x50, 0xc2ee6\nMOV             R0, R4                                                 ; +0x54, 0xc2eea\nBLX             R6                                                     ; +0x56, 0xc2eec\nMOV             R0, R5                                                 ; +0x58, 0xc2eee\nADD             SP, SP, #0x10                                          ; +0x5a, 0xc2ef0\nPOP.W           {R8-R10}                                               ; +0x5c, 0xc2ef2\nPOP             {R4-R7,PC}                                             ; +0x60, 0xc2ef6", "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"}