//
// cocos2d::CCLayerColor::updateColor from 0x1004b3190 to 0x1004b31e0 (80 bytes)
//
// 232 xrefs:
// > ??> @ 0x1008af260
// > ??> @ 0x1008afa58
// > ??> @ 0x1008b24f8
// > ??> @ 0x1008b2cf0
// > ??> @ 0x1008b4fd8
// > ??> @ 0x1008b57d0
// > ??> @ 0x1008b5f88
// > ??> @ 0x1008b88c0
// > ??> @ 0x1008b9058
// > ??> @ 0x1008d9888
// > ??> @ 0x1008da088
// > ??> @ 0x1008daf78
// > ??> @ 0x1008db758
// > ??> @ 0x1008dcba8
// > ??> @ 0x1008de020
// > ??> @ 0x1008de7f8
// > ??> @ 0x1008deec0
// > ??> @ 0x1008df5c8
// > ??> @ 0x1008dfd40
// > ??> @ 0x1008e0440
// > ??> @ 0x1008e1740
// > ??> @ 0x1008e1f28
// > ??> @ 0x1008e2b20
// > ??> @ 0x1008ec230
// > ??> @ 0x1008ec940
// > ??> @ 0x1008ed0e0
// > ??> @ 0x1008ed790
// > ??> @ 0x1008edf18
// > ??> @ 0x1008ee728
// > ??> @ 0x1008f1558
// > ??> @ 0x1008f1c08
// > ??> @ 0x1008f2348
// > ??> @ 0x1008f2a58
// > ??> @ 0x1008f3338
// > ??> @ 0x1008f4168
// > ??> @ 0x1008f62b8
// > ??> @ 0x1008f69c8
// > ??> @ 0x1008f7558
// > ??> @ 0x1008f83b0
// > ??> @ 0x1008f8a60
// > ??> @ 0x1008f9258
// > ??> @ 0x1008f9900
// > ??> @ 0x1008fa0f0
// > ??> @ 0x1008fa7d0
// > ??> @ 0x1008faef0
// > ??> @ 0x1008fb640
// > ??> @ 0x1008fbdd0
// > ??> @ 0x1008fc4e0
// > ??> @ 0x1008fcc48
// > ??> @ 0x1008fd440
// > ??> @ 0x1008fdb50
// > ??> @ 0x1008fe348
// > ??> @ 0x1008feb58
// > ??> @ 0x1008ff410
// > ??> @ 0x1008ffc20
// > ??> @ 0x100900488
// > ??> @ 0x100900c00
// > ??> @ 0x100901328
// > ??> @ 0x100901aa0
// > ??> @ 0x100902518
// > ??> @ 0x100902d40
// > ??> @ 0x100903538
// > ??> @ 0x100903d48
// > ??> @ 0x1009047a8
// > ??> @ 0x100905540
// > ??> @ 0x100905d38
// > ??> @ 0x100906530
// > ??> @ 0x100907570
// > ??> @ 0x100908080
// > ??> @ 0x100908938
// > ??> @ 0x100909000
// > ??> @ 0x10090a6a8
// > ??> @ 0x10090ada8
// > ??> @ 0x10090b4e8
// > ??> @ 0x10090d260
// > ??> @ 0x10090d928
// > ??> @ 0x10090e170
// > ??> @ 0x10090e968
// > ??> @ 0x100910390
// > ??> @ 0x100910b78
// > ??> @ 0x1009112a0
// > ??> @ 0x100911a28
// > ??> @ 0x100912780
// > ??> @ 0x100912e60
// > ??> @ 0x1009141d0
// > ??> @ 0x100917788
// > ??> @ 0x100918658
// > ??> @ 0x100918ee8
// > ??> @ 0x100919598
// > ??> @ 0x100919c48
// > ??> @ 0x10091a428
// > ??> @ 0x10091ab50
// > ??> @ 0x10091ce28
// > ??> @ 0x10091d4f0
// > ??> @ 0x10091e750
// > ??> @ 0x10091f378
// > ??> @ 0x100920b10
// > ??> @ 0x100921308
// > ??> @ 0x100921b00
// > ??> @ 0x1009222f8
// > ??> @ 0x100923040
// > ??> @ 0x100924020
// > ??> @ 0x100925238
// > ??> @ 0x100925a30
// > ??> @ 0x100926228
// > ??> @ 0x100928ea8
// > ??> @ 0x10092d810
// > ??> @ 0x10092e870
// > ??> @ 0x10092f988
// > ??> @ 0x100930180
// > ??> @ 0x100930950
// > ??> @ 0x100931440
// > ??> @ 0x100932870
// > ??> @ 0x1009349c8
// > ??> @ 0x100936aa8
// > ??> @ 0x100938658
// > ??> @ 0x100938e78
// > ??> @ 0x100939540
// > ??> @ 0x100939dc8
// > ??> @ 0x10093a488
// > ??> @ 0x10093ac48
// > ??> @ 0x100942a38
// > ??> @ 0x100943290
// > ??> @ 0x100944410
// > ??> @ 0x100944b88
// > ??> @ 0x1009453b8
// > ??> @ 0x100947068
// > ??> @ 0x100948a60
// > ??> @ 0x100949cf0
// > ??> @ 0x10094b250
// > ??> @ 0x10094ba48
// > ??> @ 0x10094c240
// > ??> @ 0x10094cad8
// > ??> @ 0x10094d370
// > ??> @ 0x10094db68
// > ??> @ 0x10094e360
// > ??> @ 0x10094f358
// > ??> @ 0x10094fe38
// > ??> @ 0x100950630
// > ??> @ 0x100950cf8
// > ??> @ 0x100951ac8
// > ??> @ 0x1009522c0
// > ??> @ 0x100952ab8
// > ??> @ 0x1009532b0
// > ??> @ 0x100953aa8
// > ??> @ 0x1009542e8
// > ??> @ 0x100954ae0
// > ??> @ 0x100955300
// > ??> @ 0x1009559c8
// > ??> @ 0x100956708
// > ??> @ 0x100956e20
// > ??> @ 0x100957550
// > ??> @ 0x100957c08
// > ??> @ 0x100958470
// > ??> @ 0x100959160
// > ??> @ 0x10095a180
// > ??> @ 0x10095aa00
// > ??> @ 0x10095b140
// > ??> @ 0x10095b938
// > ??> @ 0x10095c130
// > ??> @ 0x10095c870
// > ??> @ 0x10095cf90
// > ??> @ 0x10095d8e0
// > ??> @ 0x10095e618
// > ??> @ 0x1009601c0
// > ??> @ 0x100963288
// > ??> @ 0x100963950
// > ??> @ 0x100964748
// > ??> @ 0x1009662f8
// > ??> @ 0x100966ad8
// > ??> @ 0x1009672e8
// > ??> @ 0x100967ae0
// > ??> @ 0x1009682d8
// > ??> @ 0x100968ad0
// > ??> @ 0x1009692c8
// > ??> @ 0x100969ac0
// > ??> @ 0x10096a2f8
// > ??> @ 0x10096aaf0
// > ??> @ 0x10096b328
// > ??> @ 0x10096bb20
// > ??> @ 0x10096c318
// > ??> @ 0x10096cb10
// > ??> @ 0x10096d308
// > ??> @ 0x10096db00
// > ??> @ 0x10096e2f8
// > ??> @ 0x10096eaf0
// > ??> @ 0x10096f2e8
// > ??> @ 0x10096fae0
// > ??> @ 0x1009710f0
// > ??> @ 0x1009730c8
// > ??> @ 0x100973788
// > ??> @ 0x100973e50
// > ??> @ 0x100976118
// > ??> @ 0x100977668
// > ??> @ 0x100977e60
// > ??> @ 0x100978658
// > ??> @ 0x100978d68
// > ??> @ 0x10097b218
// > ??> @ 0x10097c778
// > ??> @ 0x10097d900
// > ??> @ 0x10097e0a0
// > ??> @ 0x10097f7d0
// > ??> @ 0x100980360
// > ??> @ 0x100980b58
// > ??> @ 0x100981320
// > ??> @ 0x100982f20
// > ??> @ 0x100983660
// > ??> @ 0x1009848c0
// > ??> @ 0x100984fc8
// > ??> @ 0x1009864b8
// > ??> @ 0x1009870f8
// > ??> @ 0x1009877c0
// > ??> @ 0x100987fb8
// > ??> @ 0x1009887e0
// > ??> @ 0x100988fd8
// > ??> @ 0x100989f80
// > ??> @ 0x10098adc0
// > ??> @ 0x10098b9c0
// > ??> @ 0x10098cbc8
// > ??> @ 0x10098d670
// > ??> @ 0x10098de68
// > ??> @ 0x10098ebb0
// > ??> @ 0x10098f2f8
// > ??> @ 0x10098f9a8
// > ??> @ 0x1009900a0
// > ??> @ 0x100990750
// > ??> @ 0x1009929d8
// > ??> @ 0x100993220
// > ??> @ 0x100994288
// > ??> @ 0x100994b58
// > ??> @ 0x100995220
// > ??> @ 0x1009958e8
//
// 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 cocos2d::CCLayerColor::updateColor(cocos2d::CCLayerColor *a1)
{
__m128 v1; // xmm0
v1 = _mm_div_ps(
_mm_cvtepi32_ps(
_mm_cvtepu8_epi32(
_mm_insert_epi8(
_mm_insert_epi8(_mm_cvtsi32_si128(*(unsigned __int16 *)&a1->_displayedColor.r), a1->_displayedColor.b, 2),
a1->_displayedOpacity,
3))),
(__m128)xmmword_100817780);
a1->m_pSquareColors[0] = (cocos2d::ccColor4F)v1;
a1->m_pSquareColors[1] = (cocos2d::ccColor4F)v1;
a1->m_pSquareColors[2] = (cocos2d::ccColor4F)v1;
a1->m_pSquareColors[3] = (cocos2d::ccColor4F)v1;
}