{"type": "func", "start": 8238392, "end": 8238492, "name": "CTLOG_STORE_get0_log_by_id", "pseudocode": "// \n// CTLOG_STORE_get0_log_by_id from 0x7db538 to 0x7db59c (100 bytes)\n// \n// 3 xrefs:\n// > SCT_validate @ 0x7dca34\n// > SCT_print @ 0x8cfcf4\n// > <???> @ 0x604ac\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 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 0x7db538 to 0x7db59c (100 bytes)\n; \n; 3 xrefs:\n; > SCT_validate @ 0x7dca34\n; > SCT_print @ 0x8cfcf4\n; > <???> @ 0x604ac\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            {R4-R8,LR}                                             ; +0x0, 0x7db538\nMOV             R6, R0                                                 ; +0x4, 0x7db53c\nMOV             R8, R1                                                 ; +0x8, 0x7db540\nMOV             R7, R2                                                 ; +0xc, 0x7db544\nMOV             R4, #0                                                 ; +0x10, 0x7db548\nB               loc_7DB574                                             ; +0x14, 0x7db54c\nLDR             R0, [R6]                                               ; +0x18, 0x7db550\nBL              OPENSSL_sk_value                                       ; +0x1c, 0x7db554\nMOV             R1, R8; void *                                         ; +0x20, 0x7db558\nMOV             R2, R7; size_t                                         ; +0x24, 0x7db55c\nMOV             R5, R0                                                 ; +0x28, 0x7db560\nADD             R0, R0, #4; void *                                     ; +0x2c, 0x7db564\nBL              memcmp                                                 ; +0x30, 0x7db568\nCMP             R0, #0                                                 ; +0x34, 0x7db56c\nBEQ             loc_7DB594                                             ; +0x38, 0x7db570\nLDR             R0, [R6]                                               ; +0x3c, 0x7db574\nBL              OPENSSL_sk_num                                         ; +0x40, 0x7db578\nMOV             R1, R4                                                 ; +0x44, 0x7db57c\nCMP             R4, R0                                                 ; +0x48, 0x7db580\nADD             R4, R4, #1                                             ; +0x4c, 0x7db584\nBLT             loc_7DB550                                             ; +0x50, 0x7db588\nMOV             R0, #0                                                 ; +0x54, 0x7db58c\nPOP             {R4-R8,PC}                                             ; +0x58, 0x7db590\nMOV             R0, R5                                                 ; +0x5c, 0x7db594\nPOP             {R4-R8,PC}                                             ; +0x60, 0x7db598", "xrefs": ["SCT_validate @ 0x7dca34", "SCT_print @ 0x8cfcf4", "<???> @ 0x604ac"], "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"}