{"type": "func", "start": 8131508, "end": 8131572, "name": "ASN1_TIME_print", "pseudocode": "// \n// ASN1_TIME_print from 0x7c13b4 to 0x7c13f4 (64 bytes)\n// \n// 7 xrefs:\n// > sub_64231C @ 0x642608\n// > sub_64231C @ 0x642646\n// > sub_642BAC @ 0x642ce8\n// > sub_642BAC @ 0x642d20\n// > X509_print_ex @ 0x83da2c\n// > X509_print_ex @ 0x83da64\n// > <???> @ 0x54d8c\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\nint __fastcall ASN1_TIME_print(int a1, int a2, int a3, int a4)\n{\n  int v4; // r3\n\n  v4 = *(_DWORD *)(a2 + 4);\n  if ( v4 == 23 )\n    return ASN1_UTCTIME_print(a1, a2, a3, a4);\n  if ( v4 == 24 )\n    return ASN1_GENERALIZEDTIME_print(a1, a2, a3, a4);\n  BIO_write(a1, \"Bad time value\", 14, v4);\n  return 0;\n}", "assembly": "; \n; ASN1_TIME_print from 0x7c13b4 to 0x7c13f4 (64 bytes)\n; \n; 7 xrefs:\n; > sub_64231C @ 0x642608\n; > sub_64231C @ 0x642646\n; > sub_642BAC @ 0x642ce8\n; > sub_642BAC @ 0x642d20\n; > X509_print_ex @ 0x83da2c\n; > X509_print_ex @ 0x83da64\n; > <???> @ 0x54d8c\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\nPUSH            {R3,LR}                                                ; +0x0, 0x7c13b4\nLDR             R3, [R1,#4]                                            ; +0x4, 0x7c13b8\nCMP             R3, #0x17                                              ; +0x8, 0x7c13bc\nBEQ             loc_7C13EC                                             ; +0xc, 0x7c13c0\nCMP             R3, #0x18                                              ; +0x10, 0x7c13c4\nBEQ             loc_7C13E4                                             ; +0x14, 0x7c13c8\nLDR             R1, =(aBadTimeValue - 0x7C13DC); \"Bad time value\"      ; +0x18, 0x7c13cc\nMOV             R2, #0xE                                               ; +0x1c, 0x7c13d0\nADD             R1, PC, R1; \"Bad time value\"                           ; +0x20, 0x7c13d4\nBL              BIO_write                                              ; +0x24, 0x7c13d8\nMOV             R0, #0                                                 ; +0x28, 0x7c13dc\nPOP             {R3,PC}                                                ; +0x2c, 0x7c13e0\nPOP             {R3,LR}                                                ; +0x30, 0x7c13e4\nB               ASN1_GENERALIZEDTIME_print                             ; +0x34, 0x7c13e8\nPOP             {R3,LR}                                                ; +0x38, 0x7c13ec\nB               ASN1_UTCTIME_print                                     ; +0x3c, 0x7c13f0", "xrefs": ["sub_64231C @ 0x642608", "sub_64231C @ 0x642646", "sub_642BAC @ 0x642ce8", "sub_642BAC @ 0x642d20", "X509_print_ex @ 0x83da2c", "X509_print_ex @ 0x83da64", "<???> @ 0x54d8c"], "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"}