//
// cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture from 0x100278f20 to 0x100278fe7 (199 bytes)
//
// 1 xrefs:
// > ??> @ 0x100afb790
//
// This function is hookable on this platform (idp: pc, 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 12:27:40 +0000
//
__int64 __fastcall cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture(__int64 a1, __int64 a2)
{
__int64 v3; // rsi
__int64 v4; // rax
__int64 v5; // rbx
float v7; // [rsp+0h] [rbp-20h] BYREF
float v8[6]; // [rsp+8h] [rbp-18h] BYREF
v3 = cocos2d::CCDirector::sharedDirector(a1, a2);
cocos2d::CCDirector::getWinSize(v8, v3);
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 896LL))(a2);
v5 = cocos2d::CCProgressTimer::create(v4);
cocos2d::CCSprite::setFlipY(*(unsigned __int8 **)(v5 + 352), 1u);
cocos2d::CCProgressTimer::setType(v5, 0);
*(_BYTE *)(v5 + 392) = 1;
cocos2d::CCProgressTimer::setPercentage(v5, 100.0);
sub_100278250(&v7, v8[0] * 0.5, v8[1] * 0.5);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v5 + 184LL))(v5, &v7);
sub_100278250(&v7, 0.5, 0.5);
cocos2d::CCProgressTimer::setAnchorPoint(v5, &v7);
return v5;
}