//
// isin0_360 from 0x5dacec to 0x5dad30 (68 bytes)
//
// 4 xrefs:
// > cocos2d::CCParticleSystem::update @ 0x5dc10a
// > cocos2d::CCParticleSystem::update @ 0x5dc11c
// > cocos2d::CCParticleSystemQuad::updateQuadWithParticle @ 0x5ddb94
// > cocos2d::CCParticleSystemQuad::updateQuadWithParticle @ 0x5ddba2
//
// 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 isin0_360(int a1)
{
int v1; // r3
float v2; // s15
if ( a1 > 180 )
{
a1 = (unsigned __int8)(a1 + 76);
if ( (unsigned int)a1 <= 0x5A )
goto LABEL_8;
v1 = 0;
LABEL_6:
a1 = (unsigned __int8)(-76 - a1);
if ( v1 )
goto LABEL_7;
LABEL_8:
v2 = -flt_9B0250[a1];
return LODWORD(v2);
}
a1 = (unsigned __int8)a1;
if ( (unsigned __int8)a1 > 0x5Au )
{
v1 = 1;
goto LABEL_6;
}
LABEL_7:
v2 = flt_9B0250[a1];
return LODWORD(v2);
}