//
// cocos2d::CCProgressTimer::boundaryTexCoord from 0x18005da20 to 0x18005daae (142 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b31d4
//
// 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
//
float *__fastcall cocos2d::CCProgressTimer::boundaryTexCoord(cocos2d::CCProgressTimer *this, float *a2, char a3)
{
char v4; // r9
int v5; // eax
char v6; // cl
if ( a3 >= 4 )
{
cocos2d::cc_timeval::operator=(a2, dword_1801A83F8);
return a2;
}
else
{
v4 = 2 * a3;
if ( this->m_bReverseDirection )
{
v5 = (75 >> (6 - v4)) & 1;
v6 = 7 - v4;
}
else
{
v6 = 2 * a3 + 1;
v5 = (75 >> v4) & 1;
}
kmVec2Fill(a2, (float)((75 >> v6) & 1), (float)v5);
return a2;
}
}