//
// cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture from 0xd6281c to 0xd6294c (304 bytes)
//
// 2 xrefs:
// > ??> @ 0x55768
// > ??> @ 0x15233f0
//
// 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
//
cocos2d::CCProgressTimer *__fastcall cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture(
cocos2d::CCTransitionProgressHorizontal *this,
cocos2d::CCRenderTexture *a2)
{
cocos2d::CCDirector *v2; // x0
cocos2d::CCProgressTimer *v3; // x0
cocos2d::CCSprite *v4; // x1
cocos2d::CCProgressTimer *v5; // x19
void (__fastcall *v6)(cocos2d::CCProgressTimer *, float *); // x22
void (__fastcall *v7)(cocos2d::CCProgressTimer *, float *); // x22
__int64 v10; // [xsp+58h] [xbp+58h] BYREF
float v11; // [xsp+60h] [xbp+60h] BYREF
v2 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
cocos2d::CCDirector::getWinSize(&v10, v2);
v3 = (cocos2d::CCProgressTimer *)(*(__int64 (__fastcall **)(cocos2d::CCRenderTexture *))(*(_QWORD *)a2 + 896LL))(a2);
v5 = (cocos2d::CCProgressTimer *)cocos2d::CCProgressTimer::create(v3, v4);
cocos2d::CCSprite::setFlipY(*((cocos2d::CCSprite **)v5 + 44), 1);
cocos2d::CCProgressTimer::setType(v5, 1);
v6 = *(void (__fastcall **)(cocos2d::CCProgressTimer *, float *))(*(_QWORD *)v5 + 1032LL);
cocos2d::CCPoint::CCPoint(&v11, 1.0, 0.0);
v6(v5, &v11);
cocos2d::CCPoint::CCPoint(&v11, 1.0, 0.0);
cocos2d::CCPoint::operator=((float *)v5 + 96, &v11);
cocos2d::CCProgressTimer::setPercentage(v5, 100.0);
v7 = *(void (__fastcall **)(cocos2d::CCProgressTimer *, float *))(*(_QWORD *)v5 + 184LL);
cocos2d::CCPoint::CCPoint(&v11, *(float *)&v10 * 0.5, *((float *)&v10 + 1) * 0.5);
v7(v5, &v11);
cocos2d::CCPoint::CCPoint(&v11, 0.5, 0.5);
cocos2d::CCProgressTimer::setAnchorPoint(v5, &v11);
return v5;
}