{"type": "func", "start": 14063148, "end": 14063236, "name": "ASN1_STRING_clear_free", "pseudocode": "// \n// ASN1_STRING_clear_free from 0xd6962c to 0xd69684 (88 bytes)\n// \n// 8 xrefs:\n// > sub_D85A44 @ 0xd85ad0\n// > sub_D85A44 @ 0xd85b28\n// > sub_D85BB0 @ 0xd85c44\n// > sub_D85BB0 @ 0xd85cec\n// > sub_D888D0 @ 0xd88954\n// > sub_D888D0 @ 0xd889a8\n// > sub_D88A48 @ 0xd88b0c\n// > <???> @ 0x4b960\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_STRING_clear_free(__int64 result)\n{\n  int *v1; // x19\n  _BYTE *v2; // x0\n\n  if ( result )\n  {\n    v1 = (int *)result;\n    v2 = *(_BYTE **)(result + 8);\n    if ( v2 && (*((_QWORD *)v1 + 2) & 0x10) == 0 )\n    {\n      OPENSSL_cleanse(v2, *v1);\n      return ASN1_STRING_free((__int64)v1);\n    }\n    else\n    {\n      return ASN1_STRING_free((__int64)v1);\n    }\n  }\n  return result;\n}", "assembly": "; \n; ASN1_STRING_clear_free from 0xd6962c to 0xd69684 (88 bytes)\n; \n; 8 xrefs:\n; > sub_D85A44 @ 0xd85ad0\n; > sub_D85A44 @ 0xd85b28\n; > sub_D85BB0 @ 0xd85c44\n; > sub_D85BB0 @ 0xd85cec\n; > sub_D888D0 @ 0xd88954\n; > sub_D888D0 @ 0xd889a8\n; > sub_D88A48 @ 0xd88b0c\n; > <???> @ 0x4b960\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\nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xd6962c\nMOV             X29, SP                                                ; +0x4, 0xd69630\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xd69634\nCBZ             X0, loc_D69678                                         ; +0xc, 0xd69638\nMOV             X19, X0                                                ; +0x10, 0xd6963c\nLDR             X0, [X0,#8]                                            ; +0x14, 0xd69640\nCBZ             X0, loc_D69650                                         ; +0x18, 0xd69644\nLDR             X1, [X19,#0x10]                                        ; +0x1c, 0xd69648\nTBZ             W1, #4, loc_D69660                                     ; +0x20, 0xd6964c\nMOV             X0, X19                                                ; +0x24, 0xd69650\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x28, 0xd69654\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x2c, 0xd69658\nB               ASN1_STRING_free                                       ; +0x30, 0xd6965c\nLDRSW           X1, [X19]                                              ; +0x34, 0xd69660\nBL              OPENSSL_cleanse                                        ; +0x38, 0xd69664\nMOV             X0, X19                                                ; +0x3c, 0xd69668\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x40, 0xd6966c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x44, 0xd69670\nB               ASN1_STRING_free                                       ; +0x48, 0xd69674\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x4c, 0xd69678\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x50, 0xd6967c\nRET                                                                    ; +0x54, 0xd69680", "xrefs": ["sub_D85A44 @ 0xd85ad0", "sub_D85A44 @ 0xd85b28", "sub_D85BB0 @ 0xd85c44", "sub_D85BB0 @ 0xd85cec", "sub_D888D0 @ 0xd88954", "sub_D888D0 @ 0xd889a8", "sub_D88A48 @ 0xd88b0c", "<???> @ 0x4b960"], "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"}