{"type": "func", "start": 11322172, "end": 11322260, "name": "EVP_DecodeFinal", "pseudocode": "// \n// EVP_DecodeFinal from 0xacc33c to 0xacc394 (88 bytes)\n// \n// 2 xrefs:\n// > PEM_read_bio @ 0xa37808\n// > <???> @ 0x7ee5c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:09:21 +0000\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 0xacc33c to 0xacc394 (88 bytes)\n; \n; 2 xrefs:\n; > PEM_read_bio @ 0xa37808\n; > <???> @ 0x7ee5c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:09:21 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0xacc33c\nMOV             R6, #0                                                 ; +0x4, 0xacc340\nSTR             R6, [R2]                                               ; +0x8, 0xacc344\nLDR             R3, [R0]                                               ; +0xc, 0xacc348\nCMP             R3, R6                                                 ; +0x10, 0xacc34c\nBNE             loc_ACC35C                                             ; +0x14, 0xacc350\nMOV             R0, #1                                                 ; +0x18, 0xacc354\nPOP             {R4-R6,PC}                                             ; +0x1c, 0xacc358\nMOV             R4, R0                                                 ; +0x20, 0xacc35c\nMOV             R5, R2                                                 ; +0x24, 0xacc360\nMOV             R0, R1                                                 ; +0x28, 0xacc364\nMOV             R2, R3                                                 ; +0x2c, 0xacc368\nADD             R1, R4, #8                                             ; +0x30, 0xacc36c\nBL              EVP_DecodeBlock                                        ; +0x34, 0xacc370\nSUBS            R3, R0, #0                                             ; +0x38, 0xacc374\nBLT             loc_ACC38C                                             ; +0x3c, 0xacc378\nSTR             R6, [R4]                                               ; +0x40, 0xacc37c\nMOV             R0, #1                                                 ; +0x44, 0xacc380\nSTR             R3, [R5]                                               ; +0x48, 0xacc384\nPOP             {R4-R6,PC}                                             ; +0x4c, 0xacc388\nMOV             R0, #0xFFFFFFFF                                        ; +0x50, 0xacc38c\nPOP             {R4-R6,PC}                                             ; +0x54, 0xacc390", "xrefs": ["PEM_read_bio @ 0xa37808", "<???> @ 0x7ee5c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}