//
// cocos2d::CCProgressTimer::updateColor from 0x7df7e4 to 0x7df824 (64 bytes)
//
// 5 xrefs:
// > CCCountdown::init @ 0x3c51e4
// > cocos2d::CCProgressTimer::setColor @ 0x7df83a
// > cocos2d::CCProgressTimer::setOpacity @ 0x7df85c
// > cocos2d::CCProgressTimer::updateBar @ 0x7dfd06
// > cocos2d::CCProgressTimer::updateRadial @ 0x7dff78
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:48 +0000
//
_DWORD *__fastcall cocos2d::CCProgressTimer::updateColor(_DWORD *this)
{
_BYTE *v1; // r3
char v2; // r6
int v3; // r2
char v4; // r1
char v5; // r5
char v6; // r4
_BYTE *v7; // r3
v1 = (_BYTE *)*(this + 72);
if ( v1 && *(this + 74) )
{
v2 = v1[384];
v3 = 0;
v4 = v1[385];
v5 = v1[386];
v6 = v1[387];
while ( v3 < *(this + 73) )
{
v7 = (_BYTE *)(*(this + 74) + 20 * v3++);
v7[8] = v2;
v7[9] = v4;
v7[10] = v5;
v7[11] = v6;
}
}
return this;
}