{"type": "func", "start": 9139004, "end": 9139092, "name": "EVP_DecodeFinal", "pseudocode": "// \n// EVP_DecodeFinal from 0x8b733c to 0x8b7394 (88 bytes)\n// \n// 2 xrefs:\n// > PEM_read_bio @ 0x822c08\n// > <???> @ 0x653dc\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 EVP_DecodeFinal(int a1, int a2, int *a3)\n{\n  int v6; // r3\n\n  *a3 = 0;\n  if ( !*(_DWORD *)a1 )\n    return 1;\n  v6 = EVP_DecodeBlock(a2, (unsigned __int8 *)(a1 + 8), *(_DWORD *)a1);\n  if ( v6 < 0 )\n    return -1;\n  *(_DWORD *)a1 = 0;\n  *a3 = v6;\n  return 1;\n}", "assembly": "; \n; EVP_DecodeFinal from 0x8b733c to 0x8b7394 (88 bytes)\n; \n; 2 xrefs:\n; > PEM_read_bio @ 0x822c08\n; > <???> @ 0x653dc\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,LR}                                             ; +0x0, 0x8b733c\nMOV             R6, #0                                                 ; +0x4, 0x8b7340\nSTR             R6, [R2]                                               ; +0x8, 0x8b7344\nLDR             R3, [R0]                                               ; +0xc, 0x8b7348\nCMP             R3, R6                                                 ; +0x10, 0x8b734c\nBNE             loc_8B735C                                             ; +0x14, 0x8b7350\nMOV             R0, #1                                                 ; +0x18, 0x8b7354\nPOP             {R4-R6,PC}                                             ; +0x1c, 0x8b7358\nMOV             R4, R0                                                 ; +0x20, 0x8b735c\nMOV             R5, R2                                                 ; +0x24, 0x8b7360\nMOV             R0, R1                                                 ; +0x28, 0x8b7364\nMOV             R2, R3                                                 ; +0x2c, 0x8b7368\nADD             R1, R4, #8                                             ; +0x30, 0x8b736c\nBL              EVP_DecodeBlock                                        ; +0x34, 0x8b7370\nSUBS            R3, R0, #0                                             ; +0x38, 0x8b7374\nBLT             loc_8B738C                                             ; +0x3c, 0x8b7378\nSTR             R6, [R4]                                               ; +0x40, 0x8b737c\nMOV             R0, #1                                                 ; +0x44, 0x8b7380\nSTR             R3, [R5]                                               ; +0x48, 0x8b7384\nPOP             {R4-R6,PC}                                             ; +0x4c, 0x8b7388\nMOV             R0, #0xFFFFFFFF                                        ; +0x50, 0x8b738c\nPOP             {R4-R6,PC}                                             ; +0x54, 0x8b7390", "xrefs": ["PEM_read_bio @ 0x822c08", "<???> @ 0x653dc"], "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"}