{"type": "func", "start": 16785556, "end": 16785612, "name": "CT_POLICY_EVAL_CTX_set1_cert", "pseudocode": "// \n// CT_POLICY_EVAL_CTX_set1_cert from 0x1002094 to 0x10020cc (56 bytes)\n// \n// 2 xrefs:\n// > ssl_validate_ct @ 0xfc2060\n// > <???> @ 0x91948\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:15:54 +0000\n// \n\n__int64 __fastcall CT_POLICY_EVAL_CTX_set1_cert(_QWORD *a1, __int64 a2)\n{\n  __int64 result; // x0\n\n  result = X509_up_ref(a2);\n  if ( (_DWORD)result )\n  {\n    *a1 = a2;\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; CT_POLICY_EVAL_CTX_set1_cert from 0x1002094 to 0x10020cc (56 bytes)\n; \n; 2 xrefs:\n; > ssl_validate_ct @ 0xfc2060\n; > <???> @ 0x91948\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:15:54 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x1002094\nMOV             X29, SP                                                ; +0x4, 0x1002098\nSTR             X19, [SP,#0x30+var_20]                                 ; +0x8, 0x100209c\nMOV             X19, X0                                                ; +0xc, 0x10020a0\nMOV             X0, X1                                                 ; +0x10, 0x10020a4\nSTR             X1, [X29,#0x30+var_8]                                  ; +0x14, 0x10020a8\nBL              X509_up_ref                                            ; +0x18, 0x10020ac\nCBZ             W0, loc_10020C0                                        ; +0x1c, 0x10020b0\nLDR             X1, [X29,#0x30+var_8]                                  ; +0x20, 0x10020b4\nMOV             W0, #1                                                 ; +0x24, 0x10020b8\nSTR             X1, [X19]                                              ; +0x28, 0x10020bc\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x2c, 0x10020c0\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x30, 0x10020c4\nRET                                                                    ; +0x34, 0x10020c8", "xrefs": ["ssl_validate_ct @ 0xfc2060", "<???> @ 0x91948"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}