//
// PlayerObject::setSecondColor from 0x1404fb6c0 to 0x1404fb743 (131 bytes)
//
// 9 xrefs:
// > GJBaseGameLayer::createPlayer @ 0x140311581
// > GJBaseGameLayer::createPlayer @ 0x140311870
// > MenuGameLayer::init @ 0x14046ff19
// > MenuGameLayer::resetPlayer @ 0x140470f95
// > PlayerObject::update @ 0x1404e70bc
// > PlayerObject::playSpiderDashEffect @ 0x1404f37e0
// > PlayerObject::startDashing @ 0x1404f42c1
// > PlayerObject::resetObject @ 0x1404f537d
// > ??> @ 0x14092a3d4
//
// 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 11:33:22 +0000
//
void __fastcall PlayerObject::setSecondColor(_QWORD *a1, __int64 a2)
{
__int64 v4; // rcx
__int64 v5; // rcx
(**(void (__fastcall ***)(__int64))(a1[233] + 320LL))(a1[233] + 320LL);
(**(void (__fastcall ***)(__int64, __int64))(a1[237] + 320LL))(a1[237] + 320LL, a2);
v4 = a1[277];
*(_WORD *)(v4 + 756) = *(_WORD *)a2;
*(_BYTE *)(v4 + 758) = *(_BYTE *)(a2 + 2);
GJRobotSprite::updateColors(v4);
v5 = a1[278];
*(_WORD *)(v5 + 756) = *(_WORD *)a2;
*(_BYTE *)(v5 + 758) = *(_BYTE *)(a2 + 2);
GJRobotSprite::updateColors(v5);
}