//
// cocos2d::CCSprite::refreshTextureRect from 0x18008f150 to 0x18008f1d4 (132 bytes)
//
// 7 xrefs:
// > ??> @ 0x1800f1d40
// > ??> @ 0x1800f2228
// > ??> @ 0x1800f2dd8
// > ??> @ 0x18010a218
// > ??> @ 0x18010d230
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bfed4
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:22:07 +0000
//
void __fastcall cocos2d::CCSprite::refreshTextureRect(cocos2d::CCSprite *this, __int64 a2)
{
bool v3; // al
v3 = *((float *)this + 141) != 0.0
|| *((float *)this + 142) != 0.0
|| *((float *)this + 143) != 0.0
|| *((float *)this + 144) != 0.0;
*((_BYTE *)this + 560) = v3;
LOBYTE(a2) = 1;
(*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(*(_QWORD *)this + 1048LL))(this, a2);
(*(void (__fastcall **)(cocos2d::CCSprite *, char *, _QWORD, char *))(*(_QWORD *)this + 984LL))(
this,
(char *)this + 424,
*((unsigned __int8 *)this + 440),
(char *)this + 108);
}