//
// cocos2d::CCSprite::setVertexZ from 0x1800903e0 to 0x180090439 (89 bytes)
//
// 7 xrefs:
// > ??> @ 0x1800f19d8
// > ??> @ 0x1800f1ec0
// > ??> @ 0x1800f2a70
// > ??> @ 0x180109eb0
// > ??> @ 0x18010cec8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c0138
//
// 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::setVertexZ(cocos2d::CCSprite *this, float a2)
{
__int64 v3; // rdx
__int64 v4; // rax
__int64 v5; // rdx
cocos2d::CCNode::setVertexZ(this, a2);
if ( *((_QWORD *)this + 46) && !*((_BYTE *)this + 377) )
{
v4 = *(_QWORD *)this;
LOBYTE(v3) = 1;
*((_BYTE *)this + 377) = 1;
(*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(v4 + 1048))(this, v3);
if ( *((_BYTE *)this + 378) )
{
LOBYTE(v5) = 1;
(*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(*(_QWORD *)this + 1080LL))(this, v5);
}
}
}