{"type": "func", "start": 8399576, "end": 8399616, "name": "EVP_CipherUpdate", "pseudocode": "// \n// EVP_CipherUpdate from 0x802ad8 to 0x802b00 (40 bytes)\n// \n// 9 xrefs:\n// > CMS_RecipientInfo_kari_decrypt @ 0x874974\n// > CMS_RecipientInfo_kari_decrypt @ 0x8749b4\n// > cms_RecipientInfo_kari_encrypt @ 0x874dfc\n// > cms_RecipientInfo_kari_encrypt @ 0x874e34\n// > sub_8B4BBC @ 0x8b4cd4\n// > sub_8B4BBC @ 0x8b4e30\n// > sub_8B4EE0 @ 0x8b4fdc\n// > PKCS12_pbe_crypt @ 0x8bb7b0\n// > <???> @ 0x6351c\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_CipherUpdate(_DWORD *a1, char *a2, int *a3, char *a4, size_t a5)\n{\n  if ( a1[2] )\n    return EVP_EncryptUpdate(a1, a2, a3, a4, a5);\n  else\n    return EVP_DecryptUpdate(a1, a2, a3, a4, a5);\n}", "assembly": "; \n; EVP_CipherUpdate from 0x802ad8 to 0x802b00 (40 bytes)\n; \n; 9 xrefs:\n; > CMS_RecipientInfo_kari_decrypt @ 0x874974\n; > CMS_RecipientInfo_kari_decrypt @ 0x8749b4\n; > cms_RecipientInfo_kari_encrypt @ 0x874dfc\n; > cms_RecipientInfo_kari_encrypt @ 0x874e34\n; > sub_8B4BBC @ 0x8b4cd4\n; > sub_8B4BBC @ 0x8b4e30\n; > sub_8B4EE0 @ 0x8b4fdc\n; > PKCS12_pbe_crypt @ 0x8bb7b0\n; > <???> @ 0x6351c\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            {LR}                                                   ; +0x0, 0x802ad8\nLDR             LR, [R0,#8]                                            ; +0x4, 0x802adc\nLDR             R12, [SP,#arg_0]                                       ; +0x8, 0x802ae0\nCMP             LR, #0                                                 ; +0xc, 0x802ae4\nBNE             loc_802AF8                                             ; +0x10, 0x802ae8\nSTR             R12, [SP,#arg_0]; size_t                               ; +0x14, 0x802aec\nPOP             {LR}                                                   ; +0x18, 0x802af0\nB               EVP_DecryptUpdate                                      ; +0x1c, 0x802af4\nPOP             {LR}                                                   ; +0x20, 0x802af8\nB               EVP_EncryptUpdate                                      ; +0x24, 0x802afc", "xrefs": ["CMS_RecipientInfo_kari_decrypt @ 0x874974", "CMS_RecipientInfo_kari_decrypt @ 0x8749b4", "cms_RecipientInfo_kari_encrypt @ 0x874dfc", "cms_RecipientInfo_kari_encrypt @ 0x874e34", "sub_8B4BBC @ 0x8b4cd4", "sub_8B4BBC @ 0x8b4e30", "sub_8B4EE0 @ 0x8b4fdc", "PKCS12_pbe_crypt @ 0x8bb7b0", "<???> @ 0x6351c"], "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"}