{"type": "func", "start": 4048520, "end": 4048570, "name": "ColorSelectPopup::create", "pseudocode": "// \n// ColorSelectPopup::create from 0x3dc688 to 0x3dc6ba (50 bytes)\n// \n// 1 xrefs:\n// > CreateParticlePopup::onSelectColor @ 0x52fcfc\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\nColorSelectPopup *ColorSelectPopup::create(ColorAction *a1)\n{\n  int v1; // r0\n\n  v1 = ColorAction::create(a1);\n  *(_WORD *)(v1 + 69) = *(_WORD *)((char *)&a1 + 1);\n  *(_BYTE *)(v1 + 68) = (_BYTE)a1;\n  *(_DWORD *)(v1 + 88) = 0;\n  return ColorSelectPopup::create(nullptr, nullptr, (ColorAction *)v1, (ColorAction *)BYTE2(a1));\n}", "assembly": "; \n; ColorSelectPopup::create from 0x3dc688 to 0x3dc6ba (50 bytes)\n; \n; 1 xrefs:\n; > CreateParticlePopup::onSelectColor @ 0x52fcfc\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            {R0-R2,LR}                                             ; +0x0, 0x3dc688\nSTR             R0, [SP,#0xC+var_8]                                    ; +0x2, 0x3dc68a\nBL              _ZN11ColorAction6createEv; ColorAction::create(void)   ; +0x4, 0x3dc68c\nLDRB.W          R1, [SP,#0xC+var_8+1]                                  ; +0x8, 0x3dc690\nLDRB.W          R3, [SP,#0xC+var_8+2]; ColorAction *                   ; +0xc, 0x3dc694\nMOV             R2, R0; cocos2d::CCArray *                             ; +0x10, 0x3dc698\nLDRB.W          R0, [SP,#0xC+var_8]                                    ; +0x12, 0x3dc69a\nSTRB.W          R1, [R2,#0x45]                                         ; +0x16, 0x3dc69e\nSTRB.W          R3, [R2,#0x46]                                         ; +0x1a, 0x3dc6a2\nSTRB.W          R0, [R2,#0x44]                                         ; +0x1e, 0x3dc6a6\nMOVS            R0, #0; this                                           ; +0x22, 0x3dc6aa\nMOV             R1, R0; EffectGameObject *                             ; +0x24, 0x3dc6ac\nSTR             R0, [R2,#0x58]                                         ; +0x26, 0x3dc6ae\nADD             SP, SP, #0xC                                           ; +0x28, 0x3dc6b0\nPOP.W           {LR}                                                   ; +0x2a, 0x3dc6b2\nB.W             _ZN16ColorSelectPopup6createEP16EffectGameObjectPN7cocos2d7CCArrayEP11ColorAction; ColorSelectPopup::create(EffectGameObject *,cocos2d::CCArray *,ColorAction *) ; +0x2e, 0x3dc6b6", "xrefs": ["CreateParticlePopup::onSelectColor @ 0x52fcfc"], "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"}