//
// sub_1003510D0 from 0x1003510d0 to 0x100351128 (88 bytes)
//
// 4 xrefs:
// > ??> @ 0x1009148e8
// > ??> @ 0x100915478
// > ??> @ 0x1009750f0
// > ??> @ 0x1009756a8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_1003510D0(__int64 a1, const cocos2d::ccColor3B *a2)
{
__int64 v3; // rdi
CCPartAnimSprite *v4; // rdi
v3 = *(_QWORD *)(a1 + 344);
if ( v3 )
(*(void (__fastcall **)(__int64, const cocos2d::ccColor3B *))(*(_QWORD *)v3 + 944LL))(v3, a2);
v4 = *(CCPartAnimSprite **)(a1 + 352);
if ( v4 )
CCPartAnimSprite::setColor(v4, (cocos2d::ccColor3B)(*(unsigned __int16 *)&a2->r | (a2->b << 16)));
cocos2d::CCSprite::setColor((cocos2d::CCSprite *)(a1 - 320), a2);
}