{"type": "func", "start": 4297030816, "end": 4297030911, "name": "CustomizeObjectLayer::onEditColor", "pseudocode": "// \n// CustomizeObjectLayer::onEditColor from 0x1001f7ca0 to 0x1001f7cff (95 bytes)\n// \n// 1 xrefs:\n// > CustomizeObjectLayer::init @ 0x1001f6376\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; // r14d\n  GameManager *v3; // rax\n  ColorAction *ColorAction; // rax\n  ColorSelectPopup *v5; // rax\n\n  ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 1);\n  v3 = GameManager::sharedState();\n  ColorAction = GJEffectManager::getColorAction(v3->m_levelEditorLayer->m_levelSettings->m_effectManager, ActiveMode);\n  v5 = ColorSelectPopup::create_3(ColorAction);\n  v5->m_delegate = &a1->ColorSelectDelegate;\n  ((void (__fastcall *)(ColorSelectPopup *))v5->show)(v5);\n}", "assembly": "; \n; CustomizeObjectLayer::onEditColor from 0x1001f7ca0 to 0x1001f7cff (95 bytes)\n; \n; 1 xrefs:\n; > CustomizeObjectLayer::init @ 0x1001f6376\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    rbp                                                            ; +0x0, 0x1001f7ca0\nmov     rbp, rsp                                                       ; +0x1, 0x1001f7ca1\npush    r14                                                            ; +0x4, 0x1001f7ca4\npush    rbx                                                            ; +0x6, 0x1001f7ca6\nmov     rbx, rdi                                                       ; +0x7, 0x1001f7ca7\nmov     esi, 1                                                         ; +0xa, 0x1001f7caa\ncall    CustomizeObjectLayer__getActiveMode                            ; +0xf, 0x1001f7caf\nmov     r14d, eax                                                      ; +0x14, 0x1001f7cb4\ncall    GameManager__sharedState                                       ; +0x17, 0x1001f7cb7\nmov     rax, [rax+200h]                                                ; +0x1c, 0x1001f7cbc\nmov     rax, [rax+0CB0h]                                               ; +0x23, 0x1001f7cc3\nmov     rdi, [rax+140h]                                                ; +0x2a, 0x1001f7cca\nmov     esi, r14d                                                      ; +0x31, 0x1001f7cd1\ncall    GJEffectManager__getColorAction                                ; +0x34, 0x1001f7cd4\nmov     rdi, rax                                                       ; +0x39, 0x1001f7cd9\ncall    ColorSelectPopup__create_3                                     ; +0x3c, 0x1001f7cdc\nadd     rbx, 288h                                                      ; +0x41, 0x1001f7ce1\nmov     [rax+418h], rbx                                                ; +0x48, 0x1001f7ce8\nmov     rcx, [rax]                                                     ; +0x4f, 0x1001f7cef\nmov     rdi, rax                                                       ; +0x52, 0x1001f7cf2\npop     rbx                                                            ; +0x55, 0x1001f7cf5\npop     r14                                                            ; +0x56, 0x1001f7cf6\npop     rbp                                                            ; +0x58, 0x1001f7cf8\njmp     qword ptr [rcx+508h]                                           ; +0x59, 0x1001f7cf9", "xrefs": ["CustomizeObjectLayer::init @ 0x1001f6376"], "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"}