{"type": "func", "start": 9058820, "end": 9058888, "name": "ColorAction::init", "pseudocode": "// \n// ColorAction::init from 0x8a3a04 to 0x8a3a48 (68 bytes)\n// \n// 2 xrefs:\n// > ColorAction::create @ 0x8a3b34\n// > <???> @ 0x2e980\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\nbool ColorAction::init(\n        ColorAction *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  a1->m_duration = a4;\n  a1->m_fromColor = a2;\n  a1->m_toColor = a3;\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 1;\n}", "assembly": "; \n; ColorAction::init from 0x8a3a04 to 0x8a3a48 (68 bytes)\n; \n; 2 xrefs:\n; > ColorAction::create @ 0x8a3b34\n; > <???> @ 0x2e980\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\nMOV             X5, X0                                                 ; +0x0, 0x8a3a04\nLSR             W7, W1, #0x10                                          ; +0x4, 0x8a3a08\nLSR             W6, W2, #0x10                                          ; +0x8, 0x8a3a0c\nSUB             SP, SP, #0x10                                          ; +0xc, 0x8a3a10\nSTR             S0, [X5,#0x50]                                         ; +0x10, 0x8a3a14\nMOV             W0, #1                                                 ; +0x14, 0x8a3a18\nSTRH            W1, [X5,#0x48]                                         ; +0x18, 0x8a3a1c\nSTRB            W7, [X5,#0x4A]                                         ; +0x1c, 0x8a3a20\nSTURH           W2, [X5,#0x4B]                                         ; +0x20, 0x8a3a24\nSTRB            W6, [X5,#0x4D]                                         ; +0x24, 0x8a3a28\nSTRB            W3, [X5,#0x54]                                         ; +0x28, 0x8a3a2c\nSTR             W4, [X5,#0x58]                                         ; +0x2c, 0x8a3a30\nSTR             WZR, [X5,#0x5C]                                        ; +0x30, 0x8a3a34\nSTR             S2, [X5,#0x60]                                         ; +0x34, 0x8a3a38\nSTR             S3, [X5,#0x64]                                         ; +0x38, 0x8a3a3c\nADD             SP, SP, #0x10                                          ; +0x3c, 0x8a3a40\nRET                                                                    ; +0x40, 0x8a3a44", "xrefs": ["ColorAction::create @ 0x8a3b34", "<???> @ 0x2e980"], "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"}