//
// sub_CB5E50 from 0xcb5e50 to 0xcb5e7c (44 bytes)
//
// 4 xrefs:
// > WebPIAppend @ 0xc6743c
// > WebPIAppend @ 0xc67568
// > WebPIUpdate @ 0xc67650
// > WebPIUpdate @ 0xc6772c
//
// 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_CB5E50(_QWORD *result, __int64 a2)
{
__int64 v2; // x2
__int64 v3; // x4
__int64 v4; // x3
v2 = result[2];
if ( v2 )
{
v3 = result[4];
v4 = result[3] + a2;
result[2] = v2 + a2;
result[3] = v4;
result[4] = v3 + a2;
}
return result;
}