{"type": "func", "start": 17330652, "end": 17330804, "name": "ASN1_GENERALIZEDTIME_set_string", "pseudocode": "// \n// ASN1_GENERALIZEDTIME_set_string from 0x10871dc to 0x1087274 (152 bytes)\n// \n// 4 xrefs:\n// > OCSP_crlID_new @ 0x1042550\n// > OCSP_archive_cutoff_new @ 0x1042660\n// > SCT_print @ 0x10f9b48\n// > <???> @ 0x920f8\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:13 +0000\n// \n\n__int64 __fastcall ASN1_GENERALIZEDTIME_set_string(__int64 a1, char *a2)\n{\n  int v5[2]; // [xsp+38h] [xbp+38h] BYREF\n  char *v6; // [xsp+40h] [xbp+40h]\n\n  v5[1] = 24;\n  v5[0] = strlen(a2);\n  v6 = a2;\n  if ( !ASN1_GENERALIZEDTIME_check((__int64)v5) )\n    return 0;\n  if ( a1 )\n  {\n    if ( (unsigned int)ASN1_STRING_set(a1, a2, v5[0]) )\n    {\n      *(_DWORD *)(a1 + 4) = 24;\n      return 1;\n    }\n    return 0;\n  }\n  return 1;\n}", "assembly": "; \n; ASN1_GENERALIZEDTIME_set_string from 0x10871dc to 0x1087274 (152 bytes)\n; \n; 4 xrefs:\n; > OCSP_crlID_new @ 0x1042550\n; > OCSP_archive_cutoff_new @ 0x1042660\n; > SCT_print @ 0x10f9b48\n; > <???> @ 0x920f8\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:13 +0000\n; \nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0x10871dc\nMOV             X29, SP                                                ; +0x4, 0x10871e0\nSTP             X21, X22, [SP,#0x50+var_30]                            ; +0x8, 0x10871e4\nMOV             X21, X0                                                ; +0xc, 0x10871e8\nMOV             X0, X1; char *                                         ; +0x10, 0x10871ec\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x14, 0x10871f0\nMOV             W22, #0x18                                             ; +0x18, 0x10871f4\nMOV             X19, X1                                                ; +0x1c, 0x10871f8\nADD             X20, X29, #0x50+var_18                                 ; +0x20, 0x10871fc\nSTR             W22, [X29,#0x50+var_14]                                ; +0x24, 0x1087200\nBL              .strlen                                                ; +0x28, 0x1087204\nSTR             W0, [X29,#0x50+var_18]                                 ; +0x2c, 0x1087208\nMOV             X0, X20                                                ; +0x30, 0x108720c\nSTR             X19, [X29,#0x50+var_10]                                ; +0x34, 0x1087210\nBL              ASN1_GENERALIZEDTIME_check                             ; +0x38, 0x1087214\nCBZ             W0, loc_108724C                                        ; +0x3c, 0x1087218\nCBZ             X21, loc_1087260                                       ; +0x40, 0x108721c\nLDR             W2, [X20]                                              ; +0x44, 0x1087220\nMOV             X0, X21; int                                           ; +0x48, 0x1087224\nMOV             X1, X19; char *                                        ; +0x4c, 0x1087228\nBL              ASN1_STRING_set                                        ; +0x50, 0x108722c\nCBZ             W0, loc_108724C                                        ; +0x54, 0x1087230\nSTR             W22, [X21,#4]                                          ; +0x58, 0x1087234\nMOV             W0, #1                                                 ; +0x5c, 0x1087238\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x60, 0x108723c\nLDP             X21, X22, [SP,#0x50+var_30]                            ; +0x64, 0x1087240\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x68, 0x1087244\nRET                                                                    ; +0x6c, 0x1087248\nMOV             W0, #0                                                 ; +0x70, 0x108724c\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x74, 0x1087250\nLDP             X21, X22, [SP,#0x50+var_30]                            ; +0x78, 0x1087254\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x7c, 0x1087258\nRET                                                                    ; +0x80, 0x108725c\nMOV             W0, #1                                                 ; +0x84, 0x1087260\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x88, 0x1087264\nLDP             X21, X22, [SP,#0x50+var_30]                            ; +0x8c, 0x1087268\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x90, 0x108726c\nRET                                                                    ; +0x94, 0x1087270", "xrefs": ["OCSP_crlID_new @ 0x1042550", "OCSP_archive_cutoff_new @ 0x1042660", "SCT_print @ 0x10f9b48", "<???> @ 0x920f8"], "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"}