{"type": "func", "start": 6442565728, "end": 6442565845, "name": "sub_18001C060", "pseudocode": "// \n// sub_18001C060 from 0x18001c060 to 0x18001c0d5 (117 bytes)\n// \n// 7 xrefs:\n// > sub_180018D00 @ 0x180018d1e\n// > sub_180018D00 @ 0x180018d29\n// > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a426\n// > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a431\n// > <???> @ 0x18013c934\n// > <???> @ 0x18013c944\n// > <???> @ 0x1801b8b18\n// \n// This function is hookable on this platform (idp: pc, 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 11:21:26 +0000\n// \n\n__int64 __fastcall sub_18001C060(const char *a1)\n{\n  unsigned int v2; // ebx\n  int v3; // eax\n  __int64 v4; // rbp\n  __int64 v5; // rdi\n  int v6; // eax\n  unsigned int v7; // ecx\n\n  v2 = 0;\n  v3 = strlen(a1);\n  v4 = v3;\n  if ( v3 <= 0 )\n    return 0;\n  v5 = 0;\n  do\n  {\n    v6 = isdigit(a1[v5]);\n    v7 = v2 + 1;\n    if ( !v6 )\n      v7 = v2;\n    ++v5;\n    v2 = v7;\n  }\n  while ( v5 < v4 );\n  return v7;\n}", "assembly": "; \n; sub_18001C060 from 0x18001c060 to 0x18001c0d5 (117 bytes)\n; \n; 7 xrefs:\n; > sub_180018D00 @ 0x180018d1e\n; > sub_180018D00 @ 0x180018d29\n; > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a426\n; > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a431\n; > <???> @ 0x18013c934\n; > <???> @ 0x18013c944\n; > <???> @ 0x1801b8b18\n; \n; This function is hookable on this platform (idp: pc, 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 11:21:26 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x18001c060\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x18001c065\npush    rsi                                                            ; +0xa, 0x18001c06a\nsub     rsp, 20h                                                       ; +0xb, 0x18001c06b\nmov     rsi, rcx                                                       ; +0xf, 0x18001c06f\nxor     ebx, ebx                                                       ; +0x12, 0x18001c072\ncall    strlen                                                         ; +0x14, 0x18001c074\nmovsxd  rbp, eax                                                       ; +0x19, 0x18001c079\ntest    eax, eax                                                       ; +0x1c, 0x18001c07c\njle     short loc_18001C0C3                                            ; +0x1e, 0x18001c07e\nmov     [rsp+28h+arg_0], rdi                                           ; +0x20, 0x18001c080\nmov     edi, ebx                                                       ; +0x25, 0x18001c085\nnop     word ptr [rax+rax+00000000h]                                   ; +0x27, 0x18001c087\nmovsx   ecx, byte ptr [rsi+rdi]; C                                     ; +0x30, 0x18001c090\ncall    cs:isdigit                                                     ; +0x34, 0x18001c094\ntest    eax, eax                                                       ; +0x3a, 0x18001c09a\nlea     ecx, [rbx+1]                                                   ; +0x3c, 0x18001c09c\ncmovz   ecx, ebx                                                       ; +0x3f, 0x18001c09f\ninc     rdi                                                            ; +0x42, 0x18001c0a2\nmov     ebx, ecx                                                       ; +0x45, 0x18001c0a5\ncmp     rdi, rbp                                                       ; +0x47, 0x18001c0a7\njl      short loc_18001C090                                            ; +0x4a, 0x18001c0aa\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x4c, 0x18001c0ac\nmov     eax, ecx                                                       ; +0x51, 0x18001c0b1\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x53, 0x18001c0b3\nmov     rbp, [rsp+28h+arg_10]                                          ; +0x58, 0x18001c0b8\nadd     rsp, 20h                                                       ; +0x5d, 0x18001c0bd\npop     rsi                                                            ; +0x61, 0x18001c0c1\nretn                                                                   ; +0x62, 0x18001c0c2\nmov     rbp, [rsp+28h+arg_10]                                          ; +0x63, 0x18001c0c3\nmov     eax, ebx                                                       ; +0x68, 0x18001c0c8\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x6a, 0x18001c0ca\nadd     rsp, 20h                                                       ; +0x6f, 0x18001c0cf\npop     rsi                                                            ; +0x73, 0x18001c0d3\nretn                                                                   ; +0x74, 0x18001c0d4", "xrefs": ["sub_180018D00 @ 0x180018d1e", "sub_180018D00 @ 0x180018d29", "DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a426", "DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a431", "<???> @ 0x18013c934", "<???> @ 0x18013c944", "<???> @ 0x1801b8b18"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}