{"type": "func", "start": 6442724416, "end": 6442724457, "name": "sub_180042C40", "pseudocode": "// \n// sub_180042C40 from 0x180042c40 to 0x180042c69 (41 bytes)\n// \n// 1 xrefs:\n// > sub_1800453A0 @ 0x180045942\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\nunsigned __int8 __fastcall sub_180042C40(unsigned __int8 *a1, int a2)\n{\n  unsigned __int8 result; // al\n  unsigned __int64 v3; // r8\n\n  for ( result = 0; a2; --a2 )\n  {\n    v3 = *a1++;\n    result = byte_180165720[result ^ v3];\n  }\n  return result;\n}", "assembly": "; \n; sub_180042C40 from 0x180042c40 to 0x180042c69 (41 bytes)\n; \n; 1 xrefs:\n; > sub_1800453A0 @ 0x180045942\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     al, al                                                         ; +0x0, 0x180042c40\ntest    edx, edx                                                       ; +0x2, 0x180042c42\njz      short locret_180042C68                                         ; +0x4, 0x180042c44\nlea     r9, byte_180165720                                             ; +0x6, 0x180042c46\nnop     dword ptr [rax]                                                ; +0xd, 0x180042c4d\nmovzx   r8d, byte ptr [rcx]                                            ; +0x10, 0x180042c50\nlea     rcx, [rcx+1]                                                   ; +0x14, 0x180042c54\nmovzx   eax, al                                                        ; +0x18, 0x180042c58\nxor     r8, rax                                                        ; +0x1b, 0x180042c5b\nmovzx   eax, byte ptr [r8+r9]                                          ; +0x1e, 0x180042c5e\nadd     edx, 0FFFFFFFFh                                                ; +0x23, 0x180042c63\njnz     short loc_180042C50                                            ; +0x26, 0x180042c66\nretn                                                                   ; +0x28, 0x180042c68", "xrefs": ["sub_1800453A0 @ 0x180045942"], "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"}