{"type": "func", "start": 14712684, "end": 14712776, "name": "ASN1_BIT_STRING_get_bit", "pseudocode": "// \n// ASN1_BIT_STRING_get_bit from 0xe07f6c to 0xe07fc8 (92 bytes)\n// \n// 4 xrefs:\n// > sub_DFC6D8 @ 0xdfc818\n// > sub_DFC98C @ 0xdfcb00\n// > i2v_ASN1_BIT_STRING @ 0xe6ff60\n// > <???> @ 0x9dd28\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\n__int64 __fastcall ASN1_BIT_STRING_get_bit(__int64 a1, int a2)\n{\n  int v2; // w3\n  unsigned int v3; // w2\n  __int64 v4; // x0\n\n  v2 = a2 / 8;\n  if ( !a1 )\n    return 0;\n  v3 = 0;\n  if ( v2 < *(_DWORD *)a1 )\n  {\n    v4 = *(_QWORD *)(a1 + 8);\n    if ( v4 )\n      return (*(unsigned __int8 *)(v4 + v2) & (1 << (~(_BYTE)a2 & 7))) != 0;\n  }\n  return v3;\n}", "assembly": "; \n; ASN1_BIT_STRING_get_bit from 0xe07f6c to 0xe07fc8 (92 bytes)\n; \n; 4 xrefs:\n; > sub_DFC6D8 @ 0xdfc818\n; > sub_DFC98C @ 0xdfcb00\n; > i2v_ASN1_BIT_STRING @ 0xe6ff60\n; > <???> @ 0x9dd28\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\nADD             W2, W1, #7                                             ; +0x0, 0xe07f6c\nCMP             W1, WZR                                                ; +0x4, 0xe07f70\nCSEL            W2, W2, W1, LT                                         ; +0x8, 0xe07f74\nASR             W3, W2, #3                                             ; +0xc, 0xe07f78\nCBZ             X0, loc_E07FBC                                         ; +0x10, 0xe07f7c\nLDR             W4, [X0]                                               ; +0x14, 0xe07f80\nMOV             W2, #0                                                 ; +0x18, 0xe07f84\nCMP             W3, W4                                                 ; +0x1c, 0xe07f88\nB.GE            loc_E07FB4                                             ; +0x20, 0xe07f8c\nLDR             X0, [X0,#8]                                            ; +0x24, 0xe07f90\nCBZ             X0, loc_E07FB4                                         ; +0x28, 0xe07f94\nMVN             W1, W1                                                 ; +0x2c, 0xe07f98\nLDRB            W2, [X0,W3,SXTW]                                       ; +0x30, 0xe07f9c\nAND             W1, W1, #7                                             ; +0x34, 0xe07fa0\nMOV             W0, #1                                                 ; +0x38, 0xe07fa4\nLSL             W1, W0, W1                                             ; +0x3c, 0xe07fa8\nTST             W2, W1                                                 ; +0x40, 0xe07fac\nCSET            W2, NE                                                 ; +0x44, 0xe07fb0\nMOV             W0, W2                                                 ; +0x48, 0xe07fb4\nRET                                                                    ; +0x4c, 0xe07fb8\nMOV             W2, W0                                                 ; +0x50, 0xe07fbc\nMOV             W0, W2                                                 ; +0x54, 0xe07fc0\nRET                                                                    ; +0x58, 0xe07fc4", "xrefs": ["sub_DFC6D8 @ 0xdfc818", "sub_DFC98C @ 0xdfcb00", "i2v_ASN1_BIT_STRING @ 0xe6ff60", "<???> @ 0x9dd28"], "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"}