//
// cocos2d::CCMotionStreak::tintWithColor from 0x7deb34 to 0x7deb6e (58 bytes)
//
// 0 xrefs:
//
// 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 12:00:47 +0000
//
int __fastcall cocos2d::CCMotionStreak::tintWithColor(_DWORD *a1, int a2)
{
int result; // r0
unsigned int i; // r3
int v5; // r1
int v6; // [sp+4h] [bp-4h] BYREF
v6 = a2;
result = (*(int (__fastcall **)(_DWORD *, int *))(*a1 + 480))(a1, &v6);
for ( i = 0; i < 2 * a1[79]; ++i )
{
result = BYTE2(v6);
v5 = a1[84] + 4 * i;
*(_WORD *)v5 = v6;
*(_BYTE *)(v5 + 2) = result;
}
return result;
}