//
// cocos2d::CCSprite::setVertexZ from 0x1002d5998 to 0x1002d5a0c (116 bytes)
//
// 77 xrefs:
// > ??> @ 0x1008ae8e0
// > ??> @ 0x1008bfde0
// > ??> @ 0x1008c0738
// > ??> @ 0x1008c1948
// > ??> @ 0x1008c3f10
// > ??> @ 0x1008c7960
// > ??> @ 0x1008c7f10
// > ??> @ 0x1008d41d0
// > ??> @ 0x1008dfcd8
// > ??> @ 0x1008eea48
// > ??> @ 0x100903dc0
// > ??> @ 0x100904388
// > ??> @ 0x10090a780
// > ??> @ 0x1009105b0
// > ??> @ 0x1009117c0
// > ??> @ 0x10091c138
// > ??> @ 0x10091c980
// > ??> @ 0x10091f988
// > ??> @ 0x100920488
// > ??> @ 0x100921d08
// > ??> @ 0x1009222d0
// > ??> @ 0x1009283b8
// > ??> @ 0x100928bb0
// > ??> @ 0x1009293d0
// > ??> @ 0x10093c9b0
// > ??> @ 0x1009421f8
// > ??> @ 0x1009427c0
// > ??> @ 0x1009444f0
// > ??> @ 0x100944a88
// > ??> @ 0x1009479f8
// > ??> @ 0x10094d390
// > ??> @ 0x10094dbd8
// > ??> @ 0x10094e3e0
// > ??> @ 0x10094ebe8
// > ??> @ 0x10094f3f0
// > ??> @ 0x10094fbf8
// > ??> @ 0x100950400
// > ??> @ 0x100950c08
// > ??> @ 0x100951400
// > ??> @ 0x100951c20
// > ??> @ 0x100952498
// > ??> @ 0x100952cb8
// > ??> @ 0x1009534d8
// > ??> @ 0x100953cf8
// > ??> @ 0x100954518
// > ??> @ 0x100954d38
// > ??> @ 0x100955558
// > ??> @ 0x100955d78
// > ??> @ 0x100956598
// > ??> @ 0x100956db8
// > ??> @ 0x1009575f0
// > ??> @ 0x100957e58
// > ??> @ 0x100958690
// > ??> @ 0x100958ec8
// > ??> @ 0x100959700
// > ??> @ 0x100959f38
// > ??> @ 0x10095a758
// > ??> @ 0x10095af78
// > ??> @ 0x10095b798
// > ??> @ 0x10095bfb8
// > ??> @ 0x10095c7d8
// > ??> @ 0x10095cff8
// > ??> @ 0x10095d818
// > ??> @ 0x10095e038
// > ??> @ 0x10095e858
// > ??> @ 0x10095f078
// > ??> @ 0x10095f898
// > ??> @ 0x1009600b8
// > ??> @ 0x1009608d8
// > ??> @ 0x1009610f8
// > ??> @ 0x100961918
// > ??> @ 0x100962138
// > ??> @ 0x100962958
// > ??> @ 0x100963910
// > ??> @ 0x100969d28
// > ??> @ 0x10096dd58
// > ??> @ 0x10098c710
//
// 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 11:02:40 +0000
//
__int64 __fastcall cocos2d::CCSprite::setVertexZ(__int64 a1)
{
__int64 result; // x0
result = cocos2d::CCNode::setVertexZ();
if ( *(_QWORD *)(a1 + 368) && (*(_BYTE *)(a1 + 377) & 1) == 0 )
{
*(_BYTE *)(a1 + 377) = 1;
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1200LL))(a1, 1);
if ( *(_BYTE *)(a1 + 378) == 1 )
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1232LL))(a1, 1);
}
return result;
}