//
// cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture from 0x1002795e0 to 0x1002796e7 (263 bytes)
//
// 1 xrefs:
// > ??> @ 0x100afc6b0
//
// 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::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture(__int64 a1, __int64 a2)
{
__int64 v3; // rsi
__int64 v4; // rax
__int64 v5; // rbx
float v7[2]; // [rsp+0h] [rbp-20h] BYREF
float v8[6]; // [rsp+8h] [rbp-18h] BYREF
v3 = cocos2d::CCDirector::sharedDirector(a1, a2);
cocos2d::CCDirector::getWinSize(v7, 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, 1);
sub_100278250(v8, 0.5, 0.5);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v5 + 1032LL))(v5, v8);
sub_100278250(v8, 1.0, 1.0);
sub_100278300((_QWORD *)(v5 + 384), v8);
cocos2d::CCProgressTimer::setPercentage(v5, 100.0);
sub_100278250(v8, v7[0] * 0.5, v7[1] * 0.5);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v5 + 184LL))(v5, v8);
sub_100278250(v8, 0.5, 0.5);
cocos2d::CCProgressTimer::setAnchorPoint(v5, v8);
return v5;
}