{"type": "func", "start": 4296909984, "end": 4296910180, "name": "CustomizeObjectLayer::onBreakApart", "pseudocode": "// \n// CustomizeObjectLayer::onBreakApart from 0x1001da4a0 to 0x1001da564 (196 bytes)\n// \n// 1 xrefs:\n// > CustomizeObjectLayer::init @ 0x1001d90f0\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\nvoid __fastcall CustomizeObjectLayer::onBreakApart(__int64 *a1)\n{\n  _QWORD *v2; // rdi\n  __int64 v3; // rdx\n  __int64 v4; // rdi\n  __int64 v5; // rax\n  __int64 v6; // rdx\n  double v7; // xmm0_8\n  __int64 v8; // rax\n  __int64 v9; // rdx\n  __int64 v10; // rdx\n  __m128 v11; // xmm0\n  __int64 v12; // rax\n\n  if ( a1[86] )\n  {\n    v2 = (_QWORD *)a1[102];\n    v2[73] = 0;\n    (*(void (__fastcall **)(_QWORD *, _QWORD))(*v2 + 1160LL))(v2, 0);\n    v4 = a1[103];\n    if ( v4 )\n    {\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1160LL))(v4, 0);\n      *(_QWORD *)(a1[103] + 584) = 0;\n    }\n    GameManager::sharedState(v4, 0, v3);\n    *(_DWORD *)(v5 + 972) = *((_DWORD *)a1 + 187);\n    *(_QWORD *)&v7 = GameManager::sharedState(v4, 0, v6).u64[0];\n    EditorUI::updateObjectInfoLabel(*(_QWORD *)(*(_QWORD *)(v8 + 552) + 14248LL), 0, v9);\n    (*(void (__fastcall **)(__int64 *, _QWORD, double))(*a1 + 1072))(a1, 0, v7);\n    (*(void (__fastcall **)(__int64 *, __int64))(*a1 + 528))(a1, 1);\n    v11 = GameManager::sharedState(a1, 1, v10);\n    LevelEditorLayer::breakApartTextObject(*(_QWORD *)(v12 + 552), a1[86], v11);\n  }\n}", "assembly": "; \n; CustomizeObjectLayer::onBreakApart from 0x1001da4a0 to 0x1001da564 (196 bytes)\n; \n; 1 xrefs:\n; > CustomizeObjectLayer::init @ 0x1001d90f0\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; \ncmp     qword ptr [rdi+2B0h], 0                                        ; +0x0, 0x1001da4a0\njz      locret_1001DA563                                               ; +0x8, 0x1001da4a8\npush    rbp                                                            ; +0xe, 0x1001da4ae\nmov     rbp, rsp                                                       ; +0xf, 0x1001da4af\npush    rbx                                                            ; +0x12, 0x1001da4b2\npush    rax                                                            ; +0x13, 0x1001da4b3\nmov     rbx, rdi                                                       ; +0x14, 0x1001da4b4\nmov     rdi, [rdi+330h]                                                ; +0x17, 0x1001da4b7\nmov     qword ptr [rdi+248h], 0                                        ; +0x1e, 0x1001da4be\nmov     rax, [rdi]                                                     ; +0x29, 0x1001da4c9\nxor     esi, esi                                                       ; +0x2c, 0x1001da4cc\ncall    qword ptr [rax+488h]                                           ; +0x2e, 0x1001da4ce\nmov     rdi, [rbx+338h]                                                ; +0x34, 0x1001da4d4\ntest    rdi, rdi                                                       ; +0x3b, 0x1001da4db\njz      short loc_1001DA4FD                                            ; +0x3e, 0x1001da4de\nmov     rax, [rdi]                                                     ; +0x40, 0x1001da4e0\nxor     esi, esi                                                       ; +0x43, 0x1001da4e3\ncall    qword ptr [rax+488h]                                           ; +0x45, 0x1001da4e5\nmov     rax, [rbx+338h]                                                ; +0x4b, 0x1001da4eb\nmov     qword ptr [rax+248h], 0                                        ; +0x52, 0x1001da4f2\ncall    GameManager__sharedState                                       ; +0x5d, 0x1001da4fd\nmov     ecx, [rbx+2ECh]                                                ; +0x62, 0x1001da502\nmov     [rax+3CCh], ecx                                                ; +0x68, 0x1001da508\ncall    GameManager__sharedState                                       ; +0x6e, 0x1001da50e\nmov     rax, [rax+228h]                                                ; +0x73, 0x1001da513\nmov     rdi, [rax+37A8h]                                               ; +0x7a, 0x1001da51a\ncall    EditorUI__updateObjectInfoLabel                                ; +0x81, 0x1001da521\nmov     rax, [rbx]                                                     ; +0x86, 0x1001da526\nmov     rdi, rbx                                                       ; +0x89, 0x1001da529\nxor     esi, esi                                                       ; +0x8c, 0x1001da52c\ncall    qword ptr [rax+430h]                                           ; +0x8e, 0x1001da52e\nmov     rax, [rbx]                                                     ; +0x94, 0x1001da534\nmov     rdi, rbx                                                       ; +0x97, 0x1001da537\nmov     esi, 1                                                         ; +0x9a, 0x1001da53a\ncall    qword ptr [rax+210h]                                           ; +0x9f, 0x1001da53f\ncall    GameManager__sharedState                                       ; +0xa5, 0x1001da545\nmov     rdi, [rax+228h]                                                ; +0xaa, 0x1001da54a\nmov     rsi, [rbx+2B0h]                                                ; +0xb1, 0x1001da551\nadd     rsp, 8                                                         ; +0xb8, 0x1001da558\npop     rbx                                                            ; +0xbc, 0x1001da55c\npop     rbp                                                            ; +0xbd, 0x1001da55d\njmp     LevelEditorLayer__breakApartTextObject                         ; +0xbe, 0x1001da55e\nretn                                                                   ; +0xc3, 0x1001da563", "xrefs": ["CustomizeObjectLayer::init @ 0x1001d90f0"], "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"}