// // cocos2d::extension::CCScale9Sprite::setSpriteFrame from 0x5a60e4 to 0x5a6158 (116 bytes) // // 0 xrefs: // // 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 cocos2d::extension::CCScale9Sprite::setSpriteFrame( cocos2d::extension::CCScale9Sprite *a1, cocos2d::CCSpriteFrame *a2) { cocos2d::CCTexture2D *Texture; // r0 cocos2d::CCSpriteBatchNode *v5; // r0 bool (__fastcall *updateWithBatchNode)(cocos2d::extension::CCScale9Sprite *__hidden, cocos2d::CCSpriteBatchNode *, cocos2d::CCRect, bool, cocos2d::CCRect); // r8 cocos2d::CCSpriteBatchNode *v7; // r10 _BOOL4 m_bRotated; // r9 cocos2d::CCRect v9; // [sp+Ch] [bp+0h] BYREF cocos2d::CCRect v10; // [sp+1Ch] [bp+10h] BYREF Texture = cocos2d::CCSpriteFrame::getTexture(a2); v5 = cocos2d::CCSpriteBatchNode::createWithTexture(Texture, (unsigned int)byte_9); updateWithBatchNode = a1->updateWithBatchNode; v7 = v5; cocos2d::CCRect::CCRect(&v9, &a2->m_obRect); m_bRotated = a2->m_bRotated; cocos2d::CCRect::CCRect(&v10, &stru_AC81CC); ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, cocos2d::CCSpriteBatchNode *, cocos2d::CCRect *, _BOOL4, cocos2d::CCRect *))updateWithBatchNode)( a1, v7, &v9, m_bRotated, &v10); a1->m_insetLeft = 0.0; a1->m_insetTop = 0.0; a1->m_insetRight = 0.0; a1->m_insetBottom = 0.0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source