{"type": "func", "start": 5370035360, "end": 5370035478, "name": "CustomizeObjectLayer::onBreakApart", "pseudocode": "// \n// CustomizeObjectLayer::onBreakApart from 0x140143ca0 to 0x140143d16 (118 bytes)\n// \n// 2 xrefs:\n// > CustomizeObjectLayer::init @ 0x140141662\n// > <???> @ 0x140917438\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 11:27:10 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall CustomizeObjectLayer::onBreakApart(__int64 a1)\n{\n  __int64 v2; // rcx\n  void *v3; // [rsp+30h] [rbp+8h]\n\n  if ( *(_QWORD *)(a1 + 688) )\n  {\n    CustomizeObjectLayer::onClose(a1, 0);\n    v2 = qword_14090BFD0;\n    if ( !qword_14090BFD0 )\n    {\n      v3 = operator new(0x6E8u);\n      qword_14090BFD0 = GameManager::GameManager(v3);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n      v2 = qword_14090BFD0;\n    }\n    LevelEditorLayer::breakApartTextObject(*(_QWORD *)(v2 + 568), *(_QWORD *)(a1 + 688));\n  }\n}", "assembly": "; \n; CustomizeObjectLayer::onBreakApart from 0x140143ca0 to 0x140143d16 (118 bytes)\n; \n; 2 xrefs:\n; > CustomizeObjectLayer::init @ 0x140141662\n; > <???> @ 0x140917438\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 11:27:10 +0000\n; \npush    rbx                                                            ; +0x0, 0x140143ca0\nsub     rsp, 20h                                                       ; +0x2, 0x140143ca2\nmov     rbx, rcx                                                       ; +0x6, 0x140143ca6\ncmp     qword ptr [rcx+2B0h], 0                                        ; +0x9, 0x140143ca9\njz      short loc_140143D10                                            ; +0x11, 0x140143cb1\nxor     edx, edx                                                       ; +0x13, 0x140143cb3\ncall    CustomizeObjectLayer__onClose                                  ; +0x15, 0x140143cb5\nmov     rcx, cs:qword_14090BFD0                                        ; +0x1a, 0x140143cba\ntest    rcx, rcx                                                       ; +0x21, 0x140143cc1\njnz     short loc_140143CF8                                            ; +0x24, 0x140143cc4\nmov     ecx, 6E8h; Size                                                ; +0x26, 0x140143cc6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2b, 0x140143ccb\nmov     [rsp+28h+arg_0], rax                                           ; +0x30, 0x140143cd0\nmov     rcx, rax                                                       ; +0x35, 0x140143cd5\ncall    GameManager__GameManager                                       ; +0x38, 0x140143cd8\nnop                                                                    ; +0x3d, 0x140143cdd\nmov     cs:qword_14090BFD0, rax                                        ; +0x3e, 0x140143cde\nmov     rcx, [rax]                                                     ; +0x45, 0x140143ce5\nmov     rdx, [rcx+48h]                                                 ; +0x48, 0x140143ce8\nmov     rcx, rax                                                       ; +0x4c, 0x140143cec\ncall    rdx                                                            ; +0x4f, 0x140143cef\nmov     rcx, cs:qword_14090BFD0                                        ; +0x51, 0x140143cf1\nmov     rdx, [rbx+2B0h]                                                ; +0x58, 0x140143cf8\nmov     rcx, [rcx+238h]                                                ; +0x5f, 0x140143cff\nadd     rsp, 20h                                                       ; +0x66, 0x140143d06\npop     rbx                                                            ; +0x6a, 0x140143d0a\njmp     LevelEditorLayer__breakApartTextObject                         ; +0x6b, 0x140143d0b\nadd     rsp, 20h                                                       ; +0x70, 0x140143d10\npop     rbx                                                            ; +0x74, 0x140143d14\nretn                                                                   ; +0x75, 0x140143d15", "xrefs": ["CustomizeObjectLayer::init @ 0x140141662", "<???> @ 0x140917438"], "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"}