//
// cocos2d::CCProgressTimer::setReverseProgress from 0x1006dc070 to 0x1006dc0bc (76 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
//
void __fastcall cocos2d::CCProgressTimer::setReverseProgress(__int64 a1, char a2)
{
void *v2; // rax
if ( *(_BYTE *)(a1 + 392) != a2 )
{
*(_BYTE *)(a1 + 392) = a2;
v2 = *(void **)(a1 + 368);
if ( v2 )
{
free(v2);
*(_QWORD *)(a1 + 368) = 0;
}
*(_DWORD *)(a1 + 360) = 0;
}
}