//
// cocos2d::CCSprite::setVertexZ from 0xd881a0 to 0xd88214 (116 bytes)
//
// 82 xrefs:
// > ??> @ 0xd2280
// > ??> @ 0x1413650
// > ??> @ 0x1413c10
// > ??> @ 0x14149c0
// > ??> @ 0x1417230
// > ??> @ 0x14177d0
// > ??> @ 0x141b0f0
// > ??> @ 0x141b720
// > ??> @ 0x141cba0
// > ??> @ 0x14217d0
// > ??> @ 0x1421d80
// > ??> @ 0x1423740
// > ??> @ 0x1423cf0
// > ??> @ 0x14242c0
// > ??> @ 0x1428ca0
// > ??> @ 0x1433310
// > ??> @ 0x1433b10
// > ??> @ 0x1434100
// > ??> @ 0x14348e0
// > ??> @ 0x14350f0
// > ??> @ 0x143a080
// > ??> @ 0x1443450
// > ??> @ 0x1443c60
// > ??> @ 0x1444470
// > ??> @ 0x1444c80
// > ??> @ 0x1445490
// > ??> @ 0x1445ca0
// > ??> @ 0x14464b0
// > ??> @ 0x1446cc0
// > ??> @ 0x14474a0
// > ??> @ 0x1447cb0
// > ??> @ 0x14484c0
// > ??> @ 0x1448cd0
// > ??> @ 0x14494e0
// > ??> @ 0x1449d30
// > ??> @ 0x144a540
// > ??> @ 0x144ad50
// > ??> @ 0x144b560
// > ??> @ 0x144bd70
// > ??> @ 0x144c590
// > ??> @ 0x144cda0
// > ??> @ 0x144d5b0
// > ??> @ 0x144ddc0
// > ??> @ 0x144e5d0
// > ??> @ 0x144ede0
// > ??> @ 0x144f5f0
// > ??> @ 0x144fe00
// > ??> @ 0x1450610
// > ??> @ 0x1450e20
// > ??> @ 0x1451630
// > ??> @ 0x1451e40
// > ??> @ 0x1452650
// > ??> @ 0x1452e60
// > ??> @ 0x1453670
// > ??> @ 0x1453e80
// > ??> @ 0x1454690
// > ??> @ 0x1454ea0
// > ??> @ 0x14556b0
// > ??> @ 0x1455ec0
// > ??> @ 0x14566d0
// > ??> @ 0x1456ee0
// > ??> @ 0x14576f0
// > ??> @ 0x1457f00
// > ??> @ 0x1458710
// > ??> @ 0x1458f40
// > ??> @ 0x145ae30
// > ??> @ 0x145b3d0
// > ??> @ 0x14774c0
// > ??> @ 0x1479570
// > ??> @ 0x14869d0
// > ??> @ 0x1486f80
// > ??> @ 0x14918b0
// > ??> @ 0x1496cf0
// > ??> @ 0x1499240
// > ??> @ 0x14c1b70
// > ??> @ 0x14d9570
// > ??> @ 0x150c990
// > ??> @ 0x1517850
// > ??> @ 0x1517df0
// > ??> @ 0x1518970
// > ??> @ 0x152e3d0
// > ??> @ 0x152fbd0
//
// This function is hookable on this platform (idp: arm, 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 13:08:14 +0000
//
__int64 __fastcall cocos2d::CCSprite::setVertexZ(cocos2d::CCSprite *this, float a2)
{
__int64 result; // x0
__int64 v4; // x2
cocos2d::CCNode::setVertexZ((__int64)this, a2);
result = *((_QWORD *)this + 46);
if ( result )
{
result = *((unsigned __int8 *)this + 377);
if ( !*((_BYTE *)this + 377) )
{
v4 = *(_QWORD *)this;
*((_BYTE *)this + 377) = 1;
(*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(v4 + 1200))(this, 1);
result = *((unsigned __int8 *)this + 378);
if ( *((_BYTE *)this + 378) )
return (*(__int64 (__fastcall **)(cocos2d::CCSprite *, __int64))(*(_QWORD *)this + 1232LL))(this, 1);
}
}
return result;
}