{"type": "func", "start": 6443743628, "end": 6443743701, "name": "__ascii_strnicmp", "pseudocode": "// \n// __ascii_strnicmp from 0x18013b98c to 0x18013b9d5 (73 bytes)\n// \n// 1 xrefs:\n// > _strnicmp @ 0x18013ba16\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\n__int64 __fastcall _ascii_strnicmp(unsigned __int8 *a1, unsigned __int8 *a2, __int64 a3)\n{\n  __int64 result; // rax\n  int v6; // ecx\n  int v7; // edx\n  int v8; // r9d\n  int v9; // ecx\n\n  if ( !a3 )\n    return 0;\n  do\n  {\n    v6 = *a1;\n    v7 = *a2;\n    v8 = v6 + 32;\n    if ( (unsigned int)(v6 - 65) > 0x19 )\n      v8 = *a1;\n    ++a1;\n    ++a2;\n    v9 = v7 + 32;\n    if ( (unsigned int)(v7 - 65) > 0x19 )\n      v9 = v7;\n    result = (unsigned int)(v8 - v9);\n    if ( (_DWORD)result )\n      break;\n    if ( !v8 )\n      break;\n    --a3;\n  }\n  while ( a3 );\n  return result;\n}", "assembly": "; \n; __ascii_strnicmp from 0x18013b98c to 0x18013b9d5 (73 bytes)\n; \n; 1 xrefs:\n; > _strnicmp @ 0x18013ba16\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\nmov     r11, rdx                                                       ; +0x0, 0x18013b98c\nmov     r10, rcx                                                       ; +0x3, 0x18013b98f\ntest    r8, r8                                                         ; +0x6, 0x18013b992\njnz     short loc_18013B99A                                            ; +0x9, 0x18013b995\nxor     eax, eax                                                       ; +0xb, 0x18013b997\nretn                                                                   ; +0xd, 0x18013b999\nmovzx   ecx, byte ptr [r10]                                            ; +0xe, 0x18013b99a\nmovzx   edx, byte ptr [r11]                                            ; +0x12, 0x18013b99e\nlea     eax, [rcx-41h]                                                 ; +0x16, 0x18013b9a2\ncmp     eax, 19h                                                       ; +0x19, 0x18013b9a5\nlea     r9d, [rcx+20h]                                                 ; +0x1c, 0x18013b9a8\nlea     eax, [rdx-41h]                                                 ; +0x20, 0x18013b9ac\ncmova   r9d, ecx                                                       ; +0x23, 0x18013b9af\ninc     r10                                                            ; +0x27, 0x18013b9b3\ninc     r11                                                            ; +0x2a, 0x18013b9b6\nlea     ecx, [rdx+20h]                                                 ; +0x2d, 0x18013b9b9\ncmp     eax, 19h                                                       ; +0x30, 0x18013b9bc\nmov     eax, r9d                                                       ; +0x33, 0x18013b9bf\ncmova   ecx, edx                                                       ; +0x36, 0x18013b9c2\nsub     eax, ecx                                                       ; +0x39, 0x18013b9c5\njnz     short locret_18013B9D4                                         ; +0x3b, 0x18013b9c7\ntest    r9d, r9d                                                       ; +0x3d, 0x18013b9c9\njz      short locret_18013B9D4                                         ; +0x40, 0x18013b9cc\nsub     r8, 1                                                          ; +0x42, 0x18013b9ce\njnz     short loc_18013B99A                                            ; +0x46, 0x18013b9d2\nretn                                                                   ; +0x48, 0x18013b9d4", "xrefs": ["_strnicmp @ 0x18013ba16"], "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"}