{"type": "func", "start": 395648, "end": 395680, "name": "sub_60980", "pseudocode": "// \n// sub_60980 from 0x60980 to 0x609a0 (32 bytes)\n// \n// 4 xrefs:\n// > sub_608E4 @ 0x60938\n// > sub_60A2C @ 0x60a9c\n// > sub_60A2C @ 0x60afc\n// > sub_60F60 @ 0x60fb0\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:13:53 +0000\n// \n\n__int64 __fastcall sub_60980(unsigned int a1)\n{\n  unsigned int v1; // w8\n  unsigned int v2; // w8\n\n  v1 = (a1 >> 1) | (a1 >> 2) | (((a1 >> 1) | (a1 >> 2)) >> 2);\n  v2 = v1 | (v1 >> 4) | ((v1 | (v1 >> 4)) >> 8);\n  return a1 & ~(v2 | HIWORD(v2));\n}", "assembly": "; \n; sub_60980 from 0x60980 to 0x609a0 (32 bytes)\n; \n; 4 xrefs:\n; > sub_608E4 @ 0x60938\n; > sub_60A2C @ 0x60a9c\n; > sub_60A2C @ 0x60afc\n; > sub_60F60 @ 0x60fb0\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:13:53 +0000\n; \nLSR             W8, W0, #1                                             ; +0x0, 0x60980\nORR             W8, W8, W0,LSR#2                                       ; +0x4, 0x60984\nORR             W8, W8, W8,LSR#2                                       ; +0x8, 0x60988\nORR             W8, W8, W8,LSR#4                                       ; +0xc, 0x6098c\nORR             W8, W8, W8,LSR#8                                       ; +0x10, 0x60990\nORR             W8, W8, W8,LSR#16                                      ; +0x14, 0x60994\nBIC             W0, W0, W8                                             ; +0x18, 0x60998\nRET                                                                    ; +0x1c, 0x6099c", "xrefs": ["sub_608E4 @ 0x60938", "sub_60A2C @ 0x60a9c", "sub_60A2C @ 0x60afc", "sub_60F60 @ 0x60fb0"], "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"}