//
// PlayerObject::setSecondColor from 0x437d9c to 0x437dec (80 bytes)
//
// 7 xrefs:
// > PlayerObject::flashPlayer @ 0x437e24
// > PlayerObject::resetObject @ 0x4402f4
// > PlayerObject::update @ 0x448b3c
// > MenuGameLayer::resetPlayer @ 0x49257e
// > MenuGameLayer::init @ 0x4931f0
// > GJBaseGameLayer::createPlayer @ 0x5a53ec
// > GJBaseGameLayer::createPlayer @ 0x5a5578
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:20 +0000
//
int __fastcall PlayerObject::setSecondColor(int a1, unsigned __int8 *a2)
{
(*(void (__fastcall **)(_DWORD))(**(_DWORD **)(a1 + 1496) + 480))(*(_DWORD *)(a1 + 1496));
(*(void (__fastcall **)(_DWORD, unsigned __int8 *))(**(_DWORD **)(a1 + 1512) + 480))(*(_DWORD *)(a1 + 1512), a2);
GJRobotSprite::updateColor02(*(_DWORD *)(a1 + 1732), *a2 | (a2[1] << 8) | (a2[2] << 16));
return GJRobotSprite::updateColor02(*(_DWORD *)(a1 + 1736), *a2 | (a2[1] << 8) | (a2[2] << 16));
}