{"type": "func", "start": 6442531776, "end": 6442531884, "name": "sub_180013BC0", "pseudocode": "// \n// sub_180013BC0 from 0x180013bc0 to 0x180013c2c (108 bytes)\n// \n// 1 xrefs:\n// > sub_180013120 @ 0x180013162\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 10:52:46 +0000\n// \n\n__int64 __fastcall sub_180013BC0(__int64 a1, __int64 a2, unsigned int a3)\n{\n  __int64 v3; // rdx\n  unsigned __int64 v4; // r10\n  __int64 v5; // rax\n\n  v3 = *(_QWORD *)(a1 + 8);\n  LODWORD(v4) = a3;\n  switch ( *(_DWORD *)(v3 + 8) )\n  {\n    case 1:\n      v5 = 8;\n      goto LABEL_9;\n    case 2:\n      v5 = 16;\n      goto LABEL_9;\n    case 3:\n      v5 = 24;\n      goto LABEL_9;\n  }\n  if ( (unsigned int)(*(_DWORD *)(v3 + 8) - 4) <= 1 )\n  {\n    v5 = 32;\nLABEL_9:\n    v4 = (v5 * (unsigned __int64)a3) >> 3;\n  }\n  return sub_1800B3990(*(_QWORD *)(a1 + 368), (unsigned int)(*(_DWORD *)(a1 + 272) + v4 * *(_DWORD *)(v3 + 12)), 0);\n}", "assembly": "; \n; sub_180013BC0 from 0x180013bc0 to 0x180013c2c (108 bytes)\n; \n; 1 xrefs:\n; > sub_180013120 @ 0x180013162\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 10:52:46 +0000\n; \nmov     rdx, [rcx+8]                                                   ; +0x0, 0x180013bc0\nmov     r10d, r8d                                                      ; +0x4, 0x180013bc4\nmov     r9d, [rdx+8]                                                   ; +0x7, 0x180013bc7\nmov     r11d, [rdx+0Ch]                                                ; +0xb, 0x180013bcb\nsub     r9d, 1                                                         ; +0xf, 0x180013bcf\njz      short loc_180013C02                                            ; +0x13, 0x180013bd3\nsub     r9d, 1                                                         ; +0x15, 0x180013bd5\njz      short loc_180013BFB                                            ; +0x19, 0x180013bd9\nsub     r9d, 1                                                         ; +0x1b, 0x180013bdb\njz      short loc_180013BF4                                            ; +0x1f, 0x180013bdf\nsub     r9d, 1                                                         ; +0x21, 0x180013be1\njz      short loc_180013BED                                            ; +0x25, 0x180013be5\ncmp     r9d, 1                                                         ; +0x27, 0x180013be7\njnz     short loc_180013C0F                                            ; +0x2b, 0x180013beb\nmov     eax, 20h ; ' '                                                 ; +0x2d, 0x180013bed\njmp     short loc_180013C07                                            ; +0x32, 0x180013bf2\nmov     eax, 18h                                                       ; +0x34, 0x180013bf4\njmp     short loc_180013C07                                            ; +0x39, 0x180013bf9\nmov     eax, 10h                                                       ; +0x3b, 0x180013bfb\njmp     short loc_180013C07                                            ; +0x40, 0x180013c00\nmov     eax, 8                                                         ; +0x42, 0x180013c02\nimul    r10, rax                                                       ; +0x47, 0x180013c07\nshr     r10, 3                                                         ; +0x4b, 0x180013c0b\nimul    r11d, r10d                                                     ; +0x4f, 0x180013c0f\nxor     r8d, r8d                                                       ; +0x53, 0x180013c13\nadd     r11d, [rcx+110h]                                               ; +0x56, 0x180013c16\nmov     rcx, [rcx+170h]                                                ; +0x5d, 0x180013c1d\nmov     edx, r11d                                                      ; +0x64, 0x180013c24\njmp     sub_1800B3990                                                  ; +0x67, 0x180013c27", "xrefs": ["sub_180013120 @ 0x180013162"], "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"}