{"type": "func", "start": 6443324000, "end": 6443324080, "name": "sub_1800D5260", "pseudocode": "// \n// sub_1800D5260 from 0x1800d5260 to 0x1800d52b0 (80 bytes)\n// \n// 4 xrefs:\n// > sub_180018CF0 @ 0x180018d4e\n// > sub_180025F50 @ 0x180025fae\n// > sub_1800363B0 @ 0x18003640e\n// > sub_18003D900 @ 0x18003d95e\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_1800D5260(_DWORD *a1, _DWORD *a2, int a3)\n{\n  if ( a3 == 256 )\n  {\n    *a2 = a1[767];\n    return 0;\n  }\n  else if ( a3 == 1024 )\n  {\n    *a2 = *((unsigned __int8 *)a1 + a1[767] + 656);\n    return 0;\n  }\n  else\n  {\n    if ( a3 == 512 )\n      *a2 = a1[766];\n    else\n      *a2 = a1[534];\n    return 0;\n  }\n}", "assembly": "; \n; sub_1800D5260 from 0x1800d5260 to 0x1800d52b0 (80 bytes)\n; \n; 4 xrefs:\n; > sub_180018CF0 @ 0x180018d4e\n; > sub_180025F50 @ 0x180025fae\n; > sub_1800363B0 @ 0x18003640e\n; > sub_18003D900 @ 0x18003d95e\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\ncmp     r8d, 100h                                                      ; +0x0, 0x1800d5260\njnz     short loc_1800D5274                                            ; +0x7, 0x1800d5267\nmov     eax, [rcx+0BFCh]                                               ; +0x9, 0x1800d5269\nmov     [rdx], eax                                                     ; +0xf, 0x1800d526f\nxor     eax, eax                                                       ; +0x11, 0x1800d5271\nretn                                                                   ; +0x13, 0x1800d5273\ncmp     r8d, 400h                                                      ; +0x14, 0x1800d5274\njnz     short loc_1800D5291                                            ; +0x1b, 0x1800d527b\nmovsxd  rax, dword ptr [rcx+0BFCh]                                     ; +0x1d, 0x1800d527d\nmovzx   ecx, byte ptr [rax+rcx+290h]                                   ; +0x24, 0x1800d5284\nxor     eax, eax                                                       ; +0x2c, 0x1800d528c\nmov     [rdx], ecx                                                     ; +0x2e, 0x1800d528e\nretn                                                                   ; +0x30, 0x1800d5290\ncmp     r8d, 200h                                                      ; +0x31, 0x1800d5291\njnz     short loc_1800D52A5                                            ; +0x38, 0x1800d5298\nmov     eax, [rcx+0BF8h]                                               ; +0x3a, 0x1800d529a\nmov     [rdx], eax                                                     ; +0x40, 0x1800d52a0\nxor     eax, eax                                                       ; +0x42, 0x1800d52a2\nretn                                                                   ; +0x44, 0x1800d52a4\nmov     eax, [rcx+858h]                                                ; +0x45, 0x1800d52a5\nmov     [rdx], eax                                                     ; +0x4b, 0x1800d52ab\nxor     eax, eax                                                       ; +0x4d, 0x1800d52ad\nretn                                                                   ; +0x4f, 0x1800d52af", "xrefs": ["sub_180018CF0 @ 0x180018d4e", "sub_180025F50 @ 0x180025fae", "sub_1800363B0 @ 0x18003640e", "sub_18003D900 @ 0x18003d95e"], "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"}