{"type": "func", "start": 9137816, "end": 9137896, "name": "EVP_EncodeFinal", "pseudocode": "// \n// EVP_EncodeFinal from 0x8b6e98 to 0x8b6ee8 (80 bytes)\n// \n// 3 xrefs:\n// > PEM_write_bio @ 0x821f10\n// > sub_8D2AE8 @ 0x8d2cb8\n// > <???> @ 0x6539c\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_EncodeFinal(int *result, _BYTE *a2, int *a3)\n{\n  int v3; // r3\n  int *v4; // r4\n\n  v3 = *result;\n  v4 = result;\n  if ( *result )\n  {\n    result = (int *)EVP_EncodeBlock(a2, (int)(result + 2), *result);\n    v3 = (int)result + 1;\n    *((_BYTE *)result + (_DWORD)a2) = 10;\n    *((_BYTE *)result + (_DWORD)a2 + 1) = 0;\n    *v4 = 0;\n  }\n  *a3 = v3;\n  return result;\n}", "assembly": "; \n; EVP_EncodeFinal from 0x8b6e98 to 0x8b6ee8 (80 bytes)\n; \n; 3 xrefs:\n; > PEM_write_bio @ 0x821f10\n; > sub_8D2AE8 @ 0x8d2cb8\n; > <???> @ 0x6539c\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\nLDR             R3, [R0]                                               ; +0x0, 0x8b6e98\nPUSH            {R4-R6,LR}                                             ; +0x4, 0x8b6e9c\nCMP             R3, #0                                                 ; +0x8, 0x8b6ea0\nMOV             R4, R0                                                 ; +0xc, 0x8b6ea4\nMOV             R6, R2                                                 ; +0x10, 0x8b6ea8\nBEQ             loc_8B6EE0                                             ; +0x14, 0x8b6eac\nMOV             R5, R1                                                 ; +0x18, 0x8b6eb0\nMOV             R2, R3                                                 ; +0x1c, 0x8b6eb4\nMOV             R0, R1                                                 ; +0x20, 0x8b6eb8\nADD             R1, R4, #8                                             ; +0x24, 0x8b6ebc\nBL              EVP_EncodeBlock                                        ; +0x28, 0x8b6ec0\nMOV             R2, #0                                                 ; +0x2c, 0x8b6ec4\nMOV             R12, #0xA                                              ; +0x30, 0x8b6ec8\nADD             R1, R0, #1                                             ; +0x34, 0x8b6ecc\nMOV             R3, R1                                                 ; +0x38, 0x8b6ed0\nSTRB            R12, [R5,R0]                                           ; +0x3c, 0x8b6ed4\nSTRB            R2, [R5,R1]                                            ; +0x40, 0x8b6ed8\nSTR             R2, [R4]                                               ; +0x44, 0x8b6edc\nSTR             R3, [R6]                                               ; +0x48, 0x8b6ee0\nPOP             {R4-R6,PC}                                             ; +0x4c, 0x8b6ee4", "xrefs": ["PEM_write_bio @ 0x821f10", "sub_8D2AE8 @ 0x8d2cb8", "<???> @ 0x6539c"], "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"}