{"type": "func", "start": 16670048, "end": 16670196, "name": "ASN1_TIME_set_string", "pseudocode": "// \n// ASN1_TIME_set_string from 0xfe5d60 to 0xfe5df4 (148 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xdc5a0\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_set_string(__int64 a1, char *a2)\n{\n  __int64 result; // x0\n  int v5; // [xsp+38h] [xbp+38h] BYREF\n  int v6; // [xsp+3Ch] [xbp+3Ch]\n  char *v7; // [xsp+40h] [xbp+40h]\n  __int64 v8; // [xsp+48h] [xbp+48h]\n\n  v5 = strlen(a2);\n  v7 = a2;\n  v8 = 0;\n  v6 = 23;\n  if ( (unsigned int)ASN1_TIME_check((__int64)&v5) || (v6 = 24, result = ASN1_TIME_check((__int64)&v5), (_DWORD)result) )\n  {\n    result = 1;\n    if ( a1 )\n      return (unsigned int)ASN1_STRING_copy(a1, &v5) != 0;\n  }\n  return result;\n}", "assembly": "; \n; ASN1_TIME_set_string from 0xfe5d60 to 0xfe5df4 (148 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xdc5a0\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,#var_50]!                                ; +0x0, 0xfe5d60\nMOV             X29, SP                                                ; +0x4, 0xfe5d64\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x8, 0xfe5d68\nMOV             X21, X0                                                ; +0xc, 0xfe5d6c\nMOV             X0, X1; char *                                         ; +0x10, 0xfe5d70\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x14, 0xfe5d74\nMOV             X19, X1                                                ; +0x18, 0xfe5d78\nADD             X20, X29, #0x50+var_18                                 ; +0x1c, 0xfe5d7c\nBL              .strlen                                                ; +0x20, 0xfe5d80\nSTR             W0, [X29,#0x50+var_18]                                 ; +0x24, 0xfe5d84\nMOV             W1, #0x17                                              ; +0x28, 0xfe5d88\nMOV             X0, X20                                                ; +0x2c, 0xfe5d8c\nSTR             X19, [X29,#0x50+var_10]                                ; +0x30, 0xfe5d90\nSTR             XZR, [X29,#0x50+var_8]                                 ; +0x34, 0xfe5d94\nSTR             W1, [X29,#0x50+var_14]                                 ; +0x38, 0xfe5d98\nBL              ASN1_TIME_check                                        ; +0x3c, 0xfe5d9c\nCBZ             W0, loc_FE5DD0                                         ; +0x40, 0xfe5da0\nMOV             W0, #1                                                 ; +0x44, 0xfe5da4\nCBZ             X21, loc_FE5DC0                                        ; +0x48, 0xfe5da8\nMOV             X0, X21                                                ; +0x4c, 0xfe5dac\nMOV             X1, X20                                                ; +0x50, 0xfe5db0\nBL              ASN1_STRING_copy                                       ; +0x54, 0xfe5db4\nCMP             W0, WZR                                                ; +0x58, 0xfe5db8\nCSET            W0, NE                                                 ; +0x5c, 0xfe5dbc\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x60, 0xfe5dc0\nLDR             X21, [SP,#0x50+var_30]                                 ; +0x64, 0xfe5dc4\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x68, 0xfe5dc8\nRET                                                                    ; +0x6c, 0xfe5dcc\nMOV             W1, #0x18                                              ; +0x70, 0xfe5dd0\nMOV             X0, X20                                                ; +0x74, 0xfe5dd4\nSTR             W1, [X29,#0x50+var_14]                                 ; +0x78, 0xfe5dd8\nBL              ASN1_TIME_check                                        ; +0x7c, 0xfe5ddc\nCBNZ            W0, loc_FE5DA4                                         ; +0x80, 0xfe5de0\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x84, 0xfe5de4\nLDR             X21, [SP,#0x50+var_30]                                 ; +0x88, 0xfe5de8\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x8c, 0xfe5dec\nRET                                                                    ; +0x90, 0xfe5df0", "xrefs": ["<???> @ 0xdc5a0"], "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"}