//
// cocos2d::CCSprite::refreshTextureRect from 0x18008bf60 to 0x18008bfe4 (132 bytes)
//
// 7 xrefs:
// > ??> @ 0x1800ebc40
// > ??> @ 0x1800ec118
// > ??> @ 0x1800ecc98
// > ??> @ 0x180103b50
// > ??> @ 0x180106b48
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b5c04
//
// 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::CCSprite::refreshTextureRect(cocos2d::CCSprite *this, __int64 a2)
{
bool v3; // al
v3 = this->m_fTlVertexMod != 0.0
|| this->m_fTrVertexMod != 0.0
|| this->m_fBlVertexMod != 0.0
|| this->m_fBrVertexMod != 0.0;
this->m_bUseVertexMod = v3;
LOBYTE(a2) = 1;
((void (__fastcall *)(cocos2d::CCSprite *, __int64))this->setDirty)(this, a2);
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCRect *, bool, cocos2d::CCSize *))this->setTextureRect)(
this,
&this->m_obRect,
this->m_bRectRotated,
&this->m_obContentSize);
}