{"type": "func", "start": 6016912, "end": 6016968, "name": "CCSpriteWithHue::updateColorMatrix", "pseudocode": "// \n// CCSpriteWithHue::updateColorMatrix from 0x5bcf90 to 0x5bcfc8 (56 bytes)\n// \n// 3 xrefs:\n// > CCSpriteWithHue::updateColor @ 0x5bcfe8\n// > CCSpriteWithHue::setHue @ 0x5bcff0\n// > <???> @ 0x76c80\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; // x20\n  double v3; // d0\n\n  p_m_colorMatrix = &a1->m_colorMatrix;\n  hueMatrix((float (*)[3])&a1->m_colorMatrix, a1->m_hue);\n  *(float *)&v3 = CCSpriteWithHue::getAlpha(a1);\n  premultiplyAlpha((float (*)[3])p_m_colorMatrix, v3);\n}", "assembly": "; \n; CCSpriteWithHue::updateColorMatrix from 0x5bcf90 to 0x5bcfc8 (56 bytes)\n; \n; 3 xrefs:\n; > CCSpriteWithHue::updateColor @ 0x5bcfe8\n; > CCSpriteWithHue::setHue @ 0x5bcff0\n; > <???> @ 0x76c80\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x5bcf90\nMOV             X29, SP                                                ; +0x4, 0x5bcf94\nLDR             S0, [X0,#0x254]; float                                 ; +0x8, 0x5bcf98\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x5bcf9c\nADD             X20, X0, #0x264                                        ; +0x10, 0x5bcfa0\nMOV             X19, X0                                                ; +0x14, 0x5bcfa4\nMOV             X0, X20; float (*)[3]                                  ; +0x18, 0x5bcfa8\nBL              _Z9hueMatrixPA3_ff; hueMatrix(float (*)[3],float)      ; +0x1c, 0x5bcfac\nMOV             X0, X19; this                                          ; +0x20, 0x5bcfb0\nBL              _ZN15CCSpriteWithHue8getAlphaEv; CCSpriteWithHue::getAlpha(void) ; +0x24, 0x5bcfb4\nMOV             X0, X20; float (*)[3]                                  ; +0x28, 0x5bcfb8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x2c, 0x5bcfbc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x30, 0x5bcfc0\nB               _Z16premultiplyAlphaPA3_ff; premultiplyAlpha(float (*)[3],float) ; +0x34, 0x5bcfc4", "xrefs": ["CCSpriteWithHue::updateColor @ 0x5bcfe8", "CCSpriteWithHue::setHue @ 0x5bcff0", "<???> @ 0x76c80"], "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"}