//
// sub_353604 from 0x353604 to 0x353618 (20 bytes)
//
// 6 xrefs:
// > GameObject::setMainColorMode @ 0x35868c
// > GameObject::setSecondaryColorMode @ 0x3586a2
// > GameObject::duplicateColorMode @ 0x35878a
// > GameObject::duplicateColorMode @ 0x3587b0
// > GameObject::objectFromVector @ 0x362e2e
// > GameObject::objectFromVector @ 0x362e58
//
// 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
//
int *__fastcall sub_353604(int *result, int a2)
{
int v2; // r1
if ( a2 > 1100 )
v2 = 1101;
else
v2 = a2 & ~(a2 >> 31);
*result = v2;
return result;
}