//
// cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture from 0x5d3218 to 0x5d32c2 (170 bytes)
//
// 0 xrefs:
//
// 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
//
cocos2d::CCProgressTimer *cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture(
cocos2d::CCTransitionProgressRadialCW *a1,
cocos2d::CCRenderTexture *a2)
{
cocos2d::CCDirector *v3; // r0
cocos2d::CCSprite *v4; // r0
cocos2d::CCProgressTimer *v5; // r4
void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r7
cocos2d::CCPoint v7; // r1
cocos2d::CCSize v9; // [sp+4h] [bp-18h] BYREF
cocos2d::CCPoint v10; // [sp+Ch] [bp-10h] BYREF
v3 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(&v9, v3);
v4 = 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);
setPosition = v5->setPosition;
cocos2d::CCPoint::CCPoint(&v10, v9.width * 0.5, v9.height * 0.5);
setPosition(v5, &v10);
cocos2d::CCPoint::CCPoint(&v10, 0.5, 0.5);
LODWORD(v7.x) = &v10;
cocos2d::CCProgressTimer::setAnchorPoint(v5, v7);
return v5;
}