//
// PlayerObject::setColor from 0x100406c30 to 0x100406c9c (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b3d6a0
//
// 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 12:30:05 +0000
//
__int64 __fastcall PlayerObject::setColor(__int64 a1, unsigned __int16 *a2)
{
cocos2d::CCSprite::setColor(a1, (__int64)a2);
(*(void (__fastcall **)(_QWORD, unsigned __int16 *))(**(_QWORD **)(a1 + 1800) + 960LL))(*(_QWORD *)(a1 + 1800), a2);
(*(void (__fastcall **)(_QWORD, unsigned __int16 *))(**(_QWORD **)(a1 + 1832) + 960LL))(*(_QWORD *)(a1 + 1832), a2);
GJRobotSprite::updateColor01(*(_QWORD *)(a1 + 2136), *a2 | (*((unsigned __int8 *)a2 + 2) << 16));
return GJRobotSprite::updateColor01(*(_QWORD *)(a1 + 2144), *a2 | (*((unsigned __int8 *)a2 + 2) << 16));
}