// // cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture from 0xaf0d24 to 0xaf0e54 (304 bytes) // // 2 xrefs: // > @ 0x8a858 // > @ 0x120ded0 // // 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 *cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture( cocos2d::CCTransitionProgressInOut *a1, cocos2d::CCRenderTexture *a2) { cocos2d::CCDirector *v2; // x0 cocos2d::CCSprite *v3; // x0 cocos2d::CCProgressTimer *v4; // x19 void (__fastcall *setMidpoint)(cocos2d::CCProgressTimer *__hidden, cocos2d::CCPoint); // x22 float v6; // s0 float v7; // s1 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x22 float v11; // [xsp+58h] [xbp+58h] float v12; // [xsp+5Ch] [xbp+5Ch] cocos2d::CCPoint v13; // [xsp+60h] [xbp+60h] BYREF cocos2d::CCSize WinSize; // 0:kr00_8.8 cocos2d::CCPoint v15; // 0:s0.4,4:s1.4 v2 = cocos2d::CCDirector::sharedDirector(); WinSize = cocos2d::CCDirector::getWinSize(v2); v3 = (cocos2d::CCSprite *)((__int64 (__fastcall *)(cocos2d::CCRenderTexture *, float, float))a2->getSprite)( a2, WinSize.width, WinSize.height); v4 = cocos2d::CCProgressTimer::create(v3); cocos2d::CCSprite::setFlipY(v4->m_pSprite, 1); cocos2d::CCProgressTimer::setType(v4, kCCProgressTimerTypeBar); setMidpoint = v4->setMidpoint; cocos2d::CCPoint::CCPoint(&v13, 0.5, 0.5); ((void (__fastcall *)(cocos2d::CCProgressTimer *, cocos2d::CCPoint *))setMidpoint)(v4, &v13); cocos2d::CCPoint::CCPoint(&v13, 1.0, 1.0); cocos2d::CCPoint::operator=(&v4->m_tBarChangeRate, v6, v7, (float *)&v13); cocos2d::CCProgressTimer::setPercentage(v4, 0.0); setPosition = v4->setPosition; cocos2d::CCPoint::CCPoint(&v13, v11 * 0.5, v12 * 0.5); setPosition(v4, &v13); cocos2d::CCPoint::CCPoint(&v13, 0.5, 0.5); cocos2d::CCProgressTimer::setAnchorPoint(v4, v15); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source