{"type": "func", "start": 10314320, "end": 10314440, "name": "ASN1_UTCTIME_set_string", "pseudocode": "// \n// ASN1_UTCTIME_set_string from 0x9d6250 to 0x9d62c8 (120 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x77fbc\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:14 +0000\n// \n\nint __fastcall ASN1_UTCTIME_set_string(int a1, char *a2)\n{\n  int v5[4]; // [sp+0h] [bp-10h] BYREF\n\n  v5[1] = 23;\n  v5[2] = (int)a2;\n  v5[0] = strlen(a2);\n  if ( !ASN1_UTCTIME_check(v5) )\n    return 0;\n  if ( !a1 )\n    return 1;\n  if ( !ASN1_STRING_set(a1, a2) )\n    return 0;\n  *(_DWORD *)(a1 + 4) = 23;\n  return 1;\n}", "assembly": "; \n; ASN1_UTCTIME_set_string from 0x9d6250 to 0x9d62c8 (120 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x77fbc\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:14 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x9d6250\nMOV             R5, R0                                                 ; +0x4, 0x9d6254\nSUB             SP, SP, #0x10                                          ; +0x8, 0x9d6258\nMOV             R0, R1; char *                                         ; +0xc, 0x9d625c\nMOV             R6, #0x17                                              ; +0x10, 0x9d6260\nMOV             R4, R1                                                 ; +0x14, 0x9d6264\nSTR             R6, [SP,#0x10+var_C]                                   ; +0x18, 0x9d6268\nBL              strlen                                                 ; +0x1c, 0x9d626c\nSTR             R4, [SP,#0x10+var_8]                                   ; +0x20, 0x9d6270\nSTR             R0, [SP,#0x10+var_10]                                  ; +0x24, 0x9d6274\nMOV             R0, SP                                                 ; +0x28, 0x9d6278\nBL              ASN1_UTCTIME_check                                     ; +0x2c, 0x9d627c\nCMP             R0, #0                                                 ; +0x30, 0x9d6280\nBEQ             loc_9D62BC                                             ; +0x34, 0x9d6284\nCMP             R5, #0                                                 ; +0x38, 0x9d6288\nMOVEQ           R0, #1                                                 ; +0x3c, 0x9d628c\nBEQ             loc_9D62B4                                             ; +0x40, 0x9d6290\nMOV             R1, R4; void *                                         ; +0x44, 0x9d6294\nMOV             R0, R5; int                                            ; +0x48, 0x9d6298\nLDR             R2, [SP,#0x10+var_10]                                  ; +0x4c, 0x9d629c\nBL              ASN1_STRING_set                                        ; +0x50, 0x9d62a0\nCMP             R0, #0                                                 ; +0x54, 0x9d62a4\nSTRNE           R6, [R5,#4]                                            ; +0x58, 0x9d62a8\nMOVNE           R0, #1                                                 ; +0x5c, 0x9d62ac\nBEQ             loc_9D62BC                                             ; +0x60, 0x9d62b0\nADD             SP, SP, #0x10                                          ; +0x64, 0x9d62b4\nPOP             {R4-R6,PC}                                             ; +0x68, 0x9d62b8\nMOV             R0, #0                                                 ; +0x6c, 0x9d62bc\nADD             SP, SP, #0x10                                          ; +0x70, 0x9d62c0\nPOP             {R4-R6,PC}                                             ; +0x74, 0x9d62c4", "xrefs": ["<???> @ 0x77fbc"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}