{"type": "func", "start": 4298760880, "end": 4298761796, "name": "EditorPauseLayer::saveLevel", "pseudocode": "// \n// EditorPauseLayer::saveLevel from 0x10039e2b0 to 0x10039e644 (916 bytes)\n// \n// 3 xrefs:\n// > EditorPauseLayer::onSaveAndPlay @ 0x10039db34\n// > EditorPauseLayer::onSaveAndExit @ 0x10039dbb4\n// > EditorPauseLayer::FLAlert_Clicked @ 0x10039e8b0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall EditorPauseLayer::saveLevel(EditorPauseLayer *a1)\n{\n  LevelEditorLayer *m_editorLayer; // x0\n  GJGameLevel *m_level; // x19\n  LevelEditorLayer *v4; // x8\n  std::string *p_m_levelString; // x8\n  std::string::size_type size; // x8\n  __int64 v7; // x23\n  size_t v8; // x12\n  void *v9; // x21\n  __int128 *p_dst; // x0\n  std::string *v11; // x1\n  size_t v12; // x2\n  bool v13; // w22\n  LevelEditorLayer *v14; // x0\n  __n128 v15; // q0\n  DrawGridLayer *m_drawGridLayer; // x21\n  __n128 v17; // q1\n  float v18; // s0\n  LevelEditorLayer *v19; // x8\n  int m_timestamp; // w9\n  int v21; // w21\n  float v22; // s0\n  LevelEditorLayer *v23; // x0\n  float m_sessionTime; // s0\n  void **p_m_songIDs; // x21\n  void **p_m_sfxIDs; // x20\n  LocalLevelManager *v27; // x0\n  bool v28; // [xsp+7h] [xbp-A9h] BYREF\n  std::string v29; // [xsp+8h] [xbp-A8h] BYREF\n  std::string v30; // [xsp+20h] [xbp-90h] BYREF\n  std::string __str; // [xsp+38h] [xbp-78h] BYREF\n  __int128 __dst; // [xsp+50h] [xbp-60h] BYREF\n  char *longStorage; // [xsp+60h] [xbp-50h]\n  std::string v34; // [xsp+68h] [xbp-48h] BYREF\n  cocos2d::CCPoint v35; // 0:s0.4,4:s1.4\n\n  m_editorLayer = a1->m_editorLayer;\n  m_level = m_editorLayer->m_level;\n  LevelEditorLayer::getLevelString((__int64)m_editorLayer, &v34);\n  v4 = a1->m_editorLayer;\n  if ( v4->m_levelString.m_data.m_short.shortStorage.__elems_[22] < 0 )\n  {\n    sub_1000097D0(&__dst, (void *)v4->m_levelString.m_data.m_long.capacitym1, v4->m_levelString.m_data.m_long.size);\n  }\n  else\n  {\n    p_m_levelString = &v4->m_levelString;\n    __dst = *(_OWORD *)&p_m_levelString->m_data.m_short.sizex2;\n    longStorage = p_m_levelString->m_data.m_long.longStorage;\n  }\n  size = HIBYTE(v34.__r_.__value_.__r.__words[2]);\n  v7 = SHIBYTE(longStorage);\n  v8 = *((_QWORD *)&__dst + 1);\n  v9 = (void *)__dst;\n  if ( SHIBYTE(longStorage) < 0 )\n  {\n    p_dst = (__int128 *)__dst;\n  }\n  else\n  {\n    v8 = SHIBYTE(longStorage);\n    p_dst = &__dst;\n  }\n  if ( (v34.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )\n  {\n    v11 = &v34;\n  }\n  else\n  {\n    size = v34.__r_.__value_.__l.__size_;\n    v11 = (std::string *)v34.__r_.__value_.__r.__words[0];\n  }\n  if ( size >= v8 )\n    v12 = v8;\n  else\n    v12 = size;\n  v13 = size == v8;\n  if ( memcmp(p_dst, v11, v12) )\n    v13 = 0;\n  if ( v7 < 0 )\n  {\n    operator delete(v9);\n    if ( v13 )\n      goto LABEL_20;\n    goto LABEL_19;\n  }\n  if ( !v13 )\nLABEL_19:\n    GJGameLevel::levelWasAltered(m_level);\nLABEL_20:\n  cocos2d::ZipUtils::compressString((__int64 *)&v34, 0, 11, (__int64)&__str);\n  std::string::operator=((std::string *)&m_level->m_levelString, &__str);\n  if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(__str.__r_.__value_.__l.__data_);\n  if ( SHIBYTE(v34.__r_.__value_.__r.__words[2]) < 0 )\n  {\n    *v34.__r_.__value_.__l.__data_ = 0;\n    v34.__r_.__value_.__l.__size_ = 0;\n  }\n  else\n  {\n    v34.__r_.__value_.__s.__data_[0] = 0;\n    *((_BYTE *)&v34.__r_.__value_.__s + 23) = 0;\n  }\n  v14 = a1->m_editorLayer;\n  m_level->m_audioTrack = v14->m_level->m_audioTrack;\n  m_level->m_twoPlayerMode = v14->m_levelSettings->m_twoPlayerMode;\n  v15.n128_f32[0] = LevelEditorLayer::getLastObjectX(v14) + 340.0;\n  m_drawGridLayer = a1->m_editorLayer->m_drawGridLayer;\n  v17.n128_u32[0] = 0;\n  sub_100022980(v15, v17, &__dst);\n  v18 = DrawGridLayer::timeForPos(m_drawGridLayer, v35, (int)&__dst, 0, 0, 0, 0, 0);\n  v19 = a1->m_editorLayer;\n  m_timestamp = v19->m_level->GJBaseGameLayer::m_timestamp;\n  if ( m_timestamp >= 1 && (float)((float)(unsigned int)m_timestamp / 240.0) > v18 )\n    v18 = (float)(unsigned int)m_timestamp / 240.0;\n  m_level->m_levelLength = GJGameLevel::getLengthKey((int)v18, v19->m_levelSettings->m_platformerMode);\n  v21 = a1->m_editorLayer->m_objectCount.random - a1->m_editorLayer->m_objectCount.seed;\n  m_level->m_objectCount.value = v21;\n  v22 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;\n  m_level->m_objectCount.seed = (int)v22;\n  m_level->m_objectCount.random = v21 + (int)v22;\n  v23 = a1->m_editorLayer;\n  m_level->m_coins = v23->m_coinCount.random - v23->m_coinCount.seed;\n  m_level->m_lowDetailMode = v23->m_hasHighDetail;\n  if ( v21 > 40000 )\n  {\n    if ( (unsigned int)v21 > 0x13880 )\n      goto LABEL_32;\n  }\n  else\n  {\n    m_level->m_highObjectsEnabled = 0;\n  }\n  m_level->m_unlimitedObjectsEnabled = 0;\nLABEL_32:\n  m_sessionTime = v23->m_sessionTime;\n  m_level->m_workingTime += vcvtms_s32_f32(m_sessionTime);\n  LevelEditorLayer::getLockedLayers((__int64)v23, &v30);\n  std::string::operator=((std::string *)&m_level->m_lockedEditorLayers, &v30);\n  if ( SHIBYTE(v30.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(v30.__r_.__value_.__l.__data_);\n  LevelEditorLayer::getSavedEditorPositions((__int64)a1->m_editorLayer, &v29);\n  std::string::operator=((std::string *)&m_level->m_savedCameraPositions, &v29);\n  if ( SHIBYTE(v29.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(v29.__r_.__value_.__l.__data_);\n  sub_1000229B8((__int64 *)&__dst, (__int64 *)&a1->m_editorLayer->m_previewPosition);\n  sub_1000229D0(&m_level->m_previewLock, (double *)&__dst);\n  v28 = 0;\n  LevelEditorLayer::getSongIDs((__int64)a1->m_editorLayer, &v28, &__dst);\n  p_m_songIDs = (void **)&m_level->m_songIDs;\n  if ( m_level->m_songIDs.m_data.m_short.shortStorage.__elems_[22] < 0 )\n    operator delete(*p_m_songIDs);\n  *(_OWORD *)p_m_songIDs = __dst;\n  m_level->m_songIDs.m_data.m_long.longStorage = longStorage;\n  LevelEditorLayer::getSFXIDs((__int64)a1->m_editorLayer, &__dst);\n  p_m_sfxIDs = (void **)&m_level->m_sfxIDs;\n  if ( m_level->m_sfxIDs.m_data.m_short.shortStorage.__elems_[22] < 0 )\n    operator delete(*p_m_sfxIDs);\n  *(_OWORD *)p_m_sfxIDs = __dst;\n  m_level->m_sfxIDs.m_data.m_long.longStorage = longStorage;\n  if ( (m_level->m_sfxIDs.m_data.m_short.shortStorage.__elems_[22] & 0x8000000000000000LL) != 0 )\n  {\n    if ( m_level->m_sfxIDs.m_data.m_long.size )\n      goto LABEL_46;\n  }\n  else if ( m_level->m_sfxIDs.m_data.m_short.shortStorage.__elems_[22] )\n  {\n    goto LABEL_46;\n  }\n  if ( !v28 )\n    std::string::assign((std::string *)&m_level->m_songIDs, \"\");\nLABEL_46:\n  v27 = LocalLevelManager::sharedState();\n  GManager::save(v27);\n  if ( SHIBYTE(v34.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(v34.__r_.__value_.__l.__data_);\n}", "assembly": "; \n; EditorPauseLayer::saveLevel from 0x10039e2b0 to 0x10039e644 (916 bytes)\n; \n; 3 xrefs:\n; > EditorPauseLayer::onSaveAndPlay @ 0x10039db34\n; > EditorPauseLayer::onSaveAndExit @ 0x10039dbb4\n; > EditorPauseLayer::FLAlert_Clicked @ 0x10039e8b0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             SP, SP, #0xC0                                          ; +0x0, 0x10039e2b0\nSTP             X24, X23, [SP,#0xB0+var_30]                            ; +0x4, 0x10039e2b4\nSTP             X22, X21, [SP,#0xB0+var_20]                            ; +0x8, 0x10039e2b8\nSTP             X20, X19, [SP,#0xB0+var_10]                            ; +0xc, 0x10039e2bc\nSTP             X29, X30, [SP,#0xB0+var_s0]                            ; +0x10, 0x10039e2c0\nADD             X29, SP, #0xB0                                         ; +0x14, 0x10039e2c4\nMOV             X20, X0                                                ; +0x18, 0x10039e2c8\nLDR             X0, [X0,#0x248]                                        ; +0x1c, 0x10039e2cc\nLDR             X19, [X0,#0x790]                                       ; +0x20, 0x10039e2d0\nSUB             X8, X29, #-var_48                                      ; +0x24, 0x10039e2d4\nBL              LevelEditorLayer__getLevelString                       ; +0x28, 0x10039e2d8\nLDR             X8, [X20,#0x248]                                       ; +0x2c, 0x10039e2dc\nMOV             W9, #0x36EF                                            ; +0x30, 0x10039e2e0\nLDRSB           W9, [X8,X9]                                            ; +0x34, 0x10039e2e4\nTBNZ            W9, #0x1F, loc_10039E308                               ; +0x38, 0x10039e2e8\nMOV             W9, #0x36D8                                            ; +0x3c, 0x10039e2ec\nADD             X8, X8, X9                                             ; +0x40, 0x10039e2f0\nLDR             Q0, [X8]                                               ; +0x44, 0x10039e2f4\nSTR             Q0, [SP,#0xB0+__dst]                                   ; +0x48, 0x10039e2f8\nLDR             X8, [X8,#0x10]                                         ; +0x4c, 0x10039e2fc\nSTR             X8, [SP,#0xB0+var_50]                                  ; +0x50, 0x10039e300\nB               loc_10039E318                                          ; +0x54, 0x10039e304\nLDR             X1, [X8,#0x36D8]; __src                                ; +0x58, 0x10039e308\nLDR             X2, [X8,#0x36E0]                                       ; +0x5c, 0x10039e30c\nADD             X0, SP, #0xB0+__dst; __dst                             ; +0x60, 0x10039e310\nBL              sub_1000097D0                                          ; +0x64, 0x10039e314\nLDURB           W8, [X29,#var_31]                                      ; +0x68, 0x10039e318\nSXTB            W9, W8                                                 ; +0x6c, 0x10039e31c\nLDP             X10, X11, [X29,#var_48]                                ; +0x70, 0x10039e320\nLDRSB           X23, [SP,#0xB0+var_50+7]                               ; +0x74, 0x10039e324\nLDP             X21, X12, [SP,#0xB0+__dst]                             ; +0x78, 0x10039e328\nCMP             W23, #0                                                ; +0x7c, 0x10039e32c\nCSEL            X12, X12, X23, LT                                      ; +0x80, 0x10039e330\nADD             X13, SP, #0xB0+__dst                                   ; +0x84, 0x10039e334\nCSEL            X0, X21, X13, LT; __s1                                 ; +0x88, 0x10039e338\nCMP             W9, #0                                                 ; +0x8c, 0x10039e33c\nCSEL            X8, X11, X8, LT                                        ; +0x90, 0x10039e340\nSUB             X9, X29, #-var_48                                      ; +0x94, 0x10039e344\nCSEL            X1, X10, X9, LT; __s2                                  ; +0x98, 0x10039e348\nCMP             X8, X12                                                ; +0x9c, 0x10039e34c\nCSEL            X2, X8, X12, CC; __n                                   ; +0xa0, 0x10039e350\nCSET            W22, EQ                                                ; +0xa4, 0x10039e354\nBL              _memcmp                                                ; +0xa8, 0x10039e358\nCMP             W0, #0                                                 ; +0xac, 0x10039e35c\nCSEL            W22, WZR, W22, NE                                      ; +0xb0, 0x10039e360\nTBNZ            X23, #0x3F, loc_10039E370 ; '?'                        ; +0xb4, 0x10039e364\nTBZ             W22, #0, loc_10039E37C                                 ; +0xb8, 0x10039e368\nB               loc_10039E384                                          ; +0xbc, 0x10039e36c\nMOV             X0, X21; __p                                           ; +0xc0, 0x10039e370\nBL              __ZdlPv; operator delete(void *)                       ; +0xc4, 0x10039e374\nTBNZ            W22, #0, loc_10039E384                                 ; +0xc8, 0x10039e378\nMOV             X0, X19                                                ; +0xcc, 0x10039e37c\nBL              GJGameLevel__levelWasAltered                           ; +0xd0, 0x10039e380\nADD             X8, SP, #0xB0+__str                                    ; +0xd4, 0x10039e384\nSUB             X0, X29, #-var_48                                      ; +0xd8, 0x10039e388\nMOV             W1, #0                                                 ; +0xdc, 0x10039e38c\nMOV             W2, #0xB                                               ; +0xe0, 0x10039e390\nBL              cocos2d__ZipUtils__compressString                      ; +0xe4, 0x10039e394\nADD             X0, X19, #0x188; this                                  ; +0xe8, 0x10039e398\nADD             X1, SP, #0xB0+__str; __str                             ; +0xec, 0x10039e39c\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0xf0, 0x10039e3a0\nLDRSB           W8, [SP,#0xB0+__str.__r_.__value_+0x17]                ; +0xf4, 0x10039e3a4\nTBZ             W8, #0x1F, loc_10039E3B4                               ; +0xf8, 0x10039e3a8\nLDR             X0, [SP,#0xB0+__str]; __p                              ; +0xfc, 0x10039e3ac\nBL              __ZdlPv; operator delete(void *)                       ; +0x100, 0x10039e3b0\nLDURSB          W8, [X29,#var_31]                                      ; +0x104, 0x10039e3b4\nTBNZ            W8, #0x1F, loc_10039E3C8                               ; +0x108, 0x10039e3b8\nSTURB           WZR, [X29,#var_48]                                     ; +0x10c, 0x10039e3bc\nSTURB           WZR, [X29,#var_31]                                     ; +0x110, 0x10039e3c0\nB               loc_10039E3D4                                          ; +0x114, 0x10039e3c4\nLDUR            X8, [X29,#var_48]                                      ; +0x118, 0x10039e3c8\nSTRB            WZR, [X8]                                              ; +0x11c, 0x10039e3cc\nSTUR            XZR, [X29,#var_40]                                     ; +0x120, 0x10039e3d0\nLDR             X0, [X20,#0x248]                                       ; +0x124, 0x10039e3d4\nLDR             X8, [X0,#0x790]                                        ; +0x128, 0x10039e3d8\nLDR             W8, [X8,#0x254]                                        ; +0x12c, 0x10039e3dc\nSTR             W8, [X19,#0x254]                                       ; +0x130, 0x10039e3e0\nLDR             X8, [X0,#0xCD8]                                        ; +0x134, 0x10039e3e4\nLDRB            W8, [X8,#0x154]                                        ; +0x138, 0x10039e3e8\nSTRB            W8, [X19,#0x374]                                       ; +0x13c, 0x10039e3ec\nBL              LevelEditorLayer__getLastObjectX                       ; +0x140, 0x10039e3f0\nMOV             W8, #0x43AA0000                                        ; +0x144, 0x10039e3f4\nFMOV            S1, W8                                                 ; +0x148, 0x10039e3f8\nFADD            S0, S0, S1                                             ; +0x14c, 0x10039e3fc\nLDR             X8, [X20,#0x248]                                       ; +0x150, 0x10039e400\nLDR             X21, [X8,#0x36C8]                                      ; +0x154, 0x10039e404\nADD             X0, SP, #0xB0+__dst                                    ; +0x158, 0x10039e408\nFMOV            S1, WZR                                                ; +0x15c, 0x10039e40c\nBL              sub_100022980                                          ; +0x160, 0x10039e410\nADD             X1, SP, #0xB0+__dst                                    ; +0x164, 0x10039e414\nMOV             X0, X21                                                ; +0x168, 0x10039e418\nMOV             W2, #0                                                 ; +0x16c, 0x10039e41c\nMOV             W3, #0                                                 ; +0x170, 0x10039e420\nMOV             W4, #0                                                 ; +0x174, 0x10039e424\nMOV             W5, #0                                                 ; +0x178, 0x10039e428\nMOV             W6, #0                                                 ; +0x17c, 0x10039e42c\nMOV             W7, #0                                                 ; +0x180, 0x10039e430\nBL              DrawGridLayer__timeForPos                              ; +0x184, 0x10039e434\nLDR             X8, [X20,#0x248]                                       ; +0x188, 0x10039e438\nLDR             X9, [X8,#0x790]                                        ; +0x18c, 0x10039e43c\nLDR             W9, [X9,#0x460]                                        ; +0x190, 0x10039e440\nCMP             W9, #1                                                 ; +0x194, 0x10039e444\nB.LT            loc_10039E464                                          ; +0x198, 0x10039e448\nUCVTF           S1, W9                                                 ; +0x19c, 0x10039e44c\nMOV             W9, #0x43700000                                        ; +0x1a0, 0x10039e450\nFMOV            S2, W9                                                 ; +0x1a4, 0x10039e454\nFDIV            S1, S1, S2                                             ; +0x1a8, 0x10039e458\nFCMP            S1, S0                                                 ; +0x1ac, 0x10039e45c\nFCSEL           S0, S1, S0, GT                                         ; +0x1b0, 0x10039e460\nFCVTZS          W0, S0                                                 ; +0x1b4, 0x10039e464\nLDR             X8, [X8,#0xCD8]                                        ; +0x1b8, 0x10039e468\nLDRB            W1, [X8,#0x155]                                        ; +0x1bc, 0x10039e46c\nBL              GJGameLevel__getLengthKey                              ; +0x1c0, 0x10039e470\nSTR             W0, [X19,#0x310]                                       ; +0x1c4, 0x10039e474\nLDR             X8, [X20,#0x248]                                       ; +0x1c8, 0x10039e478\nLDR             W9, [X8,#0x36B8]                                       ; +0x1cc, 0x10039e47c\nLDR             W8, [X8,#0x36BC]                                       ; +0x1d0, 0x10039e480\nSUB             W21, W9, W8                                            ; +0x1d4, 0x10039e484\nSTR             W21, [X19,#0x26C]                                      ; +0x1d8, 0x10039e488\nBL              _rand                                                  ; +0x1dc, 0x10039e48c\nSCVTF           S0, W0, #0x1F                                          ; +0x1e0, 0x10039e490\nMOV             W8, #0x447A0000                                        ; +0x1e4, 0x10039e494\nFMOV            S1, W8                                                 ; +0x1e8, 0x10039e498\nFMUL            S0, S0, S1                                             ; +0x1ec, 0x10039e49c\nFCVTZS          W8, S0                                                 ; +0x1f0, 0x10039e4a0\nSTR             W8, [X19,#0x268]                                       ; +0x1f4, 0x10039e4a4\nADD             W8, W21, W8                                            ; +0x1f8, 0x10039e4a8\nSTR             W8, [X19,#0x264]                                       ; +0x1fc, 0x10039e4ac\nLDR             X0, [X20,#0x248]                                       ; +0x200, 0x10039e4b0\nLDR             W8, [X0,#0x3644]                                       ; +0x204, 0x10039e4b4\nLDR             W9, [X0,#0x3648]                                       ; +0x208, 0x10039e4b8\nSUB             W8, W8, W9                                             ; +0x20c, 0x10039e4bc\nSTR             W8, [X19,#0x350]                                       ; +0x210, 0x10039e4c0\nMOV             W8, #0x35B9                                            ; +0x214, 0x10039e4c4\nLDRB            W8, [X0,X8]                                            ; +0x218, 0x10039e4c8\nSTRB            W8, [X19,#0x28C]                                       ; +0x21c, 0x10039e4cc\nMOV             W8, #0x9C40                                            ; +0x220, 0x10039e4d0\nCMP             W21, W8                                                ; +0x224, 0x10039e4d4\nB.GT            loc_10039E4E4                                          ; +0x228, 0x10039e4d8\nSTRB            WZR, [X19,#0x440]                                      ; +0x22c, 0x10039e4dc\nB               loc_10039E4F4                                          ; +0x230, 0x10039e4e0\nMOV             W8, #0x13880                                           ; +0x234, 0x10039e4e4\nCMP             W21, W8                                                ; +0x23c, 0x10039e4ec\nB.HI            loc_10039E4F8                                          ; +0x240, 0x10039e4f0\nSTRB            WZR, [X19,#0x441]                                      ; +0x244, 0x10039e4f4\nLDR             W8, [X19,#0x284]                                       ; +0x248, 0x10039e4f8\nLDR             D0, [X0,#0x3850]                                       ; +0x24c, 0x10039e4fc\nFCVT            S0, D0                                                 ; +0x250, 0x10039e500\nFCVTMS          W9, S0                                                 ; +0x254, 0x10039e504\nADD             W8, W8, W9                                             ; +0x258, 0x10039e508\nSTR             W8, [X19,#0x284]                                       ; +0x25c, 0x10039e50c\nADD             X8, SP, #0xB0+var_90                                   ; +0x260, 0x10039e510\nBL              LevelEditorLayer__getLockedLayers                      ; +0x264, 0x10039e514\nADD             X0, X19, #0x200; this                                  ; +0x268, 0x10039e518\nADD             X1, SP, #0xB0+var_90; __str                            ; +0x26c, 0x10039e51c\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x270, 0x10039e520\nLDRSB           W8, [SP,#0xB0+var_90.__r_.__value_+0x17]               ; +0x274, 0x10039e524\nTBZ             W8, #0x1F, loc_10039E534                               ; +0x278, 0x10039e528\nLDR             X0, [SP,#0xB0+var_90]; __p                             ; +0x27c, 0x10039e52c\nBL              __ZdlPv; operator delete(void *)                       ; +0x280, 0x10039e530\nLDR             X0, [X20,#0x248]                                       ; +0x284, 0x10039e534\nADD             X8, SP, #0xB0+var_A8                                   ; +0x288, 0x10039e538\nBL              LevelEditorLayer__getSavedEditorPositions              ; +0x28c, 0x10039e53c\nADD             X0, X19, #0x218; this                                  ; +0x290, 0x10039e540\nADD             X1, SP, #0xB0+var_A8; __str                            ; +0x294, 0x10039e544\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x298, 0x10039e548\nLDRSB           W8, [SP,#0xB0+var_A8.__r_.__value_+0x17]               ; +0x29c, 0x10039e54c\nTBZ             W8, #0x1F, loc_10039E55C                               ; +0x2a0, 0x10039e550\nLDR             X0, [SP,#0xB0+var_A8]; __p                             ; +0x2a4, 0x10039e554\nBL              __ZdlPv; operator delete(void *)                       ; +0x2a8, 0x10039e558\nLDR             X8, [X20,#0x248]                                       ; +0x2ac, 0x10039e55c\nMOV             W9, #0x37E8                                            ; +0x2b0, 0x10039e560\nADD             X0, SP, #0xB0+__dst                                    ; +0x2b4, 0x10039e564\nADD             X1, X8, X9                                             ; +0x2b8, 0x10039e568\nBL              sub_1000229B8                                          ; +0x2bc, 0x10039e56c\nADD             X0, X19, #0x230                                        ; +0x2c0, 0x10039e570\nADD             X1, SP, #0xB0+__dst                                    ; +0x2c4, 0x10039e574\nBL              sub_1000229D0                                          ; +0x2c8, 0x10039e578\nSTRB            WZR, [SP,#0xB0+var_A9]                                 ; +0x2cc, 0x10039e57c\nLDR             X0, [X20,#0x248]                                       ; +0x2d0, 0x10039e580\nADD             X8, SP, #0xB0+__dst                                    ; +0x2d4, 0x10039e584\nADD             X1, SP, #0xB0+var_A9                                   ; +0x2d8, 0x10039e588\nBL              LevelEditorLayer__getSongIDs                           ; +0x2dc, 0x10039e58c\nADD             X21, X19, #0x468                                       ; +0x2e0, 0x10039e590\nLDRSB           W8, [X19,#0x47F]                                       ; +0x2e4, 0x10039e594\nTBZ             W8, #0x1F, loc_10039E5A4                               ; +0x2e8, 0x10039e598\nLDR             X0, [X21]; __p                                         ; +0x2ec, 0x10039e59c\nBL              __ZdlPv; operator delete(void *)                       ; +0x2f0, 0x10039e5a0\nLDR             Q0, [SP,#0xB0+__dst]                                   ; +0x2f4, 0x10039e5a4\nSTR             Q0, [X21]                                              ; +0x2f8, 0x10039e5a8\nLDR             X8, [SP,#0xB0+var_50]                                  ; +0x2fc, 0x10039e5ac\nSTR             X8, [X21,#0x10]                                        ; +0x300, 0x10039e5b0\nLDR             X0, [X20,#0x248]                                       ; +0x304, 0x10039e5b4\nADD             X8, SP, #0xB0+__dst                                    ; +0x308, 0x10039e5b8\nBL              LevelEditorLayer__getSFXIDs                            ; +0x30c, 0x10039e5bc\nADD             X20, X19, #0x480                                       ; +0x310, 0x10039e5c0\nLDRSB           W8, [X19,#0x497]                                       ; +0x314, 0x10039e5c4\nTBZ             W8, #0x1F, loc_10039E5D4                               ; +0x318, 0x10039e5c8\nLDR             X0, [X20]; __p                                         ; +0x31c, 0x10039e5cc\nBL              __ZdlPv; operator delete(void *)                       ; +0x320, 0x10039e5d0\nLDR             Q0, [SP,#0xB0+__dst]                                   ; +0x324, 0x10039e5d4\nSTR             Q0, [X20]                                              ; +0x328, 0x10039e5d8\nLDR             X8, [SP,#0xB0+var_50]                                  ; +0x32c, 0x10039e5dc\nSTR             X8, [X20,#0x10]                                        ; +0x330, 0x10039e5e0\nLDRSB           X8, [X19,#0x497]                                       ; +0x334, 0x10039e5e4\nTBNZ            X8, #0x3F, loc_10039E5F4 ; '?'                         ; +0x338, 0x10039e5e8\nCBNZ            X8, loc_10039E614                                      ; +0x33c, 0x10039e5ec\nB               loc_10039E5FC                                          ; +0x340, 0x10039e5f0\nLDR             X8, [X19,#0x488]                                       ; +0x344, 0x10039e5f4\nCBNZ            X8, loc_10039E614                                      ; +0x348, 0x10039e5f8\nLDRB            W8, [SP,#0xB0+var_A9]                                  ; +0x34c, 0x10039e5fc\nTBNZ            W8, #0, loc_10039E614                                  ; +0x350, 0x10039e600\nADRL            X1, asc_100746688; \"\"                                  ; +0x354, 0x10039e604\nMOV             X0, X21; this                                          ; +0x35c, 0x10039e60c\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x360, 0x10039e610\nBL              LocalLevelManager__sharedState                         ; +0x364, 0x10039e614\nBL              GManager__save                                         ; +0x368, 0x10039e618\nLDURSB          W8, [X29,#var_31]                                      ; +0x36c, 0x10039e61c\nTBZ             W8, #0x1F, loc_10039E62C                               ; +0x370, 0x10039e620\nLDUR            X0, [X29,#var_48]; __p                                 ; +0x374, 0x10039e624\nBL              __ZdlPv; operator delete(void *)                       ; +0x378, 0x10039e628\nLDP             X29, X30, [SP,#0xB0+var_s0]                            ; +0x37c, 0x10039e62c\nLDP             X20, X19, [SP,#0xB0+var_10]                            ; +0x380, 0x10039e630\nLDP             X22, X21, [SP,#0xB0+var_20]                            ; +0x384, 0x10039e634\nLDP             X24, X23, [SP,#0xB0+var_30]                            ; +0x388, 0x10039e638\nADD             SP, SP, #0xC0                                          ; +0x38c, 0x10039e63c\nRET                                                                    ; +0x390, 0x10039e640", "xrefs": ["EditorPauseLayer::onSaveAndPlay @ 0x10039db34", "EditorPauseLayer::onSaveAndExit @ 0x10039dbb4", "EditorPauseLayer::FLAlert_Clicked @ 0x10039e8b0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}