{"type": "func", "start": 6442671648, "end": 6442671783, "name": "sub_180035E20", "pseudocode": "// \n// sub_180035E20 from 0x180035e20 to 0x180035ea7 (135 bytes)\n// \n// 6 xrefs:\n// > sub_180033E10 @ 0x180033ee9\n// > sub_180034590 @ 0x18003470f\n// > sub_180034AA0 @ 0x180034c2e\n// > sub_180034AA0 @ 0x180034f5e\n// > sub_180035A30 @ 0x180035c00\n// > <???> @ 0x1801f7bfc\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 sub_180035E20(__int64 a1, _DWORD *a2)\n{\n  int i; // ebx\n  int v5; // esi\n  __int64 result; // rax\n  char v7; // [rsp+30h] [rbp+8h] BYREF\n\n  for ( i = 0; ; ++i )\n  {\n    v5 = i;\n    result = sub_1800B2CB0(*(_QWORD *)(a1 + 368), &v7);\n    if ( (_DWORD)result )\n      break;\n    if ( v7 != 32 && v7 != 9 && v7 != 10 && v7 != 13 )\n    {\n      result = sub_1800B3990(*(_QWORD *)(a1 + 368), 0xFFFFFFFFLL, 1);\n      if ( !(_DWORD)result )\n      {\n        if ( a2 )\n          *a2 = v5;\n        return 0;\n      }\n      return result;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_180035E20 from 0x180035e20 to 0x180035ea7 (135 bytes)\n; \n; 6 xrefs:\n; > sub_180033E10 @ 0x180033ee9\n; > sub_180034590 @ 0x18003470f\n; > sub_180034AA0 @ 0x180034c2e\n; > sub_180034AA0 @ 0x180034f5e\n; > sub_180035A30 @ 0x180035c00\n; > <???> @ 0x1801f7bfc\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     [rsp+arg_8], rbx                                               ; +0x0, 0x180035e20\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180035e25\nmov     [rsp+arg_18], rdi                                              ; +0xa, 0x180035e2a\npush    r14                                                            ; +0xf, 0x180035e2f\nsub     rsp, 20h                                                       ; +0x11, 0x180035e31\nmov     r14, rdx                                                       ; +0x15, 0x180035e35\nmov     rdi, rcx                                                       ; +0x18, 0x180035e38\nxor     ebx, ebx                                                       ; +0x1b, 0x180035e3b\nnop     dword ptr [rax]                                                ; +0x1d, 0x180035e3d\nmov     rcx, [rdi+170h]                                                ; +0x20, 0x180035e40\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x27, 0x180035e47\nmov     esi, ebx                                                       ; +0x2c, 0x180035e4c\ncall    sub_1800B2CB0                                                  ; +0x2e, 0x180035e4e\ntest    eax, eax                                                       ; +0x33, 0x180035e53\njnz     short loc_180035E91                                            ; +0x35, 0x180035e55\nmovzx   eax, [rsp+28h+arg_0]                                           ; +0x37, 0x180035e57\ninc     ebx                                                            ; +0x3c, 0x180035e5c\ncmp     al, 20h ; ' '                                                  ; +0x3e, 0x180035e5e\njz      short loc_180035E40                                            ; +0x40, 0x180035e60\ncmp     al, 9                                                          ; +0x42, 0x180035e62\njz      short loc_180035E40                                            ; +0x44, 0x180035e64\ncmp     al, 0Ah                                                        ; +0x46, 0x180035e66\njz      short loc_180035E40                                            ; +0x48, 0x180035e68\ncmp     al, 0Dh                                                        ; +0x4a, 0x180035e6a\njz      short loc_180035E40                                            ; +0x4c, 0x180035e6c\nmov     rcx, [rdi+170h]                                                ; +0x4e, 0x180035e6e\nmov     edx, 0FFFFFFFFh                                                ; +0x55, 0x180035e75\nlea     r8d, [rdx+2]                                                   ; +0x5a, 0x180035e7a\ncall    sub_1800B3990                                                  ; +0x5e, 0x180035e7e\ntest    eax, eax                                                       ; +0x63, 0x180035e83\njnz     short loc_180035E91                                            ; +0x65, 0x180035e85\ntest    r14, r14                                                       ; +0x67, 0x180035e87\njz      short loc_180035E8F                                            ; +0x6a, 0x180035e8a\nmov     [r14], esi                                                     ; +0x6c, 0x180035e8c\nxor     eax, eax                                                       ; +0x6f, 0x180035e8f\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x71, 0x180035e91\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x76, 0x180035e96\nmov     rdi, [rsp+28h+arg_18]                                          ; +0x7b, 0x180035e9b\nadd     rsp, 20h                                                       ; +0x80, 0x180035ea0\npop     r14                                                            ; +0x84, 0x180035ea4\nretn                                                                   ; +0x86, 0x180035ea6", "xrefs": ["sub_180033E10 @ 0x180033ee9", "sub_180034590 @ 0x18003470f", "sub_180034AA0 @ 0x180034c2e", "sub_180034AA0 @ 0x180034f5e", "sub_180035A30 @ 0x180035c00", "<???> @ 0x1801f7bfc"], "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"}