{"type": "func", "start": 6443766192, "end": 6443766213, "name": "__strncnt", "pseudocode": "// \n// __strncnt from 0x1801411b0 to 0x1801411c5 (21 bytes)\n// \n// 3 xrefs:\n// > InternalCompareStringA @ 0x18013bb28\n// > InternalCompareStringA @ 0x18013bb4c\n// > __acrt_LCMapStringA_stat @ 0x180140c5c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nsize_t __cdecl _strncnt(const char *String, size_t Count)\n{\n  size_t result; // rax\n\n  result = 0;\n  if ( *String )\n  {\n    do\n    {\n      if ( result == Count )\n        break;\n      ++result;\n    }\n    while ( String[result] );\n  }\n  return result;\n}", "assembly": "; \n; __strncnt from 0x1801411b0 to 0x1801411c5 (21 bytes)\n; \n; 3 xrefs:\n; > InternalCompareStringA @ 0x18013bb28\n; > InternalCompareStringA @ 0x18013bb4c\n; > __acrt_LCMapStringA_stat @ 0x180140c5c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nxor     eax, eax                                                       ; +0x0, 0x1801411b0\ncmp     [rcx], al                                                      ; +0x2, 0x1801411b2\njz      short locret_1801411C4                                         ; +0x4, 0x1801411b4\ncmp     rax, rdx                                                       ; +0x6, 0x1801411b6\njz      short locret_1801411C4                                         ; +0x9, 0x1801411b9\ninc     rax                                                            ; +0xb, 0x1801411bb\ncmp     byte ptr [rax+rcx], 0                                          ; +0xe, 0x1801411be\njnz     short loc_1801411B6                                            ; +0x12, 0x1801411c2\nretn                                                                   ; +0x14, 0x1801411c4", "xrefs": ["InternalCompareStringA @ 0x18013bb28", "InternalCompareStringA @ 0x18013bb4c", "__acrt_LCMapStringA_stat @ 0x180140c5c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}