{"type": "func", "start": 11323500, "end": 11323724, "name": "EVP_PBE_alg_add_type", "pseudocode": "// \n// EVP_PBE_alg_add_type from 0xacc86c to 0xacc94c (224 bytes)\n// \n// 2 xrefs:\n// > EVP_PBE_alg_add @ 0xacc9b4\n// > <???> @ 0x84aac\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_PBE_alg_add_type(int a1, int a2, int a3, int a4, int a5)\n{\n  _DWORD *v9; // r0\n  void *v10; // r4\n\n  if ( dword_D35B7C || (dword_D35B7C = (int)OPENSSL_sk_new((int)sub_ACC834)) != 0 )\n  {\n    v9 = CRYPTO_malloc(dword_14, (int)\"crypto/evp/evp_pbe.c\", 167);\n    v10 = v9;\n    if ( v9 )\n    {\n      *v9 = a1;\n      v9[1] = a2;\n      v9[2] = a3;\n      v9[3] = a4;\n      v9[4] = a5;\n      if ( OPENSSL_sk_push((int *)dword_D35B7C, (int)v9) )\n        return 1;\n      CRYPTO_free(v10, (int)\"crypto/evp/evp_pbe.c\", 177);\n    }\n  }\n  ERR_put_error(6, 160, 65, (int)\"crypto/evp/evp_pbe.c\", 183);\n  return 0;\n}", "assembly": "; \n; EVP_PBE_alg_add_type from 0xacc86c to 0xacc94c (224 bytes)\n; \n; 2 xrefs:\n; > EVP_PBE_alg_add @ 0xacc9b4\n; > <???> @ 0x84aac\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-R9,LR}                                             ; +0x0, 0xacc86c\nLDR             R4, =(dword_D35B7C - 0xACC880)                         ; +0x4, 0xacc870\nSUB             SP, SP, #0xC                                           ; +0x8, 0xacc874\nADD             R4, PC, R4; dword_D35B7C                               ; +0xc, 0xacc878\nLDR             R12, [R4]                                              ; +0x10, 0xacc87c\nMOV             R8, R0                                                 ; +0x14, 0xacc880\nCMP             R12, #0                                                ; +0x18, 0xacc884\nMOV             R7, R1                                                 ; +0x1c, 0xacc888\nMOV             R9, R2                                                 ; +0x20, 0xacc88c\nMOV             R6, R3                                                 ; +0x24, 0xacc890\nBEQ             loc_ACC930                                             ; +0x28, 0xacc894\nLDR             R5, =(aCryptoEvpEvpPb - 0xACC8A8); \"crypto/evp/evp_pbe.c\" ; +0x2c, 0xacc898\nMOV             R0, #0x14                                              ; +0x30, 0xacc89c\nADD             R5, PC, R5; \"crypto/evp/evp_pbe.c\"                     ; +0x34, 0xacc8a0\nMOV             R1, R5                                                 ; +0x38, 0xacc8a4\nMOV             R2, #0xA7                                              ; +0x3c, 0xacc8a8\nBL              CRYPTO_malloc                                          ; +0x40, 0xacc8ac\nSUBS            R4, R0, #0                                             ; +0x44, 0xacc8b0\nBEQ             loc_ACC904                                             ; +0x48, 0xacc8b4\nLDR             R12, =(dword_D35B7C - 0xACC8C8)                        ; +0x4c, 0xacc8b8\nLDR             R3, [SP,#0xC+arg_0]                                    ; +0x50, 0xacc8bc\nADD             R12, PC, R12; dword_D35B7C                             ; +0x54, 0xacc8c0\nSTR             R8, [R4]                                               ; +0x58, 0xacc8c4\nSTMIB           R4, {R7,R9}                                            ; +0x5c, 0xacc8c8\nSTR             R6, [R4,#0xC]                                          ; +0x60, 0xacc8cc\nSTR             R3, [R4,#0x10]                                         ; +0x64, 0xacc8d0\nLDR             R0, [R12]                                              ; +0x68, 0xacc8d4\nMOV             R1, R4                                                 ; +0x6c, 0xacc8d8\nBL              OPENSSL_sk_push                                        ; +0x70, 0xacc8dc\nCMP             R0, #0                                                 ; +0x74, 0xacc8e0\nMOVNE           R0, #1                                                 ; +0x78, 0xacc8e4\nBEQ             loc_ACC8F4                                             ; +0x7c, 0xacc8e8\nADD             SP, SP, #0xC                                           ; +0x80, 0xacc8ec\nPOP             {R4-R9,PC}                                             ; +0x84, 0xacc8f0\nMOV             R0, R4                                                 ; +0x88, 0xacc8f4\nMOV             R1, R5                                                 ; +0x8c, 0xacc8f8\nMOV             R2, #0xB1                                              ; +0x90, 0xacc8fc\nBL              CRYPTO_free                                            ; +0x94, 0xacc900\nMOV             R3, #0xB7                                              ; +0x98, 0xacc904\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x9c, 0xacc908\nLDR             R3, =(aCryptoEvpEvpPb - 0xACC924); \"crypto/evp/evp_pbe.c\" ; +0xa0, 0xacc90c\nMOV             R0, #6                                                 ; +0xa4, 0xacc910\nMOV             R1, #0xA0                                              ; +0xa8, 0xacc914\nMOV             R2, #0x41 ; 'A'                                        ; +0xac, 0xacc918\nADD             R3, PC, R3; \"crypto/evp/evp_pbe.c\"                     ; +0xb0, 0xacc91c\nBL              ERR_put_error                                          ; +0xb4, 0xacc920\nMOV             R0, #0                                                 ; +0xb8, 0xacc924\nADD             SP, SP, #0xC                                           ; +0xbc, 0xacc928\nPOP             {R4-R9,PC}                                             ; +0xc0, 0xacc92c\nLDR             R0, =(sub_ACC834 - 0xACC93C)                           ; +0xc4, 0xacc930\nADD             R0, PC, R0; sub_ACC834                                 ; +0xc8, 0xacc934\nBL              OPENSSL_sk_new                                         ; +0xcc, 0xacc938\nCMP             R0, #0                                                 ; +0xd0, 0xacc93c\nSTR             R0, [R4]                                               ; +0xd4, 0xacc940\nBNE             loc_ACC898                                             ; +0xd8, 0xacc944\nB               loc_ACC904                                             ; +0xdc, 0xacc948", "xrefs": ["EVP_PBE_alg_add @ 0xacc9b4", "<???> @ 0x84aac"], "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"}