{"type": "func", "start": 4299277428, "end": 4299277488, "name": "ColorSelectPopup::create_2", "pseudocode": "// \n// ColorSelectPopup::create_2 from 0x10041c474 to 0x10041c4b0 (60 bytes)\n// \n// 1 xrefs:\n// > CreateParticlePopup::onSelectColor @ 0x1002cdec0\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!\nColorSelectPopup *__fastcall ColorSelectPopup::create_2(cocos2d::ccColor3B a1)\n{\n  int v1; // w19\n  ColorAction *v2; // x0\n\n  v1 = *(_DWORD *)&a1.r;\n  v2 = ColorAction::create_1();\n  v2->m_fromColor = (cocos2d::ccColor3B)v1;\n  v2->m_colorID = 0;\n  return ColorSelectPopup::create(nullptr, nullptr, v2);\n}", "assembly": "; \n; ColorSelectPopup::create_2 from 0x10041c474 to 0x10041c4b0 (60 bytes)\n; \n; 1 xrefs:\n; > CreateParticlePopup::onSelectColor @ 0x1002cdec0\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10041c474\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10041c478\nADD             X29, SP, #0x10                                         ; +0x8, 0x10041c47c\nMOV             X19, X0                                                ; +0xc, 0x10041c480\nBL              ColorAction__create_1                                  ; +0x10, 0x10041c484\nMOV             X2, X0                                                 ; +0x14, 0x10041c488\nSTRH            W19, [X0,#0x48]                                        ; +0x18, 0x10041c48c\nUBFX            X8, X19, #0x10, #0x10                                  ; +0x1c, 0x10041c490\nSTRB            W8, [X0,#0x4A]                                         ; +0x20, 0x10041c494\nSTR             WZR, [X0,#0x5C]                                        ; +0x24, 0x10041c498\nMOV             X0, #0                                                 ; +0x28, 0x10041c49c\nMOV             X1, #0                                                 ; +0x2c, 0x10041c4a0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x10041c4a4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x34, 0x10041c4a8\nB               ColorSelectPopup__create                               ; +0x38, 0x10041c4ac", "xrefs": ["CreateParticlePopup::onSelectColor @ 0x1002cdec0"], "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"}