{"type": "func", "start": 4299442648, "end": 4299442708, "name": "EditorPauseLayer::saveLevel", "pseudocode": "// \n// EditorPauseLayer::saveLevel from 0x1004449d8 to 0x100444a14 (60 bytes)\n// \n// 4 xrefs:\n// > EditorPauseLayer::onSaveAndPlay @ 0x1004443f0\n// > EditorPauseLayer::onSaveAndExit @ 0x100444470\n// > EditorPauseLayer::FLAlert_Clicked @ 0x100444bfc\n// > EditorPauseLayer::FLAlert_Clicked @ 0x100444ca8\n// \n// This function is hookable on this platform (idp: arm, 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:05:14 +0000\n// \n\n__int64 __fastcall EditorPauseLayer::saveLevel(__int64 a1)\n{\n  __int64 v2; // x0\n  __int64 result; // x0\n\n  v2 = LocalLevelManager::sharedState();\n  GManager::waitForSave(v2, 30.0);\n  result = *(_QWORD *)(a1 + 576);\n  if ( result )\n    return LevelEditorLayer::saveLevel(result);\n  return result;\n}", "assembly": "; \n; EditorPauseLayer::saveLevel from 0x1004449d8 to 0x100444a14 (60 bytes)\n; \n; 4 xrefs:\n; > EditorPauseLayer::onSaveAndPlay @ 0x1004443f0\n; > EditorPauseLayer::onSaveAndExit @ 0x100444470\n; > EditorPauseLayer::FLAlert_Clicked @ 0x100444bfc\n; > EditorPauseLayer::FLAlert_Clicked @ 0x100444ca8\n; \n; This function is hookable on this platform (idp: arm, 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:05:14 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1004449d8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004449dc\nADD             X29, SP, #0x10                                         ; +0x8, 0x1004449e0\nMOV             X19, X0                                                ; +0xc, 0x1004449e4\nBL              LocalLevelManager__sharedState                         ; +0x10, 0x1004449e8\nFMOV            D0, #30.0                                              ; +0x14, 0x1004449ec\nBL              GManager__waitForSave                                  ; +0x18, 0x1004449f0\nLDR             X0, [X19,#0x240]                                       ; +0x1c, 0x1004449f4\nCBZ             X0, loc_100444A08                                      ; +0x20, 0x1004449f8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x24, 0x1004449fc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x28, 0x100444a00\nB               LevelEditorLayer__saveLevel                            ; +0x2c, 0x100444a04\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x100444a08\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x34, 0x100444a0c\nRET                                                                    ; +0x38, 0x100444a10", "xrefs": ["EditorPauseLayer::onSaveAndPlay @ 0x1004443f0", "EditorPauseLayer::onSaveAndExit @ 0x100444470", "EditorPauseLayer::FLAlert_Clicked @ 0x100444bfc", "EditorPauseLayer::FLAlert_Clicked @ 0x100444ca8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}