//
// sub_CD8E8C from 0xcd8e8c to 0xcd8eb0 (36 bytes)
//
// 2 xrefs:
// > ??> @ 0x111de30
// > ??> @ 0x111de70
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_CD8E8C(__int64 a1, unsigned __int8 *a2, unsigned __int8 *a3)
{
__int64 result; // x0
unsigned int v4; // t1
result = 0;
if ( a2 < a3 )
{
do
{
v4 = *a2++;
result = v4 + __ROR8__(result, 57);
}
while ( a2 != a3 );
}
return result;
}