//
// PlayerObject::setColor from 0x1002c8e74 to 0x1002c8ee4 (112 bytes)
//
// 2 xrefs:
// > sub_1002C8EE4 @ 0x1002c8ee8
// > ??> @ 0x10091c488
//
// 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:34 +0000
//
__int64 __fastcall PlayerObject::setColor(__int64 a1, unsigned __int16 *a2)
{
cocos2d::CCSprite::setColor(a1, 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 __int64)*((unsigned __int8 *)a2 + 2) << 16));
return GJRobotSprite::updateColor01(
*(_QWORD *)(a1 + 2144),
*a2 | ((unsigned __int64)*((unsigned __int8 *)a2 + 2) << 16));
}