{"type": "func", "start": 535728, "end": 535760, "name": "sub_82CB0", "pseudocode": "// \n// sub_82CB0 from 0x82cb0 to 0x82cd0 (32 bytes)\n// \n// 4 xrefs:\n// > sub_82B20 @ 0x82ba4\n// > sub_CDAF0 @ 0xcdb3c\n// > sub_CDAF0 @ 0xcdb90\n// > sub_CE990 @ 0xce998\n// \n// This function is hookable on this platform (idp: arm, 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 12:14:08 +0000\n// \n\n__int64 __fastcall sub_82CB0(int a1)\n{\n  unsigned int v1; // w8\n  unsigned int v2; // w8\n\n  v1 = (a1 - 1) | ((unsigned int)(a1 - 1) >> 1) | (((a1 - 1) | ((unsigned int)(a1 - 1) >> 1)) >> 2);\n  v2 = v1 | (v1 >> 4) | ((v1 | (v1 >> 4)) >> 8);\n  return (v2 | HIWORD(v2)) + 1;\n}", "assembly": "; \n; sub_82CB0 from 0x82cb0 to 0x82cd0 (32 bytes)\n; \n; 4 xrefs:\n; > sub_82B20 @ 0x82ba4\n; > sub_CDAF0 @ 0xcdb3c\n; > sub_CDAF0 @ 0xcdb90\n; > sub_CE990 @ 0xce998\n; \n; This function is hookable on this platform (idp: arm, 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 12:14:08 +0000\n; \nSUB             W8, W0, #1                                             ; +0x0, 0x82cb0\nORR             W8, W8, W8,LSR#1                                       ; +0x4, 0x82cb4\nORR             W8, W8, W8,LSR#2                                       ; +0x8, 0x82cb8\nORR             W8, W8, W8,LSR#4                                       ; +0xc, 0x82cbc\nORR             W8, W8, W8,LSR#8                                       ; +0x10, 0x82cc0\nORR             W8, W8, W8,LSR#16                                      ; +0x14, 0x82cc4\nADD             W0, W8, #1                                             ; +0x18, 0x82cc8\nRET                                                                    ; +0x1c, 0x82ccc", "xrefs": ["sub_82B20 @ 0x82ba4", "sub_CDAF0 @ 0xcdb3c", "sub_CDAF0 @ 0xcdb90", "sub_CE990 @ 0xce998"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}