{"type": "func", "start": 5370285216, "end": 5370285498, "name": "EditorPauseLayer::dEditorPauseLayer", "pseudocode": "// \n// EditorPauseLayer::dEditorPauseLayer from 0x140180ca0 to 0x140180dba (282 bytes)\n// \n// 3 xrefs:\n// > sub_14018341C @ 0x140183423\n// > <???> @ 0x14074a7b8\n// > <???> @ 0x140918ba8\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:36 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nchar *__fastcall EditorPauseLayer::dEditorPauseLayer(char *Block, char a2)\n{\n  char *v4; // rdi\n  __int64 v5; // rax\n  void *v6; // rax\n\n  *(_QWORD *)Block = &EditorPauseLayer::`vftable';\n  *((_QWORD *)Block + 40) = &EditorPauseLayer::`vftable';\n  *((_QWORD *)Block + 41) = &EditorPauseLayer::`vftable';\n  *((_QWORD *)Block + 42) = &EditorPauseLayer::`vftable';\n  *((_QWORD *)Block + 43) = &EditorPauseLayer::`vftable';\n  *((_QWORD *)Block + 44) = &EditorPauseLayer::`vftable';\n  *((_QWORD *)Block + 51) = &EditorPauseLayer::`vftable';\n  *((_QWORD *)Block + 54) = &EditorPauseLayer::`vftable';\n  *((_QWORD *)Block + 69) = &EditorPauseLayer::`vftable';\n  v4 = Block + 560;\n  *((_QWORD *)Block + 70) = &EditorPauseLayer::`vftable';\n  v5 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v6 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager(v6);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v5 = qword_14090BFD0;\n  }\n  if ( *(char **)(v5 + 984) == v4 )\n    *(_QWORD *)(v5 + 984) = 0;\n  CCBlockLayer::dCCBlockLayer((__int64)Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; EditorPauseLayer::dEditorPauseLayer from 0x140180ca0 to 0x140180dba (282 bytes)\n; \n; 3 xrefs:\n; > sub_14018341C @ 0x140183423\n; > <???> @ 0x14074a7b8\n; > <???> @ 0x140918ba8\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:36 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140180ca0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140180ca5\npush    rdi                                                            ; +0xa, 0x140180caa\nsub     rsp, 20h                                                       ; +0xb, 0x140180cab\nmov     esi, edx                                                       ; +0xf, 0x140180caf\nmov     rbx, rcx                                                       ; +0x11, 0x140180cb1\nlea     rax, ??_7EditorPauseLayer@@6B@; const EditorPauseLayer::`vftable' ; +0x14, 0x140180cb4\nmov     [rcx], rax                                                     ; +0x1b, 0x140180cbb\nlea     rax, ??_7EditorPauseLayer@@6B@_0; const EditorPauseLayer::`vftable' ; +0x1e, 0x140180cbe\nmov     [rcx+140h], rax                                                ; +0x25, 0x140180cc5\nlea     rax, ??_7EditorPauseLayer@@6B@_1; const EditorPauseLayer::`vftable' ; +0x2c, 0x140180ccc\nmov     [rcx+148h], rax                                                ; +0x33, 0x140180cd3\nlea     rax, ??_7EditorPauseLayer@@6B@_2; const EditorPauseLayer::`vftable' ; +0x3a, 0x140180cda\nmov     [rcx+150h], rax                                                ; +0x41, 0x140180ce1\nlea     rax, ??_7EditorPauseLayer@@6B@_3; const EditorPauseLayer::`vftable' ; +0x48, 0x140180ce8\nmov     [rcx+158h], rax                                                ; +0x4f, 0x140180cef\nlea     rax, ??_7EditorPauseLayer@@6B@_4; const EditorPauseLayer::`vftable' ; +0x56, 0x140180cf6\nmov     [rcx+160h], rax                                                ; +0x5d, 0x140180cfd\nlea     rax, ??_7EditorPauseLayer@@6B@_5; const EditorPauseLayer::`vftable' ; +0x64, 0x140180d04\nmov     [rcx+198h], rax                                                ; +0x6b, 0x140180d0b\nlea     rax, ??_7EditorPauseLayer@@6B@_6; const EditorPauseLayer::`vftable' ; +0x72, 0x140180d12\nmov     [rcx+1B0h], rax                                                ; +0x79, 0x140180d19\nlea     rax, ??_7EditorPauseLayer@@6B@_7; const EditorPauseLayer::`vftable' ; +0x80, 0x140180d20\nmov     [rcx+228h], rax                                                ; +0x87, 0x140180d27\nlea     rdi, [rcx+230h]                                                ; +0x8e, 0x140180d2e\nlea     rax, ??_7EditorPauseLayer@@6B@_8; const EditorPauseLayer::`vftable' ; +0x95, 0x140180d35\nmov     [rdi], rax                                                     ; +0x9c, 0x140180d3c\nmov     rax, cs:qword_14090BFD0                                        ; +0x9f, 0x140180d3f\ntest    rax, rax                                                       ; +0xa6, 0x140180d46\njnz     short loc_140180D77                                            ; +0xa9, 0x140180d49\nmov     ecx, 6E8h; Size                                                ; +0xab, 0x140180d4b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb0, 0x140180d50\nmov     rcx, rax                                                       ; +0xb5, 0x140180d55\ncall    GameManager__GameManager                                       ; +0xb8, 0x140180d58\nmov     cs:qword_14090BFD0, rax                                        ; +0xbd, 0x140180d5d\nmov     rcx, [rax]                                                     ; +0xc4, 0x140180d64\nmov     rdx, [rcx+48h]                                                 ; +0xc7, 0x140180d67\nmov     rcx, rax                                                       ; +0xcb, 0x140180d6b\ncall    rdx                                                            ; +0xce, 0x140180d6e\nmov     rax, cs:qword_14090BFD0                                        ; +0xd0, 0x140180d70\ncmp     [rax+3D8h], rdi                                                ; +0xd7, 0x140180d77\njnz     short loc_140180D8B                                            ; +0xde, 0x140180d7e\nmov     qword ptr [rax+3D8h], 0                                        ; +0xe0, 0x140180d80\nmov     rcx, rbx                                                       ; +0xeb, 0x140180d8b\ncall    CCBlockLayer__dCCBlockLayer                                    ; +0xee, 0x140180d8e\nnop                                                                    ; +0xf3, 0x140180d93\ntest    sil, 1                                                         ; +0xf4, 0x140180d94\njz      short loc_140180DA7                                            ; +0xf8, 0x140180d98\nmov     edx, 280h                                                      ; +0xfa, 0x140180d9a\nmov     rcx, rbx; Block                                                ; +0xff, 0x140180d9f\ncall    j_j_free                                                       ; +0x102, 0x140180da2\nmov     rax, rbx                                                       ; +0x107, 0x140180da7\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x10a, 0x140180daa\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x10f, 0x140180daf\nadd     rsp, 20h                                                       ; +0x114, 0x140180db4\npop     rdi                                                            ; +0x118, 0x140180db8\nretn                                                                   ; +0x119, 0x140180db9", "xrefs": ["sub_14018341C @ 0x140183423", "<???> @ 0x14074a7b8", "<???> @ 0x140918ba8"], "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"}