{"type": "func", "start": 7200748, "end": 7200804, "name": "CCSpriteWithHue::updateColorMatrix", "pseudocode": "// \n// CCSpriteWithHue::updateColorMatrix from 0x6ddfec to 0x6de024 (56 bytes)\n// \n// 3 xrefs:\n// > CCSpriteWithHue::updateColor @ 0x6de044\n// > CCSpriteWithHue::setHue @ 0x6de04c\n// > <???> @ 0x9f178\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:51:35 +0000\n// \n\nfloat __fastcall CCSpriteWithHue::updateColorMatrix(CCSpriteWithHue *this)\n{\n  float *v1; // x20\n  double v3; // d0\n\n  v1 = (float *)((char *)this + 612);\n  hueMatrix((float (*)[3])((float *)this + 51), *((float *)this + 149));\n  *(float *)&v3 = CCSpriteWithHue::getAlpha(this);\n  return premultiplyAlpha((float (*)[3])v1, v3);\n}", "assembly": "; \n; CCSpriteWithHue::updateColorMatrix from 0x6ddfec to 0x6de024 (56 bytes)\n; \n; 3 xrefs:\n; > CCSpriteWithHue::updateColor @ 0x6de044\n; > CCSpriteWithHue::setHue @ 0x6de04c\n; > <???> @ 0x9f178\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:51:35 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x6ddfec\nMOV             X29, SP                                                ; +0x4, 0x6ddff0\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x6ddff4\nADD             X20, X0, #0x264                                        ; +0xc, 0x6ddff8\nMOV             X19, X0                                                ; +0x10, 0x6ddffc\nLDR             S0, [X0,#0x254]; float                                 ; +0x14, 0x6de000\nMOV             X0, X20; float (*)[3]                                  ; +0x18, 0x6de004\nBL              _Z9hueMatrixPA3_ff; hueMatrix(float (*)[3],float)      ; +0x1c, 0x6de008\nMOV             X0, X19; this                                          ; +0x20, 0x6de00c\nBL              _ZN15CCSpriteWithHue8getAlphaEv; CCSpriteWithHue::getAlpha(void) ; +0x24, 0x6de010\nMOV             X0, X20; float (*)[3]                                  ; +0x28, 0x6de014\nLDP             X19, X20, [SP,#var_s10]                                ; +0x2c, 0x6de018\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x30, 0x6de01c\nB               _Z16premultiplyAlphaPA3_ff; premultiplyAlpha(float (*)[3],float) ; +0x34, 0x6de020", "xrefs": ["CCSpriteWithHue::updateColor @ 0x6de044", "CCSpriteWithHue::setHue @ 0x6de04c", "<???> @ 0x9f178"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}