{"type": "func", "start": 4297585296, "end": 4297585352, "name": "EditorPauseLayer::saveLevel", "pseudocode": "// \n// EditorPauseLayer::saveLevel from 0x10027f290 to 0x10027f2c8 (56 bytes)\n// \n// 0 xrefs:\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:27:42 +0000\n// \n\n__int64 __fastcall EditorPauseLayer::saveLevel(__int64 a1, double a2)\n{\n  __int64 v2; // rax\n  __int64 result; // rax\n  __int64 v4; // rdi\n\n  v2 = LocalLevelManager::sharedState(a2);\n  result = sub_1004A5220(v2, 30.0);\n  v4 = *(_QWORD *)(a1 + 576);\n  if ( v4 )\n    return LevelEditorLayer::saveLevel(v4);\n  return result;\n}", "assembly": "; \n; EditorPauseLayer::saveLevel from 0x10027f290 to 0x10027f2c8 (56 bytes)\n; \n; 0 xrefs:\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:27:42 +0000\n; \npush    rbp                                                            ; +0x0, 0x10027f290\nmov     rbp, rsp                                                       ; +0x1, 0x10027f291\npush    rbx                                                            ; +0x4, 0x10027f294\npush    rax                                                            ; +0x5, 0x10027f295\nmov     rbx, rdi                                                       ; +0x6, 0x10027f296\ncall    LocalLevelManager__sharedState                                 ; +0x9, 0x10027f299\nmovsd   xmm0, cs:qword_100A072C8                                       ; +0xe, 0x10027f29e\nmov     rdi, rax                                                       ; +0x16, 0x10027f2a6\ncall    sub_1004A5220                                                  ; +0x19, 0x10027f2a9\nmov     rdi, [rbx+240h]                                                ; +0x1e, 0x10027f2ae\nadd     rsp, 8                                                         ; +0x25, 0x10027f2b5\ntest    rdi, rdi                                                       ; +0x29, 0x10027f2b9\njz      short loc_10027F2C5                                            ; +0x2c, 0x10027f2bc\npop     rbx                                                            ; +0x2e, 0x10027f2be\npop     rbp                                                            ; +0x2f, 0x10027f2bf\njmp     LevelEditorLayer__saveLevel                                    ; +0x30, 0x10027f2c0\npop     rbx                                                            ; +0x35, 0x10027f2c5\npop     rbp                                                            ; +0x36, 0x10027f2c6\nretn                                                                   ; +0x37, 0x10027f2c7", "xrefs": [], "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"}