{"type": "func", "start": 10419544, "end": 10419672, "name": "CTLOG_STORE_new", "pseudocode": "// \n// CTLOG_STORE_new from 0x9efd58 to 0x9efdd8 (128 bytes)\n// \n// 2 xrefs:\n// > SSL_CTX_new @ 0x9ad598\n// > <???> @ 0x759ac\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:07:29 +0000\n// \n\nint *CTLOG_STORE_new()\n{\n  int v0; // r0\n  int *v1; // r4\n  int v2; // r5\n  int *result; // r0\n\n  v0 = CRYPTO_zalloc(4, \"crypto/ct/ct_log.c\", 94);\n  v1 = (int *)v0;\n  if ( v0 )\n  {\n    v2 = OPENSSL_sk_new_null(v0);\n    result = v1;\n    *v1 = v2;\n    if ( !v2 )\n    {\n      CRYPTO_free(v1, \"crypto/ct/ct_log.c\", 107);\n      return nullptr;\n    }\n  }\n  else\n  {\n    ERR_put_error(50, 131, 65, \"crypto/ct/ct_log.c\", 97);\n    return nullptr;\n  }\n  return result;\n}", "assembly": "; \n; CTLOG_STORE_new from 0x9efd58 to 0x9efdd8 (128 bytes)\n; \n; 2 xrefs:\n; > SSL_CTX_new @ 0x9ad598\n; > <???> @ 0x759ac\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:07:29 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x9efd58\nLDR             R6, =(aCryptoCtCtLogC - 0x9EFD6C); \"crypto/ct/ct_log.c\" ; +0x4, 0x9efd5c\nSUB             SP, SP, #8                                             ; +0x8, 0x9efd60\nADD             R6, PC, R6; \"crypto/ct/ct_log.c\"                       ; +0xc, 0x9efd64\nMOV             R0, #4                                                 ; +0x10, 0x9efd68\nMOV             R1, R6                                                 ; +0x14, 0x9efd6c\nMOV             R2, #0x5E ; '^'                                        ; +0x18, 0x9efd70\nBL              CRYPTO_zalloc                                          ; +0x1c, 0x9efd74\nSUBS            R4, R0, #0                                             ; +0x20, 0x9efd78\nBEQ             loc_9EFDA0                                             ; +0x24, 0x9efd7c\nBL              OPENSSL_sk_new_null                                    ; +0x28, 0x9efd80\nMOV             R5, R0                                                 ; +0x2c, 0x9efd84\nCMP             R5, #0                                                 ; +0x30, 0x9efd88\nMOV             R0, R4                                                 ; +0x34, 0x9efd8c\nSTR             R5, [R4]                                               ; +0x38, 0x9efd90\nBEQ             loc_9EFDC4                                             ; +0x3c, 0x9efd94\nADD             SP, SP, #8                                             ; +0x40, 0x9efd98\nPOP             {R4-R6,PC}                                             ; +0x44, 0x9efd9c\nMOV             R2, #0x61 ; 'a'                                        ; +0x48, 0x9efda0\nSTR             R2, [SP,#8+var_8]                                      ; +0x4c, 0x9efda4\nMOV             R0, #0x32 ; '2'                                        ; +0x50, 0x9efda8\nMOV             R3, R6                                                 ; +0x54, 0x9efdac\nMOV             R1, #0x83                                              ; +0x58, 0x9efdb0\nMOV             R2, #0x41 ; 'A'                                        ; +0x5c, 0x9efdb4\nBL              ERR_put_error                                          ; +0x60, 0x9efdb8\nMOV             R0, R4                                                 ; +0x64, 0x9efdbc\nB               loc_9EFD98                                             ; +0x68, 0x9efdc0\nMOV             R1, R6                                                 ; +0x6c, 0x9efdc4\nMOV             R2, #0x6B ; 'k'                                        ; +0x70, 0x9efdc8\nBL              CRYPTO_free                                            ; +0x74, 0x9efdcc\nMOV             R0, R5                                                 ; +0x78, 0x9efdd0\nB               loc_9EFD98                                             ; +0x7c, 0x9efdd4", "xrefs": ["SSL_CTX_new @ 0x9ad598", "<???> @ 0x759ac"], "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"}