{"type": "func", "start": 4295021704, "end": 4295021856, "name": "ColorAction::create", "pseudocode": "// \n// ColorAction::create from 0x10000d488 to 0x10000d520 (152 bytes)\n// \n// 4 xrefs:\n// > ColorAction::create_1 @ 0x10000d484\n// > GJEffectManager::getColorAction @ 0x10000f0e0\n// > GJEffectManager::setupFromString @ 0x1000168d4\n// > GJEffectManager::loadFromState @ 0x100016ddc\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\n// local variable allocation has failed, the output may be wrong!\nColorAction *__fastcall ColorAction::create(\n        cocos2d::ccColor3B a1,\n        cocos2d::ccColor3B a2,\n        float a3,\n        double a4,\n        bool a5,\n        int a6,\n        float a7,\n        float a8)\n{\n  int v13; // w22\n  int v14; // w23\n  char *v15; // x19\n\n  v13 = *(_DWORD *)&a2.r;\n  v14 = *(_DWORD *)&a1.r;\n  v15 = (char *)operator new(0xA8u);\n  ColorAction::ColorAction((ColorAction *)v15);\n  *((_WORD *)v15 + 36) = v14;\n  v15[74] = BYTE2(v14);\n  *(_WORD *)(v15 + 75) = v13;\n  v15[77] = BYTE2(v13);\n  *((float *)v15 + 20) = a3;\n  v15[84] = a5;\n  *((_DWORD *)v15 + 22) = a6;\n  *((_DWORD *)v15 + 23) = 0;\n  *((float *)v15 + 24) = a7;\n  *((float *)v15 + 25) = a8;\n  cocos2d::CCObject::autorelease((cocos2d::CCObject *)v15);\n  return (ColorAction *)v15;\n}", "assembly": "; \n; ColorAction::create from 0x10000d488 to 0x10000d520 (152 bytes)\n; \n; 4 xrefs:\n; > ColorAction::create_1 @ 0x10000d484\n; > GJEffectManager::getColorAction @ 0x10000f0e0\n; > GJEffectManager::setupFromString @ 0x1000168d4\n; > GJEffectManager::loadFromState @ 0x100016ddc\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             D11, D10, [SP,#-0x10+var_50]!                          ; +0x0, 0x10000d488\nSTP             D9, D8, [SP,#0x50+var_40]                              ; +0x4, 0x10000d48c\nSTP             X24, X23, [SP,#0x50+var_30]                            ; +0x8, 0x10000d490\nSTP             X22, X21, [SP,#0x50+var_20]                            ; +0xc, 0x10000d494\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x10, 0x10000d498\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0x14, 0x10000d49c\nADD             X29, SP, #0x50                                         ; +0x18, 0x10000d4a0\nFMOV            S8, S3                                                 ; +0x1c, 0x10000d4a4\nFMOV            S9, S2                                                 ; +0x20, 0x10000d4a8\nMOV             X20, X3                                                ; +0x24, 0x10000d4ac\nMOV             X21, X2                                                ; +0x28, 0x10000d4b0\nFMOV            S10, S0                                                ; +0x2c, 0x10000d4b4\nMOV             X22, X1                                                ; +0x30, 0x10000d4b8\nMOV             X23, X0                                                ; +0x34, 0x10000d4bc\nMOV             W0, #0xA8; __sz                                        ; +0x38, 0x10000d4c0\nBL              __Znwm; operator new(ulong)                            ; +0x3c, 0x10000d4c4\nMOV             X19, X0                                                ; +0x40, 0x10000d4c8\nBL              ColorAction__ColorAction                               ; +0x44, 0x10000d4cc\nSTRH            W23, [X19,#0x48]                                       ; +0x48, 0x10000d4d0\nUBFX            X8, X23, #0x10, #0x10                                  ; +0x4c, 0x10000d4d4\nSTRB            W8, [X19,#0x4A]                                        ; +0x50, 0x10000d4d8\nSTURH           W22, [X19,#0x4B]                                       ; +0x54, 0x10000d4dc\nUBFX            X8, X22, #0x10, #0x10                                  ; +0x58, 0x10000d4e0\nSTRB            W8, [X19,#0x4D]                                        ; +0x5c, 0x10000d4e4\nSTR             S10, [X19,#0x50]                                       ; +0x60, 0x10000d4e8\nSTRB            W21, [X19,#0x54]                                       ; +0x64, 0x10000d4ec\nSTP             W20, WZR, [X19,#0x58]                                  ; +0x68, 0x10000d4f0\nSTP             S9, S8, [X19,#0x60]                                    ; +0x6c, 0x10000d4f4\nMOV             X0, X19                                                ; +0x70, 0x10000d4f8\nBL              cocos2d__CCObject__autorelease                         ; +0x74, 0x10000d4fc\nMOV             X0, X19                                                ; +0x78, 0x10000d500\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0x7c, 0x10000d504\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0x80, 0x10000d508\nLDP             X22, X21, [SP,#0x50+var_20]                            ; +0x84, 0x10000d50c\nLDP             X24, X23, [SP,#0x50+var_30]                            ; +0x88, 0x10000d510\nLDP             D9, D8, [SP,#0x50+var_40]                              ; +0x8c, 0x10000d514\nLDP             D11, D10, [SP+0x50+var_50],#0x60                       ; +0x90, 0x10000d518\nRET                                                                    ; +0x94, 0x10000d51c", "xrefs": ["ColorAction::create_1 @ 0x10000d484", "GJEffectManager::getColorAction @ 0x10000f0e0", "GJEffectManager::setupFromString @ 0x1000168d4", "GJEffectManager::loadFromState @ 0x100016ddc"], "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"}