//
// sub_100238858 from 0x100238858 to 0x1002388c8 (112 bytes)
//
// 2 xrefs:
// > CCSpriteWithHue::updateColor @ 0x100238854
// > sub_100238A00 @ 0x100238a40
//
// This function is hookable on this platform (idp: arm, 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:01:20 +0000
//
void __fastcall sub_100238858(__int64 a1)
{
__int64 v2; // x19
__n128 v3; // q0
__int64 v4; // x8
float v5; // s0
__int64 i; // x9
v2 = a1 + 612;
v3 = sub_1002388C8(a1 + 612, *(float *)(a1 + 596));
v4 = 0;
v3.n128_u8[0] = *(_BYTE *)(a1 + 328);
v5 = (float)v3.n128_u32[0] / 255.0;
do
{
for ( i = 0; i != 12; i += 4 )
*(float *)(v2 + i) = v5 * *(float *)(v2 + i);
++v4;
v2 += 12;
}
while ( v4 != 3 );
}