{"type": "func", "start": 4295293944, "end": 4295294028, "name": "CustomizeObjectLayer::onEditColor", "pseudocode": "// \n// CustomizeObjectLayer::onEditColor from 0x10004fbf8 to 0x10004fc4c (84 bytes)\n// \n// 1 xrefs:\n// > CustomizeObjectLayer::init @ 0x10004e638\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\nvoid __fastcall CustomizeObjectLayer::onEditColor(CustomizeObjectLayer *a1, cocos2d::CCObject *a2)\n{\n  int ActiveMode; // w20\n  GameManager *v4; // x0\n  ColorAction *ColorAction; // x0\n  ColorSelectPopup *v6; // x0\n\n  ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 1);\n  v4 = GameManager::sharedState();\n  ColorAction = GJEffectManager::getColorAction(v4->m_levelEditorLayer->m_levelSettings->m_effectManager, ActiveMode);\n  v6 = ColorSelectPopup::create_3(ColorAction);\n  v6->m_delegate = &a1->ColorSelectDelegate;\n  ((void (__fastcall *)(ColorSelectPopup *))v6->show)(v6);\n}", "assembly": "; \n; CustomizeObjectLayer::onEditColor from 0x10004fbf8 to 0x10004fc4c (84 bytes)\n; \n; 1 xrefs:\n; > CustomizeObjectLayer::init @ 0x10004e638\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, 0x10004fbf8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10004fbfc\nADD             X29, SP, #0x10                                         ; +0x8, 0x10004fc00\nMOV             X19, X0                                                ; +0xc, 0x10004fc04\nMOV             W1, #1                                                 ; +0x10, 0x10004fc08\nBL              CustomizeObjectLayer__getActiveMode                    ; +0x14, 0x10004fc0c\nMOV             X20, X0                                                ; +0x18, 0x10004fc10\nBL              GameManager__sharedState                               ; +0x1c, 0x10004fc14\nLDR             X8, [X0,#0x200]                                        ; +0x20, 0x10004fc18\nLDR             X8, [X8,#0xCD8]                                        ; +0x24, 0x10004fc1c\nLDR             X0, [X8,#0x140]                                        ; +0x28, 0x10004fc20\nMOV             X1, X20                                                ; +0x2c, 0x10004fc24\nBL              GJEffectManager__getColorAction                        ; +0x30, 0x10004fc28\nBL              ColorSelectPopup__create_3                             ; +0x34, 0x10004fc2c\nADD             X8, X19, #0x288                                        ; +0x38, 0x10004fc30\nSTR             X8, [X0,#0x418]                                        ; +0x3c, 0x10004fc34\nLDR             X8, [X0]                                               ; +0x40, 0x10004fc38\nLDR             X1, [X8,#0x508]                                        ; +0x44, 0x10004fc3c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0x10004fc40\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x4c, 0x10004fc44\nBR              X1                                                     ; +0x50, 0x10004fc48", "xrefs": ["CustomizeObjectLayer::init @ 0x10004e638"], "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"}