//
// cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture from 0x10028d8b0 to 0x10028d977 (199 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008f4ea0
//
// 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 *__fastcall cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture(
cocos2d::CCTransitionProgressRadialCW *a1,
cocos2d::CCRenderTexture *a2)
{
cocos2d::CCDirector *v3; // rsi
cocos2d::CCSprite *v4; // rax
cocos2d::CCProgressTimer *v5; // rbx
float v7; // [rsp+0h] [rbp-20h] BYREF
float v8[6]; // [rsp+8h] [rbp-18h] BYREF
double v9; // 0:xmm0_8.8
v3 = cocos2d::CCDirector::sharedDirector();
*(cocos2d::CCSize *)&v9 = cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v8);
v4 = (cocos2d::CCSprite *)((__int64 (__fastcall *)(cocos2d::CCRenderTexture *, cocos2d::CCDirector *, double))a2->getSprite)(
a2,
v3,
v9);
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);
sub_10028CBE0(&v7, v8[0] * 0.5, v8[1] * 0.5);
((void (__fastcall *)(cocos2d::CCProgressTimer *, float *))v5->setPosition)(v5, &v7);
sub_10028CBE0(&v7, 0.5, 0.5);
cocos2d::CCProgressTimer::setAnchorPoint(v5, (cocos2d::CCPoint)1056964608LL);
return v5;
}