{"type": "func", "start": 16677348, "end": 16677432, "name": "ASN1_STRING_cmp", "pseudocode": "// \n// ASN1_STRING_cmp from 0xfe79e4 to 0xfe7a38 (84 bytes)\n// \n// 8 xrefs:\n// > OCSP_check_validity @ 0x1041ec4\n// > OCSP_check_validity @ 0x1041f98\n// > sub_106EA3C @ 0x106ea44\n// > GENERAL_NAME_cmp @ 0x107bc6c\n// > ASN1_INTEGER_cmp @ 0x1087a40\n// > ASN1_OCTET_STRING_cmp @ 0x1089ffc\n// > ASN1_TYPE_cmp @ 0x108ad44\n// > <???> @ 0x6b0c8\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:40 +0000\n// \n\n__int64 __fastcall ASN1_STRING_cmp(const void **a1, __int64 a2)\n{\n  int v3; // w2\n  __int64 result; // x0\n  const void **v6; // x20\n\n  v3 = *(_DWORD *)a1;\n  result = (unsigned int)(*(_DWORD *)a1 - *(_DWORD *)a2);\n  if ( v3 == *(_DWORD *)a2 )\n  {\n    v6 = a1;\n    result = memcmp(a1[1], *(const void **)(a2 + 8), v3);\n    if ( !(_DWORD)result )\n      return (unsigned int)(*((_DWORD *)v6 + 1) - *(_DWORD *)(a2 + 4));\n  }\n  return result;\n}", "assembly": "; \n; ASN1_STRING_cmp from 0xfe79e4 to 0xfe7a38 (84 bytes)\n; \n; 8 xrefs:\n; > OCSP_check_validity @ 0x1041ec4\n; > OCSP_check_validity @ 0x1041f98\n; > sub_106EA3C @ 0x106ea44\n; > GENERAL_NAME_cmp @ 0x107bc6c\n; > ASN1_INTEGER_cmp @ 0x1087a40\n; > ASN1_OCTET_STRING_cmp @ 0x1089ffc\n; > ASN1_TYPE_cmp @ 0x108ad44\n; > <???> @ 0x6b0c8\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:40 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xfe79e4\nMOV             X4, X0                                                 ; +0x4, 0xfe79e8\nMOV             X29, SP                                                ; +0x8, 0xfe79ec\nLDR             W2, [X0]                                               ; +0xc, 0xfe79f0\nLDR             W3, [X1]                                               ; +0x10, 0xfe79f4\nSTP             X19, X20, [SP,#var_s10]                                ; +0x14, 0xfe79f8\nSUBS            W0, W2, W3                                             ; +0x18, 0xfe79fc\nB.NE            loc_FE7A2C                                             ; +0x1c, 0xfe7a00\nMOV             X19, X1                                                ; +0x20, 0xfe7a04\nLDR             X0, [X4,#8]; void *                                    ; +0x24, 0xfe7a08\nLDR             X1, [X1,#8]; void *                                    ; +0x28, 0xfe7a0c\nSXTW            X2, W2; size_t                                         ; +0x2c, 0xfe7a10\nMOV             X20, X4                                                ; +0x30, 0xfe7a14\nBL              .memcmp                                                ; +0x34, 0xfe7a18\nCBNZ            W0, loc_FE7A2C                                         ; +0x38, 0xfe7a1c\nLDR             W0, [X20,#4]                                           ; +0x3c, 0xfe7a20\nLDR             W1, [X19,#4]                                           ; +0x40, 0xfe7a24\nSUB             W0, W0, W1                                             ; +0x44, 0xfe7a28\nLDP             X19, X20, [SP,#var_s10]                                ; +0x48, 0xfe7a2c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x4c, 0xfe7a30\nRET                                                                    ; +0x50, 0xfe7a34", "xrefs": ["OCSP_check_validity @ 0x1041ec4", "OCSP_check_validity @ 0x1041f98", "sub_106EA3C @ 0x106ea44", "GENERAL_NAME_cmp @ 0x107bc6c", "ASN1_INTEGER_cmp @ 0x1087a40", "ASN1_OCTET_STRING_cmp @ 0x1089ffc", "ASN1_TYPE_cmp @ 0x108ad44", "<???> @ 0x6b0c8"], "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"}