//
// cocos2d::CCTextureAtlas::updateQuad from 0x1800aab20 to 0x1800aab7c (92 bytes)
//
// 3 xrefs:
// > cocos2d::CCSprite::updateColor @ 0x180090751
// > cocos2d::CCSprite::updateTransform @ 0x180090e6a
// > ??> @ 0x18014cf68
//
// 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:17 +0000
//
void __fastcall cocos2d::CCTextureAtlas::updateQuad(
cocos2d::CCTextureAtlas *this,
struct cocos2d::_ccV3F_C4B_T2F_Quad *a2,
unsigned int a3)
{
unsigned int v3; // eax
__int64 v4; // rax
__int64 v5; // r8
v3 = a3 + 1;
if ( a3 + 1 <= *((_DWORD *)this + 19) )
v3 = *((_DWORD *)this + 19);
*((_DWORD *)this + 19) = v3;
v4 = *((_QWORD *)this + 12);
v5 = 96LL * a3;
*(_OWORD *)(v5 + v4) = *(_OWORD *)a2;
*(_OWORD *)(v5 + v4 + 16) = *((_OWORD *)a2 + 1);
*(_OWORD *)(v5 + v4 + 32) = *((_OWORD *)a2 + 2);
*(_OWORD *)(v5 + v4 + 48) = *((_OWORD *)a2 + 3);
*(_OWORD *)(v5 + v4 + 64) = *((_OWORD *)a2 + 4);
*(_OWORD *)(v5 + v4 + 80) = *((_OWORD *)a2 + 5);
*((_BYTE *)this + 72) = 1;
}