// // cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture from 0x180057c30 to 0x180057d3c (268 bytes) // // 3 xrefs: // > @ 0x1800f65b8 // > @ 0x1801438a8 // > @ 0x1801b29e8 // // 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 // struct cocos2d::CCProgressTimer *__fastcall cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture( cocos2d::CCTransitionProgressVertical *this, struct cocos2d::CCRenderTexture *a2) { cocos2d::CCDirector *v3; // rax struct cocos2d::CCSprite *v4; // rax struct cocos2d::CCProgressTimer *v5; // rdi cocos2d::CCProgressTimer_vtbl *v6; // rbx float *v7; // rax float *v8; // rax cocos2d::CCProgressTimer_vtbl *v9; // rbx float *v10; // rax float *v11; // rax float v13; // [rsp+48h] [rbp+10h] float v14; // [rsp+4Ch] [rbp+14h] float v15; // [rsp+50h] [rbp+18h] BYREF v3 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v3); v4 = (struct cocos2d::CCSprite *)((__int64 (__fastcall *)(struct cocos2d::CCRenderTexture *))a2->getSprite)(a2); v5 = cocos2d::CCProgressTimer::create(v4); cocos2d::CCSprite::setFlipY(v5->m_pSprite, 1); cocos2d::CCProgressTimer::setType(v5, kCCProgressTimerTypeBar); v6 = v5->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v7 = kmVec2Fill(&v15, 0.0, 0.0); ((void (__fastcall *)(struct cocos2d::CCProgressTimer *, float *))v6->setMidpoint)(v5, v7); v8 = kmVec2Fill(&v15, 0.0, 1.0); cocos2d::CCSize::operator=(&v5->m_tBarChangeRate, v8); cocos2d::CCProgressTimer::setPercentage(v5, 100.0); v9 = v5->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v10 = kmVec2Fill(&v15, v13 * 0.5, v14 * 0.5); ((void (__fastcall *)(struct cocos2d::CCProgressTimer *, float *))v9->setPosition_0)(v5, v10); v11 = kmVec2Fill(&v15, 0.5, 0.5); cocos2d::CCProgressTimer::setAnchorPoint(v5, (struct cocos2d::CCPoint)v11); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source