//
// cocos2d::CCProgressTimer::boundaryTexCoord from 0xaf8b54 to 0xaf8c1c (200 bytes)
//
// 4 xrefs:
// > cocos2d::CCProgressTimer::updateRadial @ 0xaf8d08
// > cocos2d::CCProgressTimer::updateRadial @ 0xaf8d1c
// > cocos2d::CCProgressTimer::updateRadial @ 0xaf8ea8
// > ??> @ 0x54600
//
// 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
//
cocos2d::CCPoint cocos2d::CCProgressTimer::boundaryTexCoord(cocos2d::CCProgressTimer *a1, char a2)
{
cocos2d::CCPoint *v2; // x8
char v3; // w1
cocos2d::CCPoint result; // 0:s0.4,4:s1.4
if ( (unsigned __int8)a2 > 3u )
{
cocos2d::CCPoint::CCPoint(v2, &stru_1245508);
}
else
{
v3 = 2 * a2;
if ( a1->m_bReverseDirection )
cocos2d::CCPoint::CCPoint(v2, (float)((75 >> (7 - v3)) & 1), (float)((75 >> (6 - v3)) & 1));
else
cocos2d::CCPoint::CCPoint(v2, (float)((75 >> (v3 + 1)) & 1), (float)((75 >> v3) & 1));
}
return result;
}