{"type": "func", "start": 6443351568, "end": 6443351633, "name": "sub_1800DBE10", "pseudocode": "// \n// sub_1800DBE10 from 0x1800dbe10 to 0x1800dbe51 (65 bytes)\n// \n// 2 xrefs:\n// > sub_1800E2C50 @ 0x1800e2cda\n// > sub_1800E2D10 @ 0x1800e2dd6\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:22:34 +0000\n// \n\n__int64 __fastcall sub_1800DBE10(int a1, int *a2, int *a3, int *a4)\n{\n  int v4; // r11d\n  __int64 result; // rax\n  int v6; // r11d\n\n  v4 = 24;\n  if ( a1 != 32 )\n    v4 = a1;\n  *a4 = v4 / 3;\n  *a3 = v4 / 3;\n  *a2 = v4 / 3;\n  result = (unsigned int)(3 * (v4 / 3));\n  v6 = v4 % 3;\n  if ( v6 >= 1 )\n    ++*a3;\n  if ( v6 == 2 )\n    ++*a2;\n  return result;\n}", "assembly": "; \n; sub_1800DBE10 from 0x1800dbe10 to 0x1800dbe51 (65 bytes)\n; \n; 2 xrefs:\n; > sub_1800E2C50 @ 0x1800e2cda\n; > sub_1800E2D10 @ 0x1800e2dd6\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:22:34 +0000\n; \nmov     r10, rdx                                                       ; +0x0, 0x1800dbe10\ncmp     ecx, 20h ; ' '                                                 ; +0x3, 0x1800dbe13\nmov     r11d, 18h                                                      ; +0x6, 0x1800dbe16\nmov     eax, 55555556h                                                 ; +0xc, 0x1800dbe1c\ncmovnz  r11d, ecx                                                      ; +0x11, 0x1800dbe21\nimul    r11d                                                           ; +0x15, 0x1800dbe25\nmov     eax, edx                                                       ; +0x18, 0x1800dbe28\nshr     eax, 1Fh                                                       ; +0x1a, 0x1800dbe2a\nadd     edx, eax                                                       ; +0x1d, 0x1800dbe2d\nmov     [r9], edx                                                      ; +0x1f, 0x1800dbe2f\nmov     [r8], edx                                                      ; +0x22, 0x1800dbe32\nmov     [r10], edx                                                     ; +0x25, 0x1800dbe35\nlea     eax, [rdx+rdx*2]                                               ; +0x28, 0x1800dbe38\nsub     r11d, eax                                                      ; +0x2b, 0x1800dbe3b\ncmp     r11d, 1                                                        ; +0x2e, 0x1800dbe3e\njl      short loc_1800DBE47                                            ; +0x32, 0x1800dbe42\ninc     dword ptr [r8]                                                 ; +0x34, 0x1800dbe44\ncmp     r11d, 2                                                        ; +0x37, 0x1800dbe47\njnz     short locret_1800DBE50                                         ; +0x3b, 0x1800dbe4b\ninc     dword ptr [r10]                                                ; +0x3d, 0x1800dbe4d\nretn                                                                   ; +0x40, 0x1800dbe50", "xrefs": ["sub_1800E2C50 @ 0x1800e2cda", "sub_1800E2D10 @ 0x1800e2dd6"], "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"}