//
// cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture from 0xd62720 to 0xd62818 (248 bytes)
//
// 2 xrefs:
// > ??> @ 0xcc508
// > ??> @ 0x1523040
//
// This function is hookable on this platform (idp: arm, 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 13:07:51 +0000
//
__int64 __fastcall cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture(
cocos2d::CCTransitionProgressRadialCW *this,
cocos2d::CCRenderTexture *a2)
{
cocos2d::CCDirector *v2; // x0
cocos2d::CCProgressTimer *v3; // x0
cocos2d::CCSprite *v4; // x1
__int64 v5; // x19
void (__fastcall *v6)(__int64, float *); // x22
__int64 v9; // [xsp+58h] [xbp+58h] BYREF
float v10; // [xsp+60h] [xbp+60h] BYREF
v2 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
cocos2d::CCDirector::getWinSize(&v9, v2);
v3 = (cocos2d::CCProgressTimer *)(*(__int64 (__fastcall **)(cocos2d::CCRenderTexture *))(*(_QWORD *)a2 + 896LL))(a2);
v5 = cocos2d::CCProgressTimer::create(v3, v4);
cocos2d::CCSprite::setFlipY(*(cocos2d::CCSprite **)(v5 + 352), 1);
cocos2d::CCProgressTimer::setType(v5, 0);
*(_BYTE *)(v5 + 392) = 1;
cocos2d::CCProgressTimer::setPercentage((cocos2d::CCProgressTimer *)v5, 100.0);
v6 = *(void (__fastcall **)(__int64, float *))(*(_QWORD *)v5 + 184LL);
cocos2d::CCPoint::CCPoint(&v10, *(float *)&v9 * 0.5, *((float *)&v9 + 1) * 0.5);
v6(v5, &v10);
cocos2d::CCPoint::CCPoint(&v10, 0.5, 0.5);
cocos2d::CCProgressTimer::setAnchorPoint(v5, &v10);
return v5;
}