{"type": "func", "start": 4296909232, "end": 4296909327, "name": "CustomizeObjectLayer::onEditColor", "pseudocode": "// \n// CustomizeObjectLayer::onEditColor from 0x1001da1b0 to 0x1001da20f (95 bytes)\n// \n// 1 xrefs:\n// > CustomizeObjectLayer::init @ 0x1001d8726\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:26:25 +0000\n// \n\n__int64 __fastcall CustomizeObjectLayer::onEditColor(__int64 a1)\n{\n  unsigned int ActiveMode; // r14d\n  __int64 v2; // rdx\n  double v3; // xmm0_8\n  __int64 v4; // rax\n  __int64 ColorAction; // rax\n  _QWORD *v6; // rax\n\n  ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 1);\n  *(_QWORD *)&v3 = GameManager::sharedState(a1, 1, v2).u64[0];\n  ColorAction = GJEffectManager::getColorAction(\n                  *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(v4 + 552) + 3272LL) + 320LL),\n                  ActiveMode);\n  v6 = (_QWORD *)ColorSelectPopup::create_3(ColorAction, v3);\n  v6[140] = a1 + 672;\n  return (*(__int64 (__fastcall **)(_QWORD *))(*v6 + 1312LL))(v6);\n}", "assembly": "; \n; CustomizeObjectLayer::onEditColor from 0x1001da1b0 to 0x1001da20f (95 bytes)\n; \n; 1 xrefs:\n; > CustomizeObjectLayer::init @ 0x1001d8726\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:26:25 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001da1b0\nmov     rbp, rsp                                                       ; +0x1, 0x1001da1b1\npush    r14                                                            ; +0x4, 0x1001da1b4\npush    rbx                                                            ; +0x6, 0x1001da1b6\nmov     rbx, rdi                                                       ; +0x7, 0x1001da1b7\nmov     esi, 1                                                         ; +0xa, 0x1001da1ba\ncall    CustomizeObjectLayer__getActiveMode                            ; +0xf, 0x1001da1bf\nmov     r14d, eax                                                      ; +0x14, 0x1001da1c4\ncall    GameManager__sharedState                                       ; +0x17, 0x1001da1c7\nmov     rax, [rax+228h]                                                ; +0x1c, 0x1001da1cc\nmov     rax, [rax+0CC8h]                                               ; +0x23, 0x1001da1d3\nmov     rdi, [rax+140h]                                                ; +0x2a, 0x1001da1da\nmov     esi, r14d                                                      ; +0x31, 0x1001da1e1\ncall    GJEffectManager__getColorAction                                ; +0x34, 0x1001da1e4\nmov     rdi, rax                                                       ; +0x39, 0x1001da1e9\ncall    ColorSelectPopup__create_3                                     ; +0x3c, 0x1001da1ec\nadd     rbx, 2A0h                                                      ; +0x41, 0x1001da1f1\nmov     [rax+460h], rbx                                                ; +0x48, 0x1001da1f8\nmov     rcx, [rax]                                                     ; +0x4f, 0x1001da1ff\nmov     rdi, rax                                                       ; +0x52, 0x1001da202\npop     rbx                                                            ; +0x55, 0x1001da205\npop     r14                                                            ; +0x56, 0x1001da206\npop     rbp                                                            ; +0x58, 0x1001da208\njmp     qword ptr [rcx+520h]                                           ; +0x59, 0x1001da209", "xrefs": ["CustomizeObjectLayer::init @ 0x1001d8726"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}