{"type": "func", "start": 5371722960, "end": 5371725357, "name": "LevelEditorLayer::onPlaytest", "pseudocode": "// \n// LevelEditorLayer::onPlaytest from 0x1402dfcd0 to 0x1402e062d (2397 bytes)\n// \n// 3 xrefs:\n// > EditorUI::onPlaytest @ 0x1401123fe\n// > <???> @ 0x1406d35a8\n// > <???> @ 0x1406d35b4\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=2\nvoid LevelEditorLayer::onPlaytest(LevelEditorLayer *a1)\n{\n  __int64 v2; // rax\n  UILayer *m_uiLayer; // rbx\n  _BOOL8 v4; // rdx\n  __int64 v5; // rcx\n  cocos2d::CCDirector *v6; // rax\n  __int64 v7; // rcx\n  double v8; // xmm0_8\n  _BOOL8 v9; // rdx\n  std::_Simple_types<cocos2d::CCPoint>::value_type *Myfirst; // rax\n  std::_Vector_val<std::_Simple_types<std::vector<cocos2d::CCPoint>>>::pointer v11; // rbx\n  std::_Vector_val<std::_Simple_types<std::vector<cocos2d::CCPoint>>>::pointer Mylast; // rsi\n  std::_Simple_types<cocos2d::CCPoint>::value_type *v13; // rax\n  _BOOL8 v14; // rdx\n  StartPosObject *m_startPosObject; // rcx\n  cocos2d::CCArray *m_objects; // rax\n  cocos2d::ccArray *data; // rsi\n  __int64 num; // rax\n  GameObject **arr; // rsi\n  GameObject **i; // rbp\n  GameObject *v21; // rbx\n  _BOOL8 v22; // rdx\n  StartPosObject *v23; // r14\n  float v24; // xmm6_4\n  int m_targetOrder; // ebp\n  cocos2d::CCArray *v26; // rax\n  cocos2d::ccArray *v27; // rsi\n  __int64 v28; // rax\n  cocos2d::CCObject **v29; // rsi\n  cocos2d::CCObject **j; // r15\n  StartPosObject *v31; // rbx\n  float x; // xmm0_4\n  LevelSettingsObject *m_startSettings; // rax\n  int v34; // ecx\n  bool m_reverseGameplay; // dl\n  StartPosObject *v36; // rcx\n  cocos2d::CCArray *m_playtestTriggers; // rax\n  cocos2d::ccArray *v38; // rsi\n  __int64 v39; // rax\n  cocos2d::CCObject **v40; // rsi\n  cocos2d::CCObject **k; // rbp\n  cocos2d::CCObject *v42; // rbx\n  std::_List_val<std::_List_simple_types<std::pair<const int, std::vector<LabelGameObject *>>>>::_Nodeptr Myhead; // r14\n  _QWORD *m; // rbx\n  _QWORD *v45; // rsi\n  _QWORD *n; // rbp\n  std::_List_val<std::_List_simple_types<std::pair<const int, std::vector<LabelGameObject *>>>>::_Nodeptr v47; // r15\n  _QWORD *ii; // rbx\n  __int64 *v49; // rsi\n  __int64 *jj; // r14\n  __int64 v51; // rbp\n  const char *v52; // rdx\n  size_t v53; // r8\n  StartPosObject *v54; // rdx\n  LevelSettingsObject *m_levelSettings; // rdx\n  GameManager *v56; // rcx\n  cocos2d::CCArray *v57; // rax\n  cocos2d::ccArray *v58; // rbx\n  __int64 v59; // rax\n  cocos2d::CCObject **v60; // rbx\n  cocos2d::CCObject **kk; // rsi\n  __int64 v62; // rax\n  __int64 v63; // rax\n  const cocos2d::CCPoint *v64; // rax\n  const cocos2d::CCPoint *v65; // rax\n  GameManager *v66; // rcx\n  std::_Simple_types<SFXTriggerState>::value_type *v67; // rax\n  __int128 v68; // [rsp+40h] [rbp-68h] BYREF\n  __int64 v69; // [rsp+50h] [rbp-58h]\n  __int64 v70; // [rsp+58h] [rbp-50h]\n  cocos2d::CCPoint v71; // [rsp+B0h] [rbp+8h] BYREF\n\n  v2 = cocos2d::CCDirector::sharedDirector(a1);\n  *(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 176LL))(v2) + 92) = 1;\n  a1->m_resumeTimer = 2;\n  m_uiLayer = a1->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, 1);\n  LOBYTE(v4) = 1;\n  m_uiLayer->setVisible(m_uiLayer, v4);\n  *(_BYTE *)(cocos2d::CCEGLView::sharedOpenGLView() + 237) = 1;\n  UILayer::togglePlatformerMode(a1->m_uiLayer, a1->m_isPlatformer);\n  a1->m_gameState.m_targetCameraZoom = -1.0;\n  GJBaseGameLayer::updateZoom(a1, 1.0, 0.0, 0, 0.0, -1, -1);\n  GJBaseGameLayer::resetLevelVariables(a1);\n  a1->m_timePlayed = 0.0;\n  a1->m_gameState.m_unkBool29 = 1;\n  if ( !a1->m_collisionBlocksAdded )\n  {\n    a1->m_collisionBlocksAdded = 1;\n    a1->addToSection(a1, a1->m_player1CollisionBlock);\n    a1->addToSection(a1, a1->m_player2CollisionBlock);\n  }\n  a1->m_unk36cc = 0;\n  GJBaseGameLayer::loadLevelSettings(a1);\n  GJBaseGameLayer::updateMaxGameplayY(a1);\n  if ( a1->m_playTestSmoothFix )\n  {\n    v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5);\n    cocos2d::CCDirector::resetSmoothFixCounter(v6);\n    *(_BYTE *)(cocos2d::CCDirector::sharedDirector(v7) + 170) = 1;\n  }\n  sub_14005E0D0(&a1->m_effectManager->m_persistentItemCountMap._Traitsobj._Mypair._Myval2._Myval2);\n  GJEffectManager::reset(a1->m_effectManager);\n  LevelEditorLayer::transferDefaultColors(\n    a1,\n    a1->m_levelSettings->GJBaseGameLayer::m_effectManager,\n    a1->m_effectManager);\n  GJEffectManager::updateEffects(a1->m_effectManager, 0.0);\n  GJEffectManager::processColors(a1->m_effectManager);\n  LevelEditorLayer::updateBlendValues(a1);\n  PlayerObject::toggleVisibility(a1->m_player1, 1);\n  if ( a1->m_gameState.m_isDualMode )\n    PlayerObject::toggleVisibility(a1->m_player2, 1);\n  a1->m_trailTimer = 0.0;\n  a1->m_playtestZoom = a1->m_objectLayer->getScale(a1->m_objectLayer);\n  v8 = ((double (__fastcall *)(cocos2d::CCLayer *))a1->m_objectLayer->getScale)(a1->m_objectLayer);\n  a1->m_playtestZoom = *(float *)&v8;\n  ((void (__fastcall *)(cocos2d::CCLayer *))a1->m_objectLayer->setScale_0)(a1->m_objectLayer);\n  a1->m_gameState.m_totalTime = 0.0;\n  Myfirst = a1->m_playerPoints._Mypair._Myval2._Myfirst;\n  if ( Myfirst != a1->m_playerPoints._Mypair._Myval2._Mylast )\n    a1->m_playerPoints._Mypair._Myval2._Mylast = Myfirst;\n  v11 = a1->m_player2Points._Mypair._Myval2._Myfirst;\n  Mylast = a1->m_player2Points._Mypair._Myval2._Mylast;\n  if ( v11 != Mylast )\n  {\n    do\n      sub_14005D100((__int64)v11++);\n    while ( v11 != Mylast );\n    a1->m_player2Points._Mypair._Myval2._Mylast = a1->m_player2Points._Mypair._Myval2._Myfirst;\n  }\n  v13 = a1->m_touchPoints._Mypair._Myval2._Myfirst;\n  if ( v13 != a1->m_touchPoints._Mypair._Myval2._Mylast )\n    a1->m_touchPoints._Mypair._Myval2._Mylast = v13;\n  LOBYTE(v9) = 1;\n  a1->m_player1->setVisible(a1->m_player1, v9);\n  LOBYTE(v14) = 1;\n  a1->m_player2->setVisible(a1->m_player2, v14);\n  a1->m_playtestDeathSprite->setVisible(a1->m_playtestDeathSprite, 0);\n  m_startPosObject = a1->m_startPosObject;\n  if ( m_startPosObject )\n  {\n    cocos2d::CCObject::release(m_startPosObject);\n    a1->m_startPosObject = nullptr;\n  }\n  m_objects = a1->m_objects;\n  if ( m_objects )\n  {\n    data = m_objects->data;\n    num = data->num;\n    if ( (_DWORD)num )\n    {\n      arr = (GameObject **)data->arr;\n      for ( i = &arr[num - 1]; arr <= i; ++arr )\n      {\n        v21 = *arr;\n        if ( !*arr )\n          break;\n        v21->updateStartValues(*arr);\n        v21->resetObject(v21);\n        LOBYTE(v22) = 1;\n        v21->setObjectRectDirty(v21, v22);\n        if ( v21->getType(v21) == Slope )\n          GameObject::determineSlopeDirection(v21);\n        else\n          GameObject::updateIsOriented(v21);\n      }\n    }\n  }\n  LevelEditorLayer::updateAnimateOnTriggerObjects(a1, 0);\n  v23 = nullptr;\n  v24 = 0.0;\n  m_targetOrder = -1;\n  v26 = a1->m_objects;\n  if ( v26 )\n  {\n    v27 = v26->data;\n    v28 = v27->num;\n    if ( (_DWORD)v28 )\n    {\n      v29 = v27->arr;\n      for ( j = &v29[v28 - 1]; v29 <= j; ++v29 )\n      {\n        v31 = (StartPosObject *)*v29;\n        if ( !*v29 )\n          break;\n        if ( v31->m_objectID == 31 && !v31->m_startSettings->m_disableStartPos )\n        {\n          if ( (x = v31->getPosition_0(*v29)->x,\n                m_startSettings = v31->m_startSettings,\n                v34 = m_startSettings->m_targetOrder,\n                m_reverseGameplay = m_startSettings->m_reverseGameplay,\n                v34 > m_targetOrder)\n            || x > v24 && !m_reverseGameplay && v34 >= m_targetOrder\n            || v24 > x && m_reverseGameplay && v34 >= m_targetOrder )\n          {\n            v24 = x;\n            m_targetOrder = m_startSettings->m_targetOrder;\n            v23 = v31;\n          }\n        }\n      }\n    }\n  }\n  if ( a1->m_startPosObject != v23 )\n  {\n    if ( v23 )\n      cocos2d::CCObject::retain(v23);\n    v36 = a1->m_startPosObject;\n    if ( v36 )\n      cocos2d::CCObject::release(v36);\n    a1->m_startPosObject = v23;\n  }\n  cocos2d::CCArray::removeAllObjects(a1->m_spawnObjectsArray);\n  m_playtestTriggers = a1->m_playtestTriggers;\n  if ( m_playtestTriggers )\n  {\n    v38 = m_playtestTriggers->data;\n    v39 = v38->num;\n    if ( (_DWORD)v39 )\n    {\n      v40 = v38->arr;\n      for ( k = &v40[v39 - 1]; v40 <= k; ++v40 )\n      {\n        v42 = *v40;\n        if ( !*v40 )\n          break;\n        if ( !LOBYTE(v42[26].m_uIndexInArray) && !BYTE1(v42[26].m_uIndexInArray)\n          || ((unsigned __int8 (__fastcall *)(cocos2d::CCObject *))v42->__vftable[21].~CCObject)(*v40) )\n        {\n          cocos2d::CCArray::addObject(a1->m_spawnObjectsArray, v42);\n        }\n      }\n    }\n  }\n  GJBaseGameLayer::orderSpawnObjects(a1);\n  GJBaseGameLayer::resetSpawnChannelIndex(a1);\n  LevelEditorLayer::resetToggledGroupsAndObjects(a1);\n  GJEffectManager::resetEffects(a1->m_levelSettings->GJBaseGameLayer::m_effectManager);\n  LevelEditorLayer::recreateGroups(a1);\n  GJBaseGameLayer::updateSpecialGroupData(a1);\n  *(_DWORD *)&a1->m_triggersChanged = 16843009;\n  a1->m_spawnTriggersChanged = 1;\n  Myhead = a1->m_labelObjects._List._Mypair._Myval2._Myhead;\n  for ( m = *(_QWORD **)Myhead; m != (_QWORD *)Myhead; m = (_QWORD *)*m )\n  {\n    v45 = (_QWORD *)m[3];\n    for ( n = (_QWORD *)m[4]; v45 != n; ++v45 )\n    {\n      v68 = 0;\n      v69 = 1;\n      v70 = 15;\n      LOWORD(v68) = (unsigned __int8)a0[0];\n      LabelGameObject::updateLabel(*v45, &v68);\n    }\n  }\n  v47 = a1->m_timeLabelObjects._List._Mypair._Myval2._Myhead;\n  for ( ii = *(_QWORD **)v47; ii != (_QWORD *)v47; ii = (_QWORD *)*ii )\n  {\n    v49 = (__int64 *)ii[3];\n    for ( jj = (__int64 *)ii[4]; v49 != jj; ++v49 )\n    {\n      v51 = *v49;\n      v52 = \"0.00\";\n      if ( *(_BYTE *)(*v49 + 1912) )\n        v52 = \"0\";\n      v68 = 0;\n      v69 = 0;\n      v70 = 0;\n      v53 = -1;\n      do\n        ++v53;\n      while ( v52[v53] );\n      sub_14003A930(&v68, v52, v53);\n      LabelGameObject::updateLabel(v51, &v68);\n    }\n  }\n  GJBaseGameLayer::resetPlayer(a1);\n  a1->m_player2->setOpacity(&a1->m_player2->cocos2d::CCRGBAProtocol, 0);\n  GJBaseGameLayer::updateCamera(a1, 0.0);\n  v54 = a1->m_startPosObject;\n  if ( v54 )\n    m_levelSettings = v54->m_startSettings;\n  else\n    m_levelSettings = a1->m_levelSettings;\n  GJBaseGameLayer::setupLevelStart(a1, m_levelSettings);\n  if ( a1->m_startPosObject )\n  {\n    GJBaseGameLayer::loadStartPosObject(a1);\n    v56 = (GameManager *)qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v71 = (cocos2d::CCPoint)operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00(*(_QWORD *)&v71);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v56 = (GameManager *)qword_1406C2ED8;\n    }\n    if ( GameManager::getGameVariable(v56, \"0151\") )\n    {\n      v57 = a1->m_objects;\n      if ( v57 )\n      {\n        v58 = v57->data;\n        v59 = v58->num;\n        if ( (_DWORD)v59 )\n        {\n          v60 = v58->arr;\n          for ( kk = &v60[v59 - 1]; v60 <= kk; ++v60 )\n          {\n            if ( !*v60 )\n              break;\n            ((void (__fastcall *)(LevelEditorLayer *))a1->updateObjectSection)(a1);\n          }\n        }\n      }\n    }\n  }\n  else\n  {\n    a1->m_startingFromBeginning = 1;\n    GJBaseGameLayer::checkSpawnObjects(a1);\n  }\n  GJBaseGameLayer::syncBGTextures(a1);\n  a1->m_player1->getPosition_0(a1->m_player1);\n  cocos2d::CCPoint::CCPoint(&v71);\n  cocos2d::CCPoint::operator=(&a1->m_player1->m_position, v62);\n  if ( a1->m_gameState.m_isDualMode )\n  {\n    a1->m_player2->getPosition_0(a1->m_player2);\n    cocos2d::CCPoint::CCPoint(&v71);\n    cocos2d::CCPoint::operator=(&a1->m_player2->m_position, v63);\n  }\n  v64 = a1->m_player1->getPosition_0(a1->m_player1);\n  cocos2d::CCPoint::operator=(&a1->m_player1->m_lastPosition, v64);\n  if ( a1->m_gameState.m_isDualMode )\n  {\n    v65 = a1->m_player2->getPosition_0(a1->m_player2);\n    cocos2d::CCPoint::operator=(&a1->m_player2->m_lastPosition, v65);\n  }\n  cocos2d::CCNode::resumeSchedulerAndActions(a1->m_player1);\n  cocos2d::CCNode::resumeSchedulerAndActions(a1->m_player2);\n  a1->m_playbackMode = Playing;\n  LevelEditorLayer::updatePreviewParticles(a1);\n  a1->m_gameState.m_cameraShakeEnabled = 0;\n  a1->m_gameState.m_cameraShakeFactor = 0.0;\n  if ( a1->m_previewMode )\n    GJBaseGameLayer::updateLevelColors(a1);\n  GJBaseGameLayer::updateGradientLayers(a1);\n  GJBaseGameLayer::updateShaderLayer(a1, 0.0);\n  GJBaseGameLayer::updateCamera(a1, 0.0);\n  ((void (__fastcall *)(LevelEditorLayer *))a1->updateVisibility)(a1);\n  v66 = (GameManager *)qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v71 = (cocos2d::CCPoint)operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(*(_QWORD *)&v71);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v66 = (GameManager *)qword_1406C2ED8;\n  }\n  if ( GameManager::getGameVariable(v66, \"0002\") )\n  {\n    GJBaseGameLayer::processActivatedAudioTriggers(a1, a1->m_gameState.m_levelTime);\n    sub_140249D70(&a1->m_gameState.m_songChannelStates._Traitsobj._Mypair._Myval2._Myval2);\n    sub_140249C30(&a1->m_gameState.m_songTriggerStateVectors._Traitsobj._Mypair._Myval2._Myval2);\n    v67 = a1->m_gameState.m_sfxTriggerStates._Mypair._Myval2._Myfirst;\n    if ( v67 != a1->m_gameState.m_sfxTriggerStates._Mypair._Myval2._Mylast )\n      a1->m_gameState.m_sfxTriggerStates._Mypair._Myval2._Mylast = v67;\n    GJBaseGameLayer::processQueuedAudioTriggers(a1);\n  }\n  a1->m_skipArtReload = 0;\n  a1->m_startingFromBeginning = 0;\n}", "assembly": "; \n; LevelEditorLayer::onPlaytest from 0x1402dfcd0 to 0x1402e062d (2397 bytes)\n; \n; 3 xrefs:\n; > EditorUI::onPlaytest @ 0x1401123fe\n; > <???> @ 0x1406d35a8\n; > <???> @ 0x1406d35b4\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, 0x1402dfcd0\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x1402dfcd5\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x1402dfcda\npush    rdi                                                            ; +0xf, 0x1402dfcdf\npush    r12                                                            ; +0x10, 0x1402dfce0\npush    r13                                                            ; +0x12, 0x1402dfce2\npush    r14                                                            ; +0x14, 0x1402dfce4\npush    r15                                                            ; +0x16, 0x1402dfce6\nsub     rsp, 80h                                                       ; +0x18, 0x1402dfce8\nmovaps  [rsp+0A8h+var_38], xmm6                                        ; +0x1f, 0x1402dfcef\nmovaps  [rsp+0A8h+var_48], xmm7                                        ; +0x24, 0x1402dfcf4\nmov     rdi, rcx                                                       ; +0x29, 0x1402dfcf9\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2c, 0x1402dfcfc\nmov     rdx, [rax]                                                     ; +0x32, 0x1402dfd02\nmov     rcx, rax                                                       ; +0x35, 0x1402dfd05\ncall    qword ptr [rdx+0B0h]                                           ; +0x38, 0x1402dfd08\nmov     byte ptr [rax+5Ch], 1                                          ; +0x3e, 0x1402dfd0e\nmov     dword ptr [rdi+32A4h], 2                                       ; +0x42, 0x1402dfd12\nmov     rbx, [rdi+3540h]                                               ; +0x4c, 0x1402dfd1c\nmov     qword ptr [rbx+248h], 0FFFFFFFFFFFFFFFFh                       ; +0x53, 0x1402dfd23\nmov     word ptr [rbx+242h], 0                                         ; +0x5e, 0x1402dfd2e\nmov     byte ptr [rbx+244h], 0                                         ; +0x67, 0x1402dfd37\nmov     rcx, rbx                                                       ; +0x6e, 0x1402dfd3e\ncall    UILayer__resetUINodeState                                      ; +0x71, 0x1402dfd41\nmov     dl, 1                                                          ; +0x76, 0x1402dfd46\nmov     rcx, rbx                                                       ; +0x78, 0x1402dfd48\ncall    UILayer__toggleMenuVisibility                                  ; +0x7b, 0x1402dfd4b\nmov     rax, [rbx]                                                     ; +0x80, 0x1402dfd50\nmov     dl, 1                                                          ; +0x83, 0x1402dfd53\nmov     rcx, rbx                                                       ; +0x85, 0x1402dfd55\ncall    qword ptr [rax+140h]                                           ; +0x88, 0x1402dfd58\ncall    cs:?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x8e, 0x1402dfd5e\nmov     byte ptr [rax+0EDh], 1                                         ; +0x94, 0x1402dfd64\nmovzx   edx, byte ptr [rdi+309Eh]                                      ; +0x9b, 0x1402dfd6b\nmov     rcx, [rdi+3540h]                                               ; +0xa2, 0x1402dfd72\ncall    UILayer__togglePlatformerMode                                  ; +0xa9, 0x1402dfd79\nmov     dword ptr [rdi+1ACh], 0BF800000h                               ; +0xae, 0x1402dfd7e\nmov     [rsp+0A8h+var_78], 0FFFFFFFFh                                  ; +0xb8, 0x1402dfd88\nmov     [rsp+0A8h+var_80], 0FFFFFFFFh                                  ; +0xc0, 0x1402dfd90\nxorps   xmm7, xmm7                                                     ; +0xc8, 0x1402dfd98\nmovss   [rsp+0A8h+var_88], xmm7                                        ; +0xcb, 0x1402dfd9b\nxor     r9d, r9d                                                       ; +0xd1, 0x1402dfda1\nxorps   xmm2, xmm2                                                     ; +0xd4, 0x1402dfda4\nmovss   xmm1, cs:flt_140622C24                                         ; +0xd7, 0x1402dfda7\nmov     rcx, rdi                                                       ; +0xdf, 0x1402dfdaf\ncall    GJBaseGameLayer__updateZoom                                    ; +0xe2, 0x1402dfdb2\nmov     rcx, rdi                                                       ; +0xe7, 0x1402dfdb7\ncall    GJBaseGameLayer__resetLevelVariables                           ; +0xea, 0x1402dfdba\nxor     r12d, r12d                                                     ; +0xef, 0x1402dfdbf\nmov     [rdi+3560h], r12                                               ; +0xf2, 0x1402dfdc2\nmov     byte ptr [rdi+761h], 1                                         ; +0xf9, 0x1402dfdc9\ncmp     [rdi+37C0h], r12b                                              ; +0x100, 0x1402dfdd0\njnz     short loc_1402DFE06                                            ; +0x107, 0x1402dfdd7\nmov     byte ptr [rdi+37C0h], 1                                        ; +0x109, 0x1402dfdd9\nmov     rax, [rdi]                                                     ; +0x110, 0x1402dfde0\nmov     rdx, [rdi+30A0h]                                               ; +0x113, 0x1402dfde3\nmov     rcx, rdi                                                       ; +0x11a, 0x1402dfdea\ncall    qword ptr [rax+478h]                                           ; +0x11d, 0x1402dfded\nmov     rax, [rdi]                                                     ; +0x123, 0x1402dfdf3\nmov     rdx, [rdi+30A8h]                                               ; +0x126, 0x1402dfdf6\nmov     rcx, rdi                                                       ; +0x12d, 0x1402dfdfd\ncall    qword ptr [rax+478h]                                           ; +0x130, 0x1402dfe00\nmov     [rdi+37BCh], r12d                                              ; +0x136, 0x1402dfe06\nmov     rcx, rdi                                                       ; +0x13d, 0x1402dfe0d\ncall    GJBaseGameLayer__loadLevelSettings                             ; +0x140, 0x1402dfe10\nmov     rcx, rdi                                                       ; +0x145, 0x1402dfe15\ncall    GJBaseGameLayer__updateMaxGameplayY                            ; +0x148, 0x1402dfe18\ncmp     [rdi+37B8h], r12b                                              ; +0x14d, 0x1402dfe1d\njz      short loc_1402DFE42                                            ; +0x154, 0x1402dfe24\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x156, 0x1402dfe26\nmov     rcx, rax                                                       ; +0x15c, 0x1402dfe2c\ncall    cs:?resetSmoothFixCounter@CCDirector@cocos2d@@QEAAXXZ; cocos2d::CCDirector::resetSmoothFixCounter(void) ; +0x15f, 0x1402dfe2f\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x165, 0x1402dfe35\nmov     byte ptr [rax+0AAh], 1                                         ; +0x16b, 0x1402dfe3b\nmov     rcx, [rdi+950h]                                                ; +0x172, 0x1402dfe42\nadd     rcx, 370h                                                      ; +0x179, 0x1402dfe49\ncall    sub_14005E0D0                                                  ; +0x180, 0x1402dfe50\nmov     rcx, [rdi+950h]                                                ; +0x185, 0x1402dfe55\ncall    GJEffectManager__reset                                         ; +0x18c, 0x1402dfe5c\nmov     rax, [rdi+0DB0h]                                               ; +0x191, 0x1402dfe61\nmov     r8, [rdi+950h]                                                 ; +0x198, 0x1402dfe68\nmov     rdx, [rax+140h]                                                ; +0x19f, 0x1402dfe6f\nmov     rcx, rdi                                                       ; +0x1a6, 0x1402dfe76\ncall    LevelEditorLayer__transferDefaultColors                        ; +0x1a9, 0x1402dfe79\nxorps   xmm1, xmm1                                                     ; +0x1ae, 0x1402dfe7e\nmov     rcx, [rdi+950h]                                                ; +0x1b1, 0x1402dfe81\ncall    GJEffectManager__updateEffects                                 ; +0x1b8, 0x1402dfe88\nmov     rcx, [rdi+950h]                                                ; +0x1bd, 0x1402dfe8d\ncall    GJEffectManager__processColors                                 ; +0x1c4, 0x1402dfe94\nmov     rcx, rdi                                                       ; +0x1c9, 0x1402dfe99\ncall    LevelEditorLayer__updateBlendValues                            ; +0x1cc, 0x1402dfe9c\nmov     dl, 1                                                          ; +0x1d1, 0x1402dfea1\nmov     rcx, [rdi+0DA0h]                                               ; +0x1d3, 0x1402dfea3\ncall    PlayerObject__toggleVisibility                                 ; +0x1da, 0x1402dfeaa\ncmp     [rdi+422h], r12b                                               ; +0x1df, 0x1402dfeaf\njz      short loc_1402DFEC6                                            ; +0x1e6, 0x1402dfeb6\nmov     dl, 1                                                          ; +0x1e8, 0x1402dfeb8\nmov     rcx, [rdi+0DA8h]                                               ; +0x1ea, 0x1402dfeba\ncall    PlayerObject__toggleVisibility                                 ; +0x1f1, 0x1402dfec1\nmov     [rdi+3898h], r12d                                              ; +0x1f6, 0x1402dfec6\nmov     rcx, [rdi+0FE8h]                                               ; +0x1fd, 0x1402dfecd\nmov     rax, [rcx]                                                     ; +0x204, 0x1402dfed4\ncall    qword ptr [rax+0A8h]                                           ; +0x207, 0x1402dfed7\nmovss   dword ptr [rdi+387Ch], xmm0                                    ; +0x20d, 0x1402dfedd\nmov     rcx, [rdi+0FE8h]                                               ; +0x215, 0x1402dfee5\nmov     rax, [rcx]                                                     ; +0x21c, 0x1402dfeec\ncall    qword ptr [rax+0A8h]                                           ; +0x21f, 0x1402dfeef\nmovss   dword ptr [rdi+387Ch], xmm0                                    ; +0x225, 0x1402dfef5\nmovss   xmm1, cs:dword_140622B74                                       ; +0x22d, 0x1402dfefd\nminss   xmm1, xmm0                                                     ; +0x235, 0x1402dff05\nmov     rcx, [rdi+0FE8h]                                               ; +0x239, 0x1402dff09\nmov     rax, [rcx]                                                     ; +0x240, 0x1402dff10\ncall    qword ptr [rax+0A0h]                                           ; +0x243, 0x1402dff13\nmov     [rdi+3C8h], r12                                                ; +0x249, 0x1402dff19\nmov     rax, [rdi+3948h]                                               ; +0x250, 0x1402dff20\ncmp     rax, [rdi+3950h]                                               ; +0x257, 0x1402dff27\njz      short loc_1402DFF37                                            ; +0x25e, 0x1402dff2e\nmov     [rdi+3950h], rax                                               ; +0x260, 0x1402dff30\nmov     rbx, [rdi+3960h]                                               ; +0x267, 0x1402dff37\nmov     rsi, [rdi+3968h]                                               ; +0x26e, 0x1402dff3e\ncmp     rbx, rsi                                                       ; +0x275, 0x1402dff45\njz      short loc_1402DFF6F                                            ; +0x278, 0x1402dff48\nnop     word ptr [rax+rax+00h]                                         ; +0x27a, 0x1402dff4a\nmov     rcx, rbx                                                       ; +0x280, 0x1402dff50\ncall    sub_14005D100                                                  ; +0x283, 0x1402dff53\nadd     rbx, 18h                                                       ; +0x288, 0x1402dff58\ncmp     rbx, rsi                                                       ; +0x28c, 0x1402dff5c\njnz     short loc_1402DFF50                                            ; +0x28f, 0x1402dff5f\nmov     rax, [rdi+3960h]                                               ; +0x291, 0x1402dff61\nmov     [rdi+3968h], rax                                               ; +0x298, 0x1402dff68\nmov     rax, [rdi+3978h]                                               ; +0x29f, 0x1402dff6f\ncmp     rax, [rdi+3980h]                                               ; +0x2a6, 0x1402dff76\njz      short loc_1402DFF86                                            ; +0x2ad, 0x1402dff7d\nmov     [rdi+3980h], rax                                               ; +0x2af, 0x1402dff7f\nmov     rcx, [rdi+0DA0h]                                               ; +0x2b6, 0x1402dff86\nmov     rax, [rcx]                                                     ; +0x2bd, 0x1402dff8d\nmov     dl, 1                                                          ; +0x2c0, 0x1402dff90\ncall    qword ptr [rax+140h]                                           ; +0x2c2, 0x1402dff92\nmov     rcx, [rdi+0DA8h]                                               ; +0x2c8, 0x1402dff98\nmov     rax, [rcx]                                                     ; +0x2cf, 0x1402dff9f\nmov     dl, 1                                                          ; +0x2d2, 0x1402dffa2\ncall    qword ptr [rax+140h]                                           ; +0x2d4, 0x1402dffa4\nmov     rcx, [rdi+3890h]                                               ; +0x2da, 0x1402dffaa\nmov     rax, [rcx]                                                     ; +0x2e1, 0x1402dffb1\nxor     edx, edx                                                       ; +0x2e4, 0x1402dffb4\ncall    qword ptr [rax+140h]                                           ; +0x2e6, 0x1402dffb6\nmov     rcx, [rdi+3188h]                                               ; +0x2ec, 0x1402dffbc\ntest    rcx, rcx                                                       ; +0x2f3, 0x1402dffc3\njz      short loc_1402DFFD5                                            ; +0x2f6, 0x1402dffc6\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x2f8, 0x1402dffc8\nmov     [rdi+3188h], r12                                               ; +0x2fe, 0x1402dffce\nmov     rax, [rdi+0DB8h]                                               ; +0x305, 0x1402dffd5\ntest    rax, rax                                                       ; +0x30c, 0x1402dffdc\njz      short loc_1402E0057                                            ; +0x30f, 0x1402dffdf\nmov     rsi, [rax+38h]                                                 ; +0x311, 0x1402dffe1\nmov     eax, [rsi]                                                     ; +0x315, 0x1402dffe5\ntest    eax, eax                                                       ; +0x317, 0x1402dffe7\njz      short loc_1402E0057                                            ; +0x319, 0x1402dffe9\nmov     rsi, [rsi+10h]                                                 ; +0x31b, 0x1402dffeb\nlea     rbp, [rax-1]                                                   ; +0x31f, 0x1402dffef\nlea     rbp, [rsi+rbp*8]                                               ; +0x323, 0x1402dfff3\ncmp     rsi, rbp                                                       ; +0x327, 0x1402dfff7\nja      short loc_1402E0057                                            ; +0x32a, 0x1402dfffa\nnop     dword ptr [rax+00h]                                            ; +0x32c, 0x1402dfffc\nmov     rbx, [rsi]                                                     ; +0x330, 0x1402e0000\ntest    rbx, rbx                                                       ; +0x333, 0x1402e0003\njz      short loc_1402E0057                                            ; +0x336, 0x1402e0006\nmov     rax, [rbx]                                                     ; +0x338, 0x1402e0008\nmov     rcx, rbx                                                       ; +0x33b, 0x1402e000b\ncall    qword ptr [rax+4B8h]                                           ; +0x33e, 0x1402e000e\nmov     rax, [rbx]                                                     ; +0x344, 0x1402e0014\nmov     rcx, rbx                                                       ; +0x347, 0x1402e0017\ncall    qword ptr [rax+460h]                                           ; +0x34a, 0x1402e001a\nmov     rax, [rbx]                                                     ; +0x350, 0x1402e0020\nmov     dl, 1                                                          ; +0x353, 0x1402e0023\nmov     rcx, rbx                                                       ; +0x355, 0x1402e0025\ncall    qword ptr [rax+648h]                                           ; +0x358, 0x1402e0028\nmov     rax, [rbx]                                                     ; +0x35e, 0x1402e002e\nmov     rcx, rbx                                                       ; +0x361, 0x1402e0031\ncall    qword ptr [rax+660h]                                           ; +0x364, 0x1402e0034\nmov     rcx, rbx                                                       ; +0x36a, 0x1402e003a\ncmp     eax, 19h                                                       ; +0x36d, 0x1402e003d\njnz     short loc_1402E0049                                            ; +0x370, 0x1402e0040\ncall    GameObject__determineSlopeDirection                            ; +0x372, 0x1402e0042\njmp     short loc_1402E004E                                            ; +0x377, 0x1402e0047\ncall    GameObject__updateIsOriented                                   ; +0x379, 0x1402e0049\nadd     rsi, 8                                                         ; +0x37e, 0x1402e004e\ncmp     rsi, rbp                                                       ; +0x382, 0x1402e0052\njbe     short loc_1402E0000                                            ; +0x385, 0x1402e0055\nxor     edx, edx                                                       ; +0x387, 0x1402e0057\nmov     rcx, rdi                                                       ; +0x389, 0x1402e0059\ncall    LevelEditorLayer__updateAnimateOnTriggerObjects                ; +0x38c, 0x1402e005c\nmov     r14, r12                                                       ; +0x391, 0x1402e0061\nmovaps  xmm6, xmm7                                                     ; +0x394, 0x1402e0064\nmov     ebp, 0FFFFFFFFh                                                ; +0x397, 0x1402e0067\nmov     rax, [rdi+0DB8h]                                               ; +0x39c, 0x1402e006c\ntest    rax, rax                                                       ; +0x3a3, 0x1402e0073\njz      loc_1402E0114                                                  ; +0x3a6, 0x1402e0076\nmov     rsi, [rax+38h]                                                 ; +0x3ac, 0x1402e007c\nmov     eax, [rsi]                                                     ; +0x3b0, 0x1402e0080\ntest    eax, eax                                                       ; +0x3b2, 0x1402e0082\njz      loc_1402E0114                                                  ; +0x3b4, 0x1402e0084\nmov     rsi, [rsi+10h]                                                 ; +0x3ba, 0x1402e008a\nlea     r15, [rax-1]                                                   ; +0x3be, 0x1402e008e\nlea     r15, [rsi+r15*8]                                               ; +0x3c2, 0x1402e0092\ncmp     rsi, r15                                                       ; +0x3c6, 0x1402e0096\nja      short loc_1402E0114                                            ; +0x3c9, 0x1402e0099\nnop     dword ptr [rax+rax+00h]                                        ; +0x3cb, 0x1402e009b\nmov     rbx, [rsi]                                                     ; +0x3d0, 0x1402e00a0\ntest    rbx, rbx                                                       ; +0x3d3, 0x1402e00a3\njz      short loc_1402E0114                                            ; +0x3d6, 0x1402e00a6\ncmp     dword ptr [rbx+40Ch], 1Fh                                      ; +0x3d8, 0x1402e00a8\njnz     short loc_1402E010B                                            ; +0x3df, 0x1402e00af\nmov     rax, [rbx+740h]                                                ; +0x3e1, 0x1402e00b1\ncmp     [rax+173h], r12b                                               ; +0x3e8, 0x1402e00b8\njnz     short loc_1402E010B                                            ; +0x3ef, 0x1402e00bf\nmov     rax, [rbx]                                                     ; +0x3f1, 0x1402e00c1\nmov     rcx, rbx                                                       ; +0x3f4, 0x1402e00c4\ncall    qword ptr [rax+0C8h]                                           ; +0x3f7, 0x1402e00c7\nmovss   xmm0, dword ptr [rax]                                          ; +0x3fd, 0x1402e00cd\nmov     rax, [rbx+740h]                                                ; +0x401, 0x1402e00d1\nmov     ecx, [rax+174h]                                                ; +0x408, 0x1402e00d8\nmovzx   edx, byte ptr [rax+172h]                                       ; +0x40e, 0x1402e00de\ncmp     ecx, ebp                                                       ; +0x415, 0x1402e00e5\njg      short loc_1402E0103                                            ; +0x417, 0x1402e00e7\ncomiss  xmm0, xmm6                                                     ; +0x419, 0x1402e00e9\njbe     short loc_1402E00F6                                            ; +0x41c, 0x1402e00ec\ntest    dl, dl                                                         ; +0x41e, 0x1402e00ee\njnz     short loc_1402E00F6                                            ; +0x420, 0x1402e00f0\ncmp     ecx, ebp                                                       ; +0x422, 0x1402e00f2\njge     short loc_1402E0103                                            ; +0x424, 0x1402e00f4\ncomiss  xmm6, xmm0                                                     ; +0x426, 0x1402e00f6\njbe     short loc_1402E010B                                            ; +0x429, 0x1402e00f9\ntest    dl, dl                                                         ; +0x42b, 0x1402e00fb\njz      short loc_1402E010B                                            ; +0x42d, 0x1402e00fd\ncmp     ecx, ebp                                                       ; +0x42f, 0x1402e00ff\njl      short loc_1402E010B                                            ; +0x431, 0x1402e0101\nmovaps  xmm6, xmm0                                                     ; +0x433, 0x1402e0103\nmov     ebp, ecx                                                       ; +0x436, 0x1402e0106\nmov     r14, rbx                                                       ; +0x438, 0x1402e0108\nadd     rsi, 8                                                         ; +0x43b, 0x1402e010b\ncmp     rsi, r15                                                       ; +0x43f, 0x1402e010f\njbe     short loc_1402E00A0                                            ; +0x442, 0x1402e0112\ncmp     [rdi+3188h], r14                                               ; +0x444, 0x1402e0114\njz      short loc_1402E0144                                            ; +0x44b, 0x1402e011b\ntest    r14, r14                                                       ; +0x44d, 0x1402e011d\njz      short loc_1402E012B                                            ; +0x450, 0x1402e0120\nmov     rcx, r14                                                       ; +0x452, 0x1402e0122\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x455, 0x1402e0125\nmov     rcx, [rdi+3188h]                                               ; +0x45b, 0x1402e012b\ntest    rcx, rcx                                                       ; +0x462, 0x1402e0132\njz      short loc_1402E013D                                            ; +0x465, 0x1402e0135\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x467, 0x1402e0137\nmov     [rdi+3188h], r14                                               ; +0x46d, 0x1402e013d\nmov     rcx, [rdi+0DC8h]                                               ; +0x474, 0x1402e0144\ncall    cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x47b, 0x1402e014b\nmov     rax, [rdi+3818h]                                               ; +0x481, 0x1402e0151\ntest    rax, rax                                                       ; +0x488, 0x1402e0158\njz      short loc_1402E01BB                                            ; +0x48b, 0x1402e015b\nmov     rsi, [rax+38h]                                                 ; +0x48d, 0x1402e015d\nmov     eax, [rsi]                                                     ; +0x491, 0x1402e0161\ntest    eax, eax                                                       ; +0x493, 0x1402e0163\njz      short loc_1402E01BB                                            ; +0x495, 0x1402e0165\nmov     rsi, [rsi+10h]                                                 ; +0x497, 0x1402e0167\nlea     rbp, [rax-1]                                                   ; +0x49b, 0x1402e016b\nlea     rbp, [rsi+rbp*8]                                               ; +0x49f, 0x1402e016f\ncmp     rsi, rbp                                                       ; +0x4a3, 0x1402e0173\nja      short loc_1402E01BB                                            ; +0x4a6, 0x1402e0176\nmov     rbx, [rsi]                                                     ; +0x4a8, 0x1402e0178\ntest    rbx, rbx                                                       ; +0x4ab, 0x1402e017b\njz      short loc_1402E01BB                                            ; +0x4ae, 0x1402e017e\ncmp     [rbx+5D0h], r12b                                               ; +0x4b0, 0x1402e0180\njnz     short loc_1402E0192                                            ; +0x4b7, 0x1402e0187\ncmp     [rbx+5D1h], r12b                                               ; +0x4b9, 0x1402e0189\njz      short loc_1402E01A2                                            ; +0x4c0, 0x1402e0190\nmov     rax, [rbx]                                                     ; +0x4c2, 0x1402e0192\nmov     rcx, rbx                                                       ; +0x4c5, 0x1402e0195\ncall    qword ptr [rax+5F0h]                                           ; +0x4c8, 0x1402e0198\ntest    al, al                                                         ; +0x4ce, 0x1402e019e\njz      short loc_1402E01B2                                            ; +0x4d0, 0x1402e01a0\nmov     rdx, rbx                                                       ; +0x4d2, 0x1402e01a2\nmov     rcx, [rdi+0DC8h]                                               ; +0x4d5, 0x1402e01a5\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x4dc, 0x1402e01ac\nadd     rsi, 8                                                         ; +0x4e2, 0x1402e01b2\ncmp     rsi, rbp                                                       ; +0x4e6, 0x1402e01b6\njbe     short loc_1402E0178                                            ; +0x4e9, 0x1402e01b9\nmov     rcx, rdi                                                       ; +0x4eb, 0x1402e01bb\ncall    GJBaseGameLayer__orderSpawnObjects                             ; +0x4ee, 0x1402e01be\nmov     rcx, rdi                                                       ; +0x4f3, 0x1402e01c3\ncall    GJBaseGameLayer__resetSpawnChannelIndex                        ; +0x4f6, 0x1402e01c6\nmov     rcx, rdi                                                       ; +0x4fb, 0x1402e01cb\ncall    LevelEditorLayer__resetToggledGroupsAndObjects                 ; +0x4fe, 0x1402e01ce\nmov     rcx, [rdi+0DB0h]                                               ; +0x503, 0x1402e01d3\nmov     rcx, [rcx+140h]                                                ; +0x50a, 0x1402e01da\ncall    GJEffectManager__resetEffects                                  ; +0x511, 0x1402e01e1\nmov     rcx, rdi                                                       ; +0x516, 0x1402e01e6\ncall    LevelEditorLayer__recreateGroups                               ; +0x519, 0x1402e01e9\nmov     rcx, rdi                                                       ; +0x51e, 0x1402e01ee\ncall    GJBaseGameLayer__updateSpecialGroupData                        ; +0x521, 0x1402e01f1\nmov     dword ptr [rdi+3850h], 1010101h                                ; +0x526, 0x1402e01f6\nmov     byte ptr [rdi+3854h], 1                                        ; +0x530, 0x1402e0200\nmov     r14, [rdi+1040h]                                               ; +0x537, 0x1402e0207\nmov     rbx, [r14]                                                     ; +0x53e, 0x1402e020e\ncmp     rbx, r14                                                       ; +0x541, 0x1402e0211\njz      short loc_1402E027B                                            ; +0x544, 0x1402e0214\nnop     word ptr [rax+rax+00000000h]                                   ; +0x546, 0x1402e0216\nmov     rsi, [rbx+18h]                                                 ; +0x550, 0x1402e0220\nmov     rbp, [rbx+20h]                                                 ; +0x554, 0x1402e0224\ncmp     rsi, rbp                                                       ; +0x558, 0x1402e0228\njz      short loc_1402E0270                                            ; +0x55b, 0x1402e022b\nnop     dword ptr [rax]                                                ; +0x55d, 0x1402e022d\nxorps   xmm0, xmm0                                                     ; +0x560, 0x1402e0230\nmovups  [rsp+0A8h+var_68], xmm0                                        ; +0x563, 0x1402e0233\nmov     [rsp+0A8h+var_58], 1                                           ; +0x568, 0x1402e0238\nmov     [rsp+0A8h+var_50], 0Fh                                         ; +0x571, 0x1402e0241\nmovzx   eax, word ptr cs:a0; \"0\"                                       ; +0x57a, 0x1402e024a\nmov     byte ptr [rsp+0A8h+var_68], al                                 ; +0x581, 0x1402e0251\nmov     byte ptr [rsp+0A8h+var_68+1], r12b                             ; +0x585, 0x1402e0255\nlea     rdx, [rsp+0A8h+var_68]                                         ; +0x58a, 0x1402e025a\nmov     rcx, [rsi]                                                     ; +0x58f, 0x1402e025f\ncall    LabelGameObject__updateLabel                                   ; +0x592, 0x1402e0262\nadd     rsi, 8                                                         ; +0x597, 0x1402e0267\ncmp     rsi, rbp                                                       ; +0x59b, 0x1402e026b\njnz     short loc_1402E0230                                            ; +0x59e, 0x1402e026e\nmov     rax, [rbx]                                                     ; +0x5a0, 0x1402e0270\nmov     rbx, rax                                                       ; +0x5a3, 0x1402e0273\ncmp     rax, r14                                                       ; +0x5a6, 0x1402e0276\njnz     short loc_1402E0220                                            ; +0x5a9, 0x1402e0279\nmov     r15, [rdi+1080h]                                               ; +0x5ab, 0x1402e027b\nmov     rbx, [r15]                                                     ; +0x5b2, 0x1402e0282\ncmp     rbx, r15                                                       ; +0x5b5, 0x1402e0285\njz      short loc_1402E0304                                            ; +0x5b8, 0x1402e0288\nlea     r13, a0; \"0\"                                                   ; +0x5ba, 0x1402e028a\nmov     rsi, [rbx+18h]                                                 ; +0x5c1, 0x1402e0291\nmov     r14, [rbx+20h]                                                 ; +0x5c5, 0x1402e0295\ncmp     rsi, r14                                                       ; +0x5c9, 0x1402e0299\njz      short loc_1402E02F9                                            ; +0x5cc, 0x1402e029c\nxchg    ax, ax                                                         ; +0x5ce, 0x1402e029e\nmov     rbp, [rsi]                                                     ; +0x5d0, 0x1402e02a0\nlea     rdx, a000; \"0.00\"                                              ; +0x5d3, 0x1402e02a3\ncmp     [rbp+778h], r12b                                               ; +0x5da, 0x1402e02aa\ncmovnz  rdx, r13                                                       ; +0x5e1, 0x1402e02b1\nxorps   xmm0, xmm0                                                     ; +0x5e5, 0x1402e02b5\nmovups  [rsp+0A8h+var_68], xmm0                                        ; +0x5e8, 0x1402e02b8\nmov     [rsp+0A8h+var_58], r12                                         ; +0x5ed, 0x1402e02bd\nmov     [rsp+0A8h+var_50], r12                                         ; +0x5f2, 0x1402e02c2\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x5f7, 0x1402e02c7\nxchg    ax, ax                                                         ; +0x5fe, 0x1402e02ce\ninc     r8                                                             ; +0x600, 0x1402e02d0\ncmp     [rdx+r8], r12b                                                 ; +0x603, 0x1402e02d3\njnz     short loc_1402E02D0                                            ; +0x607, 0x1402e02d7\nlea     rcx, [rsp+0A8h+var_68]                                         ; +0x609, 0x1402e02d9\ncall    sub_14003A930                                                  ; +0x60e, 0x1402e02de\nlea     rdx, [rsp+0A8h+var_68]                                         ; +0x613, 0x1402e02e3\nmov     rcx, rbp                                                       ; +0x618, 0x1402e02e8\ncall    LabelGameObject__updateLabel                                   ; +0x61b, 0x1402e02eb\nadd     rsi, 8                                                         ; +0x620, 0x1402e02f0\ncmp     rsi, r14                                                       ; +0x624, 0x1402e02f4\njnz     short loc_1402E02A0                                            ; +0x627, 0x1402e02f7\nmov     rax, [rbx]                                                     ; +0x629, 0x1402e02f9\nmov     rbx, rax                                                       ; +0x62c, 0x1402e02fc\ncmp     rax, r15                                                       ; +0x62f, 0x1402e02ff\njnz     short loc_1402E0291                                            ; +0x632, 0x1402e0302\nmov     rcx, rdi                                                       ; +0x634, 0x1402e0304\ncall    GJBaseGameLayer__resetPlayer                                   ; +0x637, 0x1402e0307\nmov     rcx, [rdi+0DA8h]                                               ; +0x63c, 0x1402e030c\nadd     rcx, 140h                                                      ; +0x643, 0x1402e0313\nmov     rax, [rcx]                                                     ; +0x64a, 0x1402e031a\nxor     edx, edx                                                       ; +0x64d, 0x1402e031d\ncall    qword ptr [rax+28h]                                            ; +0x64f, 0x1402e031f\nmovaps  xmm1, xmm7                                                     ; +0x652, 0x1402e0322\nmov     rcx, rdi                                                       ; +0x655, 0x1402e0325\ncall    GJBaseGameLayer__updateCamera                                  ; +0x658, 0x1402e0328\nmov     rdx, [rdi+3188h]                                               ; +0x65d, 0x1402e032d\ntest    rdx, rdx                                                       ; +0x664, 0x1402e0334\njz      short loc_1402E0342                                            ; +0x667, 0x1402e0337\nmov     rdx, [rdx+740h]                                                ; +0x669, 0x1402e0339\njmp     short loc_1402E0349                                            ; +0x670, 0x1402e0340\nmov     rdx, [rdi+0DB0h]                                               ; +0x672, 0x1402e0342\nmov     rcx, rdi                                                       ; +0x679, 0x1402e0349\ncall    GJBaseGameLayer__setupLevelStart                               ; +0x67c, 0x1402e034c\nmov     rcx, rdi                                                       ; +0x681, 0x1402e0351\ncmp     [rdi+3188h], r12                                               ; +0x684, 0x1402e0354\njz      loc_1402E03FF                                                  ; +0x68b, 0x1402e035b\ncall    GJBaseGameLayer__loadStartPosObject                            ; +0x691, 0x1402e0361\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x696, 0x1402e0366\ntest    rcx, rcx                                                       ; +0x69d, 0x1402e036d\njnz     short loc_1402E03A4                                            ; +0x6a0, 0x1402e0370\nmov     ecx, 668h; Size                                                ; +0x6a2, 0x1402e0372\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x6a7, 0x1402e0377\nmov     [rsp+0A8h+arg_0], rax                                          ; +0x6ac, 0x1402e037c\nmov     rcx, rax                                                       ; +0x6b4, 0x1402e0384\ncall    sub_14017AB00                                                  ; +0x6b7, 0x1402e0387\nnop                                                                    ; +0x6bc, 0x1402e038c\nmov     cs:qword_1406C2ED8, rax                                        ; +0x6bd, 0x1402e038d\nmov     rdx, [rax]                                                     ; +0x6c4, 0x1402e0394\nmov     rcx, rax                                                       ; +0x6c7, 0x1402e0397\ncall    qword ptr [rdx+48h]                                            ; +0x6ca, 0x1402e039a\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x6cd, 0x1402e039d\nlea     rdx, a0151; \"0151\"                                             ; +0x6d4, 0x1402e03a4\ncall    GameManager__getGameVariable                                   ; +0x6db, 0x1402e03ab\ntest    al, al                                                         ; +0x6e0, 0x1402e03b0\njz      short loc_1402E040B                                            ; +0x6e2, 0x1402e03b2\nmov     rax, [rdi+0DB8h]                                               ; +0x6e4, 0x1402e03b4\ntest    rax, rax                                                       ; +0x6eb, 0x1402e03bb\njz      short loc_1402E040B                                            ; +0x6ee, 0x1402e03be\nmov     rbx, [rax+38h]                                                 ; +0x6f0, 0x1402e03c0\nmov     eax, [rbx]                                                     ; +0x6f4, 0x1402e03c4\ntest    eax, eax                                                       ; +0x6f6, 0x1402e03c6\njz      short loc_1402E040B                                            ; +0x6f8, 0x1402e03c8\nmov     rbx, [rbx+10h]                                                 ; +0x6fa, 0x1402e03ca\nlea     rsi, [rax-1]                                                   ; +0x6fe, 0x1402e03ce\nlea     rsi, [rbx+rsi*8]                                               ; +0x702, 0x1402e03d2\ncmp     rbx, rsi                                                       ; +0x706, 0x1402e03d6\nja      short loc_1402E040B                                            ; +0x709, 0x1402e03d9\nnop     dword ptr [rax+rax+00h]                                        ; +0x70b, 0x1402e03db\nmov     rdx, [rbx]                                                     ; +0x710, 0x1402e03e0\ntest    rdx, rdx                                                       ; +0x713, 0x1402e03e3\njz      short loc_1402E040B                                            ; +0x716, 0x1402e03e6\nmov     rax, [rdi]                                                     ; +0x718, 0x1402e03e8\nmov     rcx, rdi                                                       ; +0x71b, 0x1402e03eb\ncall    qword ptr [rax+490h]                                           ; +0x71e, 0x1402e03ee\nadd     rbx, 8                                                         ; +0x724, 0x1402e03f4\ncmp     rbx, rsi                                                       ; +0x728, 0x1402e03f8\njbe     short loc_1402E03E0                                            ; +0x72b, 0x1402e03fb\njmp     short loc_1402E040B                                            ; +0x72d, 0x1402e03fd\nmov     byte ptr [rdi+88Ah], 1                                         ; +0x72f, 0x1402e03ff\ncall    GJBaseGameLayer__checkSpawnObjects                             ; +0x736, 0x1402e0406\nmov     rcx, rdi                                                       ; +0x73b, 0x1402e040b\ncall    GJBaseGameLayer__syncBGTextures                                ; +0x73e, 0x1402e040e\nmov     rcx, [rdi+0DA0h]                                               ; +0x743, 0x1402e0413\nmov     rax, [rcx]                                                     ; +0x74a, 0x1402e041a\ncall    qword ptr [rax+0C8h]                                           ; +0x74d, 0x1402e041d\nmov     rdx, rax                                                       ; +0x753, 0x1402e0423\nlea     rcx, [rsp+0A8h+arg_0]                                          ; +0x756, 0x1402e0426\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x75e, 0x1402e042e\nmov     rcx, [rdi+0DA0h]                                               ; +0x764, 0x1402e0434\nadd     rcx, 0A90h                                                     ; +0x76b, 0x1402e043b\nmov     rdx, rax                                                       ; +0x772, 0x1402e0442\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x775, 0x1402e0445\ncmp     byte ptr [rdi+422h], 0                                         ; +0x77b, 0x1402e044b\njz      short loc_1402E048C                                            ; +0x782, 0x1402e0452\nmov     rcx, [rdi+0DA8h]                                               ; +0x784, 0x1402e0454\nmov     rax, [rcx]                                                     ; +0x78b, 0x1402e045b\ncall    qword ptr [rax+0C8h]                                           ; +0x78e, 0x1402e045e\nmov     rdx, rax                                                       ; +0x794, 0x1402e0464\nlea     rcx, [rsp+0A8h+arg_0]                                          ; +0x797, 0x1402e0467\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x79f, 0x1402e046f\nmov     rcx, [rdi+0DA8h]                                               ; +0x7a5, 0x1402e0475\nadd     rcx, 0A90h                                                     ; +0x7ac, 0x1402e047c\nmov     rdx, rax                                                       ; +0x7b3, 0x1402e0483\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x7b6, 0x1402e0486\nmov     rcx, [rdi+0DA0h]                                               ; +0x7bc, 0x1402e048c\nmov     rax, [rcx]                                                     ; +0x7c3, 0x1402e0493\ncall    qword ptr [rax+0C8h]                                           ; +0x7c6, 0x1402e0496\nmov     rcx, [rdi+0DA0h]                                               ; +0x7cc, 0x1402e049c\nadd     rcx, 4D0h                                                      ; +0x7d3, 0x1402e04a3\nmov     rdx, rax                                                       ; +0x7da, 0x1402e04aa\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x7dd, 0x1402e04ad\ncmp     byte ptr [rdi+422h], 0                                         ; +0x7e3, 0x1402e04b3\njz      short loc_1402E04E3                                            ; +0x7ea, 0x1402e04ba\nmov     rcx, [rdi+0DA8h]                                               ; +0x7ec, 0x1402e04bc\nmov     rax, [rcx]                                                     ; +0x7f3, 0x1402e04c3\ncall    qword ptr [rax+0C8h]                                           ; +0x7f6, 0x1402e04c6\nmov     rcx, [rdi+0DA8h]                                               ; +0x7fc, 0x1402e04cc\nadd     rcx, 4D0h                                                      ; +0x803, 0x1402e04d3\nmov     rdx, rax                                                       ; +0x80a, 0x1402e04da\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x80d, 0x1402e04dd\nmov     rcx, [rdi+0DA0h]                                               ; +0x813, 0x1402e04e3\ncall    cs:?resumeSchedulerAndActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::resumeSchedulerAndActions(void) ; +0x81a, 0x1402e04ea\nmov     rcx, [rdi+0DA8h]                                               ; +0x820, 0x1402e04f0\ncall    cs:?resumeSchedulerAndActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::resumeSchedulerAndActions(void) ; +0x827, 0x1402e04f7\nmov     dword ptr [rdi+880h], 1                                        ; +0x82d, 0x1402e04fd\nmov     rcx, rdi                                                       ; +0x837, 0x1402e0507\ncall    LevelEditorLayer__updatePreviewParticles                       ; +0x83a, 0x1402e050a\nmov     byte ptr [rdi+51Dh], 0                                         ; +0x83f, 0x1402e050f\nmov     [rdi+520h], r12d                                               ; +0x846, 0x1402e0516\ncmp     byte ptr [rdi+38D1h], 0                                        ; +0x84d, 0x1402e051d\njz      short loc_1402E052E                                            ; +0x854, 0x1402e0524\nmov     rcx, rdi                                                       ; +0x856, 0x1402e0526\ncall    GJBaseGameLayer__updateLevelColors                             ; +0x859, 0x1402e0529\nmov     rcx, rdi                                                       ; +0x85e, 0x1402e052e\ncall    GJBaseGameLayer__updateGradientLayers                          ; +0x861, 0x1402e0531\nmovaps  xmm1, xmm7                                                     ; +0x866, 0x1402e0536\nmov     rcx, rdi                                                       ; +0x869, 0x1402e0539\ncall    GJBaseGameLayer__updateShaderLayer                             ; +0x86c, 0x1402e053c\nmovaps  xmm1, xmm7                                                     ; +0x871, 0x1402e0541\nmov     rcx, rdi                                                       ; +0x874, 0x1402e0544\ncall    GJBaseGameLayer__updateCamera                                  ; +0x877, 0x1402e0547\nmov     rax, [rdi]                                                     ; +0x87c, 0x1402e054c\nmovaps  xmm1, xmm7                                                     ; +0x87f, 0x1402e054f\nmov     rcx, rdi                                                       ; +0x882, 0x1402e0552\ncall    qword ptr [rax+420h]                                           ; +0x885, 0x1402e0555\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x88b, 0x1402e055b\ntest    rcx, rcx                                                       ; +0x892, 0x1402e0562\njnz     short loc_1402E0599                                            ; +0x895, 0x1402e0565\nmov     ecx, 668h; Size                                                ; +0x897, 0x1402e0567\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x89c, 0x1402e056c\nmov     [rsp+0A8h+arg_0], rax                                          ; +0x8a1, 0x1402e0571\nmov     rcx, rax                                                       ; +0x8a9, 0x1402e0579\ncall    sub_14017AB00                                                  ; +0x8ac, 0x1402e057c\nnop                                                                    ; +0x8b1, 0x1402e0581\nmov     cs:qword_1406C2ED8, rax                                        ; +0x8b2, 0x1402e0582\nmov     rdx, [rax]                                                     ; +0x8b9, 0x1402e0589\nmov     rcx, rax                                                       ; +0x8bc, 0x1402e058c\ncall    qword ptr [rdx+48h]                                            ; +0x8bf, 0x1402e058f\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x8c2, 0x1402e0592\nlea     rdx, a0002; \"0002\"                                             ; +0x8c9, 0x1402e0599\ncall    GameManager__getGameVariable                                   ; +0x8d0, 0x1402e05a0\ntest    al, al                                                         ; +0x8d5, 0x1402e05a5\njz      short loc_1402E05F4                                            ; +0x8d7, 0x1402e05a7\nmovsd   xmm1, qword ptr [rdi+3D0h]                                     ; +0x8d9, 0x1402e05a9\ncvtpd2ps xmm1, xmm1                                                    ; +0x8e1, 0x1402e05b1\nmov     rcx, rdi                                                       ; +0x8e5, 0x1402e05b5\ncall    GJBaseGameLayer__processActivatedAudioTriggers                 ; +0x8e8, 0x1402e05b8\nlea     rcx, [rdi+7B8h]                                                ; +0x8ed, 0x1402e05bd\ncall    sub_140249D70                                                  ; +0x8f4, 0x1402e05c4\nlea     rcx, [rdi+7F8h]                                                ; +0x8f9, 0x1402e05c9\ncall    sub_140249C30                                                  ; +0x900, 0x1402e05d0\nmov     rax, [rdi+838h]                                                ; +0x905, 0x1402e05d5\ncmp     rax, [rdi+840h]                                                ; +0x90c, 0x1402e05dc\njz      short loc_1402E05EC                                            ; +0x913, 0x1402e05e3\nmov     [rdi+840h], rax                                                ; +0x915, 0x1402e05e5\nmov     rcx, rdi                                                       ; +0x91c, 0x1402e05ec\ncall    GJBaseGameLayer__processQueuedAudioTriggers                    ; +0x91f, 0x1402e05ef\nmov     byte ptr [rdi+3225h], 0                                        ; +0x924, 0x1402e05f4\nmov     byte ptr [rdi+88Ah], 0                                         ; +0x92b, 0x1402e05fb\nlea     r11, [rsp+0A8h+var_28]                                         ; +0x932, 0x1402e0602\nmov     rbx, [r11+38h]                                                 ; +0x93a, 0x1402e060a\nmov     rbp, [r11+40h]                                                 ; +0x93e, 0x1402e060e\nmov     rsi, [r11+48h]                                                 ; +0x942, 0x1402e0612\nmovaps  xmm6, [rsp+0A8h+var_38]                                        ; +0x946, 0x1402e0616\nmovaps  xmm7, [rsp+0A8h+var_48]                                        ; +0x94b, 0x1402e061b\nmov     rsp, r11                                                       ; +0x950, 0x1402e0620\npop     r15                                                            ; +0x953, 0x1402e0623\npop     r14                                                            ; +0x955, 0x1402e0625\npop     r13                                                            ; +0x957, 0x1402e0627\npop     r12                                                            ; +0x959, 0x1402e0629\npop     rdi                                                            ; +0x95b, 0x1402e062b\nretn                                                                   ; +0x95c, 0x1402e062c", "xrefs": ["EditorUI::onPlaytest @ 0x1401123fe", "<???> @ 0x1406d35a8", "<???> @ 0x1406d35b4"], "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"}