{"type": "func", "start": 6442779840, "end": 6442779853, "name": "sub_1800504C0", "pseudocode": "// \n// sub_1800504C0 from 0x1800504c0 to 0x1800504cd (13 bytes)\n// \n// 3 xrefs:\n// > sub_18004A3A0 @ 0x18004a42a\n// > sub_18004A3A0 @ 0x18004a433\n// > sub_18004A3A0 @ 0x18004a4a4\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_1800504C0(unsigned int a1)\n{\n  __int64 result; // rax\n\n  for ( result = 0; a1; a1 >>= 1 )\n    result = (unsigned int)(result + 1);\n  return result;\n}", "assembly": "; \n; sub_1800504C0 from 0x1800504c0 to 0x1800504cd (13 bytes)\n; \n; 3 xrefs:\n; > sub_18004A3A0 @ 0x18004a42a\n; > sub_18004A3A0 @ 0x18004a433\n; > sub_18004A3A0 @ 0x18004a4a4\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\nxor     eax, eax                                                       ; +0x0, 0x1800504c0\ntest    ecx, ecx                                                       ; +0x2, 0x1800504c2\njz      short locret_1800504CC                                         ; +0x4, 0x1800504c4\ninc     eax                                                            ; +0x6, 0x1800504c6\nshr     ecx, 1                                                         ; +0x8, 0x1800504c8\njnz     short loc_1800504C6                                            ; +0xa, 0x1800504ca\nretn                                                                   ; +0xc, 0x1800504cc", "xrefs": ["sub_18004A3A0 @ 0x18004a42a", "sub_18004A3A0 @ 0x18004a433", "sub_18004A3A0 @ 0x18004a4a4"], "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"}