//
// cocos2d::CCLayerColor::updateColor from 0x7d6c9c to 0x7d6d00 (100 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:40 +0000
//
float *__fastcall cocos2d::CCLayerColor::updateColor(cocos2d::CCLayerColor *this)
{
float v1; // s12
int v2; // s14
int v3; // s15
float *v4; // r3
float v5; // s13
float *result; // r0
float v7; // s12
float v8; // s13
float v9; // s14
float v10; // s15
v1 = (float)*((unsigned __int8 *)this + 322);
v2 = *((unsigned __int8 *)this + 324);
v3 = *((unsigned __int8 *)this + 320);
v4 = (float *)((char *)this + 368);
v5 = (float)*((unsigned __int8 *)this + 323);
result = (float *)((char *)this + 432);
v7 = v1 / 255.0;
v8 = v5 / 255.0;
v9 = (float)v2 / 255.0;
v10 = (float)v3 / 255.0;
do
{
*v4 = v7;
v4 += 4;
*(v4 - 3) = v8;
*(v4 - 2) = v9;
*(v4 - 1) = v10;
}
while ( v4 != result );
return result;
}