//
// sub_942EA0 from 0x942ea0 to 0x942eb6 (22 bytes)
//
// 3 xrefs:
// > sub_90817C @ 0x908732
// > WebPIAppend @ 0x908b48
// > WebPIUpdate @ 0x908cce
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:05:08 +0000
//
_DWORD *__fastcall sub_942EA0(_DWORD *result, int a2, unsigned int a3)
{
bool v3; // cc
int v4; // r3
v3 = a3 > 3;
v4 = a2 + a3;
if ( a3 > 3 )
a3 -= 3;
result[3] = a2;
result[4] = v4;
if ( v3 )
a2 += a3;
result[5] = a2;
return result;
}