{"type": "func", "start": 4139996, "end": 4140032, "name": "CCSpriteWithHue::updateColorMatrix", "pseudocode": "// \n// CCSpriteWithHue::updateColorMatrix from 0x3f2bdc to 0x3f2c00 (36 bytes)\n// \n// 2 xrefs:\n// > CCSpriteWithHue::updateColor @ 0x3f2c0e\n// > CCSpriteWithHue::setHue @ 0x3f2c16\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:47:15 +0000\n// \n\nfloat *__fastcall CCSpriteWithHue::updateColorMatrix(CCSpriteWithHue *this)\n{\n  float *v1; // r5\n  float Alpha; // r1\n\n  v1 = (float *)((char *)this + 524);\n  hueMatrix((float (*)[3])((char *)this + 524), *((float *)this + 127));\n  Alpha = CCSpriteWithHue::getAlpha(this);\n  return premultiplyAlpha(v1, Alpha);\n}", "assembly": "; \n; CCSpriteWithHue::updateColorMatrix from 0x3f2bdc to 0x3f2c00 (36 bytes)\n; \n; 2 xrefs:\n; > CCSpriteWithHue::updateColor @ 0x3f2c0e\n; > CCSpriteWithHue::setHue @ 0x3f2c16\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:47:15 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x3f2bdc\nADD.W           R5, R0, #0x20C                                         ; +0x2, 0x3f2bde\nMOV             R4, R0                                                 ; +0x6, 0x3f2be2\nLDR.W           R1, [R4,#0x1FC]; float                                 ; +0x8, 0x3f2be4\nMOV             R0, R5; float (*)[3]                                   ; +0xc, 0x3f2be8\nBL              _Z9hueMatrixPA3_ff; hueMatrix(float (*)[3],float)      ; +0xe, 0x3f2bea\nMOV             R0, R4; this                                           ; +0x12, 0x3f2bee\nBL              _ZN15CCSpriteWithHue8getAlphaEv; CCSpriteWithHue::getAlpha(void) ; +0x14, 0x3f2bf0\nMOV             R1, R0; float                                          ; +0x18, 0x3f2bf4\nMOV             R0, R5; float (*)[3]                                   ; +0x1a, 0x3f2bf6\nPOP.W           {R3-R5,LR}                                             ; +0x1c, 0x3f2bf8\nB.W             _Z16premultiplyAlphaPA3_ff; premultiplyAlpha(float (*)[3],float) ; +0x20, 0x3f2bfc", "xrefs": ["CCSpriteWithHue::updateColor @ 0x3f2c0e", "CCSpriteWithHue::setHue @ 0x3f2c16"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}