// // cocos2d::CCProgressTimer::setSprite from 0x18005e130 to 0x18005e1bf (143 bytes) // // 4 xrefs: // > @ 0x180139344 // > @ 0x180139354 // > @ 0x1801438a8 // > @ 0x1801b3264 // // 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 // void __fastcall cocos2d::CCProgressTimer::setSprite(cocos2d::CCProgressTimer *this, struct cocos2d::CCSprite *a2) { cocos2d::CCSprite *m_pSprite; // rcx cocos2d::CCProgressTimer_vtbl *v5; // rbx __int64 v6; // rax cocos2d::ccV2F_C4B_T2F *m_pVertexData; // rcx if ( this->m_pSprite != a2 ) { if ( a2 ) cocos2d::CCObject::retain(a2); m_pSprite = this->m_pSprite; if ( m_pSprite ) cocos2d::CCObject::release(m_pSprite); v5 = this->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; this->m_pSprite = a2; v6 = ((__int64 (__fastcall *)(struct cocos2d::CCSprite *))a2->getContentSize)(a2); ((void (__fastcall *)(cocos2d::CCProgressTimer *, __int64))v5->setContentSize)(this, v6); m_pVertexData = this->m_pVertexData; if ( m_pVertexData ) { free(m_pVertexData); this->m_pVertexData = nullptr; this->m_nVertexDataCount = 0; } } }