// // cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture from 0x10028ddc0 to 0x10028dec2 (258 bytes) // // 1 xrefs: // > @ 0x1008f59c8 // // 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 *__fastcall cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture( cocos2d::CCTransitionProgressInOut *a1, cocos2d::CCRenderTexture *a2) { cocos2d::CCDirector *v3; // rsi cocos2d::CCSprite *v4; // rax cocos2d::CCProgressTimer *v5; // rbx float v7[2]; // [rsp+0h] [rbp-20h] BYREF double v8[3]; // [rsp+8h] [rbp-18h] BYREF double v9; // 0:xmm0_8.8 v3 = cocos2d::CCDirector::sharedDirector(); *(cocos2d::CCSize *)&v9 = cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v7); v4 = (cocos2d::CCSprite *)((__int64 (__fastcall *)(cocos2d::CCRenderTexture *, cocos2d::CCDirector *, double))a2->getSprite)( a2, v3, v9); v5 = cocos2d::CCProgressTimer::create(v4); cocos2d::CCSprite::setFlipY(v5->m_pSprite, 1); cocos2d::CCProgressTimer::setType(v5, kCCProgressTimerTypeBar); sub_10028CBE0((float *)v8, 0.5, 0.5); ((void (__fastcall *)(cocos2d::CCProgressTimer *, double *))v5->setMidpoint)(v5, v8); sub_10028CBE0((float *)v8, 1.0, 1.0); sub_10028CC90(&v5->m_tBarChangeRate, v8); cocos2d::CCProgressTimer::setPercentage(v5, 0.0); sub_10028CBE0((float *)v8, v7[0] * 0.5, v7[1] * 0.5); ((void (__fastcall *)(cocos2d::CCProgressTimer *, double *))v5->setPosition)(v5, v8); sub_10028CBE0((float *)v8, 0.5, 0.5); cocos2d::CCProgressTimer::setAnchorPoint(v5, (cocos2d::CCPoint)1056964608LL); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source