//
// cocos2d::CCProgressTimer::boundaryTexCoord from 0x18005fbe0 to 0x18005fc6e (142 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bd498
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 11:21:50 +0000
//
float *__fastcall cocos2d::CCProgressTimer::boundaryTexCoord(__int64 a1, float *a2, char a3)
{
char v4; // r9
int v5; // eax
char v6; // cl
if ( a3 >= 4 )
{
cocos2d::cc_timeval::operator=(a2, dword_1801B2438);
return a2;
}
else
{
v4 = 2 * a3;
if ( *(_BYTE *)(a1 + 392) )
{
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;
}
}