{"type": "func", "start": 4300133904, "end": 4300134020, "name": "ColorAction2::ColorAction2", "pseudocode": "// \n// ColorAction2::ColorAction2 from 0x1004ed610 to 0x1004ed684 (116 bytes)\n// \n// 0 xrefs:\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\nColorAction2 *__fastcall ColorAction2::ColorAction2(\n        ColorAction2 *a1,\n        cocos2d::ccColor3B a2,\n        cocos2d::ccColor3B a3,\n        float a4,\n        double a5,\n        bool a6,\n        int a7,\n        float a8,\n        float a9)\n{\n  ColorAction2 *result; // rax\n\n  *(_WORD *)&a1->m_stepFinished = 0;\n  _mm_storel_ps((double *)&a1->m_currentOpacity, (__m128)0x3F800000u);\n  a1->m_copyHSV = (cocos2d::ccHSVValue)xmmword_1009A2420;\n  a1->m_uniqueID = 0;\n  a1->m_legacyHSV = 0;\n  a1->m_copyID = 0;\n  *(int *)((char *)&a1->m_copyID + 3) = 0;\n  *(_OWORD *)&a1->m_colorSprite = 0;\n  a1->m_fromColor = a2;\n  a1->m_toColor = a3;\n  a1->m_duration = a4;\n  a1->m_blending = a6;\n  a1->m_playerColor = a7;\n  a1->m_colorID = 0;\n  a1->m_fromOpacity = a8;\n  a1->m_toOpacity = a9;\n  return result;\n}", "assembly": "; \n; ColorAction2::ColorAction2 from 0x1004ed610 to 0x1004ed684 (116 bytes)\n; \n; 0 xrefs:\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    rbp                                                            ; +0x0, 0x1004ed610\nmov     rbp, rsp                                                       ; +0x1, 0x1004ed611\nmov     word ptr [rdi], 0                                              ; +0x4, 0x1004ed614\nmovss   xmm1, cs:alpha                                                 ; +0x9, 0x1004ed619\nmovlps  qword ptr [rdi+8], xmm1                                        ; +0x11, 0x1004ed621\nmovups  xmm1, cs:xmmword_1009A2420                                     ; +0x15, 0x1004ed625\nmovups  xmmword ptr [rdi+30h], xmm1                                    ; +0x1c, 0x1004ed62c\nmov     dword ptr [rdi+48h], 0                                         ; +0x20, 0x1004ed630\nmov     byte ptr [rdi+4Ch], 0                                          ; +0x27, 0x1004ed637\nmov     dword ptr [rdi+40h], 0                                         ; +0x2b, 0x1004ed63b\nmov     dword ptr [rdi+43h], 0                                         ; +0x32, 0x1004ed642\nxorps   xmm1, xmm1                                                     ; +0x39, 0x1004ed649\nmovups  xmmword ptr [rdi+50h], xmm1                                    ; +0x3c, 0x1004ed64c\nmov     [rdi+10h], si                                                  ; +0x40, 0x1004ed650\nshr     esi, 10h                                                       ; +0x44, 0x1004ed654\nmov     [rdi+12h], sil                                                 ; +0x47, 0x1004ed657\nmov     [rdi+13h], dx                                                  ; +0x4b, 0x1004ed65b\nshr     edx, 10h                                                       ; +0x4f, 0x1004ed65f\nmov     [rdi+15h], dl                                                  ; +0x52, 0x1004ed662\nmovss   dword ptr [rdi+18h], xmm0                                      ; +0x55, 0x1004ed665\nmov     [rdi+1Ch], cl                                                  ; +0x5a, 0x1004ed66a\nmov     [rdi+20h], r8d                                                 ; +0x5d, 0x1004ed66d\nmov     dword ptr [rdi+24h], 0                                         ; +0x61, 0x1004ed671\nmovss   dword ptr [rdi+28h], xmm2                                      ; +0x68, 0x1004ed678\nmovss   dword ptr [rdi+2Ch], xmm3                                      ; +0x6d, 0x1004ed67d\npop     rbp                                                            ; +0x72, 0x1004ed682\nretn                                                                   ; +0x73, 0x1004ed683", "xrefs": [], "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"}