// // CCSpriteWithHue::initWithSpriteFrame from 0x1400486d0 to 0x140048733 (99 bytes) // // 7 xrefs: // > sub_140048500 @ 0x1400485b3 // > CCSpriteGrayscale::createWithSpriteFrameName @ 0x140049143 // > sub_140048500 @ 0x1400485a1 // > CCSpriteGrayscale::createWithSpriteFrameName @ 0x140049131 // > @ 0x140530fb8 // > @ 0x1405314f8 // > @ 0x1406c4ba8 // // 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 // bool CCSpriteWithHue::initWithSpriteFrame(CCSpriteWithHue *a1, cocos2d::CCSpriteFrame *a2) { CCSpriteWithHue_vtbl *v2; // rdi struct cocos2d::CCTexture2D *Texture; // rax bool v6; // bl v2 = a1->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; Texture = cocos2d::CCSpriteFrame::getTexture(a2); v6 = v2->initWithTexture_0(a1, Texture, &a2->m_obRect); a1->setDisplayFrame(a1, a2); return v6; }