{"type": "func", "start": 17345504, "end": 17345544, "name": "ASN1_TYPE_get", "pseudocode": "// \n// ASN1_TYPE_get from 0x108abe0 to 0x108ac08 (40 bytes)\n// \n// 4 xrefs:\n// > sub_1004D54 @ 0x1004f84\n// > sub_1009820 @ 0x1009bb8\n// > X509_ATTRIBUTE_get0_data @ 0x1064768\n// > <???> @ 0xbb270\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:17:15 +0000\n// \n\n__int64 __fastcall ASN1_TYPE_get(_QWORD *a1)\n{\n  __int64 result; // x0\n  int v2; // w2\n\n  if ( a1[1] )\n    return *(unsigned int *)a1;\n  v2 = *(_DWORD *)a1;\n  result = 0;\n  if ( v2 == 5 )\n    return 5;\n  return result;\n}", "assembly": "; \n; ASN1_TYPE_get from 0x108abe0 to 0x108ac08 (40 bytes)\n; \n; 4 xrefs:\n; > sub_1004D54 @ 0x1004f84\n; > sub_1009820 @ 0x1009bb8\n; > X509_ATTRIBUTE_get0_data @ 0x1064768\n; > <???> @ 0xbb270\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:17:15 +0000\n; \nLDR             X1, [X0,#8]                                            ; +0x0, 0x108abe0\nCBZ             X1, loc_108ABF0                                        ; +0x4, 0x108abe4\nLDR             W0, [X0]                                               ; +0x8, 0x108abe8\nRET                                                                    ; +0xc, 0x108abec\nLDR             W2, [X0]                                               ; +0x10, 0x108abf0\nMOV             W0, W1                                                 ; +0x14, 0x108abf4\nCMP             W2, #5                                                 ; +0x18, 0x108abf8\nB.NE            locret_108ABEC                                         ; +0x1c, 0x108abfc\nMOV             W0, W2                                                 ; +0x20, 0x108ac00\nRET                                                                    ; +0x24, 0x108ac04", "xrefs": ["sub_1004D54 @ 0x1004f84", "sub_1009820 @ 0x1009bb8", "X509_ATTRIBUTE_get0_data @ 0x1064768", "<???> @ 0xbb270"], "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"}