{"type": "func", "start": 8241868, "end": 8241904, "name": "CT_POLICY_EVAL_CTX_set1_issuer", "pseudocode": "// \n// CT_POLICY_EVAL_CTX_set1_issuer from 0x7dc2cc to 0x7dc2f0 (36 bytes)\n// \n// 2 xrefs:\n// > ssl_validate_ct @ 0x79b338\n// > <???> @ 0x5c6ec\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 CT_POLICY_EVAL_CTX_set1_issuer(int a1, int a2)\n{\n  int result; // r0\n\n  result = X509_up_ref(a2);\n  if ( result )\n  {\n    *(_DWORD *)(a1 + 4) = a2;\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; CT_POLICY_EVAL_CTX_set1_issuer from 0x7dc2cc to 0x7dc2f0 (36 bytes)\n; \n; 2 xrefs:\n; > ssl_validate_ct @ 0x79b338\n; > <???> @ 0x5c6ec\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            {R3-R5,LR}                                             ; +0x0, 0x7dc2cc\nMOV             R5, R0                                                 ; +0x4, 0x7dc2d0\nMOV             R0, R1                                                 ; +0x8, 0x7dc2d4\nMOV             R4, R1                                                 ; +0xc, 0x7dc2d8\nBL              X509_up_ref                                            ; +0x10, 0x7dc2dc\nCMP             R0, #0                                                 ; +0x14, 0x7dc2e0\nSTRNE           R4, [R5,#4]                                            ; +0x18, 0x7dc2e4\nMOVNE           R0, #1                                                 ; +0x1c, 0x7dc2e8\nPOP             {R3-R5,PC}                                             ; +0x20, 0x7dc2ec", "xrefs": ["ssl_validate_ct @ 0x79b338", "<???> @ 0x5c6ec"], "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"}