//
// cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture from 0x180059a80 to 0x180059b4d (205 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800fc298
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bcc70
//
// 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:48 +0000
//
struct cocos2d::CCProgressTimer *__fastcall cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture(
cocos2d::CCTransitionProgressRadialCW *this,
struct cocos2d::CCRenderTexture *a2)
{
struct cocos2d::CCDirector *v3; // rax
struct cocos2d::CCSprite *v4; // rax
struct cocos2d::CCProgressTimer *v5; // rdi
__int64 v6; // rbx
float *v7; // rax
float *v8; // rax
float v10; // [rsp+48h] [rbp+10h] BYREF
float v11; // [rsp+4Ch] [rbp+14h]
float v12; // [rsp+50h] [rbp+18h] BYREF
v3 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v3, &v10);
v4 = (struct cocos2d::CCSprite *)(*(__int64 (__fastcall **)(struct cocos2d::CCRenderTexture *))(*(_QWORD *)a2 + 888LL))(a2);
v5 = cocos2d::CCProgressTimer::create(v4);
cocos2d::CCSprite::setFlipY(*((cocos2d::CCSprite **)v5 + 44), 1);
cocos2d::CCProgressTimer::setType(v5, 0);
*((_BYTE *)v5 + 392) = 1;
cocos2d::CCProgressTimer::setPercentage(v5, 100.0);
v6 = *(_QWORD *)v5;
v7 = kmVec2Fill(&v12, v10 * 0.5, v11 * 0.5);
(*(void (__fastcall **)(struct cocos2d::CCProgressTimer *, float *))(v6 + 184))(v5, v7);
v8 = kmVec2Fill(&v12, 0.5, 0.5);
cocos2d::CCProgressTimer::setAnchorPoint(v5, v8);
return v5;
}