{"type": "func", "start": 4296909328, "end": 4296909523, "name": "CustomizeObjectLayer::onLiveEdit", "pseudocode": "// \n// CustomizeObjectLayer::onLiveEdit from 0x1001da210 to 0x1001da2d3 (195 bytes)\n// \n// 1 xrefs:\n// > CustomizeObjectLayer::init @ 0x1001d88c4\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::onLiveEdit(__int64 a1)\n{\n  unsigned int ActiveMode; // ebx\n  _QWORD *v3; // rdi\n  __int64 v4; // rdx\n  __int64 v5; // rdi\n  __int64 v6; // rax\n  __int64 v7; // rdx\n  double v8; // xmm0_8\n  __int64 v9; // rax\n  __int64 v10; // rdx\n  __int64 v11; // rdx\n  __int64 v12; // rax\n\n  ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 1);\n  v3 = *(_QWORD **)(a1 + 816);\n  v3[73] = 0;\n  (*(void (__fastcall **)(_QWORD *, _QWORD))(*v3 + 1160LL))(v3, 0);\n  v5 = *(_QWORD *)(a1 + 824);\n  if ( v5 )\n  {\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 1160LL))(v5, 0);\n    *(_QWORD *)(*(_QWORD *)(a1 + 824) + 584LL) = 0;\n  }\n  GameManager::sharedState(v5, 0, v4);\n  *(_DWORD *)(v6 + 972) = *(_DWORD *)(a1 + 748);\n  *(_QWORD *)&v8 = GameManager::sharedState(v5, 0, v7).u64[0];\n  EditorUI::updateObjectInfoLabel(*(_QWORD *)(*(_QWORD *)(v9 + 552) + 14248LL), 0, v10);\n  (*(void (__fastcall **)(__int64, _QWORD, double))(*(_QWORD *)a1 + 1072LL))(a1, 0, v8);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1);\n  GameManager::sharedState(a1, 1, v11);\n  return EditorUI::showLiveColorSelectForModeSpecial(*(_QWORD **)(*(_QWORD *)(v12 + 552) + 14248LL), ActiveMode);\n}", "assembly": "; \n; CustomizeObjectLayer::onLiveEdit from 0x1001da210 to 0x1001da2d3 (195 bytes)\n; \n; 1 xrefs:\n; > CustomizeObjectLayer::init @ 0x1001d88c4\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, 0x1001da210\nmov     rbp, rsp                                                       ; +0x1, 0x1001da211\npush    r14                                                            ; +0x4, 0x1001da214\npush    rbx                                                            ; +0x6, 0x1001da216\nmov     r14, rdi                                                       ; +0x7, 0x1001da217\nmov     esi, 1                                                         ; +0xa, 0x1001da21a\ncall    CustomizeObjectLayer__getActiveMode                            ; +0xf, 0x1001da21f\nmov     ebx, eax                                                       ; +0x14, 0x1001da224\nmov     rdi, [r14+330h]                                                ; +0x16, 0x1001da226\nmov     qword ptr [rdi+248h], 0                                        ; +0x1d, 0x1001da22d\nmov     rax, [rdi]                                                     ; +0x28, 0x1001da238\nxor     esi, esi                                                       ; +0x2b, 0x1001da23b\ncall    qword ptr [rax+488h]                                           ; +0x2d, 0x1001da23d\nmov     rdi, [r14+338h]                                                ; +0x33, 0x1001da243\ntest    rdi, rdi                                                       ; +0x3a, 0x1001da24a\njz      short loc_1001DA26C                                            ; +0x3d, 0x1001da24d\nmov     rax, [rdi]                                                     ; +0x3f, 0x1001da24f\nxor     esi, esi                                                       ; +0x42, 0x1001da252\ncall    qword ptr [rax+488h]                                           ; +0x44, 0x1001da254\nmov     rax, [r14+338h]                                                ; +0x4a, 0x1001da25a\nmov     qword ptr [rax+248h], 0                                        ; +0x51, 0x1001da261\ncall    GameManager__sharedState                                       ; +0x5c, 0x1001da26c\nmov     ecx, [r14+2ECh]                                                ; +0x61, 0x1001da271\nmov     [rax+3CCh], ecx                                                ; +0x68, 0x1001da278\ncall    GameManager__sharedState                                       ; +0x6e, 0x1001da27e\nmov     rax, [rax+228h]                                                ; +0x73, 0x1001da283\nmov     rdi, [rax+37A8h]                                               ; +0x7a, 0x1001da28a\ncall    EditorUI__updateObjectInfoLabel                                ; +0x81, 0x1001da291\nmov     rax, [r14]                                                     ; +0x86, 0x1001da296\nmov     rdi, r14                                                       ; +0x89, 0x1001da299\nxor     esi, esi                                                       ; +0x8c, 0x1001da29c\ncall    qword ptr [rax+430h]                                           ; +0x8e, 0x1001da29e\nmov     rax, [r14]                                                     ; +0x94, 0x1001da2a4\nmov     rdi, r14                                                       ; +0x97, 0x1001da2a7\nmov     esi, 1                                                         ; +0x9a, 0x1001da2aa\ncall    qword ptr [rax+210h]                                           ; +0x9f, 0x1001da2af\ncall    GameManager__sharedState                                       ; +0xa5, 0x1001da2b5\nmov     rax, [rax+228h]                                                ; +0xaa, 0x1001da2ba\nmov     rdi, [rax+37A8h]                                               ; +0xb1, 0x1001da2c1\nmov     esi, ebx                                                       ; +0xb8, 0x1001da2c8\npop     rbx                                                            ; +0xba, 0x1001da2ca\npop     r14                                                            ; +0xbb, 0x1001da2cb\npop     rbp                                                            ; +0xbd, 0x1001da2cd\njmp     EditorUI__showLiveColorSelectForModeSpecial                    ; +0xbe, 0x1001da2ce", "xrefs": ["CustomizeObjectLayer::init @ 0x1001d88c4"], "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"}