//
// PlayerObject::setSecondColor from 0x1003eb240 to 0x1003eb2a4 (100 bytes)
//
// 4 xrefs:
// > GJBaseGameLayer::createPlayer @ 0x1000f0334
// > GJBaseGameLayer::createPlayer @ 0x1000f0531
// > MenuGameLayer::init @ 0x1004f8bd2
// > MenuGameLayer::resetPlayer @ 0x1004f937f
//
// 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:29:50 +0000
//
__int64 __fastcall PlayerObject::setSecondColor(__int64 a1, unsigned __int16 *a2)
{
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1808) + 960LL))(*(_QWORD *)(a1 + 1808));
(*(void (__fastcall **)(_QWORD, unsigned __int16 *))(**(_QWORD **)(a1 + 1840) + 960LL))(*(_QWORD *)(a1 + 1840), a2);
GJRobotSprite::updateColor02(*(_QWORD *)(a1 + 2136), *a2 | (*((unsigned __int8 *)a2 + 2) << 16));
return GJRobotSprite::updateColor02(*(_QWORD *)(a1 + 2144), *a2 | (*((unsigned __int8 *)a2 + 2) << 16));
}