//
// sub_CB5D98 from 0xcb5d98 to 0xcb5dc0 (40 bytes)
//
// 3 xrefs:
// > sub_C665F0 @ 0xc66e2c
// > WebPIAppend @ 0xc6747c
// > WebPIUpdate @ 0xc67690
//
// 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
//
_QWORD *__fastcall sub_CB5D98(_QWORD *result, __int64 a2, unsigned __int64 a3)
{
__int64 v3; // x3
result[2] = a2;
v3 = a2;
result[3] = a2 + a3;
if ( a3 > 7 )
v3 = a2 + a3 - 7;
result[4] = v3;
return result;
}