{"type": "func", "start": 10420536, "end": 10420636, "name": "CTLOG_STORE_get0_log_by_id", "pseudocode": "// \n// CTLOG_STORE_get0_log_by_id from 0x9f0138 to 0x9f019c (100 bytes)\n// \n// 3 xrefs:\n// > SCT_validate @ 0x9f1634\n// > SCT_print @ 0xae4cf4\n// > <???> @ 0x79f2c\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 __fastcall CTLOG_STORE_get0_log_by_id(_DWORD *a1, const void *a2, size_t a3)\n{\n  int v6; // r4\n  int v7; // r5\n  int v8; // r0\n  int v9; // r1\n\n  v6 = 0;\n  do\n  {\n    v8 = OPENSSL_sk_num(*a1);\n    v9 = v6;\n    if ( v6++ >= v8 )\n      return 0;\n    v7 = OPENSSL_sk_value(*a1, v9);\n  }\n  while ( memcmp((const void *)(v7 + 4), a2, a3) );\n  return v7;\n}", "assembly": "; \n; CTLOG_STORE_get0_log_by_id from 0x9f0138 to 0x9f019c (100 bytes)\n; \n; 3 xrefs:\n; > SCT_validate @ 0x9f1634\n; > SCT_print @ 0xae4cf4\n; > <???> @ 0x79f2c\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-R8,LR}                                             ; +0x0, 0x9f0138\nMOV             R6, R0                                                 ; +0x4, 0x9f013c\nMOV             R8, R1                                                 ; +0x8, 0x9f0140\nMOV             R7, R2                                                 ; +0xc, 0x9f0144\nMOV             R4, #0                                                 ; +0x10, 0x9f0148\nB               loc_9F0174                                             ; +0x14, 0x9f014c\nLDR             R0, [R6]                                               ; +0x18, 0x9f0150\nBL              OPENSSL_sk_value                                       ; +0x1c, 0x9f0154\nMOV             R1, R8; void *                                         ; +0x20, 0x9f0158\nMOV             R2, R7; size_t                                         ; +0x24, 0x9f015c\nMOV             R5, R0                                                 ; +0x28, 0x9f0160\nADD             R0, R0, #4; void *                                     ; +0x2c, 0x9f0164\nBL              memcmp                                                 ; +0x30, 0x9f0168\nCMP             R0, #0                                                 ; +0x34, 0x9f016c\nBEQ             loc_9F0194                                             ; +0x38, 0x9f0170\nLDR             R0, [R6]                                               ; +0x3c, 0x9f0174\nBL              OPENSSL_sk_num                                         ; +0x40, 0x9f0178\nMOV             R1, R4                                                 ; +0x44, 0x9f017c\nCMP             R4, R0                                                 ; +0x48, 0x9f0180\nADD             R4, R4, #1                                             ; +0x4c, 0x9f0184\nBLT             loc_9F0150                                             ; +0x50, 0x9f0188\nMOV             R0, #0                                                 ; +0x54, 0x9f018c\nPOP             {R4-R8,PC}                                             ; +0x58, 0x9f0190\nMOV             R0, R5                                                 ; +0x5c, 0x9f0194\nPOP             {R4-R8,PC}                                             ; +0x60, 0x9f0198", "xrefs": ["SCT_validate @ 0x9f1634", "SCT_print @ 0xae4cf4", "<???> @ 0x79f2c"], "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"}