//
// cocos2d::CCSprite::refreshTextureRect from 0x100237ca0 to 0x100237d24 (132 bytes)
//
// 75 xrefs:
// > ??> @ 0x100763718
// > ??> @ 0x100773848
// > ??> @ 0x100774180
// > ??> @ 0x1007752e8
// > ??> @ 0x100777e98
// > ??> @ 0x10077b638
// > ??> @ 0x10077bbd8
// > ??> @ 0x100785e88
// > ??> @ 0x100790c28
// > ??> @ 0x100799a18
// > ??> @ 0x1007ace70
// > ??> @ 0x1007ad428
// > ??> @ 0x1007b33e0
// > ??> @ 0x1007b8ea0
// > ??> @ 0x1007b9ff0
// > ??> @ 0x1007c4010
// > ??> @ 0x1007c4848
// > ??> @ 0x1007c7750
// > ??> @ 0x1007c8230
// > ??> @ 0x1007c9a50
// > ??> @ 0x1007ca008
// > ??> @ 0x1007cfce0
// > ??> @ 0x1007d04c8
// > ??> @ 0x1007d0cd8
// > ??> @ 0x1007e54a0
// > ??> @ 0x1007ea4c8
// > ??> @ 0x1007eaa80
// > ??> @ 0x1007ec6b0
// > ??> @ 0x1007ecc38
// > ??> @ 0x1007efa60
// > ??> @ 0x1007f5548
// > ??> @ 0x1007f5d80
// > ??> @ 0x1007f6578
// > ??> @ 0x1007f6d70
// > ??> @ 0x1007f7568
// > ??> @ 0x1007f7d60
// > ??> @ 0x1007f8558
// > ??> @ 0x1007f8d50
// > ??> @ 0x1007f9538
// > ??> @ 0x1007f9d48
// > ??> @ 0x1007fa5b0
// > ??> @ 0x1007fadc0
// > ??> @ 0x1007fb5d0
// > ??> @ 0x1007fbde0
// > ??> @ 0x1007fc5f0
// > ??> @ 0x1007fce00
// > ??> @ 0x1007fd610
// > ??> @ 0x1007fde20
// > ??> @ 0x1007fe630
// > ??> @ 0x1007fee40
// > ??> @ 0x1007ff668
// > ??> @ 0x1007ffec0
// > ??> @ 0x1008006e8
// > ??> @ 0x100800f10
// > ??> @ 0x100801738
// > ??> @ 0x100801f60
// > ??> @ 0x100802770
// > ??> @ 0x100802f80
// > ??> @ 0x100803790
// > ??> @ 0x100803fa0
// > ??> @ 0x1008047b0
// > ??> @ 0x100804fc0
// > ??> @ 0x1008057d0
// > ??> @ 0x100805fe0
// > ??> @ 0x1008067f0
// > ??> @ 0x100807000
// > ??> @ 0x100807810
// > ??> @ 0x100808020
// > ??> @ 0x100808830
// > ??> @ 0x100809040
// > ??> @ 0x100809850
// > ??> @ 0x10080a060
// > ??> @ 0x10080afe8
// > ??> @ 0x100810ff8
// > ??> @ 0x100816380
//
// 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 *a1)
{
bool v2; // w8
v2 = a1->m_fTlVertexMod != 0.0 || a1->m_fTrVertexMod != 0.0 || a1->m_fBlVertexMod != 0.0 || a1->m_fBrVertexMod != 0.0;
a1->m_bUseVertexMod = v2;
((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->setDirty)(a1, 1);
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCRect *, bool, cocos2d::CCSize *))a1->setTextureRect_0)(
a1,
&a1->m_obRect,
a1->m_bRectRotated,
&a1->m_obContentSize);
}