//
// cocos2d::CCProgressTimer::setReverseProgress from 0x1800602d0 to 0x180060314 (68 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bd51c
//
// 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
//
void __fastcall cocos2d::CCProgressTimer::setReverseProgress(cocos2d::CCProgressTimer *this, char a2)
{
void *v3; // rcx
if ( *((_BYTE *)this + 392) != a2 )
{
*((_BYTE *)this + 392) = a2;
v3 = *((void **)this + 46);
if ( v3 )
{
free(v3);
*((_QWORD *)this + 46) = 0;
}
*((_DWORD *)this + 90) = 0;
}
}