{"type": "func", "start": 4296906368, "end": 4296906528, "name": "CustomizeObjectLayer::onClose", "pseudocode": "// \n// CustomizeObjectLayer::onClose from 0x1001d9680 to 0x1001d9720 (160 bytes)\n// \n// 1 xrefs:\n// > CustomizeObjectLayer::init @ 0x1001d76ae\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::onClose(__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\n  v2 = *(_QWORD **)(a1 + 816);\n  v2[73] = 0;\n  (*(void (__fastcall **)(_QWORD *, _QWORD))(*v2 + 1160LL))(v2, 0);\n  v4 = *(_QWORD *)(a1 + 824);\n  if ( v4 )\n  {\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1160LL))(v4, 0);\n    *(_QWORD *)(*(_QWORD *)(a1 + 824) + 584LL) = 0;\n  }\n  GameManager::sharedState(v4, 0, v3);\n  *(_DWORD *)(v5 + 972) = *(_DWORD *)(a1 + 748);\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))(*(_QWORD *)a1 + 1072LL))(a1, 0, v7);\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1);\n}", "assembly": "; \n; CustomizeObjectLayer::onClose from 0x1001d9680 to 0x1001d9720 (160 bytes)\n; \n; 1 xrefs:\n; > CustomizeObjectLayer::init @ 0x1001d76ae\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, 0x1001d9680\nmov     rbp, rsp                                                       ; +0x1, 0x1001d9681\npush    rbx                                                            ; +0x4, 0x1001d9684\npush    rax                                                            ; +0x5, 0x1001d9685\nmov     rbx, rdi                                                       ; +0x6, 0x1001d9686\nmov     rdi, [rdi+330h]                                                ; +0x9, 0x1001d9689\nmov     qword ptr [rdi+248h], 0                                        ; +0x10, 0x1001d9690\nmov     rax, [rdi]                                                     ; +0x1b, 0x1001d969b\nxor     esi, esi                                                       ; +0x1e, 0x1001d969e\ncall    qword ptr [rax+488h]                                           ; +0x20, 0x1001d96a0\nmov     rdi, [rbx+338h]                                                ; +0x26, 0x1001d96a6\ntest    rdi, rdi                                                       ; +0x2d, 0x1001d96ad\njz      short loc_1001D96CF                                            ; +0x30, 0x1001d96b0\nmov     rax, [rdi]                                                     ; +0x32, 0x1001d96b2\nxor     esi, esi                                                       ; +0x35, 0x1001d96b5\ncall    qword ptr [rax+488h]                                           ; +0x37, 0x1001d96b7\nmov     rax, [rbx+338h]                                                ; +0x3d, 0x1001d96bd\nmov     qword ptr [rax+248h], 0                                        ; +0x44, 0x1001d96c4\ncall    GameManager__sharedState                                       ; +0x4f, 0x1001d96cf\nmov     ecx, [rbx+2ECh]                                                ; +0x54, 0x1001d96d4\nmov     [rax+3CCh], ecx                                                ; +0x5a, 0x1001d96da\ncall    GameManager__sharedState                                       ; +0x60, 0x1001d96e0\nmov     rax, [rax+228h]                                                ; +0x65, 0x1001d96e5\nmov     rdi, [rax+37A8h]                                               ; +0x6c, 0x1001d96ec\ncall    EditorUI__updateObjectInfoLabel                                ; +0x73, 0x1001d96f3\nmov     rax, [rbx]                                                     ; +0x78, 0x1001d96f8\nmov     rdi, rbx                                                       ; +0x7b, 0x1001d96fb\nxor     esi, esi                                                       ; +0x7e, 0x1001d96fe\ncall    qword ptr [rax+430h]                                           ; +0x80, 0x1001d9700\nmov     rax, [rbx]                                                     ; +0x86, 0x1001d9706\nmov     rax, [rax+210h]                                                ; +0x89, 0x1001d9709\nmov     rdi, rbx                                                       ; +0x90, 0x1001d9710\nmov     esi, 1                                                         ; +0x93, 0x1001d9713\nadd     rsp, 8                                                         ; +0x98, 0x1001d9718\npop     rbx                                                            ; +0x9c, 0x1001d971c\npop     rbp                                                            ; +0x9d, 0x1001d971d\njmp     rax                                                            ; +0x9e, 0x1001d971e", "xrefs": ["CustomizeObjectLayer::init @ 0x1001d76ae"], "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"}