{"type": "func", "start": 16670520, "end": 16670592, "name": "ASN1_TIME_print", "pseudocode": "// \n// ASN1_TIME_print from 0xfe5f38 to 0xfe5f80 (72 bytes)\n// \n// 7 xrefs:\n// > sub_E2B824 @ 0xe2bd38\n// > sub_E2B824 @ 0xe2bd94\n// > sub_E2C94C @ 0xe2caf8\n// > sub_E2C94C @ 0xe2cb4c\n// > X509_print_ex @ 0x1063bf0\n// > X509_print_ex @ 0x1063c24\n// > <???> @ 0xef950\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:39 +0000\n// \n\n__int64 __fastcall ASN1_TIME_print(__int64 a1, __int64 a2)\n{\n  int v2; // w2\n\n  v2 = *(_DWORD *)(a2 + 4);\n  if ( v2 == 23 )\n    return ASN1_UTCTIME_print();\n  if ( v2 == 24 )\n    return ASN1_GENERALIZEDTIME_print();\n  BIO_write(a1, \"Bad time value\", 14);\n  return 0;\n}", "assembly": "; \n; ASN1_TIME_print from 0xfe5f38 to 0xfe5f80 (72 bytes)\n; \n; 7 xrefs:\n; > sub_E2B824 @ 0xe2bd38\n; > sub_E2B824 @ 0xe2bd94\n; > sub_E2C94C @ 0xe2caf8\n; > sub_E2C94C @ 0xe2cb4c\n; > X509_print_ex @ 0x1063bf0\n; > X509_print_ex @ 0x1063c24\n; > <???> @ 0xef950\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:39 +0000\n; \nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0xfe5f38\nMOV             X29, SP                                                ; +0x4, 0xfe5f3c\nLDR             W2, [X1,#4]                                            ; +0x8, 0xfe5f40\nCMP             W2, #0x17                                              ; +0xc, 0xfe5f44\nB.EQ            loc_FE5F78                                             ; +0x10, 0xfe5f48\nCMP             W2, #0x18                                              ; +0x14, 0xfe5f4c\nB.EQ            loc_FE5F70                                             ; +0x18, 0xfe5f50\nADRP            X1, #aBadTimeValue@PAGE; \"Bad time value\"              ; +0x1c, 0xfe5f54\nMOV             W2, #0xE                                               ; +0x20, 0xfe5f58\nADD             X1, X1, #aBadTimeValue@PAGEOFF; \"Bad time value\"       ; +0x24, 0xfe5f5c\nBL              BIO_write                                              ; +0x28, 0xfe5f60\nMOV             W0, #0                                                 ; +0x2c, 0xfe5f64\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x30, 0xfe5f68\nRET                                                                    ; +0x34, 0xfe5f6c\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x38, 0xfe5f70\nB               ASN1_GENERALIZEDTIME_print                             ; +0x3c, 0xfe5f74\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x40, 0xfe5f78\nB               ASN1_UTCTIME_print                                     ; +0x44, 0xfe5f7c", "xrefs": ["sub_E2B824 @ 0xe2bd38", "sub_E2B824 @ 0xe2bd94", "sub_E2C94C @ 0xe2caf8", "sub_E2C94C @ 0xe2cb4c", "X509_print_ex @ 0x1063bf0", "X509_print_ex @ 0x1063c24", "<???> @ 0xef950"], "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"}