{"type": "func", "start": 5372670976, "end": 5372671376, "name": "IDNameInput::nameLess", "pseudocode": "// \n// IDNameInput::nameLess from 0x1403c7400 to 0x1403c7590 (400 bytes)\n// \n// 33 xrefs:\n// > sub_1403C5050 @ 0x1403c519f\n// > sub_1403C5050 @ 0x1403c5363\n// > sub_1403C5050 @ 0x1403c5399\n// > sub_1403C57C0 @ 0x1403c58c3\n// > sub_1403C57C0 @ 0x1403c58d9\n// > sub_1403C57C0 @ 0x1403c58ff\n// > sub_1403C57C0 @ 0x1403c5914\n// > sub_1403C57C0 @ 0x1403c5950\n// > sub_1403C57C0 @ 0x1403c5965\n// > sub_1403C57C0 @ 0x1403c59e1\n// > sub_1403C57C0 @ 0x1403c59f6\n// > sub_1403C6720 @ 0x1403c6780\n// > sub_1403C6720 @ 0x1403c680e\n// > sub_1403C6E30 @ 0x1403c6e5c\n// > sub_1403C6E30 @ 0x1403c6ea0\n// > sub_1403C6E30 @ 0x1403c6ee1\n// > sub_1403CBEC0 @ 0x1403cbf6f\n// > sub_1403CBEC0 @ 0x1403cbfe1\n// > sub_1403CBEC0 @ 0x1403cc027\n// > sub_1403CC0B0 @ 0x1403cc1b3\n// > sub_1403CC0B0 @ 0x1403cc1c9\n// > sub_1403CC0B0 @ 0x1403cc1ef\n// > sub_1403CC0B0 @ 0x1403cc204\n// > sub_1403CC0B0 @ 0x1403cc23d\n// > sub_1403CC0B0 @ 0x1403cc253\n// > sub_1403CC0B0 @ 0x1403cc29e\n// > sub_1403CC0B0 @ 0x1403cc2b4\n// > sub_1403CCD20 @ 0x1403ccd88\n// > sub_1403CCD20 @ 0x1403cce3e\n// > sub_1403CD470 @ 0x1403cd4a0\n// > sub_1403CD470 @ 0x1403cd4c1\n// > sub_1403CD470 @ 0x1403cd4e2\n// > <???> @ 0x140924320\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:31:31 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall IDNameInput::nameLess(__int64 a1, int a2, __int64 a3, int a4)\n{\n  unsigned __int64 v7; // rbx\n  size_t v8; // rcx\n  size_t v9; // r9\n  unsigned __int64 v10; // rdx\n  void **v11; // r8\n  void **v12; // rax\n  void **v13; // rax\n  void **v14; // rax\n  unsigned __int64 v15; // r8\n  unsigned __int64 v16; // rcx\n  void **v17; // rdx\n  void **v18; // rax\n  void **v19; // rax\n  void **v20; // rax\n  void **v21; // r9\n  void **v22; // rcx\n  unsigned int v23; // ebx\n  void *Buf1[2]; // [rsp+28h] [rbp-48h] BYREF\n  size_t Size; // [rsp+38h] [rbp-38h]\n  unsigned __int64 v27; // [rsp+40h] [rbp-30h]\n  void *Buf2[2]; // [rsp+48h] [rbp-28h] BYREF\n  unsigned __int64 v29; // [rsp+58h] [rbp-18h]\n  unsigned __int64 v30; // [rsp+60h] [rbp-10h]\n\n  v7 = 0;\n  sub_14003F4F0((__int64)Buf1, a1);\n  v8 = 0;\n  v9 = Size;\n  if ( Size )\n  {\n    v10 = v27;\n    v11 = (void **)Buf1[0];\n    do\n    {\n      v12 = Buf1;\n      if ( v10 > 0xF )\n        v12 = v11;\n      if ( *((char *)v12 + v8) >= 65 )\n      {\n        v13 = Buf1;\n        if ( v10 > 0xF )\n          v13 = v11;\n        if ( *((char *)v13 + v8) <= 90 )\n        {\n          v14 = Buf1;\n          if ( v10 > 0xF )\n            v14 = v11;\n          *((_BYTE *)v14 + v8) += 32;\n          v10 = v27;\n          v9 = Size;\n          v11 = (void **)Buf1[0];\n        }\n      }\n      ++v8;\n    }\n    while ( v8 < v9 );\n  }\n  sub_14003F4F0((__int64)Buf2, a3);\n  v15 = v29;\n  v16 = v30;\n  v17 = (void **)Buf2[0];\n  if ( v29 )\n  {\n    do\n    {\n      v18 = Buf2;\n      if ( v16 > 0xF )\n        v18 = v17;\n      if ( *((char *)v18 + v7) >= 65 )\n      {\n        v19 = Buf2;\n        if ( v16 > 0xF )\n          v19 = v17;\n        if ( *((char *)v19 + v7) <= 90 )\n        {\n          v20 = Buf2;\n          if ( v16 > 0xF )\n            v20 = v17;\n          *((_BYTE *)v20 + v7) += 32;\n          v16 = v30;\n          v15 = v29;\n          v17 = (void **)Buf2[0];\n        }\n      }\n      ++v7;\n    }\n    while ( v7 < v15 );\n  }\n  v21 = Buf2;\n  if ( v16 > 0xF )\n    v21 = v17;\n  v22 = Buf1;\n  if ( v27 > 0xF )\n    v22 = (void **)Buf1[0];\n  if ( Size == v15 && (!Size || !memcmp(v22, v21, Size)) )\n    LOBYTE(v23) = a2 < a4;\n  else\n    v23 = (unsigned int)sub_14003D160(Buf1, Buf2) >> 31;\n  sub_14003D310((__int64)Buf2);\n  sub_14003D310((__int64)Buf1);\n  return (unsigned __int8)v23;\n}", "assembly": "; \n; IDNameInput::nameLess from 0x1403c7400 to 0x1403c7590 (400 bytes)\n; \n; 33 xrefs:\n; > sub_1403C5050 @ 0x1403c519f\n; > sub_1403C5050 @ 0x1403c5363\n; > sub_1403C5050 @ 0x1403c5399\n; > sub_1403C57C0 @ 0x1403c58c3\n; > sub_1403C57C0 @ 0x1403c58d9\n; > sub_1403C57C0 @ 0x1403c58ff\n; > sub_1403C57C0 @ 0x1403c5914\n; > sub_1403C57C0 @ 0x1403c5950\n; > sub_1403C57C0 @ 0x1403c5965\n; > sub_1403C57C0 @ 0x1403c59e1\n; > sub_1403C57C0 @ 0x1403c59f6\n; > sub_1403C6720 @ 0x1403c6780\n; > sub_1403C6720 @ 0x1403c680e\n; > sub_1403C6E30 @ 0x1403c6e5c\n; > sub_1403C6E30 @ 0x1403c6ea0\n; > sub_1403C6E30 @ 0x1403c6ee1\n; > sub_1403CBEC0 @ 0x1403cbf6f\n; > sub_1403CBEC0 @ 0x1403cbfe1\n; > sub_1403CBEC0 @ 0x1403cc027\n; > sub_1403CC0B0 @ 0x1403cc1b3\n; > sub_1403CC0B0 @ 0x1403cc1c9\n; > sub_1403CC0B0 @ 0x1403cc1ef\n; > sub_1403CC0B0 @ 0x1403cc204\n; > sub_1403CC0B0 @ 0x1403cc23d\n; > sub_1403CC0B0 @ 0x1403cc253\n; > sub_1403CC0B0 @ 0x1403cc29e\n; > sub_1403CC0B0 @ 0x1403cc2b4\n; > sub_1403CCD20 @ 0x1403ccd88\n; > sub_1403CCD20 @ 0x1403cce3e\n; > sub_1403CD470 @ 0x1403cd4a0\n; > sub_1403CD470 @ 0x1403cd4c1\n; > sub_1403CD470 @ 0x1403cd4e2\n; > <???> @ 0x140924320\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:31:31 +0000\n; \nmov     [rsp-18h+arg_8], rbx                                           ; +0x0, 0x1403c7400\nmov     [rsp-18h+arg_18], rsi                                          ; +0x5, 0x1403c7405\npush    rbp                                                            ; +0xa, 0x1403c740a\npush    rdi                                                            ; +0xb, 0x1403c740b\npush    r14                                                            ; +0xc, 0x1403c740c\nmov     rbp, rsp                                                       ; +0xe, 0x1403c740e\nsub     rsp, 70h                                                       ; +0x11, 0x1403c7411\nmov     rax, cs:__security_cookie                                      ; +0x15, 0x1403c7415\nxor     rax, rsp                                                       ; +0x1c, 0x1403c741c\nmov     [rbp+var_8], rax                                               ; +0x1f, 0x1403c741f\nmov     esi, r9d                                                       ; +0x23, 0x1403c7423\nmov     rdi, r8                                                        ; +0x26, 0x1403c7426\nmov     r14d, edx                                                      ; +0x29, 0x1403c7429\nxor     ebx, ebx                                                       ; +0x2c, 0x1403c742c\nmov     rdx, rcx                                                       ; +0x2e, 0x1403c742e\nlea     rcx, [rbp+Buf1]                                                ; +0x31, 0x1403c7431\ncall    sub_14003F4F0                                                  ; +0x35, 0x1403c7435\nmov     ecx, ebx                                                       ; +0x3a, 0x1403c743a\nmov     r9, [rbp+Size]                                                 ; +0x3c, 0x1403c743c\ntest    r9, r9                                                         ; +0x40, 0x1403c7440\njz      short loc_1403C7498                                            ; +0x43, 0x1403c7443\nmov     rdx, [rbp+var_30]                                              ; +0x45, 0x1403c7445\nmov     r8, [rbp+Buf1]                                                 ; +0x49, 0x1403c7449\nnop     dword ptr [rax]                                                ; +0x4d, 0x1403c744d\nlea     rax, [rbp+Buf1]                                                ; +0x50, 0x1403c7450\ncmp     rdx, 0Fh                                                       ; +0x54, 0x1403c7454\ncmova   rax, r8                                                        ; +0x58, 0x1403c7458\ncmp     byte ptr [rax+rcx], 41h ; 'A'                                  ; +0x5c, 0x1403c745c\njl      short loc_1403C7490                                            ; +0x60, 0x1403c7460\nlea     rax, [rbp+Buf1]                                                ; +0x62, 0x1403c7462\ncmp     rdx, 0Fh                                                       ; +0x66, 0x1403c7466\ncmova   rax, r8                                                        ; +0x6a, 0x1403c746a\ncmp     byte ptr [rax+rcx], 5Ah ; 'Z'                                  ; +0x6e, 0x1403c746e\njg      short loc_1403C7490                                            ; +0x72, 0x1403c7472\nlea     rax, [rbp+Buf1]                                                ; +0x74, 0x1403c7474\ncmp     rdx, 0Fh                                                       ; +0x78, 0x1403c7478\ncmova   rax, r8                                                        ; +0x7c, 0x1403c747c\nadd     byte ptr [rax+rcx], 20h ; ' '                                  ; +0x80, 0x1403c7480\nmov     rdx, [rbp+var_30]                                              ; +0x84, 0x1403c7484\nmov     r9, [rbp+Size]                                                 ; +0x88, 0x1403c7488\nmov     r8, [rbp+Buf1]                                                 ; +0x8c, 0x1403c748c\ninc     rcx                                                            ; +0x90, 0x1403c7490\ncmp     rcx, r9                                                        ; +0x93, 0x1403c7493\njb      short loc_1403C7450                                            ; +0x96, 0x1403c7496\nmov     rdx, rdi                                                       ; +0x98, 0x1403c7498\nlea     rcx, [rbp+Buf2]                                                ; +0x9b, 0x1403c749b\ncall    sub_14003F4F0                                                  ; +0x9f, 0x1403c749f\nmov     r8, [rbp+var_18]                                               ; +0xa4, 0x1403c74a4\nmov     rcx, [rbp+var_10]                                              ; +0xa8, 0x1403c74a8\nmov     rdx, [rbp+Buf2]                                                ; +0xac, 0x1403c74ac\ntest    r8, r8                                                         ; +0xb0, 0x1403c74b0\njz      short loc_1403C7508                                            ; +0xb3, 0x1403c74b3\nnop     word ptr [rax+rax+00000000h]                                   ; +0xb5, 0x1403c74b5\nlea     rax, [rbp+Buf2]                                                ; +0xc0, 0x1403c74c0\ncmp     rcx, 0Fh                                                       ; +0xc4, 0x1403c74c4\ncmova   rax, rdx                                                       ; +0xc8, 0x1403c74c8\ncmp     byte ptr [rax+rbx], 41h ; 'A'                                  ; +0xcc, 0x1403c74cc\njl      short loc_1403C7500                                            ; +0xd0, 0x1403c74d0\nlea     rax, [rbp+Buf2]                                                ; +0xd2, 0x1403c74d2\ncmp     rcx, 0Fh                                                       ; +0xd6, 0x1403c74d6\ncmova   rax, rdx                                                       ; +0xda, 0x1403c74da\ncmp     byte ptr [rax+rbx], 5Ah ; 'Z'                                  ; +0xde, 0x1403c74de\njg      short loc_1403C7500                                            ; +0xe2, 0x1403c74e2\nlea     rax, [rbp+Buf2]                                                ; +0xe4, 0x1403c74e4\ncmp     rcx, 0Fh                                                       ; +0xe8, 0x1403c74e8\ncmova   rax, rdx                                                       ; +0xec, 0x1403c74ec\nadd     byte ptr [rax+rbx], 20h ; ' '                                  ; +0xf0, 0x1403c74f0\nmov     rcx, [rbp+var_10]                                              ; +0xf4, 0x1403c74f4\nmov     r8, [rbp+var_18]                                               ; +0xf8, 0x1403c74f8\nmov     rdx, [rbp+Buf2]                                                ; +0xfc, 0x1403c74fc\ninc     rbx                                                            ; +0x100, 0x1403c7500\ncmp     rbx, r8                                                        ; +0x103, 0x1403c7503\njb      short loc_1403C74C0                                            ; +0x106, 0x1403c7506\nlea     r9, [rbp+Buf2]                                                 ; +0x108, 0x1403c7508\ncmp     rcx, 0Fh                                                       ; +0x10c, 0x1403c750c\ncmova   r9, rdx                                                        ; +0x110, 0x1403c7510\nlea     rcx, [rbp+Buf1]                                                ; +0x114, 0x1403c7514\ncmp     [rbp+var_30], 0Fh                                              ; +0x118, 0x1403c7518\ncmova   rcx, [rbp+Buf1]; Buf1                                          ; +0x11d, 0x1403c751d\nmov     rax, [rbp+Size]                                                ; +0x122, 0x1403c7522\ncmp     rax, r8                                                        ; +0x126, 0x1403c7526\njnz     short loc_1403C7547                                            ; +0x129, 0x1403c7529\ntest    rax, rax                                                       ; +0x12b, 0x1403c752b\njz      short loc_1403C753F                                            ; +0x12e, 0x1403c752e\nmov     r8, rax; Size                                                  ; +0x130, 0x1403c7530\nmov     rdx, r9; Buf2                                                  ; +0x133, 0x1403c7533\ncall    memcmp                                                         ; +0x136, 0x1403c7536\ntest    eax, eax                                                       ; +0x13b, 0x1403c753b\njnz     short loc_1403C7547                                            ; +0x13d, 0x1403c753d\ncmp     r14d, esi                                                      ; +0x13f, 0x1403c753f\nsetl    bl                                                             ; +0x142, 0x1403c7542\njmp     short loc_1403C7559                                            ; +0x145, 0x1403c7545\nlea     rdx, [rbp+Buf2]; Buf2                                          ; +0x147, 0x1403c7547\nlea     rcx, [rbp+Buf1]; Buf1                                          ; +0x14b, 0x1403c754b\ncall    sub_14003D160                                                  ; +0x14f, 0x1403c754f\nmov     ebx, eax                                                       ; +0x154, 0x1403c7554\nshr     ebx, 1Fh                                                       ; +0x156, 0x1403c7556\nlea     rcx, [rbp+Buf2]                                                ; +0x159, 0x1403c7559\ncall    sub_14003D310                                                  ; +0x15d, 0x1403c755d\nnop                                                                    ; +0x162, 0x1403c7562\nlea     rcx, [rbp+Buf1]                                                ; +0x163, 0x1403c7563\ncall    sub_14003D310                                                  ; +0x167, 0x1403c7567\nmovzx   eax, bl                                                        ; +0x16c, 0x1403c756c\nmov     rcx, [rbp+var_8]                                               ; +0x16f, 0x1403c756f\nxor     rcx, rsp; StackCookie                                          ; +0x173, 0x1403c7573\ncall    __security_check_cookie                                        ; +0x176, 0x1403c7576\nlea     r11, [rsp+70h+var_s0]                                          ; +0x17b, 0x1403c757b\nmov     rbx, [r11+28h]                                                 ; +0x180, 0x1403c7580\nmov     rsi, [r11+38h]                                                 ; +0x184, 0x1403c7584\nmov     rsp, r11                                                       ; +0x188, 0x1403c7588\npop     r14                                                            ; +0x18b, 0x1403c758b\npop     rdi                                                            ; +0x18d, 0x1403c758d\npop     rbp                                                            ; +0x18e, 0x1403c758e\nretn                                                                   ; +0x18f, 0x1403c758f", "xrefs": ["sub_1403C5050 @ 0x1403c519f", "sub_1403C5050 @ 0x1403c5363", "sub_1403C5050 @ 0x1403c5399", "sub_1403C57C0 @ 0x1403c58c3", "sub_1403C57C0 @ 0x1403c58d9", "sub_1403C57C0 @ 0x1403c58ff", "sub_1403C57C0 @ 0x1403c5914", "sub_1403C57C0 @ 0x1403c5950", "sub_1403C57C0 @ 0x1403c5965", "sub_1403C57C0 @ 0x1403c59e1", "sub_1403C57C0 @ 0x1403c59f6", "sub_1403C6720 @ 0x1403c6780", "sub_1403C6720 @ 0x1403c680e", "sub_1403C6E30 @ 0x1403c6e5c", "sub_1403C6E30 @ 0x1403c6ea0", "sub_1403C6E30 @ 0x1403c6ee1", "sub_1403CBEC0 @ 0x1403cbf6f", "sub_1403CBEC0 @ 0x1403cbfe1", "sub_1403CBEC0 @ 0x1403cc027", "sub_1403CC0B0 @ 0x1403cc1b3", "sub_1403CC0B0 @ 0x1403cc1c9", "sub_1403CC0B0 @ 0x1403cc1ef", "sub_1403CC0B0 @ 0x1403cc204", "sub_1403CC0B0 @ 0x1403cc23d", "sub_1403CC0B0 @ 0x1403cc253", "sub_1403CC0B0 @ 0x1403cc29e", "sub_1403CC0B0 @ 0x1403cc2b4", "sub_1403CCD20 @ 0x1403ccd88", "sub_1403CCD20 @ 0x1403cce3e", "sub_1403CD470 @ 0x1403cd4a0", "sub_1403CD470 @ 0x1403cd4c1", "sub_1403CD470 @ 0x1403cd4e2", "<???> @ 0x140924320"], "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"}