{"type": "func", "start": 5371048000, "end": 5371050711, "name": "GJBaseGameLayer::resetLevelVariables", "pseudocode": "// \n// GJBaseGameLayer::resetLevelVariables from 0x14023b040 to 0x14023bad7 (2711 bytes)\n// \n// 4 xrefs:\n// > LevelEditorLayer::onPlaytest @ 0x1402dfdba\n// > LevelEditorLayer::onStopPlaytest @ 0x1402e0863\n// > PlayLayer::resetLevel @ 0x1403b9059\n// > <???> @ 0x1406ce25c\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=3\nvoid GJBaseGameLayer::resetLevelVariables(GJBaseGameLayer *a1)\n{\n  float v1; // xmm0_4\n  LevelSettingsObject *m_levelSettings; // rdx\n  std::_Tree_val<std::_Tree_simple_types<std::pair<const std::pair<GJGameEvent, int>, std::vector<EventTriggerInstance>>>>::_Nodeptr Myhead; // rbx\n  __int64 v5; // rcx\n  FMODAudioEngine *v6; // rcx\n  __int64 v7; // rdx\n  std::_Simple_types<SFXTriggerGameObject *>::value_type *Myfirst; // rax\n  std::_Simple_types<SFXTriggerState>::value_type *v9; // rax\n  unsigned int v10; // edi\n  struct cocos2d::CCObject *v11; // rbx\n  LevelSettingsObject *v12; // rax\n  LevelSettingsObject *v13; // rcx\n  GJGameLevel *m_level; // rdx\n  bool *p_m_isPlatformer; // rbx\n  bool v16; // cl\n  bool v17; // cl\n  std::_Simple_types<PlayerButtonCommand>::value_type *v18; // rax\n  ShaderLayer *m_shaderLayer; // rcx\n  std::_Simple_types<AdvancedFollowInstance>::value_type *v20; // rax\n  std::_Simple_types<DynamicObjectAction>::value_type *v21; // rax\n  std::_Simple_types<DynamicObjectAction>::value_type *v22; // rax\n  std::_Vector_val<std::_Simple_types<EnterEffectInstance>>::pointer v23; // rbx\n  std::_Vector_val<std::_Simple_types<EnterEffectInstance>>::pointer Mylast; // rdi\n  std::unordered_map<int, GJValueTween> *p_m_tweenActions; // rdi\n  cocos2d::CCSprite *m_background; // rcx\n  cocos2d::CCSprite_vtbl *v27; // rbx\n  float *v28; // rax\n  const cocos2d::CCPoint *v29; // rax\n  double v30; // xmm0_8\n  PlayerObject *m_player1; // rbx\n  PlayerObject *m_player2; // rbx\n  _BOOL8 v33; // rdx\n  GJGroundLayer *m_groundLayer; // rcx\n  GJGroundLayer *m_groundLayer2; // rcx\n  __int64 v36; // rcx\n  cocos2d::CCDirector *v37; // rax\n  const cocos2d::CCPoint *v38; // rax\n  __int64 m_leftSectionIndex; // rdx\n  __int64 v40; // r12\n  __int64 v41; // rax\n  std::_Simple_types<std::vector<std::vector<GameObject *> *, std::allocator<std::vector<GameObject *> *>> *>::value_type v42; // rcx\n  __int64 v43; // rax\n  int m_bottomSectionIndex; // r15d\n  __int64 v45; // r14\n  __int64 v46; // r13\n  std::_Simple_types<std::vector<GameObject *> *>::value_type v47; // rdi\n  __int64 v48; // rbx\n  __int64 v49; // rbp\n  __int64 v50; // [rsp+70h] [rbp+8h] BYREF\n  float v51; // [rsp+7Ch] [rbp+14h]\n  __int64 v52; // [rsp+80h] [rbp+18h]\n\n  a1->m_gameState.m_pauseCounter = 0;\n  m_levelSettings = a1->m_levelSettings;\n  a1->m_gameState.m_background = m_levelSettings->m_backgroundIndex;\n  a1->m_gameState.m_ground = m_levelSettings->m_groundIndex;\n  a1->m_gameState.m_middleground = m_levelSettings->m_middleGroundIndex;\n  a1->m_gameState.m_unkBool31 = 0;\n  a1->m_gameState.m_unkBool30 = 0;\n  sub_1400CDCD0(&a1->m_gameState.m_unkMapPairGJGameEventIntInt._Mypair._Myval2._Myval2._Myhead);\n  a1->resetSPTriggered(a1);\n  Myhead = a1->m_gameState.m_unkMapPairGJGameEventIntVectorEventTriggerInstance._Mypair._Myval2._Myval2._Myhead;\n  sub_140250530(\n    &a1->m_gameState.m_unkMapPairGJGameEventIntVectorEventTriggerInstance,\n    &a1->m_gameState.m_unkMapPairGJGameEventIntVectorEventTriggerInstance,\n    Myhead->_Parent);\n  Myhead->_Parent = Myhead;\n  Myhead->_Left = Myhead;\n  Myhead->_Right = Myhead;\n  a1->m_gameState.m_unkMapPairGJGameEventIntVectorEventTriggerInstance._Mypair._Myval2._Myval2._Mysize = 0;\n  v5 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v50 = (__int64)operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(v50);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v5 = qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v50 = (__int64)operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00(v50);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v5 = qword_1406C2ED8;\n    }\n  }\n  cocos2d::CCArray::removeAllObjects(*(cocos2d::CCArray **)(v5 + 1184));\n  v6 = (FMODAudioEngine *)qword_1406C2E88;\n  if ( !qword_1406C2E88 )\n  {\n    v50 = (__int64)operator new(0x888u);\n    qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine((FMODAudioEngine *)v50);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88);\n    v6 = (FMODAudioEngine *)qword_1406C2E88;\n  }\n  FMODAudioEngine::updateReverb(v6, Generic, 0);\n  a1->m_gameState.m_unkFloat5 = 0.1;\n  a1->m_gameState.m_unkFloat6 = 0.1;\n  a1->m_gameState.m_unkFloat7 = 0.30000001;\n  a1->m_gameState.m_unkFloat8 = 0.5;\n  a1->m_startingFromBeginning = 0;\n  Myfirst = a1->m_activeSfxTriggers._Mypair._Myval2._Myfirst;\n  if ( Myfirst != a1->m_activeSfxTriggers._Mypair._Myval2._Mylast )\n    a1->m_activeSfxTriggers._Mypair._Myval2._Mylast = Myfirst;\n  sub_140249D70(&a1->m_gameState.m_songChannelStates, v7);\n  sub_140249C30(&a1->m_gameState.m_songTriggerStateVectors);\n  v9 = a1->m_gameState.m_sfxTriggerStates._Mypair._Myval2._Myfirst;\n  if ( v9 != a1->m_gameState.m_sfxTriggerStates._Mypair._Myval2._Mylast )\n    a1->m_gameState.m_sfxTriggerStates._Mypair._Myval2._Mylast = v9;\n  v10 = 0;\n  while ( v10 < cocos2d::CCArray::count(a1->m_temporaryParticles) )\n  {\n    v11 = cocos2d::CCArray::objectAtIndex(a1->m_temporaryParticles, v10);\n    if ( ((unsigned __int8 (__fastcall *)(struct cocos2d::CCObject *))v11->__vftable[21].~CCObject)(v11) )\n    {\n      v11->__vftable[7].~CCObject(v11);\n      LODWORD(v50) = v11->m_uID;\n      sub_14005D780(&a1->m_customParticlesUIDs._Traitsobj._Mypair._Myval2._Myval2, (unsigned __int8 *)&v50);\n      cocos2d::CCArray::fastRemoveObjectAtIndex(a1->m_temporaryParticles, v10);\n    }\n    else\n    {\n      ++v10;\n    }\n  }\n  a1->m_gameState.m_points = 0;\n  a1->m_gameState.m_unkBool32 = 0;\n  GJBaseGameLayer::updateSpecialLabels(a1);\n  a1->m_levelEndAnimationStarted = 0;\n  v12 = a1->m_levelSettings;\n  if ( v12 )\n  {\n    a1->m_effectManager->m_unk798 = !v12->m_allowMultiRotation;\n    v13 = a1->m_levelSettings;\n    a1->m_enable22Changes = v13->m_enable22Changes;\n    m_level = a1->m_level;\n    if ( m_level\n      && m_level->m_levelType == Main\n      && (a1->m_isPlatformer || m_level->m_levelID.random - m_level->m_levelID.seed == 22) )\n    {\n      a1->m_enable22Changes = 1;\n    }\n    a1->m_allowStaticRotate = v13->m_allowStaticRotate;\n    a1->m_fixNegativeScale = v13->m_fixNegativeScale;\n    p_m_isPlatformer = &a1->m_isPlatformer;\n    v16 = !v13->m_enablePlayerSqueeze && !*p_m_isPlatformer;\n    a1->m_player1->m_disablePlayerSqueeze = v16;\n    v17 = !a1->m_levelSettings->m_enablePlayerSqueeze && !*p_m_isPlatformer;\n    a1->m_player2->m_disablePlayerSqueeze = v17;\n    a1->m_player1->m_fixGravityBug = a1->m_levelSettings->m_fixGravityBug;\n    a1->m_player2->m_fixGravityBug = a1->m_levelSettings->m_fixGravityBug;\n    a1->m_player1->m_reverseSync = a1->m_levelSettings->m_reverseSync;\n    a1->m_player2->m_reverseSync = a1->m_levelSettings->m_reverseSync;\n    a1->m_player1->m_enable22Changes = !a1->m_enable22Changes;\n    a1->m_player2->m_enable22Changes = !a1->m_enable22Changes;\n    a1->m_player1->m_enableImpulseFix = a1->m_levelSettings->m_enableImpulseFix;\n    a1->m_player2->m_enableImpulseFix = a1->m_levelSettings->m_enableImpulseFix;\n  }\n  else\n  {\n    p_m_isPlatformer = &a1->m_isPlatformer;\n  }\n  GJBaseGameLayer::resetActiveEnterEffects(a1);\n  sub_14005E2A0(&a1->m_gameState.m_proximityVolumeRelated._Mypair._Myval2._Myval2._Myhead);\n  a1->m_gameState.m_levelTime = 0.0;\n  sub_14024A9F0(&a1->m_gameState.m_gameObjectPhysics);\n  sub_14005D290(&a1->m_gameState.m_stateObjects._Traitsobj._Mypair._Myval2._Myval2);\n  a1->m_gameState.m_commandIndex = 0;\n  a1->m_gameState.m_currentProgress = 0;\n  a1->m_gameState.m_unkUint11 = 0;\n  *(_QWORD *)&a1->m_gameState.m_unkUint5 = 0;\n  if ( !*p_m_isPlatformer )\n  {\n    v18 = a1->m_queuedButtons._Mypair._Myval2._Myfirst;\n    if ( v18 != a1->m_queuedButtons._Mypair._Myval2._Mylast )\n      a1->m_queuedButtons._Mypair._Myval2._Mylast = v18;\n  }\n  PlayerObject::releaseAllButtons(a1->m_player1);\n  PlayerObject::releaseAllButtons(a1->m_player2);\n  a1->m_extraDelta = 0.0;\n  a1->m_unk3251 = 1;\n  a1->m_dualTouchTrigger = 0;\n  GJEffectManager::resetEffects(a1->m_effectManager);\n  sub_1400CDCD0(&a1->m_gameState.m_activatedObjectIDs._Mypair._Myval2._Myval2._Myhead);\n  m_shaderLayer = a1->m_shaderLayer;\n  if ( m_shaderLayer )\n  {\n    ShaderLayer::resetAllShaders(m_shaderLayer);\n    GJBaseGameLayer::updateShaderLayer(a1, 0.0);\n  }\n  GJBaseGameLayer::resetGradientLayers(a1);\n  v20 = a1->m_gameState.m_advanceFollowInstances._Mypair._Myval2._Myfirst;\n  if ( v20 != a1->m_gameState.m_advanceFollowInstances._Mypair._Myval2._Mylast )\n    a1->m_gameState.m_advanceFollowInstances._Mypair._Myval2._Mylast = v20;\n  v21 = a1->m_gameState.m_dynamicMoveActions._Mypair._Myval2._Myfirst;\n  if ( v21 != a1->m_gameState.m_dynamicMoveActions._Mypair._Myval2._Mylast )\n    a1->m_gameState.m_dynamicMoveActions._Mypair._Myval2._Mylast = v21;\n  v22 = a1->m_gameState.m_dynamicRotateActions._Mypair._Myval2._Myfirst;\n  if ( v22 != a1->m_gameState.m_dynamicRotateActions._Mypair._Myval2._Mylast )\n    a1->m_gameState.m_dynamicRotateActions._Mypair._Myval2._Mylast = v22;\n  v23 = a1->m_gameState.m_moveEffectInstances._Mypair._Myval2._Myfirst;\n  Mylast = a1->m_gameState.m_moveEffectInstances._Mypair._Myval2._Mylast;\n  if ( v23 != Mylast )\n  {\n    do\n    {\n      sub_14005E430((__int64)&v23->m_easeIndices);\n      sub_1402508A0(v23, v23);\n      ++v23;\n    }\n    while ( v23 != Mylast );\n    a1->m_gameState.m_moveEffectInstances._Mypair._Myval2._Mylast = a1->m_gameState.m_moveEffectInstances._Mypair._Myval2._Myfirst;\n  }\n  sub_14024A170(&a1->m_gameState.m_rotateEffectInstances);\n  sub_14024A170(&a1->m_gameState.m_scaleEffectInstances);\n  sub_14024A170(&a1->m_gameState.m_fadeEffectInstances);\n  sub_14024A170(&a1->m_gameState.m_tintEffectInstances);\n  sub_14005E0D0(&a1->m_gameState.m_unsortedAreaEffects._Traitsobj._Mypair._Myval2._Myval2);\n  a1->m_skipArtReload = 1;\n  ((void (__fastcall *)(GJBaseGameLayer *))a1->updateTimeWarp)(a1);\n  *(_QWORD *)&a1->m_gameState.m_unkInt3 = 0;\n  LODWORD(v50) = 20;\n  p_m_tweenActions = &a1->m_gameState.m_tweenActions;\n  sub_14024AC30(&a1->m_gameState.m_tweenActions, &v50);\n  LODWORD(a1->m_gameState.m_middleGroundOffsetY) = a1->m_gameState.m_unkInt3;\n  m_background = a1->m_background;\n  v27 = m_background->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v28 = (float *)m_background->getPosition_0(m_background);\n  cocos2d::CCPoint::CCPoint(v1, *v28);\n  v27->setPosition_0(a1->m_background, v29);\n  GJBaseGameLayer::resetCamera(a1);\n  a1->m_groundLayer->m_unk1cc = 0.0;\n  a1->m_groundLayer2->m_unk1cc = 0.0;\n  v30 = ((double (__fastcall *)(GJGroundLayer *))a1->m_groundLayer->getScaleX)(a1->m_groundLayer);\n  GJGroundLayer::scaleGround(a1->m_groundLayer, *(float *)&v30);\n  *(float *)&v30 = a1->m_groundLayer2->getScaleX(a1->m_groundLayer2);\n  GJGroundLayer::scaleGround(a1->m_groundLayer2, *(float *)&v30);\n  GJGroundLayer::updateShadowXPos(a1->m_groundLayer, 0.0, 0.0);\n  GJGroundLayer::updateShadows(a1->m_groundLayer);\n  GJGroundLayer::updateShadowXPos(a1->m_groundLayer2, 0.0, 0.0);\n  GJGroundLayer::updateShadows(a1->m_groundLayer2);\n  if ( !a1->m_gameState.m_playerStreakBlend )\n  {\n    a1->m_gameState.m_playerStreakBlend = 1;\n    m_player1 = a1->m_player1;\n    v50 = 0x100000302LL;\n    ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))m_player1->m_regularTrail->setBlendFunc)(\n      &m_player1->m_regularTrail->cocos2d::CCTextureProtocol,\n      0x100000302LL);\n    m_player1->m_waveTrail->m_isSolid = 0;\n    cocos2d::CCDrawNode::setBlendFunc(m_player1->m_waveTrail, (const struct cocos2d::_ccBlendFunc *)&v50);\n    m_player2 = a1->m_player2;\n    v50 = 0x100000302LL;\n    ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))m_player2->m_regularTrail->setBlendFunc)(\n      &m_player2->m_regularTrail->cocos2d::CCTextureProtocol,\n      0x100000302LL);\n    m_player2->m_waveTrail->m_isSolid = 0;\n    cocos2d::CCDrawNode::setBlendFunc(m_player2->m_waveTrail, (const struct cocos2d::_ccBlendFunc *)&v50);\n  }\n  a1->m_gameState.m_timeModRelated = 0.0;\n  a1->m_gameState.m_unkUint64_1 = 0.0;\n  cocos2d::CCPoint::operator=(&a1->m_gameState.m_unkPoint34, &dword_1406C1D28);\n  a1->m_gameState.m_unkUint16 = 0.0;\n  m_groundLayer = a1->m_groundLayer;\n  if ( !m_groundLayer->m_showGround2 )\n  {\n    m_groundLayer->m_showGround2 = 1;\n    LOBYTE(v33) = m_groundLayer->m_showGround1;\n    m_groundLayer->setVisible(m_groundLayer, v33);\n    p_m_tweenActions = &a1->m_gameState.m_tweenActions;\n  }\n  m_groundLayer2 = a1->m_groundLayer2;\n  if ( !m_groundLayer2->m_showGround2 )\n  {\n    m_groundLayer2->m_showGround2 = 1;\n    LOBYTE(v33) = m_groundLayer2->m_showGround1;\n    m_groundLayer2->setVisible(m_groundLayer2, v33);\n  }\n  a1->m_gameState.m_unkFloat9 = 0.0;\n  LODWORD(v50) = 25;\n  sub_14024AC30(p_m_tweenActions, &v50);\n  a1->m_gameState.m_unkBool1 = 0;\n  a1->m_gameState.m_unkBool6 = 0;\n  a1->m_gameState.m_portalY = 0.0;\n  a1->m_gameState.m_unkInt12 = 0;\n  a1->m_unk322a = a1->m_freezeStartCamera;\n  a1->m_playerDied = 0;\n  cocos2d::CCDictionary::removeAllObjects(a1->m_collectedItems);\n  a1->m_gameState.m_unkBool10 = 0;\n  a1->m_gameState.m_unkBool11 = 0;\n  a1->m_resetActiveObjects = 0;\n  a1->m_gameState.m_levelFlipping = 0.0;\n  a1->m_cameraFlip = 1.0;\n  cocos2d::CCNode::stopActionByTag(a1, 14);\n  a1->m_gameState.m_lastActivatedPortal1 = nullptr;\n  a1->m_gameState.m_lastActivatedPortal2 = nullptr;\n  GJBaseGameLayer::resetPlayer(a1);\n  GJBaseGameLayer::resetSpawnChannelIndex(a1);\n  cocos2d::CCNode::stopAllActions(a1->m_flashNode);\n  a1->m_flashNode->setVisible(a1->m_flashNode, 0);\n  v37 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v36);\n  cocos2d::CCDirector::getWinSize(v37);\n  v38 = a1->m_player1->getPosition_0(a1->m_player1);\n  a1->m_gameState.m_cameraPosition.y = (float)(v38->y - v51) + 90.0;\n  if ( a1->m_objectsDeactivated )\n  {\n    m_leftSectionIndex = a1->m_leftSectionIndex;\n    LODWORD(v50) = m_leftSectionIndex;\n    if ( (int)m_leftSectionIndex <= a1->m_rightSectionIndex )\n    {\n      v40 = m_leftSectionIndex;\n      v41 = (int)(a1->m_sections._Mypair._Myval2._Mylast - a1->m_sections._Mypair._Myval2._Myfirst);\n      v52 = (int)v41;\n      do\n      {\n        if ( v40 >= v41 )\n          break;\n        v42 = a1->m_sections._Mypair._Myval2._Myfirst[v40];\n        if ( v42 )\n          v43 = v42->_Mypair._Myval2._Mylast - v42->_Mypair._Myval2._Myfirst;\n        else\n          LODWORD(v43) = -1;\n        m_bottomSectionIndex = a1->m_bottomSectionIndex;\n        if ( m_bottomSectionIndex <= a1->m_topSectionIndex )\n        {\n          v45 = a1->m_bottomSectionIndex;\n          v46 = (int)v43;\n          do\n          {\n            if ( v45 >= v46 )\n              break;\n            v47 = a1->m_sections._Mypair._Myval2._Myfirst[v40]->_Mypair._Myval2._Myfirst[v45];\n            if ( v47 )\n            {\n              v48 = 0;\n              v49 = a1->m_sectionSizes._Mypair._Myval2._Myfirst[v40]->_Mypair._Myval2._Myfirst[v45];\n              if ( v49 > 0 )\n              {\n                do\n                {\n                  LOBYTE(m_leftSectionIndex) = 1;\n                  v47->_Mypair._Myval2._Myfirst[v48]->deactivateObject(\n                    v47->_Mypair._Myval2._Myfirst[v48],\n                    m_leftSectionIndex);\n                  ++v48;\n                }\n                while ( v48 < v49 );\n              }\n            }\n            ++m_bottomSectionIndex;\n            ++v45;\n          }\n          while ( m_bottomSectionIndex <= a1->m_topSectionIndex );\n          LODWORD(m_leftSectionIndex) = v50;\n        }\n        m_leftSectionIndex = (unsigned int)(m_leftSectionIndex + 1);\n        LODWORD(v50) = m_leftSectionIndex;\n        ++v40;\n        v41 = v52;\n      }\n      while ( (int)m_leftSectionIndex <= a1->m_rightSectionIndex );\n    }\n  }\n  GJBaseGameLayer::toggleDualMode(a1, nullptr, 0, nullptr, 0);\n}", "assembly": "; \n; GJBaseGameLayer::resetLevelVariables from 0x14023b040 to 0x14023bad7 (2711 bytes)\n; \n; 4 xrefs:\n; > LevelEditorLayer::onPlaytest @ 0x1402dfdba\n; > LevelEditorLayer::onStopPlaytest @ 0x1402e0863\n; > PlayLayer::resetLevel @ 0x1403b9059\n; > <???> @ 0x1406ce25c\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_18], rbx                                              ; +0x0, 0x14023b040\npush    rbp                                                            ; +0x5, 0x14023b045\npush    rsi                                                            ; +0x6, 0x14023b046\npush    rdi                                                            ; +0x7, 0x14023b047\npush    r12                                                            ; +0x8, 0x14023b048\npush    r13                                                            ; +0xa, 0x14023b04a\npush    r14                                                            ; +0xc, 0x14023b04c\npush    r15                                                            ; +0xe, 0x14023b04e\nsub     rsp, 30h                                                       ; +0x10, 0x14023b050\nmov     rsi, rcx                                                       ; +0x14, 0x14023b054\nmov     dword ptr [rcx+86Ch], 0                                        ; +0x17, 0x14023b057\nmov     rdx, [rcx+0DB0h]                                               ; +0x21, 0x14023b061\nmov     eax, [rdx+160h]                                                ; +0x28, 0x14023b068\nmov     [rcx+854h], eax                                                ; +0x2e, 0x14023b06e\nmov     eax, [rdx+164h]                                                ; +0x34, 0x14023b074\nmov     [rcx+858h], eax                                                ; +0x3a, 0x14023b07a\nmov     eax, [rdx+16Ch]                                                ; +0x40, 0x14023b080\nmov     [rcx+85Ch], eax                                                ; +0x46, 0x14023b086\nmov     byte ptr [rcx+860h], 0                                         ; +0x4c, 0x14023b08c\nmov     byte ptr [rcx+850h], 0                                         ; +0x53, 0x14023b093\nadd     rcx, 598h                                                      ; +0x5a, 0x14023b09a\ncall    sub_1400CDCD0                                                  ; +0x61, 0x14023b0a1\nmov     rax, [rsi]                                                     ; +0x66, 0x14023b0a6\nmov     rcx, rsi                                                       ; +0x69, 0x14023b0a9\ncall    qword ptr [rax+4C8h]                                           ; +0x6c, 0x14023b0ac\nmov     rbx, [rsi+588h]                                                ; +0x72, 0x14023b0b2\nmov     r8, [rbx+8]                                                    ; +0x79, 0x14023b0b9\nlea     rdx, [rsi+588h]                                                ; +0x7d, 0x14023b0bd\nlea     rcx, [rsi+588h]                                                ; +0x84, 0x14023b0c4\ncall    sub_140250530                                                  ; +0x8b, 0x14023b0cb\nmov     [rbx+8], rbx                                                   ; +0x90, 0x14023b0d0\nmov     [rbx], rbx                                                     ; +0x94, 0x14023b0d4\nmov     [rbx+10h], rbx                                                 ; +0x97, 0x14023b0d7\nmov     qword ptr [rsi+590h], 0                                        ; +0x9b, 0x14023b0db\nmov     rcx, cs:qword_1406C2ED8                                        ; +0xa6, 0x14023b0e6\ntest    rcx, rcx                                                       ; +0xad, 0x14023b0ed\njnz     short loc_14023B155                                            ; +0xb0, 0x14023b0f0\nmov     ecx, 668h; Size                                                ; +0xb2, 0x14023b0f2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb7, 0x14023b0f7\nmov     [rsp+68h+arg_0], rax                                           ; +0xbc, 0x14023b0fc\nmov     rcx, rax                                                       ; +0xc1, 0x14023b101\ncall    sub_14017AB00                                                  ; +0xc4, 0x14023b104\nnop                                                                    ; +0xc9, 0x14023b109\nmov     cs:qword_1406C2ED8, rax                                        ; +0xca, 0x14023b10a\nmov     rdx, [rax]                                                     ; +0xd1, 0x14023b111\nmov     rcx, rax                                                       ; +0xd4, 0x14023b114\ncall    qword ptr [rdx+48h]                                            ; +0xd7, 0x14023b117\nmov     rcx, cs:qword_1406C2ED8                                        ; +0xda, 0x14023b11a\ntest    rcx, rcx                                                       ; +0xe1, 0x14023b121\njnz     short loc_14023B155                                            ; +0xe4, 0x14023b124\nmov     ecx, 668h; Size                                                ; +0xe6, 0x14023b126\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xeb, 0x14023b12b\nmov     [rsp+68h+arg_0], rax                                           ; +0xf0, 0x14023b130\nmov     rcx, rax                                                       ; +0xf5, 0x14023b135\ncall    sub_14017AB00                                                  ; +0xf8, 0x14023b138\nnop                                                                    ; +0xfd, 0x14023b13d\nmov     cs:qword_1406C2ED8, rax                                        ; +0xfe, 0x14023b13e\nmov     rdx, [rax]                                                     ; +0x105, 0x14023b145\nmov     rcx, rax                                                       ; +0x108, 0x14023b148\ncall    qword ptr [rdx+48h]                                            ; +0x10b, 0x14023b14b\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x10e, 0x14023b14e\nmov     rcx, [rcx+4A0h]                                                ; +0x115, 0x14023b155\ncall    cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x11c, 0x14023b15c\nmov     rcx, cs:qword_1406C2E88                                        ; +0x122, 0x14023b162\ntest    rcx, rcx                                                       ; +0x129, 0x14023b169\njnz     short loc_14023B19D                                            ; +0x12c, 0x14023b16c\nmov     ecx, 888h; Size                                                ; +0x12e, 0x14023b16e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x133, 0x14023b173\nmov     [rsp+68h+arg_0], rax                                           ; +0x138, 0x14023b178\nmov     rcx, rax                                                       ; +0x13d, 0x14023b17d\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x140, 0x14023b180\nnop                                                                    ; +0x145, 0x14023b185\nmov     cs:qword_1406C2E88, rax                                        ; +0x146, 0x14023b186\nmov     rdx, [rax]                                                     ; +0x14d, 0x14023b18d\nmov     rcx, rax                                                       ; +0x150, 0x14023b190\ncall    qword ptr [rdx+48h]                                            ; +0x153, 0x14023b193\nmov     rcx, cs:qword_1406C2E88                                        ; +0x156, 0x14023b196\nxor     r8d, r8d                                                       ; +0x15d, 0x14023b19d\nxor     edx, edx                                                       ; +0x160, 0x14023b1a0\ncall    FMODAudioEngine__updateReverb                                  ; +0x162, 0x14023b1a2\nmov     dword ptr [rsi+314h], 3DCCCCCDh                                ; +0x167, 0x14023b1a7\nmov     dword ptr [rsi+318h], 3DCCCCCDh                                ; +0x171, 0x14023b1b1\nmov     dword ptr [rsi+31Ch], 3E99999Ah                                ; +0x17b, 0x14023b1bb\nmov     dword ptr [rsi+320h], 3F000000h                                ; +0x185, 0x14023b1c5\nmov     byte ptr [rsi+88Ah], 0                                         ; +0x18f, 0x14023b1cf\nmov     rax, [rsi+890h]                                                ; +0x196, 0x14023b1d6\ncmp     rax, [rsi+898h]                                                ; +0x19d, 0x14023b1dd\njz      short loc_14023B1ED                                            ; +0x1a4, 0x14023b1e4\nmov     [rsi+898h], rax                                                ; +0x1a6, 0x14023b1e6\nlea     rcx, [rsi+7B8h]                                                ; +0x1ad, 0x14023b1ed\ncall    sub_140249D70                                                  ; +0x1b4, 0x14023b1f4\nlea     rcx, [rsi+7F8h]                                                ; +0x1b9, 0x14023b1f9\ncall    sub_140249C30                                                  ; +0x1c0, 0x14023b200\nmov     rax, [rsi+838h]                                                ; +0x1c5, 0x14023b205\ncmp     rax, [rsi+840h]                                                ; +0x1cc, 0x14023b20c\njz      short loc_14023B21C                                            ; +0x1d3, 0x14023b213\nmov     [rsi+840h], rax                                                ; +0x1d5, 0x14023b215\nxor     edi, edi                                                       ; +0x1dc, 0x14023b21c\nmov     rcx, [rsi+3120h]                                               ; +0x1de, 0x14023b21e\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1e5, 0x14023b225\ntest    eax, eax                                                       ; +0x1eb, 0x14023b22b\njz      short loc_14023B29A                                            ; +0x1ed, 0x14023b22d\nnop                                                                    ; +0x1ef, 0x14023b22f\nmov     edx, edi                                                       ; +0x1f0, 0x14023b230\nmov     rcx, [rsi+3120h]                                               ; +0x1f2, 0x14023b232\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x1f9, 0x14023b239\nmov     rbx, rax                                                       ; +0x1ff, 0x14023b23f\nmov     rdx, [rax]                                                     ; +0x202, 0x14023b242\nmov     rcx, rax                                                       ; +0x205, 0x14023b245\ncall    qword ptr [rdx+5F0h]                                           ; +0x208, 0x14023b248\ntest    al, al                                                         ; +0x20e, 0x14023b24e\njz      short loc_14023B287                                            ; +0x210, 0x14023b250\nmov     rdx, [rbx]                                                     ; +0x212, 0x14023b252\nmov     rcx, rbx                                                       ; +0x215, 0x14023b255\ncall    qword ptr [rdx+200h]                                           ; +0x218, 0x14023b258\nmov     eax, [rbx+8]                                                   ; +0x21e, 0x14023b25e\nmov     dword ptr [rsp+68h+arg_0], eax                                 ; +0x221, 0x14023b261\nlea     rcx, [rsi+3128h]                                               ; +0x225, 0x14023b265\nlea     rdx, [rsp+68h+arg_0]                                           ; +0x22c, 0x14023b26c\ncall    sub_14005D780                                                  ; +0x231, 0x14023b271\nmov     edx, edi                                                       ; +0x236, 0x14023b276\nmov     rcx, [rsi+3120h]                                               ; +0x238, 0x14023b278\ncall    cs:?fastRemoveObjectAtIndex@CCArray@cocos2d@@QEAAXI@Z; cocos2d::CCArray::fastRemoveObjectAtIndex(uint) ; +0x23f, 0x14023b27f\njmp     short loc_14023B289                                            ; +0x245, 0x14023b285\ninc     edi                                                            ; +0x247, 0x14023b287\nmov     rcx, [rsi+3120h]                                               ; +0x249, 0x14023b289\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x250, 0x14023b290\ncmp     edi, eax                                                       ; +0x256, 0x14023b296\njb      short loc_14023B230                                            ; +0x258, 0x14023b298\nmov     dword ptr [rsi+864h], 0                                        ; +0x25a, 0x14023b29a\nmov     byte ptr [rsi+868h], 0                                         ; +0x264, 0x14023b2a4\nmov     rcx, rsi                                                       ; +0x26b, 0x14023b2ab\ncall    GJBaseGameLayer__updateSpecialLabels                           ; +0x26e, 0x14023b2ae\nmov     byte ptr [rsi+3570h], 0                                        ; +0x273, 0x14023b2b3\nmov     rax, [rsi+0DB0h]                                               ; +0x27a, 0x14023b2ba\ntest    rax, rax                                                       ; +0x281, 0x14023b2c1\njz      loc_14023B467                                                  ; +0x284, 0x14023b2c4\ncmp     byte ptr [rax+1C8h], 0                                         ; +0x28a, 0x14023b2ca\nsetz    cl                                                             ; +0x291, 0x14023b2d1\nmov     rax, [rsi+950h]                                                ; +0x294, 0x14023b2d4\nmov     [rax+818h], cl                                                 ; +0x29b, 0x14023b2db\nmov     rcx, [rsi+0DB0h]                                               ; +0x2a1, 0x14023b2e1\nmovzx   eax, byte ptr [rcx+1D0h]                                       ; +0x2a8, 0x14023b2e8\nmov     [rsi+887h], al                                                 ; +0x2af, 0x14023b2ef\nmov     rdx, [rsi+878h]                                                ; +0x2b5, 0x14023b2f5\ntest    rdx, rdx                                                       ; +0x2bc, 0x14023b2fc\njz      short loc_14023B32B                                            ; +0x2bf, 0x14023b2ff\ncmp     dword ptr [rdx+454h], 1                                        ; +0x2c1, 0x14023b301\njnz     short loc_14023B32B                                            ; +0x2c8, 0x14023b308\ncmp     byte ptr [rsi+309Eh], 0                                        ; +0x2ca, 0x14023b30a\njnz     short loc_14023B324                                            ; +0x2d1, 0x14023b311\nmov     eax, [rdx+148h]                                                ; +0x2d3, 0x14023b313\nsub     eax, [rdx+14Ch]                                                ; +0x2d9, 0x14023b319\ncmp     eax, 16h                                                       ; +0x2df, 0x14023b31f\njnz     short loc_14023B32B                                            ; +0x2e2, 0x14023b322\nmov     byte ptr [rsi+887h], 1                                         ; +0x2e4, 0x14023b324\nmovzx   eax, byte ptr [rcx+1D1h]                                       ; +0x2eb, 0x14023b32b\nmov     [rsi+888h], al                                                 ; +0x2f2, 0x14023b332\nmovzx   eax, byte ptr [rcx+1CBh]                                       ; +0x2f8, 0x14023b338\nmov     [rsi+889h], al                                                 ; +0x2ff, 0x14023b33f\nlea     rbx, [rsi+309Eh]                                               ; +0x305, 0x14023b345\ncmp     byte ptr [rcx+1C9h], 0                                         ; +0x30c, 0x14023b34c\njnz     short loc_14023B35E                                            ; +0x313, 0x14023b353\ncmp     byte ptr [rbx], 0                                              ; +0x315, 0x14023b355\njnz     short loc_14023B35E                                            ; +0x318, 0x14023b358\nmov     cl, 1                                                          ; +0x31a, 0x14023b35a\njmp     short loc_14023B360                                            ; +0x31c, 0x14023b35c\nxor     cl, cl                                                         ; +0x31e, 0x14023b35e\nmov     rax, [rsi+0DA0h]                                               ; +0x320, 0x14023b360\nmov     [rax+0C40h], cl                                                ; +0x327, 0x14023b367\nmov     rax, [rsi+0DB0h]                                               ; +0x32d, 0x14023b36d\ncmp     byte ptr [rax+1C9h], 0                                         ; +0x334, 0x14023b374\njnz     short loc_14023B386                                            ; +0x33b, 0x14023b37b\ncmp     byte ptr [rbx], 0                                              ; +0x33d, 0x14023b37d\njnz     short loc_14023B386                                            ; +0x340, 0x14023b380\nmov     cl, 1                                                          ; +0x342, 0x14023b382\njmp     short loc_14023B388                                            ; +0x344, 0x14023b384\nxor     cl, cl                                                         ; +0x346, 0x14023b386\nmov     rax, [rsi+0DA8h]                                               ; +0x348, 0x14023b388\nmov     [rax+0C40h], cl                                                ; +0x34f, 0x14023b38f\nmov     rax, [rsi+0DB0h]                                               ; +0x355, 0x14023b395\nmov     rcx, [rsi+0DA0h]                                               ; +0x35c, 0x14023b39c\nmovzx   eax, byte ptr [rax+1CAh]                                       ; +0x363, 0x14023b3a3\nmov     [rcx+561h], al                                                 ; +0x36a, 0x14023b3aa\nmov     rax, [rsi+0DB0h]                                               ; +0x370, 0x14023b3b0\nmov     rcx, [rsi+0DA8h]                                               ; +0x377, 0x14023b3b7\nmovzx   eax, byte ptr [rax+1CAh]                                       ; +0x37e, 0x14023b3be\nmov     [rcx+561h], al                                                 ; +0x385, 0x14023b3c5\nmov     rax, [rsi+0DB0h]                                               ; +0x38b, 0x14023b3cb\nmov     rcx, [rsi+0DA0h]                                               ; +0x392, 0x14023b3d2\nmovzx   eax, byte ptr [rax+1D2h]                                       ; +0x399, 0x14023b3d9\nmov     [rcx+562h], al                                                 ; +0x3a0, 0x14023b3e0\nmov     rax, [rsi+0DB0h]                                               ; +0x3a6, 0x14023b3e6\nmov     rcx, [rsi+0DA8h]                                               ; +0x3ad, 0x14023b3ed\nmovzx   eax, byte ptr [rax+1D2h]                                       ; +0x3b4, 0x14023b3f4\nmov     [rcx+562h], al                                                 ; +0x3bb, 0x14023b3fb\ncmp     byte ptr [rsi+887h], 0                                         ; +0x3c1, 0x14023b401\nsetz    cl                                                             ; +0x3c8, 0x14023b408\nmov     rax, [rsi+0DA0h]                                               ; +0x3cb, 0x14023b40b\nmov     [rax+0C45h], cl                                                ; +0x3d2, 0x14023b412\ncmp     byte ptr [rsi+887h], 0                                         ; +0x3d8, 0x14023b418\nsetz    cl                                                             ; +0x3df, 0x14023b41f\nmov     rax, [rsi+0DA8h]                                               ; +0x3e2, 0x14023b422\nmov     [rax+0C45h], cl                                                ; +0x3e9, 0x14023b429\nmov     rax, [rsi+0DB0h]                                               ; +0x3ef, 0x14023b42f\nmov     rcx, [rsi+0DA0h]                                               ; +0x3f6, 0x14023b436\nmovzx   eax, byte ptr [rax+1D4h]                                       ; +0x3fd, 0x14023b43d\nmov     [rcx+0C46h], al                                                ; +0x404, 0x14023b444\nmov     rax, [rsi+0DB0h]                                               ; +0x40a, 0x14023b44a\nmov     rcx, [rsi+0DA8h]                                               ; +0x411, 0x14023b451\nmovzx   eax, byte ptr [rax+1D4h]                                       ; +0x418, 0x14023b458\nmov     [rcx+0C46h], al                                                ; +0x41f, 0x14023b45f\njmp     short loc_14023B46E                                            ; +0x425, 0x14023b465\nlea     rbx, [rsi+309Eh]                                               ; +0x427, 0x14023b467\nmov     rcx, rsi                                                       ; +0x42e, 0x14023b46e\ncall    GJBaseGameLayer__resetActiveEnterEffects                       ; +0x431, 0x14023b471\nlea     rcx, [rsi+7A8h]                                                ; +0x436, 0x14023b476\ncall    sub_14005E2A0                                                  ; +0x43d, 0x14023b47d\nmov     qword ptr [rsi+3D0h], 0                                        ; +0x442, 0x14023b482\nlea     rcx, [rsi+478h]                                                ; +0x44d, 0x14023b48d\ncall    sub_14024A9F0                                                  ; +0x454, 0x14023b494\nlea     rcx, [rsi+548h]                                                ; +0x459, 0x14023b499\ncall    sub_14005D290                                                  ; +0x460, 0x14023b4a0\nmov     dword ptr [rsi+3E0h], 0                                        ; +0x465, 0x14023b4a5\nmov     dword ptr [rsi+3E8h], 0                                        ; +0x46f, 0x14023b4af\nmov     dword ptr [rsi+4D4h], 0                                        ; +0x479, 0x14023b4b9\nmov     qword ptr [rsi+3F0h], 0                                        ; +0x483, 0x14023b4c3\ncmp     byte ptr [rbx], 0                                              ; +0x48e, 0x14023b4ce\njnz     short loc_14023B4EA                                            ; +0x491, 0x14023b4d1\nmov     rax, [rsi+3300h]                                               ; +0x493, 0x14023b4d3\ncmp     rax, [rsi+3308h]                                               ; +0x49a, 0x14023b4da\njz      short loc_14023B4EA                                            ; +0x4a1, 0x14023b4e1\nmov     [rsi+3308h], rax                                               ; +0x4a3, 0x14023b4e3\nmov     rcx, [rsi+0DA0h]                                               ; +0x4aa, 0x14023b4ea\ncall    PlayerObject__releaseAllButtons                                ; +0x4b1, 0x14023b4f1\nmov     rcx, [rsi+0DA8h]                                               ; +0x4b6, 0x14023b4f6\ncall    PlayerObject__releaseAllButtons                                ; +0x4bd, 0x14023b4fd\nmov     qword ptr [rsi+3250h], 0                                       ; +0x4c2, 0x14023b502\nmov     byte ptr [rsi+3259h], 1                                        ; +0x4cd, 0x14023b50d\nmov     byte ptr [rsi+307Ch], 0                                        ; +0x4d4, 0x14023b514\nmov     rcx, [rsi+950h]                                                ; +0x4db, 0x14023b51b\ncall    GJEffectManager__resetEffects                                  ; +0x4e2, 0x14023b522\nlea     rcx, [rsi+4F0h]                                                ; +0x4e7, 0x14023b527\ncall    sub_1400CDCD0                                                  ; +0x4ee, 0x14023b52e\nmov     rcx, [rsi+3178h]                                               ; +0x4f3, 0x14023b533\ntest    rcx, rcx                                                       ; +0x4fa, 0x14023b53a\njz      short loc_14023B54F                                            ; +0x4fd, 0x14023b53d\ncall    ShaderLayer__resetAllShaders                                   ; +0x4ff, 0x14023b53f\nxorps   xmm1, xmm1                                                     ; +0x504, 0x14023b544\nmov     rcx, rsi                                                       ; +0x507, 0x14023b547\ncall    GJBaseGameLayer__updateShaderLayer                             ; +0x50a, 0x14023b54a\nmov     rcx, rsi                                                       ; +0x50f, 0x14023b54f\ncall    GJBaseGameLayer__resetGradientLayers                           ; +0x512, 0x14023b552\nmov     rax, [rsi+718h]                                                ; +0x517, 0x14023b557\ncmp     rax, [rsi+720h]                                                ; +0x51e, 0x14023b55e\njz      short loc_14023B56E                                            ; +0x525, 0x14023b565\nmov     [rsi+720h], rax                                                ; +0x527, 0x14023b567\nmov     rax, [rsi+730h]                                                ; +0x52e, 0x14023b56e\ncmp     rax, [rsi+738h]                                                ; +0x535, 0x14023b575\njz      short loc_14023B585                                            ; +0x53c, 0x14023b57c\nmov     [rsi+738h], rax                                                ; +0x53e, 0x14023b57e\nmov     rax, [rsi+748h]                                                ; +0x545, 0x14023b585\ncmp     rax, [rsi+750h]                                                ; +0x54c, 0x14023b58c\njz      short loc_14023B59C                                            ; +0x553, 0x14023b593\nmov     [rsi+750h], rax                                                ; +0x555, 0x14023b595\nmov     rbx, [rsi+658h]                                                ; +0x55c, 0x14023b59c\nmov     rdi, [rsi+660h]                                                ; +0x563, 0x14023b5a3\ncmp     rbx, rdi                                                       ; +0x56a, 0x14023b5aa\njz      short loc_14023B5E1                                            ; +0x56d, 0x14023b5ad\nnop                                                                    ; +0x56f, 0x14023b5af\nlea     rcx, [rbx+0C8h]                                                ; +0x570, 0x14023b5b0\ncall    sub_14005E430                                                  ; +0x577, 0x14023b5b7\nmov     rdx, rbx                                                       ; +0x57c, 0x14023b5bc\nmov     rcx, rbx                                                       ; +0x57f, 0x14023b5bf\ncall    sub_1402508A0                                                  ; +0x582, 0x14023b5c2\nadd     rbx, 0E8h                                                      ; +0x587, 0x14023b5c7\ncmp     rbx, rdi                                                       ; +0x58e, 0x14023b5ce\njnz     short loc_14023B5B0                                            ; +0x591, 0x14023b5d1\nmov     rax, [rsi+658h]                                                ; +0x593, 0x14023b5d3\nmov     [rsi+660h], rax                                                ; +0x59a, 0x14023b5da\nlea     rcx, [rsi+670h]                                                ; +0x5a1, 0x14023b5e1\ncall    sub_14024A170                                                  ; +0x5a8, 0x14023b5e8\nlea     rcx, [rsi+688h]                                                ; +0x5ad, 0x14023b5ed\ncall    sub_14024A170                                                  ; +0x5b4, 0x14023b5f4\nlea     rcx, [rsi+6A0h]                                                ; +0x5b9, 0x14023b5f9\ncall    sub_14024A170                                                  ; +0x5c0, 0x14023b600\nlea     rcx, [rsi+6B8h]                                                ; +0x5c5, 0x14023b605\ncall    sub_14024A170                                                  ; +0x5cc, 0x14023b60c\nlea     rcx, [rsi+6D0h]                                                ; +0x5d1, 0x14023b611\ncall    sub_14005E0D0                                                  ; +0x5d8, 0x14023b618\nmov     byte ptr [rsi+3225h], 1                                        ; +0x5dd, 0x14023b61d\nmov     rax, [rsi]                                                     ; +0x5e4, 0x14023b624\nmovss   xmm1, cs:flt_140622C24                                         ; +0x5e7, 0x14023b627\nmov     rcx, rsi                                                       ; +0x5ef, 0x14023b62f\ncall    qword ptr [rax+4F0h]                                           ; +0x5f2, 0x14023b632\nmov     qword ptr [rsi+2C0h], 0                                        ; +0x5f8, 0x14023b638\nmov     dword ptr [rsp+68h+arg_0], 14h                                 ; +0x603, 0x14023b643\nlea     rdi, [rsi+428h]                                                ; +0x60b, 0x14023b64b\nlea     rdx, [rsp+68h+arg_0]                                           ; +0x612, 0x14023b652\nmov     rcx, rdi                                                       ; +0x617, 0x14023b657\ncall    sub_14024AC30                                                  ; +0x61a, 0x14023b65a\nmov     eax, [rsi+2C0h]                                                ; +0x61f, 0x14023b65f\nmov     [rsi+2BCh], eax                                                ; +0x625, 0x14023b665\nmov     rcx, [rsi+1000h]                                               ; +0x62b, 0x14023b66b\nmov     rbx, [rcx]                                                     ; +0x632, 0x14023b672\ncall    qword ptr [rbx+0C8h]                                           ; +0x635, 0x14023b675\nxorps   xmm2, xmm2                                                     ; +0x63b, 0x14023b67b\nmovss   xmm1, dword ptr [rax]                                          ; +0x63e, 0x14023b67e\nlea     rcx, [rsp+68h+arg_0]                                           ; +0x642, 0x14023b682\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x647, 0x14023b687\nmov     rdx, rax                                                       ; +0x64d, 0x14023b68d\nmov     rcx, [rsi+1000h]                                               ; +0x650, 0x14023b690\ncall    qword ptr [rbx+0B8h]                                           ; +0x657, 0x14023b697\nmov     rcx, rsi                                                       ; +0x65d, 0x14023b69d\ncall    GJBaseGameLayer__resetCamera                                   ; +0x660, 0x14023b6a0\nmov     rax, [rsi+1010h]                                               ; +0x665, 0x14023b6a5\nmov     dword ptr [rax+1CCh], 0                                        ; +0x66c, 0x14023b6ac\nmov     rax, [rsi+1018h]                                               ; +0x676, 0x14023b6b6\nmov     dword ptr [rax+1CCh], 0                                        ; +0x67d, 0x14023b6bd\nmov     rcx, [rsi+1010h]                                               ; +0x687, 0x14023b6c7\nmov     rax, [rcx]                                                     ; +0x68e, 0x14023b6ce\ncall    qword ptr [rax+80h]                                            ; +0x691, 0x14023b6d1\nmovaps  xmm1, xmm0                                                     ; +0x697, 0x14023b6d7\nmov     rcx, [rsi+1010h]                                               ; +0x69a, 0x14023b6da\ncall    GJGroundLayer__scaleGround                                     ; +0x6a1, 0x14023b6e1\nmov     rcx, [rsi+1018h]                                               ; +0x6a6, 0x14023b6e6\nmov     rax, [rcx]                                                     ; +0x6ad, 0x14023b6ed\ncall    qword ptr [rax+80h]                                            ; +0x6b0, 0x14023b6f0\nmovaps  xmm1, xmm0                                                     ; +0x6b6, 0x14023b6f6\nmov     rcx, [rsi+1018h]                                               ; +0x6b9, 0x14023b6f9\ncall    GJGroundLayer__scaleGround                                     ; +0x6c0, 0x14023b700\nxorps   xmm2, xmm2                                                     ; +0x6c5, 0x14023b705\nxorps   xmm1, xmm1                                                     ; +0x6c8, 0x14023b708\nmov     rcx, [rsi+1010h]                                               ; +0x6cb, 0x14023b70b\ncall    GJGroundLayer__updateShadowXPos                                ; +0x6d2, 0x14023b712\nmov     rcx, [rsi+1010h]                                               ; +0x6d7, 0x14023b717\ncall    GJGroundLayer__updateShadows                                   ; +0x6de, 0x14023b71e\nxorps   xmm2, xmm2                                                     ; +0x6e3, 0x14023b723\nxorps   xmm1, xmm1                                                     ; +0x6e6, 0x14023b726\nmov     rcx, [rsi+1018h]                                               ; +0x6e9, 0x14023b729\ncall    GJGroundLayer__updateShadowXPos                                ; +0x6f0, 0x14023b730\nmov     rcx, [rsi+1018h]                                               ; +0x6f5, 0x14023b735\ncall    GJGroundLayer__updateShadows                                   ; +0x6fc, 0x14023b73c\ncmp     byte ptr [rsi+32Ch], 1                                         ; +0x701, 0x14023b741\njz      loc_14023B7F3                                                  ; +0x708, 0x14023b748\nmov     byte ptr [rsi+32Ch], 1                                         ; +0x70e, 0x14023b74e\nmov     rbx, [rsi+0DA0h]                                               ; +0x715, 0x14023b755\nmov     dword ptr [rsp+68h+arg_0], 302h                                ; +0x71c, 0x14023b75c\nmov     dword ptr [rsp+68h+arg_0+4], 1                                 ; +0x724, 0x14023b764\nmov     rcx, [rbx+7A0h]                                                ; +0x72c, 0x14023b76c\nadd     rcx, 158h                                                      ; +0x733, 0x14023b773\nmov     rax, [rcx]                                                     ; +0x73a, 0x14023b77a\nmov     rdx, [rsp+68h+arg_0]                                           ; +0x73d, 0x14023b77d\ncall    qword ptr [rax]                                                ; +0x742, 0x14023b782\nmov     rax, [rbx+7B0h]                                                ; +0x744, 0x14023b784\nmov     byte ptr [rax+1B8h], 0                                         ; +0x74b, 0x14023b78b\nlea     rdx, [rsp+68h+arg_0]                                           ; +0x752, 0x14023b792\nmov     rcx, [rbx+7B0h]                                                ; +0x757, 0x14023b797\ncall    cs:?setBlendFunc@CCDrawNode@cocos2d@@QEAAXAEBU_ccBlendFunc@2@@Z; cocos2d::CCDrawNode::setBlendFunc(cocos2d::_ccBlendFunc const &) ; +0x75e, 0x14023b79e\nmov     rbx, [rsi+0DA8h]                                               ; +0x764, 0x14023b7a4\nmov     dword ptr [rsp+68h+arg_0], 302h                                ; +0x76b, 0x14023b7ab\nmov     dword ptr [rsp+68h+arg_0+4], 1                                 ; +0x773, 0x14023b7b3\nmov     rcx, [rbx+7A0h]                                                ; +0x77b, 0x14023b7bb\nadd     rcx, 158h                                                      ; +0x782, 0x14023b7c2\nmov     rax, [rcx]                                                     ; +0x789, 0x14023b7c9\nmov     rdx, [rsp+68h+arg_0]                                           ; +0x78c, 0x14023b7cc\ncall    qword ptr [rax]                                                ; +0x791, 0x14023b7d1\nmov     rax, [rbx+7B0h]                                                ; +0x793, 0x14023b7d3\nmov     byte ptr [rax+1B8h], 0                                         ; +0x79a, 0x14023b7da\nlea     rdx, [rsp+68h+arg_0]                                           ; +0x7a1, 0x14023b7e1\nmov     rcx, [rbx+7B0h]                                                ; +0x7a6, 0x14023b7e6\ncall    cs:?setBlendFunc@CCDrawNode@cocos2d@@QEAAXAEBU_ccBlendFunc@2@@Z; cocos2d::CCDrawNode::setBlendFunc(cocos2d::_ccBlendFunc const &) ; +0x7ad, 0x14023b7ed\nmov     dword ptr [rsi+4E8h], 0                                        ; +0x7b3, 0x14023b7f3\nmov     qword ptr [rsi+530h], 0                                        ; +0x7bd, 0x14023b7fd\nlea     rcx, [rsi+538h]                                                ; +0x7c8, 0x14023b808\nlea     rdx, dword_1406C1D28                                           ; +0x7cf, 0x14023b80f\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x7d6, 0x14023b816\nmov     dword ptr [rsi+528h], 0                                        ; +0x7dc, 0x14023b81c\nmov     rcx, [rsi+1010h]                                               ; +0x7e6, 0x14023b826\ncmp     byte ptr [rcx+1C9h], 1                                         ; +0x7ed, 0x14023b82d\njz      short loc_14023B857                                            ; +0x7f4, 0x14023b834\nmov     byte ptr [rcx+1C9h], 1                                         ; +0x7f6, 0x14023b836\nmov     rax, [rcx]                                                     ; +0x7fd, 0x14023b83d\ncmp     byte ptr [rcx+1C8h], 0                                         ; +0x800, 0x14023b840\nsetnz   dl                                                             ; +0x807, 0x14023b847\ncall    qword ptr [rax+140h]                                           ; +0x80a, 0x14023b84a\nlea     rdi, [rsi+428h]                                                ; +0x810, 0x14023b850\nmov     rcx, [rsi+1018h]                                               ; +0x817, 0x14023b857\ncmp     byte ptr [rcx+1C9h], 1                                         ; +0x81e, 0x14023b85e\njz      short loc_14023B881                                            ; +0x825, 0x14023b865\nmov     byte ptr [rcx+1C9h], 1                                         ; +0x827, 0x14023b867\nmov     rax, [rcx]                                                     ; +0x82e, 0x14023b86e\ncmp     byte ptr [rcx+1C8h], 0                                         ; +0x831, 0x14023b871\nsetnz   dl                                                             ; +0x838, 0x14023b878\ncall    qword ptr [rax+140h]                                           ; +0x83b, 0x14023b87b\nmov     dword ptr [rsi+424h], 0                                        ; +0x841, 0x14023b881\nmov     dword ptr [rsp+68h+arg_0], 19h                                 ; +0x84b, 0x14023b88b\nlea     rdx, [rsp+68h+arg_0]                                           ; +0x853, 0x14023b893\nmov     rcx, rdi                                                       ; +0x858, 0x14023b898\ncall    sub_14024AC30                                                  ; +0x85b, 0x14023b89b\nmov     byte ptr [rsi+2A0h], 0                                         ; +0x860, 0x14023b8a0\nmov     byte ptr [rsi+2FCh], 0                                         ; +0x867, 0x14023b8a7\nmov     dword ptr [rsi+2F8h], 0                                        ; +0x86e, 0x14023b8ae\nmov     dword ptr [rsi+300h], 0                                        ; +0x878, 0x14023b8b8\nmovzx   eax, byte ptr [rsi+3231h]                                      ; +0x882, 0x14023b8c2\nmov     [rsi+3232h], al                                                ; +0x889, 0x14023b8c9\nmov     byte ptr [rsi+324Ah], 0                                        ; +0x88f, 0x14023b8cf\nmov     rcx, [rsi+3218h]                                               ; +0x896, 0x14023b8d6\ncall    cs:?removeAllObjects@CCDictionary@cocos2d@@QEAAXXZ; cocos2d::CCDictionary::removeAllObjects(void) ; +0x89d, 0x14023b8dd\nmov     byte ptr [rsi+418h], 0                                         ; +0x8a3, 0x14023b8e3\nmov     byte ptr [rsi+420h], 0                                         ; +0x8aa, 0x14023b8ea\nmov     byte ptr [rsi+3224h], 0                                        ; +0x8b1, 0x14023b8f1\nmov     dword ptr [rsi+41Ch], 0                                        ; +0x8b8, 0x14023b8f8\nmov     dword ptr [rsi+3204h], 3F800000h                               ; +0x8c2, 0x14023b902\nmov     edx, 0Eh                                                       ; +0x8cc, 0x14023b90c\nmov     rcx, rsi                                                       ; +0x8d1, 0x14023b911\ncall    cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x8d4, 0x14023b914\nmov     qword ptr [rsi+400h], 0                                        ; +0x8da, 0x14023b91a\nmov     qword ptr [rsi+408h], 0                                        ; +0x8e5, 0x14023b925\nmov     rcx, rsi                                                       ; +0x8f0, 0x14023b930\ncall    GJBaseGameLayer__resetPlayer                                   ; +0x8f3, 0x14023b933\nmov     rcx, rsi                                                       ; +0x8f8, 0x14023b938\ncall    GJBaseGameLayer__resetSpawnChannelIndex                        ; +0x8fb, 0x14023b93b\nmov     rcx, [rsi+31F8h]                                               ; +0x900, 0x14023b940\ncall    cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x907, 0x14023b947\nmov     rcx, [rsi+31F8h]                                               ; +0x90d, 0x14023b94d\nmov     rax, [rcx]                                                     ; +0x914, 0x14023b954\nxor     edx, edx                                                       ; +0x917, 0x14023b957\ncall    qword ptr [rax+140h]                                           ; +0x919, 0x14023b959\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x91f, 0x14023b95f\nmov     rcx, rax                                                       ; +0x925, 0x14023b965\nlea     rdx, [rsp+68h+arg_8]                                           ; +0x928, 0x14023b968\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x92d, 0x14023b96d\nmov     rcx, [rsi+0DA0h]                                               ; +0x933, 0x14023b973\nmov     rax, [rcx]                                                     ; +0x93a, 0x14023b97a\ncall    qword ptr [rax+0C8h]                                           ; +0x93d, 0x14023b97d\nmovss   xmm0, dword ptr [rax+4]                                        ; +0x943, 0x14023b983\nsubss   xmm0, [rsp+68h+arg_C]                                          ; +0x948, 0x14023b988\naddss   xmm0, cs:dword_140623294                                       ; +0x94e, 0x14023b98e\nmovss   dword ptr [rsi+414h], xmm0                                     ; +0x956, 0x14023b996\ncmp     byte ptr [rsi+3180h], 0                                        ; +0x95e, 0x14023b99e\njz      loc_14023BAAA                                                  ; +0x965, 0x14023b9a5\nmovsxd  rdx, dword ptr [rsi+308Ch]                                     ; +0x96b, 0x14023b9ab\nmov     dword ptr [rsp+68h+arg_0], edx                                 ; +0x972, 0x14023b9b2\ncmp     edx, [rsi+3090h]                                               ; +0x976, 0x14023b9b6\njg      loc_14023BAAA                                                  ; +0x97c, 0x14023b9bc\nmov     r12, rdx                                                       ; +0x982, 0x14023b9c2\nmov     rax, [rsi+35A0h]                                               ; +0x985, 0x14023b9c5\nsub     rax, [rsi+3598h]                                               ; +0x98c, 0x14023b9cc\nsar     rax, 3                                                         ; +0x993, 0x14023b9d3\ncdqe                                                                   ; +0x997, 0x14023b9d7\nmov     [rsp+68h+arg_10], rax                                          ; +0x999, 0x14023b9d9\ncmp     r12, rax                                                       ; +0x9a1, 0x14023b9e1\njge     loc_14023BAAA                                                  ; +0x9a4, 0x14023b9e4\nmov     rax, [rsi+3598h]                                               ; +0x9aa, 0x14023b9ea\nmov     rcx, [rax+r12*8]                                               ; +0x9b1, 0x14023b9f1\ntest    rcx, rcx                                                       ; +0x9b5, 0x14023b9f5\njz      short loc_14023BA07                                            ; +0x9b8, 0x14023b9f8\nmov     rax, [rcx+8]                                                   ; +0x9ba, 0x14023b9fa\nsub     rax, [rcx]                                                     ; +0x9be, 0x14023b9fe\nsar     rax, 3                                                         ; +0x9c1, 0x14023ba01\njmp     short loc_14023BA0C                                            ; +0x9c5, 0x14023ba05\nmov     eax, 0FFFFFFFFh                                                ; +0x9c7, 0x14023ba07\nmovsxd  r15, dword ptr [rsi+3094h]                                     ; +0x9cc, 0x14023ba0c\ncmp     r15d, [rsi+3098h]                                              ; +0x9d3, 0x14023ba13\njg      short loc_14023BA8D                                            ; +0x9da, 0x14023ba1a\nmov     r14, r15                                                       ; +0x9dc, 0x14023ba1c\nmovsxd  r13, eax                                                       ; +0x9df, 0x14023ba1f\ncmp     r14, r13                                                       ; +0x9e2, 0x14023ba22\njge     short loc_14023BA89                                            ; +0x9e5, 0x14023ba25\nmov     rax, [rsi+3598h]                                               ; +0x9e7, 0x14023ba27\nmov     rcx, [rax+r12*8]                                               ; +0x9ee, 0x14023ba2e\nmov     rax, [rcx]                                                     ; +0x9f2, 0x14023ba32\nmov     rdi, [rax+r14*8]                                               ; +0x9f5, 0x14023ba35\ntest    rdi, rdi                                                       ; +0x9f9, 0x14023ba39\njz      short loc_14023BA7A                                            ; +0x9fc, 0x14023ba3c\nxor     ebx, ebx                                                       ; +0x9fe, 0x14023ba3e\nmov     rax, [rsi+3640h]                                               ; +0xa00, 0x14023ba40\nmov     rcx, [rax+r12*8]                                               ; +0xa07, 0x14023ba47\nmov     rax, [rcx]                                                     ; +0xa0b, 0x14023ba4b\nmovsxd  rbp, dword ptr [rax+r14*4]                                     ; +0xa0e, 0x14023ba4e\ntest    rbp, rbp                                                       ; +0xa12, 0x14023ba52\njle     short loc_14023BA7A                                            ; +0xa15, 0x14023ba55\nnop     word ptr [rax+rax+00000000h]                                   ; +0xa17, 0x14023ba57\nmov     rax, [rdi]                                                     ; +0xa20, 0x14023ba60\nmov     rcx, [rax+rbx*8]                                               ; +0xa23, 0x14023ba63\nmov     rax, [rcx]                                                     ; +0xa27, 0x14023ba67\nmov     dl, 1                                                          ; +0xa2a, 0x14023ba6a\ncall    qword ptr [rax+478h]                                           ; +0xa2c, 0x14023ba6c\ninc     rbx                                                            ; +0xa32, 0x14023ba72\ncmp     rbx, rbp                                                       ; +0xa35, 0x14023ba75\njl      short loc_14023BA60                                            ; +0xa38, 0x14023ba78\ninc     r15d                                                           ; +0xa3a, 0x14023ba7a\ninc     r14                                                            ; +0xa3d, 0x14023ba7d\ncmp     r15d, [rsi+3098h]                                              ; +0xa40, 0x14023ba80\njle     short loc_14023BA22                                            ; +0xa47, 0x14023ba87\nmov     edx, dword ptr [rsp+68h+arg_0]                                 ; +0xa49, 0x14023ba89\ninc     edx                                                            ; +0xa4d, 0x14023ba8d\nmov     dword ptr [rsp+68h+arg_0], edx                                 ; +0xa4f, 0x14023ba8f\ninc     r12                                                            ; +0xa53, 0x14023ba93\ncmp     edx, [rsi+3090h]                                               ; +0xa56, 0x14023ba96\nmov     rax, [rsp+68h+arg_10]                                          ; +0xa5c, 0x14023ba9c\njle     loc_14023B9E1                                                  ; +0xa64, 0x14023baa4\nmov     [rsp+68h+var_48], 0                                            ; +0xa6a, 0x14023baaa\nxor     r9d, r9d                                                       ; +0xa6f, 0x14023baaf\nxor     r8d, r8d                                                       ; +0xa72, 0x14023bab2\nxor     edx, edx                                                       ; +0xa75, 0x14023bab5\nmov     rcx, rsi                                                       ; +0xa77, 0x14023bab7\ncall    GJBaseGameLayer__toggleDualMode                                ; +0xa7a, 0x14023baba\nmov     rbx, [rsp+68h+arg_18]                                          ; +0xa7f, 0x14023babf\nadd     rsp, 30h                                                       ; +0xa87, 0x14023bac7\npop     r15                                                            ; +0xa8b, 0x14023bacb\npop     r14                                                            ; +0xa8d, 0x14023bacd\npop     r13                                                            ; +0xa8f, 0x14023bacf\npop     r12                                                            ; +0xa91, 0x14023bad1\npop     rdi                                                            ; +0xa93, 0x14023bad3\npop     rsi                                                            ; +0xa94, 0x14023bad4\npop     rbp                                                            ; +0xa95, 0x14023bad5\nretn                                                                   ; +0xa96, 0x14023bad6", "xrefs": ["LevelEditorLayer::onPlaytest @ 0x1402dfdba", "LevelEditorLayer::onStopPlaytest @ 0x1402e0863", "PlayLayer::resetLevel @ 0x1403b9059", "<???> @ 0x1406ce25c"], "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"}