{"type": "func", "start": 5369831600, "end": 5369832749, "name": "EditorUI::onPlaytest", "pseudocode": "// \n// EditorUI::onPlaytest from 0x1401120b0 to 0x14011252d (1149 bytes)\n// \n// 4 xrefs:\n// > EditorUI::onPlaytest @ 0x1401124fc\n// > EditorUI::keyDown @ 0x140125c82\n// > EditorUI::init @ 0x1400e040b\n// > <???> @ 0x1406c8ff4\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\n// Hidden C++ exception states: #wind=1\nvoid EditorUI::onPlaytest(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  char v4; // r14\n  char v5; // bp\n  __int64 v6; // rcx\n  LevelEditorLayer *m_editorLayer; // rdi\n  PlaybackMode m_playbackMode; // eax\n  __int64 v9; // rax\n  UILayer *m_uiLayer; // rbx\n  __int64 v11; // rcx\n  cocos2d::CCDirector *v12; // rax\n  __int64 v13; // rcx\n  GJBaseGameLayer *v14; // rcx\n  __int64 v15; // rax\n  UILayer *v16; // rbx\n  _BOOL8 v17; // rdx\n  __int64 v18; // rcx\n  cocos2d::CCDirector *v19; // rax\n  __int64 v20; // rcx\n  double v21; // xmm0_8\n  GJBaseGameLayer *v22; // rcx\n  GameManager *v23; // rcx\n  cocos2d::CCNode *v24; // rdi\n  cocos2d::CCNode_vtbl *v25; // rbx\n  LevelEditorLayer *v26; // rcx\n  cocos2d::CCSpriteFrameCache *v27; // rax\n  const char *v28; // rdx\n  struct cocos2d::CCSpriteFrame *v29; // rax\n  _BOOL8 v30; // rdx\n  void *v31; // [rsp+40h] [rbp+8h]\n\n  if ( !a1->m_isPaused )\n  {\n    v4 = 0;\n    if ( a1->m_editorLayer->m_playbackMode != Playing )\n    {\n      v4 = 1;\n      GJBaseGameLayer::pauseAudio((GJBaseGameLayer *)a1);\n    }\n    v5 = 0;\n    a1->m_isPlayingMusic = 0;\n    if ( a1->m_editorLayer->m_playbackMode != Playing )\n      EditorUI::toggleMode(a1, a1->m_editModeBtn);\n    EditorUI::deselectAll(a1);\n    m_editorLayer = a1->m_editorLayer;\n    m_playbackMode = m_editorLayer->m_playbackMode;\n    switch ( m_playbackMode )\n    {\n      case Playing:\n        v9 = cocos2d::CCDirector::sharedDirector(v6);\n        *(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 176LL))(v9) + 92) = 0;\n        m_uiLayer = m_editorLayer->m_uiLayer;\n        *(_QWORD *)&m_uiLayer->m_p1TouchId = -1;\n        *(_WORD *)&m_uiLayer->m_p1Jumping = 0;\n        m_uiLayer->m_checkpointBtnDown = 0;\n        UILayer::resetUINodeState(m_uiLayer);\n        UILayer::toggleMenuVisibility(m_uiLayer, 0);\n        m_uiLayer->setVisible(m_uiLayer, 0);\n        *(_BYTE *)(cocos2d::CCEGLView::sharedOpenGLView() + 237) = 0;\n        LevelEditorLayer::quickUpdateAllPositions(m_editorLayer);\n        if ( m_editorLayer->m_collisionBlocksAdded )\n        {\n          m_editorLayer->m_collisionBlocksAdded = 0;\n          GJBaseGameLayer::removeObjectFromSection(m_editorLayer, m_editorLayer->m_player1CollisionBlock);\n          GJBaseGameLayer::removeObjectFromSection(m_editorLayer, m_editorLayer->m_player2CollisionBlock);\n        }\n        if ( m_editorLayer->m_playTestSmoothFix )\n        {\n          v12 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v11);\n          cocos2d::CCDirector::resetSmoothFixCounter(v12);\n          *(_BYTE *)(cocos2d::CCDirector::sharedDirector(v13) + 170) = 0;\n        }\n        m_editorLayer->m_playbackMode = Paused;\n        cocos2d::CCNode::pauseSchedulerAndActions(m_editorLayer->m_player1);\n        cocos2d::CCNode::pauseSchedulerAndActions(m_editorLayer->m_player2);\n        m_editorLayer->m_playtestTimeWarp = m_editorLayer->m_gameState.m_timeWarp;\n        ((void (__fastcall *)(LevelEditorLayer *))m_editorLayer->updateTimeWarp)(m_editorLayer);\n        m_editorLayer->m_playtestCameraZoom = m_editorLayer->m_gameState.m_cameraZoom;\n        GJBaseGameLayer::pauseAudio(v14);\n        if ( m_editorLayer->m_playtestOrderChanged )\n          m_editorLayer->m_spawnOrderObjectsChanged = 1;\n        break;\n      case Paused:\n        v15 = cocos2d::CCDirector::sharedDirector(v6);\n        *(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v15 + 176LL))(v15) + 92) = 1;\n        v16 = m_editorLayer->m_uiLayer;\n        *(_QWORD *)&v16->m_p1TouchId = -1;\n        *(_WORD *)&v16->m_p1Jumping = 0;\n        v16->m_checkpointBtnDown = 0;\n        UILayer::resetUINodeState(v16);\n        UILayer::toggleMenuVisibility(v16, 1);\n        LOBYTE(v17) = 1;\n        v16->setVisible(v16, v17);\n        *(_BYTE *)(cocos2d::CCEGLView::sharedOpenGLView() + 237) = 1;\n        if ( !m_editorLayer->m_collisionBlocksAdded )\n        {\n          m_editorLayer->m_collisionBlocksAdded = 1;\n          m_editorLayer->addToSection(m_editorLayer, m_editorLayer->m_player1CollisionBlock);\n          m_editorLayer->addToSection(m_editorLayer, m_editorLayer->m_player2CollisionBlock);\n        }\n        if ( m_editorLayer->m_playTestSmoothFix )\n        {\n          v19 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v18);\n          cocos2d::CCDirector::resetSmoothFixCounter(v19);\n          *(_BYTE *)(cocos2d::CCDirector::sharedDirector(v20) + 170) = 1;\n        }\n        v21 = ((double (__fastcall *)(cocos2d::CCLayer *))m_editorLayer->m_objectLayer->getScale)(m_editorLayer->m_objectLayer);\n        m_editorLayer->m_playtestZoom = *(float *)&v21;\n        ((void (__fastcall *)(cocos2d::CCLayer *))m_editorLayer->m_objectLayer->setScale_0)(m_editorLayer->m_objectLayer);\n        ((void (__fastcall *)(LevelEditorLayer *))m_editorLayer->updateTimeWarp)(m_editorLayer);\n        m_editorLayer->m_playbackMode = Playing;\n        cocos2d::CCNode::resumeSchedulerAndActions(m_editorLayer->m_player1);\n        cocos2d::CCNode::pauseSchedulerAndActions(m_editorLayer->m_player2);\n        m_editorLayer->m_gameState.m_cameraZoom = m_editorLayer->m_playtestCameraZoom;\n        LevelEditorLayer::recreateGroups(m_editorLayer);\n        GJBaseGameLayer::optimizeMoveGroups(m_editorLayer);\n        *(_DWORD *)&m_editorLayer->m_triggersChanged = 16843009;\n        m_editorLayer->m_spawnTriggersChanged = 1;\n        GJBaseGameLayer::resumeAudio(v22);\n        break;\n      case Not:\n        a1->m_editorZoom = m_editorLayer->m_objectLayer->getScale(m_editorLayer->m_objectLayer);\n        LevelEditorLayer::onPlaytest(a1->m_editorLayer);\n        if ( !a1->m_editorLayer->m_startPosObject )\n          goto LABEL_25;\n        v23 = (GameManager *)qword_1406C2ED8;\n        if ( !qword_1406C2ED8 )\n        {\n          v31 = operator new(0x668u);\n          qword_1406C2ED8 = sub_14017AB00(v31);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          v23 = (GameManager *)qword_1406C2ED8;\n        }\n        if ( GameManager::getGameVariable(v23, \"0150\") )\n          v5 = 1;\n        else\nLABEL_25:\n          v5 = 0;\n        break;\n    }\n    EditorUI::showUI(a1, a1->m_editorLayer->m_playbackMode != Playing);\n    v24 = a1->m_playtestBtn->getNormalImage(a1->m_playtestBtn);\n    v25 = v24->__vftable;\n    v26 = a1->m_editorLayer;\n    if ( v26->m_playbackMode == Playing )\n    {\n      v27 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v26);\n      v28 = \"GJ_pauseEditorBtn_001.png\";\n    }\n    else\n    {\n      v27 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v26);\n      v28 = \"GJ_playEditorBtn_001.png\";\n    }\n    v29 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v27, v28);\n    ((void (__fastcall *)(cocos2d::CCNode *, struct cocos2d::CCSpriteFrame *))v25[1].setScaleX)(v24, v29);\n    LOBYTE(v30) = 1;\n    a1->m_playtestStopBtn->setVisible(a1->m_playtestStopBtn, v30);\n    EditorUI::updatePlaybackBtn(a1);\n    if ( v5 )\n      EditorUI::onPlaytest(a1, a2);\n    if ( v4 )\n      a1->m_editorLayer->m_audioPaused = 1;\n  }\n}", "assembly": "; \n; EditorUI::onPlaytest from 0x1401120b0 to 0x14011252d (1149 bytes)\n; \n; 4 xrefs:\n; > EditorUI::onPlaytest @ 0x1401124fc\n; > EditorUI::keyDown @ 0x140125c82\n; > EditorUI::init @ 0x1400e040b\n; > <???> @ 0x1406c8ff4\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1401120b0\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x1401120b5\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x1401120ba\npush    rdi                                                            ; +0xf, 0x1401120bf\npush    r14                                                            ; +0x10, 0x1401120c0\npush    r15                                                            ; +0x12, 0x1401120c2\nsub     rsp, 20h                                                       ; +0x14, 0x1401120c4\nmov     r15, rdx                                                       ; +0x18, 0x1401120c8\nmov     rsi, rcx                                                       ; +0x1b, 0x1401120cb\ncmp     byte ptr [rcx+5A0h], 0                                         ; +0x1e, 0x1401120ce\njnz     loc_140112514                                                  ; +0x25, 0x1401120d5\nxor     r14b, r14b                                                     ; +0x2b, 0x1401120db\nmov     rax, [rcx+500h]                                                ; +0x2e, 0x1401120de\ncmp     dword ptr [rax+880h], 1                                        ; +0x35, 0x1401120e5\njz      short loc_1401120F6                                            ; +0x3c, 0x1401120ec\nmov     r14b, 1                                                        ; +0x3e, 0x1401120ee\ncall    GJBaseGameLayer__pauseAudio                                    ; +0x41, 0x1401120f1\nxor     bpl, bpl                                                       ; +0x46, 0x1401120f6\nmov     [rsi+258h], bpl                                                ; +0x49, 0x1401120f9\nmov     rax, [rsi+500h]                                                ; +0x50, 0x140112100\ncmp     dword ptr [rax+880h], 1                                        ; +0x57, 0x140112107\njz      short loc_14011211F                                            ; +0x5e, 0x14011210e\nmov     rdx, [rsi+368h]                                                ; +0x60, 0x140112110\nmov     rcx, rsi                                                       ; +0x67, 0x140112117\ncall    EditorUI__toggleMode                                           ; +0x6a, 0x14011211a\nmov     rcx, rsi                                                       ; +0x6f, 0x14011211f\ncall    EditorUI__deselectAll                                          ; +0x72, 0x140112122\nmov     rdi, [rsi+500h]                                                ; +0x77, 0x140112127\nmov     eax, [rdi+880h]                                                ; +0x7e, 0x14011212e\ncmp     eax, 1                                                         ; +0x84, 0x140112134\njnz     loc_14011226B                                                  ; +0x87, 0x140112137\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x8d, 0x14011213d\nmov     rdx, [rax]                                                     ; +0x93, 0x140112143\nmov     rcx, rax                                                       ; +0x96, 0x140112146\ncall    qword ptr [rdx+0B0h]                                           ; +0x99, 0x140112149\nmov     [rax+5Ch], bpl                                                 ; +0x9f, 0x14011214f\nmov     rbx, [rdi+3540h]                                               ; +0xa3, 0x140112153\nmov     qword ptr [rbx+248h], 0FFFFFFFFFFFFFFFFh                       ; +0xaa, 0x14011215a\nmov     word ptr [rbx+242h], 0                                         ; +0xb5, 0x140112165\nmov     [rbx+244h], bpl                                                ; +0xbe, 0x14011216e\nmov     rcx, rbx                                                       ; +0xc5, 0x140112175\ncall    UILayer__resetUINodeState                                      ; +0xc8, 0x140112178\nxor     edx, edx                                                       ; +0xcd, 0x14011217d\nmov     rcx, rbx                                                       ; +0xcf, 0x14011217f\ncall    UILayer__toggleMenuVisibility                                  ; +0xd2, 0x140112182\nmov     rax, [rbx]                                                     ; +0xd7, 0x140112187\nxor     edx, edx                                                       ; +0xda, 0x14011218a\nmov     rcx, rbx                                                       ; +0xdc, 0x14011218c\ncall    qword ptr [rax+140h]                                           ; +0xdf, 0x14011218f\ncall    cs:?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0xe5, 0x140112195\nmov     [rax+0EDh], bpl                                                ; +0xeb, 0x14011219b\nmov     rcx, rdi                                                       ; +0xf2, 0x1401121a2\ncall    LevelEditorLayer__quickUpdateAllPositions                      ; +0xf5, 0x1401121a5\ncmp     [rdi+37C0h], bpl                                               ; +0xfa, 0x1401121aa\njz      short loc_1401121D8                                            ; +0x101, 0x1401121b1\nmov     [rdi+37C0h], bpl                                               ; +0x103, 0x1401121b3\nmov     rdx, [rdi+30A0h]                                               ; +0x10a, 0x1401121ba\nmov     rcx, rdi                                                       ; +0x111, 0x1401121c1\ncall    GJBaseGameLayer__removeObjectFromSection                       ; +0x114, 0x1401121c4\nmov     rdx, [rdi+30A8h]                                               ; +0x119, 0x1401121c9\nmov     rcx, rdi                                                       ; +0x120, 0x1401121d0\ncall    GJBaseGameLayer__removeObjectFromSection                       ; +0x123, 0x1401121d3\ncmp     [rdi+37B8h], bpl                                               ; +0x128, 0x1401121d8\njz      short loc_1401121FD                                            ; +0x12f, 0x1401121df\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x131, 0x1401121e1\nmov     rcx, rax                                                       ; +0x137, 0x1401121e7\ncall    cs:?resetSmoothFixCounter@CCDirector@cocos2d@@QEAAXXZ; cocos2d::CCDirector::resetSmoothFixCounter(void) ; +0x13a, 0x1401121ea\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x140, 0x1401121f0\nmov     [rax+0AAh], bpl                                                ; +0x146, 0x1401121f6\nmov     dword ptr [rdi+880h], 2                                        ; +0x14d, 0x1401121fd\nmov     rcx, [rdi+0DA0h]                                               ; +0x157, 0x140112207\ncall    cs:?pauseSchedulerAndActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::pauseSchedulerAndActions(void) ; +0x15e, 0x14011220e\nmov     rcx, [rdi+0DA8h]                                               ; +0x164, 0x140112214\ncall    cs:?pauseSchedulerAndActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::pauseSchedulerAndActions(void) ; +0x16b, 0x14011221b\nmov     eax, [rdi+330h]                                                ; +0x171, 0x140112221\nmov     [rdi+3888h], eax                                               ; +0x177, 0x140112227\nmov     rax, [rdi]                                                     ; +0x17d, 0x14011222d\nmovss   xmm1, cs:flt_140622C24                                         ; +0x180, 0x140112230\nmov     rcx, rdi                                                       ; +0x188, 0x140112238\ncall    qword ptr [rax+4F0h]                                           ; +0x18b, 0x14011223b\nmov     eax, [rdi+1A8h]                                                ; +0x191, 0x140112241\nmov     [rdi+388Ch], eax                                               ; +0x197, 0x140112247\ncall    GJBaseGameLayer__pauseAudio                                    ; +0x19d, 0x14011224d\ncmp     [rdi+37B2h], bpl                                               ; +0x1a2, 0x140112252\njz      loc_140112467                                                  ; +0x1a9, 0x140112259\nmov     byte ptr [rdi+3860h], 1                                        ; +0x1af, 0x14011225f\njmp     loc_140112467                                                  ; +0x1b6, 0x140112266\ncmp     eax, 2                                                         ; +0x1bb, 0x14011226b\njnz     loc_1401123D7                                                  ; +0x1be, 0x14011226e\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1c4, 0x140112274\nmov     rdx, [rax]                                                     ; +0x1ca, 0x14011227a\nmov     rcx, rax                                                       ; +0x1cd, 0x14011227d\ncall    qword ptr [rdx+0B0h]                                           ; +0x1d0, 0x140112280\nmov     byte ptr [rax+5Ch], 1                                          ; +0x1d6, 0x140112286\nmov     rbx, [rdi+3540h]                                               ; +0x1da, 0x14011228a\nmov     qword ptr [rbx+248h], 0FFFFFFFFFFFFFFFFh                       ; +0x1e1, 0x140112291\nmov     word ptr [rbx+242h], 0                                         ; +0x1ec, 0x14011229c\nmov     [rbx+244h], bpl                                                ; +0x1f5, 0x1401122a5\nmov     rcx, rbx                                                       ; +0x1fc, 0x1401122ac\ncall    UILayer__resetUINodeState                                      ; +0x1ff, 0x1401122af\nmov     dl, 1                                                          ; +0x204, 0x1401122b4\nmov     rcx, rbx                                                       ; +0x206, 0x1401122b6\ncall    UILayer__toggleMenuVisibility                                  ; +0x209, 0x1401122b9\nmov     rax, [rbx]                                                     ; +0x20e, 0x1401122be\nmov     dl, 1                                                          ; +0x211, 0x1401122c1\nmov     rcx, rbx                                                       ; +0x213, 0x1401122c3\ncall    qword ptr [rax+140h]                                           ; +0x216, 0x1401122c6\ncall    cs:?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x21c, 0x1401122cc\nmov     byte ptr [rax+0EDh], 1                                         ; +0x222, 0x1401122d2\ncmp     [rdi+37C0h], bpl                                               ; +0x229, 0x1401122d9\njnz     short loc_14011230F                                            ; +0x230, 0x1401122e0\nmov     byte ptr [rdi+37C0h], 1                                        ; +0x232, 0x1401122e2\nmov     rax, [rdi]                                                     ; +0x239, 0x1401122e9\nmov     rdx, [rdi+30A0h]                                               ; +0x23c, 0x1401122ec\nmov     rcx, rdi                                                       ; +0x243, 0x1401122f3\ncall    qword ptr [rax+478h]                                           ; +0x246, 0x1401122f6\nmov     rax, [rdi]                                                     ; +0x24c, 0x1401122fc\nmov     rdx, [rdi+30A8h]                                               ; +0x24f, 0x1401122ff\nmov     rcx, rdi                                                       ; +0x256, 0x140112306\ncall    qword ptr [rax+478h]                                           ; +0x259, 0x140112309\ncmp     [rdi+37B8h], bpl                                               ; +0x25f, 0x14011230f\njz      short loc_140112334                                            ; +0x266, 0x140112316\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x268, 0x140112318\nmov     rcx, rax                                                       ; +0x26e, 0x14011231e\ncall    cs:?resetSmoothFixCounter@CCDirector@cocos2d@@QEAAXXZ; cocos2d::CCDirector::resetSmoothFixCounter(void) ; +0x271, 0x140112321\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x277, 0x140112327\nmov     byte ptr [rax+0AAh], 1                                         ; +0x27d, 0x14011232d\nmov     rcx, [rdi+0FE8h]                                               ; +0x284, 0x140112334\nmov     rax, [rcx]                                                     ; +0x28b, 0x14011233b\ncall    qword ptr [rax+0A8h]                                           ; +0x28e, 0x14011233e\nmovss   dword ptr [rdi+387Ch], xmm0                                    ; +0x294, 0x140112344\nmov     rcx, [rdi+0FE8h]                                               ; +0x29c, 0x14011234c\nmov     rax, [rcx]                                                     ; +0x2a3, 0x140112353\nmovss   xmm1, cs:dword_140622B74                                       ; +0x2a6, 0x140112356\nminss   xmm1, xmm0                                                     ; +0x2ae, 0x14011235e\ncall    qword ptr [rax+0A0h]                                           ; +0x2b2, 0x140112362\nmov     rax, [rdi]                                                     ; +0x2b8, 0x140112368\nmovss   xmm1, dword ptr [rdi+3888h]                                    ; +0x2bb, 0x14011236b\nmov     rcx, rdi                                                       ; +0x2c3, 0x140112373\ncall    qword ptr [rax+4F0h]                                           ; +0x2c6, 0x140112376\nmov     dword ptr [rdi+880h], 1                                        ; +0x2cc, 0x14011237c\nmov     rcx, [rdi+0DA0h]                                               ; +0x2d6, 0x140112386\ncall    cs:?resumeSchedulerAndActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::resumeSchedulerAndActions(void) ; +0x2dd, 0x14011238d\nmov     rcx, [rdi+0DA8h]                                               ; +0x2e3, 0x140112393\ncall    cs:?pauseSchedulerAndActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::pauseSchedulerAndActions(void) ; +0x2ea, 0x14011239a\nmov     eax, [rdi+388Ch]                                               ; +0x2f0, 0x1401123a0\nmov     [rdi+1A8h], eax                                                ; +0x2f6, 0x1401123a6\nmov     rcx, rdi                                                       ; +0x2fc, 0x1401123ac\ncall    LevelEditorLayer__recreateGroups                               ; +0x2ff, 0x1401123af\nmov     rcx, rdi                                                       ; +0x304, 0x1401123b4\ncall    GJBaseGameLayer__optimizeMoveGroups                            ; +0x307, 0x1401123b7\nmov     dword ptr [rdi+3850h], 1010101h                                ; +0x30c, 0x1401123bc\nmov     byte ptr [rdi+3854h], 1                                        ; +0x316, 0x1401123c6\ncall    GJBaseGameLayer__resumeAudio                                   ; +0x31d, 0x1401123cd\njmp     loc_140112467                                                  ; +0x322, 0x1401123d2\ntest    eax, eax                                                       ; +0x327, 0x1401123d7\njnz     loc_140112467                                                  ; +0x329, 0x1401123d9\nmov     rcx, [rdi+0FE8h]                                               ; +0x32f, 0x1401123df\nmov     rax, [rcx]                                                     ; +0x336, 0x1401123e6\ncall    qword ptr [rax+0A8h]                                           ; +0x339, 0x1401123e9\nmovss   dword ptr [rsi+59Ch], xmm0                                     ; +0x33f, 0x1401123ef\nmov     rcx, [rsi+500h]                                                ; +0x347, 0x1401123f7\ncall    LevelEditorLayer__onPlaytest                                   ; +0x34e, 0x1401123fe\nmov     rax, [rsi+500h]                                                ; +0x353, 0x140112403\ncmp     qword ptr [rax+3188h], 0                                       ; +0x35a, 0x14011240a\njz      short loc_140112464                                            ; +0x362, 0x140112412\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x364, 0x140112414\ntest    rcx, rcx                                                       ; +0x36b, 0x14011241b\njnz     short loc_14011244F                                            ; +0x36e, 0x14011241e\nmov     ecx, 668h; Size                                                ; +0x370, 0x140112420\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x375, 0x140112425\nmov     [rsp+38h+arg_0], rax                                           ; +0x37a, 0x14011242a\nmov     rcx, rax                                                       ; +0x37f, 0x14011242f\ncall    sub_14017AB00                                                  ; +0x382, 0x140112432\nnop                                                                    ; +0x387, 0x140112437\nmov     cs:qword_1406C2ED8, rax                                        ; +0x388, 0x140112438\nmov     rdx, [rax]                                                     ; +0x38f, 0x14011243f\nmov     rcx, rax                                                       ; +0x392, 0x140112442\ncall    qword ptr [rdx+48h]                                            ; +0x395, 0x140112445\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x398, 0x140112448\nlea     rdx, a0150; \"0150\"                                             ; +0x39f, 0x14011244f\ncall    GameManager__getGameVariable                                   ; +0x3a6, 0x140112456\ntest    al, al                                                         ; +0x3ab, 0x14011245b\njz      short loc_140112464                                            ; +0x3ad, 0x14011245d\nmov     bpl, 1                                                         ; +0x3af, 0x14011245f\njmp     short loc_140112467                                            ; +0x3b2, 0x140112462\nxor     bpl, bpl                                                       ; +0x3b4, 0x140112464\nmov     rax, [rsi+500h]                                                ; +0x3b7, 0x140112467\ncmp     dword ptr [rax+880h], 1                                        ; +0x3be, 0x14011246e\nsetnz   dl                                                             ; +0x3c5, 0x140112475\nmov     rcx, rsi                                                       ; +0x3c8, 0x140112478\ncall    EditorUI__showUI                                               ; +0x3cb, 0x14011247b\nmov     rcx, [rsi+3A0h]                                                ; +0x3d0, 0x140112480\nmov     rax, [rcx]                                                     ; +0x3d7, 0x140112487\ncall    qword ptr [rax+3A8h]                                           ; +0x3da, 0x14011248a\nmov     rdi, rax                                                       ; +0x3e0, 0x140112490\nmov     rbx, [rax]                                                     ; +0x3e3, 0x140112493\nmov     rcx, [rsi+500h]                                                ; +0x3e6, 0x140112496\ncmp     dword ptr [rcx+880h], 1                                        ; +0x3ed, 0x14011249d\njnz     short loc_1401124B5                                            ; +0x3f4, 0x1401124a4\ncall    cs:?sharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x3f6, 0x1401124a6\nlea     rdx, aGjPauseeditorb; \"GJ_pauseEditorBtn_001.png\"              ; +0x3fc, 0x1401124ac\njmp     short loc_1401124C2                                            ; +0x403, 0x1401124b3\ncall    cs:?sharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x405, 0x1401124b5\nlea     rdx, aGjPlayeditorbt; \"GJ_playEditorBtn_001.png\"               ; +0x40b, 0x1401124bb\nmov     rcx, rax                                                       ; +0x412, 0x1401124c2\ncall    cs:?spriteFrameByName@CCSpriteFrameCache@cocos2d@@QEAAPEAVCCSpriteFrame@2@PEBD@Z; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const *) ; +0x415, 0x1401124c5\nmov     rdx, rax                                                       ; +0x41b, 0x1401124cb\nmov     rcx, rdi                                                       ; +0x41e, 0x1401124ce\ncall    qword ptr [rbx+3E0h]                                           ; +0x421, 0x1401124d1\nmov     rcx, [rsi+3A8h]                                                ; +0x427, 0x1401124d7\nmov     rax, [rcx]                                                     ; +0x42e, 0x1401124de\nmov     dl, 1                                                          ; +0x431, 0x1401124e1\ncall    qword ptr [rax+140h]                                           ; +0x433, 0x1401124e3\nmov     rcx, rsi                                                       ; +0x439, 0x1401124e9\ncall    EditorUI__updatePlaybackBtn                                    ; +0x43c, 0x1401124ec\ntest    bpl, bpl                                                       ; +0x441, 0x1401124f1\njz      short loc_140112501                                            ; +0x444, 0x1401124f4\nmov     rdx, r15                                                       ; +0x446, 0x1401124f6\nmov     rcx, rsi                                                       ; +0x449, 0x1401124f9\ncall    EditorUI__onPlaytest                                           ; +0x44c, 0x1401124fc\ntest    r14b, r14b                                                     ; +0x451, 0x140112501\njz      short loc_140112514                                            ; +0x454, 0x140112504\nmov     rax, [rsi+500h]                                                ; +0x456, 0x140112506\nmov     byte ptr [rax+3766h], 1                                        ; +0x45d, 0x14011250d\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x464, 0x140112514\nmov     rbp, [rsp+38h+arg_10]                                          ; +0x469, 0x140112519\nmov     rsi, [rsp+38h+arg_18]                                          ; +0x46e, 0x14011251e\nadd     rsp, 20h                                                       ; +0x473, 0x140112523\npop     r15                                                            ; +0x477, 0x140112527\npop     r14                                                            ; +0x479, 0x140112529\npop     rdi                                                            ; +0x47b, 0x14011252b\nretn                                                                   ; +0x47c, 0x14011252c", "xrefs": ["EditorUI::onPlaytest @ 0x1401124fc", "EditorUI::keyDown @ 0x140125c82", "EditorUI::init @ 0x1400e040b", "<???> @ 0x1406c8ff4"], "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"}