//
// cocos2d::CCProgressTimer::boundaryTexCoord from 0x1006de040 to 0x1006de0cf (143 bytes)
//
// 0 xrefs:
//
// 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 12:35:43 +0000
//
float *__fastcall cocos2d::CCProgressTimer::boundaryTexCoord(float *a1, __int64 a2, char a3)
{
unsigned int v3; // eax
int v4; // edx
float v5; // xmm0_4
unsigned __int8 v6; // cf
int v7; // ecx
int v8; // ecx
if ( a3 > 3 )
{
sub_1002782D0(a1, &qword_100BE6370);
}
else
{
v3 = 2 * a3;
if ( *(_BYTE *)(a2 + 392) == 1 )
{
v4 = 75;
v5 = (float)_bittest(&v4, (unsigned __int8)(7 - v3));
v6 = _bittest(&v4, (unsigned __int8)(6 - v3));
}
else
{
v7 = 37;
v5 = (float)_bittest(&v7, v3);
v8 = 75;
v6 = _bittest(&v8, v3);
}
sub_100278250(a1, v5, (float)v6);
}
return a1;
}