{"type": "func", "start": 3174380, "end": 3174416, "name": "CCSpriteWithHue::updateColorMatrix", "pseudocode": "// \n// CCSpriteWithHue::updateColorMatrix from 0x306fec to 0x307010 (36 bytes)\n// \n// 2 xrefs:\n// > CCSpriteWithHue::updateColor @ 0x30701e\n// > CCSpriteWithHue::setHue @ 0x307026\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CCSpriteWithHue::updateColorMatrix(CCSpriteWithHue *a1)\n{\n  std::array<std::array<float, 3>, 3> *p_m_colorMatrix; // r5\n  float Alpha; // r1\n\n  p_m_colorMatrix = &a1->m_colorMatrix;\n  hueMatrix((float (*)[3])&a1->m_colorMatrix, a1->m_hue);\n  Alpha = CCSpriteWithHue::getAlpha(a1);\n  premultiplyAlpha((float *)p_m_colorMatrix, Alpha);\n}", "assembly": "; \n; CCSpriteWithHue::updateColorMatrix from 0x306fec to 0x307010 (36 bytes)\n; \n; 2 xrefs:\n; > CCSpriteWithHue::updateColor @ 0x30701e\n; > CCSpriteWithHue::setHue @ 0x307026\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x306fec\nADD.W           R5, R0, #0x20C                                         ; +0x2, 0x306fee\nMOV             R4, R0                                                 ; +0x6, 0x306ff2\nLDR.W           R1, [R4,#0x1FC]; float                                 ; +0x8, 0x306ff4\nMOV             R0, R5; float (*)[3]                                   ; +0xc, 0x306ff8\nBL              _Z9hueMatrixPA3_ff; hueMatrix(float (*)[3],float)      ; +0xe, 0x306ffa\nMOV             R0, R4; this                                           ; +0x12, 0x306ffe\nBL              _ZN15CCSpriteWithHue8getAlphaEv; CCSpriteWithHue::getAlpha(void) ; +0x14, 0x307000\nMOV             R1, R0; float                                          ; +0x18, 0x307004\nMOV             R0, R5; float (*)[3]                                   ; +0x1a, 0x307006\nPOP.W           {R3-R5,LR}                                             ; +0x1c, 0x307008\nB.W             _Z16premultiplyAlphaPA3_ff; premultiplyAlpha(float (*)[3],float) ; +0x20, 0x30700c", "xrefs": ["CCSpriteWithHue::updateColor @ 0x30701e", "CCSpriteWithHue::setHue @ 0x307026"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}