//
// cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture from 0xaf08c8 to 0xaf09bc (244 bytes)
//
// 2 xrefs:
// > ??> @ 0x6b3a0
// > ??> @ 0x120d050
//
// 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::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture(
cocos2d::CCTransitionProgressRadialCCW *a1,
cocos2d::CCRenderTexture *a2)
{
cocos2d::CCDirector *v2; // x0
cocos2d::CCSprite *v3; // x0
cocos2d::CCProgressTimer *v4; // x19
void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x22
float v8; // [xsp+58h] [xbp+58h]
float v9; // [xsp+5Ch] [xbp+5Ch]
cocos2d::CCPoint v10; // [xsp+60h] [xbp+60h] BYREF
cocos2d::CCSize WinSize; // 0:kr00_8.8
cocos2d::CCPoint v12; // 0:s0.4,4:s1.4
v2 = cocos2d::CCDirector::sharedDirector();
WinSize = cocos2d::CCDirector::getWinSize(v2);
v3 = (cocos2d::CCSprite *)((__int64 (__fastcall *)(cocos2d::CCRenderTexture *, float, float))a2->getSprite)(
a2,
WinSize.width,
WinSize.height);
v4 = cocos2d::CCProgressTimer::create(v3);
cocos2d::CCSprite::setFlipY(v4->m_pSprite, 1);
cocos2d::CCProgressTimer::setType(v4, kCCProgressTimerTypeRadial);
v4->m_bReverseDirection = 0;
cocos2d::CCProgressTimer::setPercentage(v4, 100.0);
setPosition = v4->setPosition;
cocos2d::CCPoint::CCPoint(&v10, v8 * 0.5, v9 * 0.5);
setPosition(v4, &v10);
cocos2d::CCPoint::CCPoint(&v10, 0.5, 0.5);
cocos2d::CCProgressTimer::setAnchorPoint(v4, v12);
return v4;
}