//
// cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture from 0x180057b60 to 0x180057c2d (205 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800f5e98
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b29dc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
struct cocos2d::CCProgressTimer *__fastcall cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture(
cocos2d::CCTransitionProgressRadialCW *this,
struct cocos2d::CCRenderTexture *a2)
{
cocos2d::CCDirector *v3; // rax
struct cocos2d::CCSprite *v4; // rax
struct cocos2d::CCProgressTimer *v5; // rdi
cocos2d::CCProgressTimer_vtbl *v6; // rbx
float *v7; // rax
float *v8; // rax
float v10; // [rsp+48h] [rbp+10h]
float v11; // [rsp+4Ch] [rbp+14h]
float v12; // [rsp+50h] [rbp+18h] BYREF
v3 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v3);
v4 = (struct cocos2d::CCSprite *)((__int64 (__fastcall *)(struct cocos2d::CCRenderTexture *))a2->getSprite)(a2);
v5 = cocos2d::CCProgressTimer::create(v4);
cocos2d::CCSprite::setFlipY(v5->m_pSprite, 1);
cocos2d::CCProgressTimer::setType(v5, kCCProgressTimerTypeRadial);
v5->m_bReverseDirection = 1;
cocos2d::CCProgressTimer::setPercentage(v5, 100.0);
v6 = v5->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v7 = kmVec2Fill(&v12, v10 * 0.5, v11 * 0.5);
((void (__fastcall *)(struct cocos2d::CCProgressTimer *, float *))v6->setPosition_0)(v5, v7);
v8 = kmVec2Fill(&v12, 0.5, 0.5);
cocos2d::CCProgressTimer::setAnchorPoint(v5, (struct cocos2d::CCPoint)v8);
return v5;
}