{"type": "func", "start": 5372612272, "end": 5372615570, "name": "PlayLayer::resetLevel", "pseudocode": "// \n// PlayLayer::resetLevel from 0x1403b8eb0 to 0x1403b9b92 (3298 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405c9d10\n// > <???> @ 0x1406d70ac\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=6\nvoid PlayLayer::resetLevel(PlayLayer *a1)\n{\n  float v1; // xmm3_4\n  bool m_ignoreDamage; // al\n  FMODAudioEngine *v4; // rcx\n  GJBaseGameLayer *v5; // rcx\n  __int64 v6; // rdi\n  __int64 *i; // rbx\n  FMOD::Channel *v8; // rax\n  __int64 m_replayRandSeed; // rax\n  EndPortalObject *m_endPortal; // rax\n  float v11; // xmm0_4\n  float m_endXPosition; // xmm1_4\n  EndPortalObject_vtbl *v13; // rbx\n  __int64 v14; // rax\n  EndPortalObject *v15; // rbx\n  _BOOL8 v16; // rdx\n  _BOOL8 v17; // rdx\n  double m_attemptTime; // xmm0_8\n  unsigned int j; // edi\n  GameObject *v20; // rbx\n  int m_outerSectionIndex; // ecx\n  double m_positionX; // xmm2_8\n  double v23; // xmm0_8\n  float m_sectionXFactor; // xmm1_4\n  int v25; // edx\n  double m_positionY; // xmm2_8\n  double v27; // xmm0_8\n  float m_sectionYFactor; // xmm1_4\n  _BOOL8 v29; // rdx\n  int v30; // eax\n  int m_middleSectionIndex; // eax\n  float *v32; // rax\n  _BOOL8 v33; // rdx\n  __int64 v34; // rax\n  _BOOL8 v35; // rdx\n  AudioEffectsLayer *m_audioEffectsLayer; // rbx\n  cocos2d::CCArray *m_unk1c0; // rcx\n  struct cocos2d::CCArray *v38; // rax\n  CheckpointObject *Object; // r14\n  void **v40; // rdx\n  GJEffectManager *m_effectManager; // rbx\n  bool v42; // r8\n  StartPosObject *m_startPosObject; // rax\n  CheckpointObject *m_currentCheckpoint; // rdx\n  __int64 v45; // rax\n  PlayerObject *m_player2; // rcx\n  PlayerObject_vtbl *v47; // rax\n  __int64 v48; // rax\n  const cocos2d::CCPoint *v49; // rax\n  const cocos2d::CCPoint *v50; // rax\n  __int64 m_respawnID; // rdx\n  void *v52; // rcx\n  std::string *p_m_persistentStateString; // rdx\n  GameStatsManager *v54; // rcx\n  GJGameLevel *m_level; // rdi\n  int v56; // ebx\n  float v57; // xmm0_4\n  bool m_started; // r15\n  __int64 v59; // rax\n  UILayer *m_uiLayer; // rax\n  bool v61; // al\n  std::_Vector_val<std::_Simple_types<PlayerButtonCommand>>::pointer Mylast; // rdx\n  cocos2d::CCArray *m_batchNodes; // rax\n  cocos2d::ccArray *data; // rbx\n  __int64 num; // rax\n  cocos2d::CCNode **arr; // rbx\n  cocos2d::CCNode **k; // rdi\n  __int64 v68; // rbx\n  struct cocos2d::CCDelayTime *v69; // rax\n  struct cocos2d::CCSequence *v70; // rax\n  cocos2d::ccColor3B *v71; // r8\n  void **v72; // [rsp+28h] [rbp-79h]\n  FMODAudioEngine *v73; // [rsp+48h] [rbp-59h] BYREF\n  void *Block[2]; // [rsp+50h] [rbp-51h] BYREF\n  double v75; // [rsp+60h] [rbp-41h]\n  cocos2d::CCPoint v76; // [rsp+68h] [rbp-39h] BYREF\n  char v77[8]; // [rsp+70h] [rbp-31h] BYREF\n  void *Src[4]; // [rsp+78h] [rbp-29h] BYREF\n\n  if ( a1->m_freezeStartCamera || !a1->m_isPlatformer && !a1->m_isPracticeMode )\n  {\n    m_ignoreDamage = a1->m_ignoreDamage;\n    if ( !a1->m_isIgnoreDamageEnabled || m_ignoreDamage )\n    {\n      a1->m_isIgnoreDamageEnabled = m_ignoreDamage;\n    }\n    else\n    {\n      a1->m_isIgnoreDamageEnabled = 0;\n      a1->m_ignoreDamage = 0;\n      a1->m_player1->m_maybeCanRunIntoBlocks = 0;\n      a1->m_player2->m_maybeCanRunIntoBlocks = 0;\n      PlayLayer::updateTestModeLabel(a1);\n    }\n  }\n  if ( !a1->m_freezeStartCamera )\n  {\n    v4 = (FMODAudioEngine *)qword_1406C2E88;\n    if ( !qword_1406C2E88 )\n    {\n      v73 = (FMODAudioEngine *)operator new(0x888u);\n      qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v73);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88);\n      v4 = (FMODAudioEngine *)qword_1406C2E88;\n    }\n    FMODAudioEngine::stopAllEffects(v4);\n    if ( !a1->m_isPracticeMode || a1->m_practiceMusicSync )\n    {\n      if ( a1->m_isPlatformer )\n      {\n        v6 = qword_1406C2E88;\n        if ( !qword_1406C2E88 )\n        {\n          v73 = (FMODAudioEngine *)operator new(0x888u);\n          qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v73);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88);\n          v6 = qword_1406C2E88;\n        }\n        for ( i = **(__int64 ***)(v6 + 328); i != *(__int64 **)(v6 + 328); i = (__int64 *)*i )\n        {\n          if ( !*((_BYTE *)i + 73) )\n          {\n            v8 = FMODAudioEngine::channelForChannelID((FMODAudioEngine *)v6, *((_DWORD *)i + 6));\n            if ( v8 )\n              FMOD::ChannelControl::setPaused(v8, 1);\n          }\n        }\n      }\n      else\n      {\n        GJBaseGameLayer::pauseAudio(v5);\n      }\n    }\n  }\n  a1->m_resumeTimer = 2;\n  dword_1406C10C4 = clock();\n  GJBaseGameLayer::resetLevelVariables(a1);\n  if ( a1->m_hitboxesOnDeath && (!a1->m_isDebugDrawEnabled || !a1->m_isPracticeMode) && !a1->m_playerDied )\n    PlayLayer::toggleDebugDraw(a1);\n  a1->m_gameState.m_commandIndex = 0;\n  a1->m_gameState.m_currentProgress = 0;\n  *(_QWORD *)&a1->m_unk32ec = 0;\n  a1->m_areaObjectsUpdated = 1;\n  a1->m_activatedCheckpoint = nullptr;\n  a1->m_tryPlaceCheckpoint = 0;\n  a1->m_unk32d0 = 0;\n  if ( !a1->m_useReplay || (m_replayRandSeed = a1->m_replayRandSeed) == 0 )\n  {\n    cocos2d::gettimeofday((cocos2d *)&v73, nullptr);\n    m_replayRandSeed = HIDWORD(v73) * (int)v73;\n  }\n  a1->m_randomSeed = m_replayRandSeed;\n  qword_1406C2E90 = m_replayRandSeed;\n  a1->m_activeObjectsCount = 0;\n  a1->m_unk36ce = 0;\n  a1->m_unk36c8 = 0;\n  UILayer::toggleMenuVisibility(a1->m_uiLayer, 1);\n  *(_WORD *)&a1->m_hasCompletedLevel = 0;\n  a1->m_levelEndAnimationStarted = 0;\n  m_endPortal = a1->m_endPortal;\n  if ( m_endPortal )\n  {\n    a1->m_endChecked = 0;\n    m_endPortal->m_flippedX = 0;\n    a1->m_endPortal->m_startPosHeightRelated = 0;\n    v11 = ((float (__fastcall *)(EndPortalObject *))a1->m_endPortal->setScaleX)(a1->m_endPortal);\n    m_endXPosition = a1->m_endXPosition;\n    a1->m_levelLength = m_endXPosition;\n    v13 = a1->m_endPortal->GJBaseGameLayer::__vftable;\n    cocos2d::CCPoint::CCPoint(v11, m_endXPosition);\n    ((void (__fastcall *)(EndPortalObject *, __int64))v13->setStartPos)(a1->m_endPortal, v14);\n    v15 = a1->m_endPortal;\n    GJBaseGameLayer::removeObjectFromSection(a1, v15);\n    a1->addToSection(a1, v15);\n    LOBYTE(v16) = 1;\n    a1->m_endPortal->deactivateObject(a1->m_endPortal, v16);\n  }\n  a1->m_endLayerStars = 0;\n  *(_QWORD *)&a1->m_orbs = 0;\n  a1->m_secretKey = 0;\n  a1->m_hasJumped = 0;\n  sub_14003CCE0((void **)&a1->m_recordString, byte_140518980, 0);\n  a1->m_unk3900 = 0.0;\n  a1->m_activeGravityEffects = 0;\n  LOBYTE(v17) = 1;\n  a1->m_uiLayer->m_pauseBtn->setEnabled(a1->m_uiLayer->m_pauseBtn, v17);\n  GJBaseGameLayer::resetActiveEnterEffects(a1);\n  m_attemptTime = a1->m_attemptTime;\n  if ( m_attemptTime > a1->m_bestAttemptTime )\n    a1->m_bestAttemptTime = m_attemptTime;\n  a1->m_clicks = 0;\n  a1->m_attemptTime = 0.0;\n  a1->m_currentTime = 0.0;\n  a1->m_pauseDelta = 0.0;\n  a1->toggleGlitter(a1, 0);\n  for ( j = 0; j < cocos2d::CCArray::count(a1->m_objects); ++j )\n  {\n    v20 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1->m_objects, j);\n    ((void (__fastcall *)(GameObject *, FMODAudioEngine **))v20->getRealPosition)(v20, &v73);\n    v20->resetObject(v20);\n    m_outerSectionIndex = v20->m_outerSectionIndex;\n    if ( m_outerSectionIndex >= 0 )\n    {\n      m_positionX = v20->m_positionX;\n      if ( m_positionX > 0.0 )\n      {\n        m_sectionXFactor = a1->m_sectionXFactor;\n        v23 = m_positionX < 10000000.0 ? m_sectionXFactor * m_positionX : (float)(m_sectionXFactor * 10000000.0);\n      }\n      else\n      {\n        v23 = 0.0;\n      }\n      v25 = (int)v23;\n      m_positionY = v20->m_positionY;\n      if ( m_positionY > 0.0 )\n      {\n        m_sectionYFactor = a1->m_sectionYFactor;\n        v27 = m_positionY < 10000000.0 ? m_sectionYFactor * m_positionY : (float)(m_sectionYFactor * 10000000.0);\n      }\n      else\n      {\n        v27 = 0.0;\n      }\n      if ( v25 != m_outerSectionIndex || (int)v27 != v20->m_middleSectionIndex )\n      {\n        GJBaseGameLayer::removeObjectFromSection(a1, v20);\n        a1->addToSection(a1, v20);\n        v30 = v20->m_outerSectionIndex;\n        if ( v30 > a1->m_rightSectionIndex\n          || v30 < a1->m_leftSectionIndex\n          || (m_middleSectionIndex = v20->m_middleSectionIndex, m_middleSectionIndex > a1->m_topSectionIndex)\n          || m_middleSectionIndex < a1->m_bottomSectionIndex )\n        {\n          LOBYTE(v29) = 1;\n          v20->deactivateObject(v20, v29);\n        }\n      }\n    }\n    v32 = (float *)((__int64 (__fastcall *)(GameObject *, char *))v20->getRealPosition)(v20, v77);\n    if ( *(float *)&v73 == *v32 )\n    {\n      v34 = ((__int64 (__fastcall *)(GameObject *, cocos2d::CCPoint *))v20->getRealPosition)(v20, &v76);\n      if ( *((float *)&v73 + 1) == *(float *)(v34 + 4) )\n        continue;\n    }\n    v20->m_isDirty = 1;\n    LOBYTE(v33) = 1;\n    v20->setObjectRectDirty(v20, v33);\n    LOBYTE(v35) = 1;\n    v20->setOrientedRectDirty(v20, v35);\n  }\n  m_audioEffectsLayer = a1->m_audioEffectsLayer;\n  m_unk1c0 = m_audioEffectsLayer->m_unk1c0;\n  if ( m_unk1c0 )\n  {\n    cocos2d::CCArray::removeAllObjects(m_unk1c0);\n    cocos2d::CCObject::release(m_audioEffectsLayer->m_unk1c0);\n    m_audioEffectsLayer->m_unk1c0 = nullptr;\n  }\n  v38 = cocos2d::CCArray::createWithArray(m_audioEffectsLayer->m_unk1bc);\n  m_audioEffectsLayer->m_unk1c0 = v38;\n  cocos2d::CCObject::retain(v38);\n  m_audioEffectsLayer->m_timeElapsed = 0.0;\n  PlayLayer::loadDefaultColors(a1);\n  if ( cocos2d::CCArray::count(a1->m_checkpointArray) )\n  {\n    Object = (CheckpointObject *)cocos2d::CCArray::lastObject(a1->m_checkpointArray);\n    PlayLayer::loadFromCheckpoint(a1, Object);\n  }\n  else\n  {\n    Object = nullptr;\n  }\n  if ( !a1->m_useReplay )\n  {\n    GJEffectManager::getPersistentStateString(&a1->m_effectManager->GJBaseGameLayer::__vftable, Src);\n    if ( &a1->m_persistentStateString != (std::string *)Src )\n    {\n      v40 = Src;\n      if ( Src[3] > (void *)0xF )\n        v40 = (void **)Src[0];\n      sub_14003CCE0((void **)&a1->m_persistentStateString, v40, (size_t)Src[2]);\n    }\n    sub_14003A830((__int64)Src);\n  }\n  m_effectManager = a1->m_effectManager;\n  sub_14005E0D0(&m_effectManager->m_unk3f0._Traitsobj._Mypair._Myval2._Myval2);\n  sub_14005E0D0(&m_effectManager->m_unk430._Traitsobj._Mypair._Myval2._Myval2);\n  if ( Object )\n  {\n    a1->m_unk3251 = 0;\n    if ( !a1->m_useReplay )\n      GJBaseGameLayer::resetRecord(a1, a1->m_gameState.m_unkUint4, v42);\n  }\n  else\n  {\n    a1->m_timePlayed = 0.0;\n    *(_QWORD *)&a1->m_tickIndex = 0;\n    GJBaseGameLayer::resetRecord(a1, 0, v42);\n    a1->m_unk32e0 = a1->m_randomSeed;\n    m_startPosObject = a1->m_startPosObject;\n    if ( m_startPosObject )\n    {\n      m_currentCheckpoint = a1->m_currentCheckpoint;\n      if ( m_currentCheckpoint )\n        PlayLayer::loadFromCheckpoint(a1, m_currentCheckpoint);\n      else\n        GJBaseGameLayer::setupLevelStart(a1, m_startPosObject->m_startSettings);\n    }\n    else\n    {\n      GJBaseGameLayer::setupLevelStart(a1, a1->m_levelSettings);\n    }\n  }\n  a1->m_player1->getPosition_0(a1->m_player1);\n  cocos2d::CCPoint::CCPoint(&v76);\n  cocos2d::CCPoint::operator=(&a1->m_player1->m_position, v45);\n  m_player2 = a1->m_player2;\n  v47 = m_player2->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  if ( a1->m_gameState.m_isDualMode )\n    ((void (*)(void))v47->getPosition_0)();\n  else\n    v47->setPosition_0(m_player2, &stru_1406C2470);\n  cocos2d::CCPoint::CCPoint(&v76);\n  cocos2d::CCPoint::operator=(&a1->m_player2->m_position, v48);\n  if ( !Object )\n  {\n    v49 = a1->m_player1->getPosition_0(a1->m_player1);\n    cocos2d::CCPoint::operator=(&a1->m_player1->m_lastPosition, v49);\n    v50 = a1->m_player2->getPosition_0(a1->m_player2);\n    cocos2d::CCPoint::operator=(&a1->m_player2->m_lastPosition, v50);\n    if ( a1->m_startPosObject )\n    {\n      if ( !a1->m_currentCheckpoint )\n        GJBaseGameLayer::loadStartPosObject(a1);\n    }\n  }\n  GJBaseGameLayer::updatePlayerCollisionBlocks(a1);\n  if ( !a1->m_unk322a )\n  {\n    PlayerObject::playSpawnEffect(a1->m_player1);\n    if ( a1->m_gameState.m_isDualMode )\n      PlayerObject::playSpawnEffect(a1->m_player2);\n  }\n  a1->m_gameState.m_cameraShakeEnabled = 0;\n  a1->m_gameState.m_cameraShakeFactor = 0.0;\n  if ( a1->m_startPosObject )\n  {\n    if ( !Object )\n      goto LABEL_97;\n  }\n  else if ( !Object )\n  {\n    a1->m_startingFromBeginning = 1;\n    GJBaseGameLayer::checkSpawnObjects(a1);\n    goto LABEL_97;\n  }\n  m_respawnID = (unsigned int)Object->m_respawnID;\n  if ( (int)m_respawnID > 0 )\n  {\n    *(_OWORD *)Block = 0;\n    v75 = 0.0;\n    v72 = Block;\n    v1 = 0.0;\n    ((void (__fastcall *)(TriggerEffectDelegate *, __int64, _QWORD))a1->spawnGroup)(\n      &a1->TriggerEffectDelegate,\n      m_respawnID,\n      0);\n    v52 = Block[0];\n    if ( Block[0] )\n    {\n      if ( (unsigned __int64)(4 * ((__int64)(*(_QWORD *)&v75 - (unsigned __int64)Block[0]) >> 2)) >= 0x1000 )\n      {\n        v52 = *((void **)Block[0] - 1);\n        if ( (unsigned __int64)((char *)Block[0] - (char *)v52 - 8) > 0x1F )\n          invalid_parameter_noinfo_noreturn();\n      }\n      j_j_free(v52);\n    }\n  }\n  GJBaseGameLayer::gameEventTriggered(a1, CheckpointRespawn, 0, 0);\nLABEL_97:\n  GJBaseGameLayer::updateProximityVolumeEffects(a1);\n  GJBaseGameLayer::updateLevelColors(a1);\n  GJBaseGameLayer::updateCamera(a1, 0.0);\n  ((void (__fastcall *)(PlayLayer *))a1->updateVisibility)(a1);\n  GJBaseGameLayer::updateGradientLayers(a1);\n  GJBaseGameLayer::updateShaderLayer(a1, 0.0);\n  PlayLayer::updateAttempts(a1);\n  if ( !Object )\n  {\n    a1->m_savedAttempts = a1->m_attempts;\n    if ( &a1->m_savedPersistentStateString != &a1->m_persistentStateString )\n    {\n      p_m_persistentStateString = &a1->m_persistentStateString;\n      if ( a1->m_persistentStateString.m_data.m_capacity > 0xF )\n        p_m_persistentStateString = (std::string *)a1->m_persistentStateString.m_data.m_bigStorage;\n      sub_14003CCE0(\n        (void **)&a1->m_savedPersistentStateString,\n        p_m_persistentStateString,\n        a1->m_persistentStateString.m_data.m_size);\n    }\n  }\n  v54 = (GameStatsManager *)qword_1406C2EE8;\n  if ( !qword_1406C2EE8 )\n  {\n    v76 = (cocos2d::CCPoint)operator new(0x3E0u);\n    qword_1406C2EE8 = sub_1401D0AE0(*(_QWORD *)&v76);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8);\n    v54 = (GameStatsManager *)qword_1406C2EE8;\n  }\n  GameStatsManager::incrementStat(v54, (const char *)&word_140531EA0, 1);\n  m_level = a1->m_level;\n  v56 = m_level->m_attempts.random - m_level->m_attempts.seed + 1;\n  m_level->m_attempts.value = v56;\n  v57 = (float)((float)rand() / 32767.0) * 1000.0;\n  m_level->m_attempts.seed = (int)v57;\n  m_level->m_attempts.random = v56 + (int)v57;\n  PlayLayer::updateProgressbar(a1);\n  GJBaseGameLayer::refreshCounterLabels(a1);\n  m_started = a1->m_started;\n  if ( a1->m_isPlatformer )\n  {\n    a1->m_started = 0;\n  }\n  else if ( m_started && !Object && !a1->m_startPosObject )\n  {\n    PlayLayer::startMusic(a1);\n  }\n  v59 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v76 = (cocos2d::CCPoint)operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(*(_QWORD *)&v76);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v59 = qword_1406C2ED8;\n  }\n  if ( *(_BYTE *)(v59 + 915) && !a1->m_isPracticeMode && !a1->m_isTestMode )\n  {\n    cocos2d::CCNode::stopActionByTag(a1, 31);\n    a1->m_recordingStopped = 0;\n  }\n  GJBaseGameLayer::removeReleasedButtons(a1);\n  m_uiLayer = a1->m_uiLayer;\n  v61 = m_uiLayer->m_p1TouchId != -1 || m_uiLayer->m_p1Jumping || m_uiLayer->m_p2TouchId != -1 || m_uiLayer->m_p2Jumping;\n  *(void **)((char *)Block + 6) = nullptr;\n  HIWORD(Block[1]) = 0;\n  LODWORD(Block[0]) = 1;\n  v75 = 0.0;\n  Mylast = a1->m_queuedButtons._Mypair._Myval2._Mylast;\n  *(void **)((char *)Block + 4) = (void *)v61;\n  if ( Mylast == a1->m_queuedButtons._Mypair._Myval2._Myend )\n  {\n    sub_140253010(&a1->m_queuedButtons._Mypair._Myval2._Myfirst, Mylast, (__int64)Block);\n  }\n  else\n  {\n    *(_OWORD *)&Mylast->m_button = *(_OWORD *)Block;\n    Mylast->m_timestamp = v75;\n    ++a1->m_queuedButtons._Mypair._Myval2._Mylast;\n  }\n  if ( !a1->m_isPracticeMode && !a1->m_isIgnoreDamageEnabled )\n    a1->m_damageVerified = 0;\n  a1->m_freezeStartCamera = 0;\n  a1->m_skipArtReload = 0;\n  GJBaseGameLayer::syncBGTextures(a1);\n  dword_1406C10C0 = clock();\n  m_batchNodes = a1->m_batchNodes;\n  if ( m_batchNodes )\n  {\n    data = m_batchNodes->data;\n    num = data->num;\n    if ( (_DWORD)num )\n    {\n      arr = (cocos2d::CCNode **)data->arr;\n      for ( k = &arr[num - 1]; arr <= k; ++arr )\n      {\n        if ( !*arr )\n          break;\n        cocos2d::CCNode::qsortAllChildrenWithIndex(*arr);\n      }\n    }\n  }\n  GJBaseGameLayer::sortSectionVector(a1);\n  if ( a1->m_isPlatformer && (m_started || a1->m_platformerRestart) )\n  {\n    a1->m_platformerRestart = 0;\n    if ( !Object )\n    {\n      v68 = cocos2d::CCCallFunc::create(a1, PlayLayer::startGameDelayed);\n      v69 = cocos2d::CCDelayTime::create(0.2);\n      v70 = cocos2d::CCSequence::create(v69, v68, 0);\n      cocos2d::CCNode::runAction((CCLightFlash *)a1, (cocos2d::CCPoint)v70, v71, v1, *(float *)&v72);\n      a1->m_startingFromBeginning = 0;\n      a1->m_audioPaused = 1;\n      return;\n    }\n    a1->m_started = 1;\n    a1->m_startingFromBeginning = 0;\n    a1->m_audioPaused = 1;\n  }\n  else\n  {\n    a1->m_startingFromBeginning = 0;\n    a1->m_audioPaused = 1;\n    if ( !Object )\n      return;\n  }\n  cocos2d::CCPoint::operator=(&a1->m_gameState.m_cameraPosition2, &Object->m_gameState.m_cameraPosition2);\n  cocos2d::CCPoint::operator=(&a1->m_gameState.m_cameraStepDiff, &Object->m_gameState.m_cameraStepDiff);\n  cocos2d::CCPoint::operator=(&a1->m_gameState.m_unkPoint4, &Object->m_gameState.m_unkPoint4);\n}", "assembly": "; \n; PlayLayer::resetLevel from 0x1403b8eb0 to 0x1403b9b92 (3298 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405c9d10\n; > <???> @ 0x1406d70ac\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     rax, rsp                                                       ; +0x0, 0x1403b8eb0\nmov     [rax+10h], rbx                                                 ; +0x3, 0x1403b8eb3\nmov     [rax+18h], rsi                                                 ; +0x7, 0x1403b8eb7\npush    rbp                                                            ; +0xb, 0x1403b8ebb\npush    rdi                                                            ; +0xc, 0x1403b8ebc\npush    r12                                                            ; +0xd, 0x1403b8ebd\npush    r14                                                            ; +0xf, 0x1403b8ebf\npush    r15                                                            ; +0x11, 0x1403b8ec1\nlea     rbp, [rax-5Fh]                                                 ; +0x13, 0x1403b8ec3\nsub     rsp, 0D0h                                                      ; +0x17, 0x1403b8ec7\nmovaps  xmmword ptr [rax-38h], xmm6                                    ; +0x1e, 0x1403b8ece\nmovaps  xmmword ptr [rax-48h], xmm7                                    ; +0x22, 0x1403b8ed2\nmovaps  xmmword ptr [rax-58h], xmm8                                    ; +0x26, 0x1403b8ed6\nmov     rax, cs:__security_cookie                                      ; +0x2b, 0x1403b8edb\nxor     rax, rsp                                                       ; +0x32, 0x1403b8ee2\nmov     [rbp+57h+var_60], rax                                          ; +0x35, 0x1403b8ee5\nmov     rsi, rcx                                                       ; +0x39, 0x1403b8ee9\ncmp     byte ptr [rcx+3231h], 0                                        ; +0x3c, 0x1403b8eec\njnz     short loc_1403B8F07                                            ; +0x43, 0x1403b8ef3\ncmp     byte ptr [rcx+309Eh], 0                                        ; +0x45, 0x1403b8ef5\njnz     short loc_1403B8F50                                            ; +0x4c, 0x1403b8efc\ncmp     byte ptr [rcx+31F0h], 0                                        ; +0x4e, 0x1403b8efe\njnz     short loc_1403B8F50                                            ; +0x55, 0x1403b8f05\nmovzx   eax, byte ptr [rcx+886h]                                       ; +0x57, 0x1403b8f07\ncmp     byte ptr [rcx+3856h], 0                                        ; +0x5e, 0x1403b8f0e\njz      short loc_1403B8F4A                                            ; +0x65, 0x1403b8f15\ntest    al, al                                                         ; +0x67, 0x1403b8f17\njnz     short loc_1403B8F4A                                            ; +0x69, 0x1403b8f19\nmov     [rcx+3856h], al                                                ; +0x6b, 0x1403b8f1b\nmov     [rcx+886h], al                                                 ; +0x71, 0x1403b8f21\nmov     rax, [rcx+0DA0h]                                               ; +0x77, 0x1403b8f27\nmov     byte ptr [rax+7E5h], 0                                         ; +0x7e, 0x1403b8f2e\nmov     rax, [rcx+0DA8h]                                               ; +0x85, 0x1403b8f35\nmov     byte ptr [rax+7E5h], 0                                         ; +0x8c, 0x1403b8f3c\ncall    PlayLayer__updateTestModeLabel                                 ; +0x93, 0x1403b8f43\njmp     short loc_1403B8F50                                            ; +0x98, 0x1403b8f48\nmov     [rcx+3856h], al                                                ; +0x9a, 0x1403b8f4a\ncmp     byte ptr [rsi+3231h], 0                                        ; +0xa0, 0x1403b8f50\njnz     loc_1403B9040                                                  ; +0xa7, 0x1403b8f57\nmov     rcx, cs:qword_1406C2E88                                        ; +0xad, 0x1403b8f5d\ntest    rcx, rcx                                                       ; +0xb4, 0x1403b8f64\njnz     short loc_1403B8F97                                            ; +0xb7, 0x1403b8f67\nmov     ecx, 888h; Size                                                ; +0xb9, 0x1403b8f69\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xbe, 0x1403b8f6e\nmov     [rbp+57h+var_B0], rax                                          ; +0xc3, 0x1403b8f73\nmov     rcx, rax                                                       ; +0xc7, 0x1403b8f77\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0xca, 0x1403b8f7a\nnop                                                                    ; +0xcf, 0x1403b8f7f\nmov     cs:qword_1406C2E88, rax                                        ; +0xd0, 0x1403b8f80\nmov     rdx, [rax]                                                     ; +0xd7, 0x1403b8f87\nmov     rcx, rax                                                       ; +0xda, 0x1403b8f8a\ncall    qword ptr [rdx+48h]                                            ; +0xdd, 0x1403b8f8d\nmov     rcx, cs:qword_1406C2E88                                        ; +0xe0, 0x1403b8f90\ncall    FMODAudioEngine__stopAllEffects                                ; +0xe7, 0x1403b8f97\ncmp     byte ptr [rsi+31F0h], 0                                        ; +0xec, 0x1403b8f9c\njz      short loc_1403B8FB2                                            ; +0xf3, 0x1403b8fa3\ncmp     byte ptr [rsi+31F1h], 0                                        ; +0xf5, 0x1403b8fa5\njz      loc_1403B9040                                                  ; +0xfc, 0x1403b8fac\ncmp     byte ptr [rsi+309Eh], 0                                        ; +0x102, 0x1403b8fb2\njnz     short loc_1403B8FC2                                            ; +0x109, 0x1403b8fb9\ncall    GJBaseGameLayer__pauseAudio                                    ; +0x10b, 0x1403b8fbb\njmp     short loc_1403B9040                                            ; +0x110, 0x1403b8fc0\nmov     rdi, cs:qword_1406C2E88                                        ; +0x112, 0x1403b8fc2\ntest    rdi, rdi                                                       ; +0x119, 0x1403b8fc9\njnz     short loc_1403B8FFC                                            ; +0x11c, 0x1403b8fcc\nmov     ecx, 888h; Size                                                ; +0x11e, 0x1403b8fce\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x123, 0x1403b8fd3\nmov     [rbp+57h+var_B0], rax                                          ; +0x128, 0x1403b8fd8\nmov     rcx, rax                                                       ; +0x12c, 0x1403b8fdc\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x12f, 0x1403b8fdf\nnop                                                                    ; +0x134, 0x1403b8fe4\nmov     cs:qword_1406C2E88, rax                                        ; +0x135, 0x1403b8fe5\nmov     rdx, [rax]                                                     ; +0x13c, 0x1403b8fec\nmov     rcx, rax                                                       ; +0x13f, 0x1403b8fef\ncall    qword ptr [rdx+48h]                                            ; +0x142, 0x1403b8ff2\nmov     rdi, cs:qword_1406C2E88                                        ; +0x145, 0x1403b8ff5\nmov     rbx, [rdi+148h]                                                ; +0x14c, 0x1403b8ffc\nmov     rbx, [rbx]                                                     ; +0x153, 0x1403b9003\ncmp     rbx, [rdi+148h]                                                ; +0x156, 0x1403b9006\njz      short loc_1403B9040                                            ; +0x15d, 0x1403b900d\nnop                                                                    ; +0x15f, 0x1403b900f\ncmp     byte ptr [rbx+49h], 0                                          ; +0x160, 0x1403b9010\njnz     short loc_1403B9031                                            ; +0x164, 0x1403b9014\nmov     edx, [rbx+18h]                                                 ; +0x166, 0x1403b9016\nmov     rcx, rdi                                                       ; +0x169, 0x1403b9019\ncall    FMODAudioEngine__channelForChannelID                           ; +0x16c, 0x1403b901c\ntest    rax, rax                                                       ; +0x171, 0x1403b9021\njz      short loc_1403B9031                                            ; +0x174, 0x1403b9024\nmov     dl, 1                                                          ; +0x176, 0x1403b9026\nmov     rcx, rax                                                       ; +0x178, 0x1403b9028\ncall    cs:?setPaused@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@_N@Z; FMOD::ChannelControl::setPaused(bool) ; +0x17b, 0x1403b902b\nmov     rax, [rbx]                                                     ; +0x181, 0x1403b9031\nmov     rbx, rax                                                       ; +0x184, 0x1403b9034\ncmp     rax, [rdi+148h]                                                ; +0x187, 0x1403b9037\njnz     short loc_1403B9010                                            ; +0x18e, 0x1403b903e\nmov     dword ptr [rsi+32A4h], 2                                       ; +0x190, 0x1403b9040\ncall    cs:clock                                                       ; +0x19a, 0x1403b904a\nmov     cs:dword_1406C10C4, eax                                        ; +0x1a0, 0x1403b9050\nmov     rcx, rsi                                                       ; +0x1a6, 0x1403b9056\ncall    GJBaseGameLayer__resetLevelVariables                           ; +0x1a9, 0x1403b9059\ncmp     byte ptr [rsi+3782h], 0                                        ; +0x1ae, 0x1403b905e\njz      short loc_1403B908A                                            ; +0x1b5, 0x1403b9065\ncmp     byte ptr [rsi+3780h], 0                                        ; +0x1b7, 0x1403b9067\njz      short loc_1403B9079                                            ; +0x1be, 0x1403b906e\ncmp     byte ptr [rsi+31F0h], 0                                        ; +0x1c0, 0x1403b9070\njnz     short loc_1403B908A                                            ; +0x1c7, 0x1403b9077\ncmp     byte ptr [rsi+324Ah], 0                                        ; +0x1c9, 0x1403b9079\njnz     short loc_1403B908A                                            ; +0x1d0, 0x1403b9080\nmov     rcx, rsi                                                       ; +0x1d2, 0x1403b9082\ncall    PlayLayer__toggleDebugDraw                                     ; +0x1d5, 0x1403b9085\nxor     r12d, r12d                                                     ; +0x1da, 0x1403b908a\nmov     [rsi+3E0h], r12d                                               ; +0x1dd, 0x1403b908d\nmov     [rsi+3E8h], r12d                                               ; +0x1e4, 0x1403b9094\nmov     [rsi+32F8h], r12                                               ; +0x1eb, 0x1403b909b\nmov     byte ptr [rsi+3181h], 1                                        ; +0x1f2, 0x1403b90a2\nmov     [rsi+3A68h], r12                                               ; +0x1f9, 0x1403b90a9\nmov     [rsi+3A64h], r12b                                              ; +0x200, 0x1403b90b0\nmov     [rsi+32D8h], r12d                                              ; +0x207, 0x1403b90b7\ncmp     [rsi+3190h], r12b                                              ; +0x20e, 0x1403b90be\njz      short loc_1403B90D3                                            ; +0x215, 0x1403b90c5\nmov     rax, [rsi+32F0h]                                               ; +0x217, 0x1403b90c7\ntest    rax, rax                                                       ; +0x21e, 0x1403b90ce\njnz     short loc_1403B90E8                                            ; +0x221, 0x1403b90d1\nxor     edx, edx                                                       ; +0x223, 0x1403b90d3\nlea     rcx, [rbp+57h+var_B0]                                          ; +0x225, 0x1403b90d5\ncall    cs:?gettimeofday@cocos2d@@YAHPEAUtimeval@@PEAUtimezone@1@@Z; cocos2d::gettimeofday(timeval *,cocos2d::timezone *) ; +0x229, 0x1403b90d9\nmov     eax, dword ptr [rbp+57h+var_B0]                                ; +0x22f, 0x1403b90df\nimul    eax, dword ptr [rbp+57h+var_B0+4]                              ; +0x232, 0x1403b90e2\ncdqe                                                                   ; +0x236, 0x1403b90e6\nmov     ecx, 32E0h                                                     ; +0x238, 0x1403b90e8\nmov     rdx, rsi                                                       ; +0x23d, 0x1403b90ed\nmov     [rcx+rdx], rax                                                 ; +0x240, 0x1403b90f0\nmov     cs:qword_1406C2E90, rax                                        ; +0x244, 0x1403b90f4\nmov     [rsi+3298h], r12d                                              ; +0x24b, 0x1403b90fb\nmov     [rsi+37BEh], r12b                                              ; +0x252, 0x1403b9102\nmov     [rsi+37B8h], r12d                                              ; +0x259, 0x1403b9109\nmov     dl, 1                                                          ; +0x260, 0x1403b9110\nmov     rcx, [rsi+3540h]                                               ; +0x262, 0x1403b9112\ncall    UILayer__toggleMenuVisibility                                  ; +0x269, 0x1403b9119\nmov     [rsi+397Dh], r12w                                              ; +0x26e, 0x1403b911e\nmov     [rsi+3570h], r12b                                              ; +0x276, 0x1403b9126\nmov     rax, [rsi+3228h]                                               ; +0x27d, 0x1403b912d\ntest    rax, rax                                                       ; +0x284, 0x1403b9134\njz      loc_1403B91DD                                                  ; +0x287, 0x1403b9137\nmov     [rsi+3878h], r12b                                              ; +0x28d, 0x1403b913d\nmov     [rax+558h], r12b                                               ; +0x294, 0x1403b9144\nmov     rax, [rsi+3228h]                                               ; +0x29b, 0x1403b914b\nmov     [rax+559h], r12b                                               ; +0x2a2, 0x1403b9152\nmov     rcx, [rsi+3228h]                                               ; +0x2a9, 0x1403b9159\nmov     rax, [rcx]                                                     ; +0x2b0, 0x1403b9160\nmovss   xmm1, cs:flt_140622C24                                         ; +0x2b3, 0x1403b9163\ncall    qword ptr [rax+78h]                                            ; +0x2bb, 0x1403b916b\nmovss   xmm1, dword ptr [rsi+387Ch]                                    ; +0x2be, 0x1403b916e\nmovss   dword ptr [rsi+3220h], xmm1                                    ; +0x2c6, 0x1403b9176\nmov     rax, [rsi+3228h]                                               ; +0x2ce, 0x1403b917e\nmov     rbx, [rax]                                                     ; +0x2d5, 0x1403b9185\nmovss   xmm2, cs:dword_1406233FC                                       ; +0x2d8, 0x1403b9188\nlea     rcx, [rbp+57h+var_B0]                                          ; +0x2e0, 0x1403b9190\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2e4, 0x1403b9194\nmov     rdx, rax                                                       ; +0x2ea, 0x1403b919a\nmov     rcx, [rsi+3228h]                                               ; +0x2ed, 0x1403b919d\ncall    qword ptr [rbx+4B0h]                                           ; +0x2f4, 0x1403b91a4\nmov     rbx, [rsi+3228h]                                               ; +0x2fa, 0x1403b91aa\nmov     rdx, rbx                                                       ; +0x301, 0x1403b91b1\nmov     rcx, rsi                                                       ; +0x304, 0x1403b91b4\ncall    GJBaseGameLayer__removeObjectFromSection                       ; +0x307, 0x1403b91b7\nmov     rax, [rsi]                                                     ; +0x30c, 0x1403b91bc\nmov     rdx, rbx                                                       ; +0x30f, 0x1403b91bf\nmov     rcx, rsi                                                       ; +0x312, 0x1403b91c2\ncall    qword ptr [rax+478h]                                           ; +0x315, 0x1403b91c5\nmov     rcx, [rsi+3228h]                                               ; +0x31b, 0x1403b91cb\nmov     rax, [rcx]                                                     ; +0x322, 0x1403b91d2\nmov     dl, 1                                                          ; +0x325, 0x1403b91d5\ncall    qword ptr [rax+478h]                                           ; +0x327, 0x1403b91d7\nmov     [rsi+3984h], r12b                                              ; +0x32d, 0x1403b91dd\nmov     [rsi+3988h], r12                                               ; +0x334, 0x1403b91e4\nmov     [rsi+3990h], r12b                                              ; +0x33b, 0x1403b91eb\nmov     [rsi+3974h], r12b                                              ; +0x342, 0x1403b91f2\nlea     rcx, [rsi+32B0h]; void *                                       ; +0x349, 0x1403b91f9\nxor     r8d, r8d; Size                                                 ; +0x350, 0x1403b9200\nlea     rdx, byte_140518980; Src                                       ; +0x353, 0x1403b9203\ncall    sub_14003CCE0                                                  ; +0x35a, 0x1403b920a\nmov     [rsi+39E8h], r12d                                              ; +0x35f, 0x1403b920f\nmov     [rsi+390Ch], r12d                                              ; +0x366, 0x1403b9216\nmov     rax, [rsi+3540h]                                               ; +0x36d, 0x1403b921d\nmov     rcx, [rax+238h]                                                ; +0x374, 0x1403b9224\nmov     rax, [rcx]                                                     ; +0x37b, 0x1403b922b\nmov     dl, 1                                                          ; +0x37e, 0x1403b922e\ncall    qword ptr [rax+398h]                                           ; +0x380, 0x1403b9230\nmov     rcx, rsi                                                       ; +0x386, 0x1403b9236\ncall    GJBaseGameLayer__resetActiveEnterEffects                       ; +0x389, 0x1403b9239\nmovsd   xmm0, qword ptr [rsi+39C0h]                                    ; +0x38e, 0x1403b923e\ncomisd  xmm0, qword ptr [rsi+39C8h]                                    ; +0x396, 0x1403b9246\njbe     short loc_1403B9258                                            ; +0x39e, 0x1403b924e\nmovsd   qword ptr [rsi+39C8h], xmm0                                    ; +0x3a0, 0x1403b9250\nmov     [rsi+3080h], r12d                                              ; +0x3a8, 0x1403b9258\nmov     [rsi+39C0h], r12                                               ; +0x3af, 0x1403b925f\nmov     [rsi+39D8h], r12                                               ; +0x3b6, 0x1403b9266\nmov     [rsi+39E0h], r12                                               ; +0x3bd, 0x1403b926d\nmov     rax, [rsi]                                                     ; +0x3c4, 0x1403b9274\nxor     edx, edx                                                       ; +0x3c7, 0x1403b9277\nmov     rcx, rsi                                                       ; +0x3c9, 0x1403b9279\ncall    qword ptr [rax+460h]                                           ; +0x3cc, 0x1403b927c\nmov     edi, r12d                                                      ; +0x3d2, 0x1403b9282\nmov     rcx, [rsi+0DB8h]                                               ; +0x3d5, 0x1403b9285\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3dc, 0x1403b928c\nxorps   xmm6, xmm6                                                     ; +0x3e2, 0x1403b9292\ntest    eax, eax                                                       ; +0x3e5, 0x1403b9295\njz      loc_1403B942C                                                  ; +0x3e7, 0x1403b9297\nmovsd   xmm7, cs:qword_1406230C8                                       ; +0x3ed, 0x1403b929d\nmovss   xmm8, cs:dword_14062369C                                       ; +0x3f5, 0x1403b92a5\nxchg    ax, ax                                                         ; +0x3fe, 0x1403b92ae\nmov     edx, edi                                                       ; +0x400, 0x1403b92b0\nmov     rcx, [rsi+0DB8h]                                               ; +0x402, 0x1403b92b2\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x409, 0x1403b92b9\nmov     rbx, rax                                                       ; +0x40f, 0x1403b92bf\nmov     r8, [rax]                                                      ; +0x412, 0x1403b92c2\nlea     rdx, [rbp+57h+var_B0]                                          ; +0x415, 0x1403b92c5\nmov     rcx, rax                                                       ; +0x419, 0x1403b92c9\ncall    qword ptr [r8+4A8h]                                            ; +0x41c, 0x1403b92cc\nmov     rdx, [rbx]                                                     ; +0x423, 0x1403b92d3\nmov     rcx, rbx                                                       ; +0x426, 0x1403b92d6\ncall    qword ptr [rdx+460h]                                           ; +0x429, 0x1403b92d9\nmov     ecx, [rbx+278h]                                                ; +0x42f, 0x1403b92df\ntest    ecx, ecx                                                       ; +0x435, 0x1403b92e5\njs      loc_1403B93B9                                                  ; +0x437, 0x1403b92e7\nmovsd   xmm2, qword ptr [rbx+3B8h]                                     ; +0x43d, 0x1403b92ed\ncomisd  xmm6, xmm2                                                     ; +0x445, 0x1403b92f5\njb      short loc_1403B9300                                            ; +0x449, 0x1403b92f9\nmovaps  xmm0, xmm6                                                     ; +0x44b, 0x1403b92fb\njmp     short loc_1403B931F                                            ; +0x44e, 0x1403b92fe\nmovss   xmm1, dword ptr [rsi+36A0h]                                    ; +0x450, 0x1403b9300\ncomisd  xmm2, xmm7                                                     ; +0x458, 0x1403b9308\njb      short loc_1403B9318                                            ; +0x45c, 0x1403b930c\nmulss   xmm1, xmm8                                                     ; +0x45e, 0x1403b930e\ncvtps2pd xmm0, xmm1                                                    ; +0x463, 0x1403b9313\njmp     short loc_1403B931F                                            ; +0x466, 0x1403b9316\ncvtps2pd xmm0, xmm1                                                    ; +0x468, 0x1403b9318\nmulsd   xmm0, xmm2                                                     ; +0x46b, 0x1403b931b\ncvttsd2si edx, xmm0                                                    ; +0x46f, 0x1403b931f\nmovsd   xmm2, qword ptr [rbx+3C0h]                                     ; +0x473, 0x1403b9323\ncomisd  xmm6, xmm2                                                     ; +0x47b, 0x1403b932b\njb      short loc_1403B9336                                            ; +0x47f, 0x1403b932f\nmovaps  xmm0, xmm6                                                     ; +0x481, 0x1403b9331\njmp     short loc_1403B9355                                            ; +0x484, 0x1403b9334\nmovss   xmm1, dword ptr [rsi+36A4h]                                    ; +0x486, 0x1403b9336\ncomisd  xmm2, xmm7                                                     ; +0x48e, 0x1403b933e\njb      short loc_1403B934E                                            ; +0x492, 0x1403b9342\nmulss   xmm1, xmm8                                                     ; +0x494, 0x1403b9344\ncvtps2pd xmm0, xmm1                                                    ; +0x499, 0x1403b9349\njmp     short loc_1403B9355                                            ; +0x49c, 0x1403b934c\ncvtps2pd xmm0, xmm1                                                    ; +0x49e, 0x1403b934e\nmulsd   xmm0, xmm2                                                     ; +0x4a1, 0x1403b9351\ncvttsd2si eax, xmm0                                                    ; +0x4a5, 0x1403b9355\ncmp     edx, ecx                                                       ; +0x4a9, 0x1403b9359\njnz     short loc_1403B9365                                            ; +0x4ab, 0x1403b935b\ncmp     eax, [rbx+27Ch]                                                ; +0x4ad, 0x1403b935d\njz      short loc_1403B93B9                                            ; +0x4b3, 0x1403b9363\nmov     rdx, rbx                                                       ; +0x4b5, 0x1403b9365\nmov     rcx, rsi                                                       ; +0x4b8, 0x1403b9368\ncall    GJBaseGameLayer__removeObjectFromSection                       ; +0x4bb, 0x1403b936b\nmov     rax, [rsi]                                                     ; +0x4c0, 0x1403b9370\nmov     rdx, rbx                                                       ; +0x4c3, 0x1403b9373\nmov     rcx, rsi                                                       ; +0x4c6, 0x1403b9376\ncall    qword ptr [rax+478h]                                           ; +0x4c9, 0x1403b9379\nmov     eax, [rbx+278h]                                                ; +0x4cf, 0x1403b937f\ncmp     eax, [rsi+3090h]                                               ; +0x4d5, 0x1403b9385\njg      short loc_1403B93AB                                            ; +0x4db, 0x1403b938b\ncmp     eax, [rsi+308Ch]                                               ; +0x4dd, 0x1403b938d\njl      short loc_1403B93AB                                            ; +0x4e3, 0x1403b9393\nmov     eax, [rbx+27Ch]                                                ; +0x4e5, 0x1403b9395\ncmp     eax, [rsi+3098h]                                               ; +0x4eb, 0x1403b939b\njg      short loc_1403B93AB                                            ; +0x4f1, 0x1403b93a1\ncmp     eax, [rsi+3094h]                                               ; +0x4f3, 0x1403b93a3\njge     short loc_1403B93B9                                            ; +0x4f9, 0x1403b93a9\nmov     rax, [rbx]                                                     ; +0x4fb, 0x1403b93ab\nmov     dl, 1                                                          ; +0x4fe, 0x1403b93ae\nmov     rcx, rbx                                                       ; +0x500, 0x1403b93b0\ncall    qword ptr [rax+478h]                                           ; +0x503, 0x1403b93b3\nmov     rax, [rbx]                                                     ; +0x509, 0x1403b93b9\nlea     rdx, [rbp+57h+var_88]                                          ; +0x50c, 0x1403b93bc\nmov     rcx, rbx                                                       ; +0x510, 0x1403b93c0\ncall    qword ptr [rax+4A8h]                                           ; +0x513, 0x1403b93c3\nmovss   xmm0, dword ptr [rbp+57h+var_B0]                               ; +0x519, 0x1403b93c9\nucomiss xmm0, dword ptr [rax]                                          ; +0x51e, 0x1403b93ce\njp      short loc_1403B93F2                                            ; +0x521, 0x1403b93d1\njnz     short loc_1403B93F2                                            ; +0x523, 0x1403b93d3\nmov     rax, [rbx]                                                     ; +0x525, 0x1403b93d5\nlea     rdx, [rbp+57h+var_90]                                          ; +0x528, 0x1403b93d8\nmov     rcx, rbx                                                       ; +0x52c, 0x1403b93dc\ncall    qword ptr [rax+4A8h]                                           ; +0x52f, 0x1403b93df\nmovss   xmm0, dword ptr [rbp+57h+var_B0+4]                             ; +0x535, 0x1403b93e5\nucomiss xmm0, dword ptr [rax+4]                                        ; +0x53a, 0x1403b93ea\njp      short loc_1403B93F2                                            ; +0x53e, 0x1403b93ee\njz      short loc_1403B9415                                            ; +0x540, 0x1403b93f0\nmov     byte ptr [rbx+350h], 1                                         ; +0x542, 0x1403b93f2\nmov     rax, [rbx]                                                     ; +0x549, 0x1403b93f9\nmov     dl, 1                                                          ; +0x54c, 0x1403b93fc\nmov     rcx, rbx                                                       ; +0x54e, 0x1403b93fe\ncall    qword ptr [rax+648h]                                           ; +0x551, 0x1403b9401\nmov     rax, [rbx]                                                     ; +0x557, 0x1403b9407\nmov     dl, 1                                                          ; +0x55a, 0x1403b940a\nmov     rcx, rbx                                                       ; +0x55c, 0x1403b940c\ncall    qword ptr [rax+658h]                                           ; +0x55f, 0x1403b940f\ninc     edi                                                            ; +0x565, 0x1403b9415\nmov     rcx, [rsi+0DB8h]                                               ; +0x567, 0x1403b9417\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x56e, 0x1403b941e\ncmp     edi, eax                                                       ; +0x574, 0x1403b9424\njb      loc_1403B92B0                                                  ; +0x576, 0x1403b9426\nmov     rbx, [rsi+3270h]                                               ; +0x57c, 0x1403b942c\nmov     rcx, [rbx+230h]                                                ; +0x583, 0x1403b9433\ntest    rcx, rcx                                                       ; +0x58a, 0x1403b943a\njz      short loc_1403B9459                                            ; +0x58d, 0x1403b943d\ncall    cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x58f, 0x1403b943f\nmov     rcx, [rbx+230h]                                                ; +0x595, 0x1403b9445\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x59c, 0x1403b944c\nmov     [rbx+230h], r12                                                ; +0x5a2, 0x1403b9452\nmov     rcx, [rbx+228h]                                                ; +0x5a9, 0x1403b9459\ncall    cs:?createWithArray@CCArray@cocos2d@@SAPEAV12@PEAV12@@Z; cocos2d::CCArray::createWithArray(cocos2d::CCArray *) ; +0x5b0, 0x1403b9460\nmov     [rbx+230h], rax                                                ; +0x5b6, 0x1403b9466\nmov     rcx, rax                                                       ; +0x5bd, 0x1403b946d\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x5c0, 0x1403b9470\nmov     [rbx+238h], r12d                                               ; +0x5c6, 0x1403b9476\nmov     rcx, rsi                                                       ; +0x5cd, 0x1403b947d\ncall    PlayLayer__loadDefaultColors                                   ; +0x5d0, 0x1403b9480\nmov     rcx, [rsi+3888h]                                               ; +0x5d5, 0x1403b9485\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x5dc, 0x1403b948c\ntest    eax, eax                                                       ; +0x5e2, 0x1403b9492\njnz     short loc_1403B949B                                            ; +0x5e4, 0x1403b9494\nmov     r14, r12                                                       ; +0x5e6, 0x1403b9496\njmp     short loc_1403B94B6                                            ; +0x5e9, 0x1403b9499\nmov     rcx, [rsi+3888h]                                               ; +0x5eb, 0x1403b949b\ncall    cs:?lastObject@CCArray@cocos2d@@QEAAPEAVCCObject@2@XZ; cocos2d::CCArray::lastObject(void) ; +0x5f2, 0x1403b94a2\nmov     r14, rax                                                       ; +0x5f8, 0x1403b94a8\nmov     rdx, rax                                                       ; +0x5fb, 0x1403b94ab\nmov     rcx, rsi                                                       ; +0x5fe, 0x1403b94ae\ncall    PlayLayer__loadFromCheckpoint                                  ; +0x601, 0x1403b94b1\ncmp     [rsi+3190h], r12b                                              ; +0x606, 0x1403b94b6\njnz     short loc_1403B9501                                            ; +0x60d, 0x1403b94bd\nlea     rdx, [rbp+57h+Src]                                             ; +0x60f, 0x1403b94bf\nmov     rcx, [rsi+950h]                                                ; +0x613, 0x1403b94c3\ncall    GJEffectManager__getPersistentStateString                      ; +0x61a, 0x1403b94ca\nnop                                                                    ; +0x61f, 0x1403b94cf\nlea     rcx, [rsi+3408h]; void *                                       ; +0x620, 0x1403b94d0\nlea     rax, [rbp+57h+Src]                                             ; +0x627, 0x1403b94d7\ncmp     rcx, rax                                                       ; +0x62b, 0x1403b94db\njz      short loc_1403B94F8                                            ; +0x62e, 0x1403b94de\nlea     rdx, [rbp+57h+Src]                                             ; +0x630, 0x1403b94e0\ncmp     [rbp+57h+var_68], 0Fh                                          ; +0x634, 0x1403b94e4\ncmova   rdx, [rbp+57h+Src]; Src                                        ; +0x639, 0x1403b94e9\nmov     r8, [rbp+57h+Size]; Size                                       ; +0x63e, 0x1403b94ee\ncall    sub_14003CCE0                                                  ; +0x642, 0x1403b94f2\nnop                                                                    ; +0x647, 0x1403b94f7\nlea     rcx, [rbp+57h+Src]                                             ; +0x648, 0x1403b94f8\ncall    sub_14003A830                                                  ; +0x64c, 0x1403b94fc\nmov     rbx, [rsi+950h]                                                ; +0x651, 0x1403b9501\nlea     rcx, [rbx+3F0h]                                                ; +0x658, 0x1403b9508\ncall    sub_14005E0D0                                                  ; +0x65f, 0x1403b950f\nlea     rcx, [rbx+430h]                                                ; +0x664, 0x1403b9514\ncall    sub_14005E0D0                                                  ; +0x66b, 0x1403b951b\ntest    r14, r14                                                       ; +0x670, 0x1403b9520\njnz     short loc_1403B958F                                            ; +0x673, 0x1403b9523\nmov     [rsi+3560h], r12                                               ; +0x675, 0x1403b9525\nmov     [rsi+3568h], r12                                               ; +0x67c, 0x1403b952c\nxor     edx, edx                                                       ; +0x683, 0x1403b9533\nmov     rcx, rsi                                                       ; +0x685, 0x1403b9535\ncall    GJBaseGameLayer__resetRecord                                   ; +0x688, 0x1403b9538\nmov     rax, [rsi+32E0h]                                               ; +0x68d, 0x1403b953d\nmov     [rsi+32E8h], rax                                               ; +0x694, 0x1403b9544\nmov     rax, [rsi+3188h]                                               ; +0x69b, 0x1403b954b\ntest    rax, rax                                                       ; +0x6a2, 0x1403b9552\njz      short loc_1403B957E                                            ; +0x6a5, 0x1403b9555\nmov     rdx, [rsi+3880h]                                               ; +0x6a7, 0x1403b9557\ntest    rdx, rdx                                                       ; +0x6ae, 0x1403b955e\njz      short loc_1403B956D                                            ; +0x6b1, 0x1403b9561\nmov     rcx, rsi                                                       ; +0x6b3, 0x1403b9563\ncall    PlayLayer__loadFromCheckpoint                                  ; +0x6b6, 0x1403b9566\njmp     short loc_1403B95AD                                            ; +0x6bb, 0x1403b956b\nmov     rdx, [rax+740h]                                                ; +0x6bd, 0x1403b956d\nmov     rcx, rsi                                                       ; +0x6c4, 0x1403b9574\ncall    GJBaseGameLayer__setupLevelStart                               ; +0x6c7, 0x1403b9577\njmp     short loc_1403B95AD                                            ; +0x6cc, 0x1403b957c\nmov     rdx, [rsi+0DB0h]                                               ; +0x6ce, 0x1403b957e\nmov     rcx, rsi                                                       ; +0x6d5, 0x1403b9585\ncall    GJBaseGameLayer__setupLevelStart                               ; +0x6d8, 0x1403b9588\njmp     short loc_1403B95AD                                            ; +0x6dd, 0x1403b958d\nmov     byte ptr [rsi+3259h], 0                                        ; +0x6df, 0x1403b958f\ncmp     byte ptr [rsi+3190h], 0                                        ; +0x6e6, 0x1403b9596\njnz     short loc_1403B95AD                                            ; +0x6ed, 0x1403b959d\nmov     edx, [rsi+3ECh]                                                ; +0x6ef, 0x1403b959f\nmov     rcx, rsi                                                       ; +0x6f5, 0x1403b95a5\ncall    GJBaseGameLayer__resetRecord                                   ; +0x6f8, 0x1403b95a8\nmov     rcx, [rsi+0DA0h]                                               ; +0x6fd, 0x1403b95ad\nmov     rax, [rcx]                                                     ; +0x704, 0x1403b95b4\ncall    qword ptr [rax+0C8h]                                           ; +0x707, 0x1403b95b7\nmov     rdx, rax                                                       ; +0x70d, 0x1403b95bd\nlea     rcx, [rbp+57h+var_90]                                          ; +0x710, 0x1403b95c0\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x714, 0x1403b95c4\nmov     rcx, [rsi+0DA0h]                                               ; +0x71a, 0x1403b95ca\nadd     rcx, 0A90h                                                     ; +0x721, 0x1403b95d1\nmov     rdx, rax                                                       ; +0x728, 0x1403b95d8\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x72b, 0x1403b95db\nmov     rcx, [rsi+0DA8h]                                               ; +0x731, 0x1403b95e1\nmov     rax, [rcx]                                                     ; +0x738, 0x1403b95e8\ncmp     byte ptr [rsi+422h], 0                                         ; +0x73b, 0x1403b95eb\njz      short loc_1403B95FF                                            ; +0x742, 0x1403b95f2\ncall    qword ptr [rax+0C8h]                                           ; +0x744, 0x1403b95f4\nmov     rdx, rax                                                       ; +0x74a, 0x1403b95fa\njmp     short loc_1403B9613                                            ; +0x74d, 0x1403b95fd\nlea     rdx, stru_1406C2470                                            ; +0x74f, 0x1403b95ff\ncall    qword ptr [rax+0B8h]                                           ; +0x756, 0x1403b9606\nlea     rdx, stru_1406C2470                                            ; +0x75c, 0x1403b960c\nlea     rcx, [rbp+57h+var_90]                                          ; +0x763, 0x1403b9613\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x767, 0x1403b9617\nmov     rcx, [rsi+0DA8h]                                               ; +0x76d, 0x1403b961d\nmov     rdx, rax                                                       ; +0x774, 0x1403b9624\nadd     rcx, 0A90h                                                     ; +0x777, 0x1403b9627\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x77e, 0x1403b962e\ntest    r14, r14                                                       ; +0x784, 0x1403b9634\njnz     short loc_1403B96A1                                            ; +0x787, 0x1403b9637\nmov     rcx, [rsi+0DA0h]                                               ; +0x789, 0x1403b9639\nmov     rax, [rcx]                                                     ; +0x790, 0x1403b9640\ncall    qword ptr [rax+0C8h]                                           ; +0x793, 0x1403b9643\nmov     rcx, [rsi+0DA0h]                                               ; +0x799, 0x1403b9649\nadd     rcx, 4D0h                                                      ; +0x7a0, 0x1403b9650\nmov     rdx, rax                                                       ; +0x7a7, 0x1403b9657\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x7aa, 0x1403b965a\nmov     rcx, [rsi+0DA8h]                                               ; +0x7b0, 0x1403b9660\nmov     rax, [rcx]                                                     ; +0x7b7, 0x1403b9667\ncall    qword ptr [rax+0C8h]                                           ; +0x7ba, 0x1403b966a\nmov     rcx, [rsi+0DA8h]                                               ; +0x7c0, 0x1403b9670\nadd     rcx, 4D0h                                                      ; +0x7c7, 0x1403b9677\nmov     rdx, rax                                                       ; +0x7ce, 0x1403b967e\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x7d1, 0x1403b9681\ncmp     [rsi+3188h], r14                                               ; +0x7d7, 0x1403b9687\njz      short loc_1403B96A1                                            ; +0x7de, 0x1403b968e\ncmp     [rsi+3880h], r14                                               ; +0x7e0, 0x1403b9690\njnz     short loc_1403B96A1                                            ; +0x7e7, 0x1403b9697\nmov     rcx, rsi                                                       ; +0x7e9, 0x1403b9699\ncall    GJBaseGameLayer__loadStartPosObject                            ; +0x7ec, 0x1403b969c\nmov     rcx, rsi                                                       ; +0x7f1, 0x1403b96a1\ncall    GJBaseGameLayer__updatePlayerCollisionBlocks                   ; +0x7f4, 0x1403b96a4\ncmp     byte ptr [rsi+3232h], 0                                        ; +0x7f9, 0x1403b96a9\njnz     short loc_1403B96D3                                            ; +0x800, 0x1403b96b0\nmov     rcx, [rsi+0DA0h]                                               ; +0x802, 0x1403b96b2\ncall    PlayerObject__playSpawnEffect                                  ; +0x809, 0x1403b96b9\ncmp     byte ptr [rsi+422h], 0                                         ; +0x80e, 0x1403b96be\njz      short loc_1403B96D3                                            ; +0x815, 0x1403b96c5\nmov     rcx, [rsi+0DA8h]                                               ; +0x817, 0x1403b96c7\ncall    PlayerObject__playSpawnEffect                                  ; +0x81e, 0x1403b96ce\nmov     byte ptr [rsi+51Dh], 0                                         ; +0x823, 0x1403b96d3\nmov     [rsi+520h], r12d                                               ; +0x82a, 0x1403b96da\ncmp     qword ptr [rsi+3188h], 0                                       ; +0x831, 0x1403b96e1\njnz     short loc_1403B9704                                            ; +0x839, 0x1403b96e9\ntest    r14, r14                                                       ; +0x83b, 0x1403b96eb\njnz     short loc_1403B970D                                            ; +0x83e, 0x1403b96ee\nmov     byte ptr [rsi+88Ah], 1                                         ; +0x840, 0x1403b96f0\nmov     rcx, rsi                                                       ; +0x847, 0x1403b96f7\ncall    GJBaseGameLayer__checkSpawnObjects                             ; +0x84a, 0x1403b96fa\njmp     loc_1403B97B1                                                  ; +0x84f, 0x1403b96ff\ntest    r14, r14                                                       ; +0x854, 0x1403b9704\njz      loc_1403B97B1                                                  ; +0x857, 0x1403b9707\nmov     edx, [r14+0E84h]                                               ; +0x85d, 0x1403b970d\ntest    edx, edx                                                       ; +0x864, 0x1403b9714\njle     loc_1403B979F                                                  ; +0x866, 0x1403b9716\nxorps   xmm0, xmm0                                                     ; +0x86c, 0x1403b971c\nmovdqu  xmmword ptr [rbp+57h+Block], xmm0                              ; +0x86f, 0x1403b971f\nmov     [rbp+57h+var_98], r12                                          ; +0x874, 0x1403b9724\nlea     rcx, [rsi+198h]                                                ; +0x878, 0x1403b9728\nmov     r9, [rcx]                                                      ; +0x87f, 0x1403b972f\nmov     [rsp+0F0h+var_C0], r12d                                        ; +0x882, 0x1403b9732\nmov     eax, [r14+0E80h]                                               ; +0x887, 0x1403b9737\nmov     [rsp+0F0h+var_C8], eax                                         ; +0x88e, 0x1403b973e\nlea     rax, [rbp+57h+Block]                                           ; +0x892, 0x1403b9742\nmov     [rsp+0F0h+var_D0], rax                                         ; +0x896, 0x1403b9746\nmovaps  xmm3, xmm6                                                     ; +0x89b, 0x1403b974b\nxor     r8d, r8d                                                       ; +0x89e, 0x1403b974e\ncall    qword ptr [r9+8]                                               ; +0x8a1, 0x1403b9751\nnop                                                                    ; +0x8a5, 0x1403b9755\nmov     rcx, [rbp+57h+Block]; Block                                    ; +0x8a6, 0x1403b9756\ntest    rcx, rcx                                                       ; +0x8aa, 0x1403b975a\njz      short loc_1403B979F                                            ; +0x8ad, 0x1403b975d\nmov     rax, [rbp+57h+var_98]                                          ; +0x8af, 0x1403b975f\nsub     rax, rcx                                                       ; +0x8b3, 0x1403b9763\nsar     rax, 2                                                         ; +0x8b6, 0x1403b9766\nlea     rdx, ds:0[rax*4]                                               ; +0x8ba, 0x1403b976a\nmov     rax, rcx                                                       ; +0x8c2, 0x1403b9772\ncmp     rdx, 1000h                                                     ; +0x8c5, 0x1403b9775\njb      short loc_1403B979A                                            ; +0x8cc, 0x1403b977c\nadd     rdx, 27h ; '''                                                 ; +0x8ce, 0x1403b977e\nmov     rcx, [rcx-8]                                                   ; +0x8d2, 0x1403b9782\nsub     rax, rcx                                                       ; +0x8d6, 0x1403b9786\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x8d9, 0x1403b9789\ncmp     rax, 1Fh                                                       ; +0x8dd, 0x1403b978d\njbe     short loc_1403B979A                                            ; +0x8e1, 0x1403b9791\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x8e3, 0x1403b9793\nalign 2                                                                ; +0x8e9, 0x1403b9799\ncall    j_j_free                                                       ; +0x8ea, 0x1403b979a\nxor     r9d, r9d                                                       ; +0x8ef, 0x1403b979f\nxor     r8d, r8d                                                       ; +0x8f2, 0x1403b97a2\nlea     edx, [r9+40h]                                                  ; +0x8f5, 0x1403b97a5\nmov     rcx, rsi                                                       ; +0x8f9, 0x1403b97a9\ncall    GJBaseGameLayer__gameEventTriggered                            ; +0x8fc, 0x1403b97ac\nmov     rcx, rsi                                                       ; +0x901, 0x1403b97b1\ncall    GJBaseGameLayer__updateProximityVolumeEffects                  ; +0x904, 0x1403b97b4\nmov     rcx, rsi                                                       ; +0x909, 0x1403b97b9\ncall    GJBaseGameLayer__updateLevelColors                             ; +0x90c, 0x1403b97bc\nxorps   xmm1, xmm1                                                     ; +0x911, 0x1403b97c1\nmov     rcx, rsi                                                       ; +0x914, 0x1403b97c4\ncall    GJBaseGameLayer__updateCamera                                  ; +0x917, 0x1403b97c7\nmov     rax, [rsi]                                                     ; +0x91c, 0x1403b97cc\nxorps   xmm1, xmm1                                                     ; +0x91f, 0x1403b97cf\nmov     rcx, rsi                                                       ; +0x922, 0x1403b97d2\ncall    qword ptr [rax+420h]                                           ; +0x925, 0x1403b97d5\nmov     rcx, rsi                                                       ; +0x92b, 0x1403b97db\ncall    GJBaseGameLayer__updateGradientLayers                          ; +0x92e, 0x1403b97de\nxorps   xmm1, xmm1                                                     ; +0x933, 0x1403b97e3\nmov     rcx, rsi                                                       ; +0x936, 0x1403b97e6\ncall    GJBaseGameLayer__updateShaderLayer                             ; +0x939, 0x1403b97e9\nmov     rcx, rsi                                                       ; +0x93e, 0x1403b97ee\ncall    PlayLayer__updateAttempts                                      ; +0x941, 0x1403b97f1\ntest    r14, r14                                                       ; +0x946, 0x1403b97f6\njnz     short loc_1403B9830                                            ; +0x949, 0x1403b97f9\nmov     eax, [rsi+3084h]                                               ; +0x94b, 0x1403b97fb\nmov     [rsi+3448h], eax                                               ; +0x951, 0x1403b9801\nlea     r8, [rsi+3408h]                                                ; +0x957, 0x1403b9807\nlea     rcx, [rsi+3428h]; void *                                       ; +0x95e, 0x1403b980e\ncmp     rcx, r8                                                        ; +0x965, 0x1403b9815\njz      short loc_1403B9830                                            ; +0x968, 0x1403b9818\nmov     rdx, r8                                                        ; +0x96a, 0x1403b981a\ncmp     qword ptr [r8+18h], 0Fh                                        ; +0x96d, 0x1403b981d\njbe     short loc_1403B9827                                            ; +0x972, 0x1403b9822\nmov     rdx, [r8]; Src                                                 ; +0x974, 0x1403b9824\nmov     r8, [r8+10h]; Size                                             ; +0x977, 0x1403b9827\ncall    sub_14003CCE0                                                  ; +0x97b, 0x1403b982b\nmov     rcx, cs:qword_1406C2EE8                                        ; +0x980, 0x1403b9830\ntest    rcx, rcx                                                       ; +0x987, 0x1403b9837\njnz     short loc_1403B986A                                            ; +0x98a, 0x1403b983a\nmov     ecx, 3E0h; Size                                                ; +0x98c, 0x1403b983c\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x991, 0x1403b9841\nmov     [rbp+57h+var_90], rax                                          ; +0x996, 0x1403b9846\nmov     rcx, rax                                                       ; +0x99a, 0x1403b984a\ncall    sub_1401D0AE0                                                  ; +0x99d, 0x1403b984d\nnop                                                                    ; +0x9a2, 0x1403b9852\nmov     cs:qword_1406C2EE8, rax                                        ; +0x9a3, 0x1403b9853\nmov     rdx, [rax]                                                     ; +0x9aa, 0x1403b985a\nmov     rcx, rax                                                       ; +0x9ad, 0x1403b985d\ncall    qword ptr [rdx+48h]                                            ; +0x9b0, 0x1403b9860\nmov     rcx, cs:qword_1406C2EE8                                        ; +0x9b3, 0x1403b9863\nmov     r8d, 1                                                         ; +0x9ba, 0x1403b986a\nlea     rdx, word_140531EA0                                            ; +0x9c0, 0x1403b9870\ncall    GameStatsManager__incrementStat                                ; +0x9c7, 0x1403b9877\nmov     rdi, [rsi+878h]                                                ; +0x9cc, 0x1403b987c\nmov     ebx, [rdi+2F0h]                                                ; +0x9d3, 0x1403b9883\nsub     ebx, [rdi+2F4h]                                                ; +0x9d9, 0x1403b9889\ninc     ebx                                                            ; +0x9df, 0x1403b988f\nmov     [rdi+2F8h], ebx                                                ; +0x9e1, 0x1403b9891\ncall    cs:rand                                                        ; +0x9e7, 0x1403b9897\nmovd    xmm0, eax                                                      ; +0x9ed, 0x1403b989d\ncvtdq2ps xmm0, xmm0                                                    ; +0x9f1, 0x1403b98a1\ndivss   xmm0, cs:dword_140623644                                       ; +0x9f4, 0x1403b98a4\nmulss   xmm0, cs:dword_14062350C                                       ; +0x9fc, 0x1403b98ac\ncvttss2si eax, xmm0                                                    ; +0xa04, 0x1403b98b4\nmov     [rdi+2F4h], eax                                                ; +0xa08, 0x1403b98b8\nadd     eax, ebx                                                       ; +0xa0e, 0x1403b98be\nmov     [rdi+2F0h], eax                                                ; +0xa10, 0x1403b98c0\nmov     rcx, rsi                                                       ; +0xa16, 0x1403b98c6\ncall    PlayLayer__updateProgressbar                                   ; +0xa19, 0x1403b98c9\nmov     rcx, rsi                                                       ; +0xa1e, 0x1403b98ce\ncall    GJBaseGameLayer__refreshCounterLabels                          ; +0xa21, 0x1403b98d1\nmovzx   r15d, byte ptr [rsi+3258h]                                     ; +0xa26, 0x1403b98d6\ncmp     byte ptr [rsi+309Eh], 0                                        ; +0xa2e, 0x1403b98de\njz      short loc_1403B98F0                                            ; +0xa35, 0x1403b98e5\nmov     byte ptr [rsi+3258h], 0                                        ; +0xa37, 0x1403b98e7\njmp     short loc_1403B990B                                            ; +0xa3e, 0x1403b98ee\ntest    r15b, r15b                                                     ; +0xa40, 0x1403b98f0\njz      short loc_1403B990B                                            ; +0xa43, 0x1403b98f3\ntest    r14, r14                                                       ; +0xa45, 0x1403b98f5\njnz     short loc_1403B990B                                            ; +0xa48, 0x1403b98f8\ncmp     [rsi+3188h], r14                                               ; +0xa4a, 0x1403b98fa\njnz     short loc_1403B990B                                            ; +0xa51, 0x1403b9901\nmov     rcx, rsi                                                       ; +0xa53, 0x1403b9903\ncall    PlayLayer__startMusic                                          ; +0xa56, 0x1403b9906\nmov     rax, cs:qword_1406C2ED8                                        ; +0xa5b, 0x1403b990b\ntest    rax, rax                                                       ; +0xa62, 0x1403b9912\njnz     short loc_1403B9945                                            ; +0xa65, 0x1403b9915\nmov     ecx, 668h; Size                                                ; +0xa67, 0x1403b9917\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xa6c, 0x1403b991c\nmov     [rbp+57h+var_90], rax                                          ; +0xa71, 0x1403b9921\nmov     rcx, rax                                                       ; +0xa75, 0x1403b9925\ncall    sub_14017AB00                                                  ; +0xa78, 0x1403b9928\nnop                                                                    ; +0xa7d, 0x1403b992d\nmov     cs:qword_1406C2ED8, rax                                        ; +0xa7e, 0x1403b992e\nmov     rdx, [rax]                                                     ; +0xa85, 0x1403b9935\nmov     rcx, rax                                                       ; +0xa88, 0x1403b9938\ncall    qword ptr [rdx+48h]                                            ; +0xa8b, 0x1403b993b\nmov     rax, cs:qword_1406C2ED8                                        ; +0xa8e, 0x1403b993e\ncmp     byte ptr [rax+393h], 0                                         ; +0xa95, 0x1403b9945\njz      short loc_1403B9975                                            ; +0xa9c, 0x1403b994c\ncmp     byte ptr [rsi+31F0h], 0                                        ; +0xa9e, 0x1403b994e\njnz     short loc_1403B9975                                            ; +0xaa5, 0x1403b9955\ncmp     byte ptr [rsi+3230h], 0                                        ; +0xaa7, 0x1403b9957\njnz     short loc_1403B9975                                            ; +0xaae, 0x1403b995e\nmov     edx, 1Fh                                                       ; +0xab0, 0x1403b9960\nmov     rcx, rsi                                                       ; +0xab5, 0x1403b9965\ncall    cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0xab8, 0x1403b9968\nmov     byte ptr [rsi+3991h], 0                                        ; +0xabe, 0x1403b996e\nmov     rcx, rsi                                                       ; +0xac5, 0x1403b9975\ncall    GJBaseGameLayer__removeReleasedButtons                         ; +0xac8, 0x1403b9978\nmov     rax, [rsi+3540h]                                               ; +0xacd, 0x1403b997d\ncmp     dword ptr [rax+248h], 0FFFFFFFFh                               ; +0xad4, 0x1403b9984\njnz     short loc_1403B99AC                                            ; +0xadb, 0x1403b998b\ncmp     byte ptr [rax+242h], 0                                         ; +0xadd, 0x1403b998d\njnz     short loc_1403B99AC                                            ; +0xae4, 0x1403b9994\ncmp     dword ptr [rax+24Ch], 0FFFFFFFFh                               ; +0xae6, 0x1403b9996\njnz     short loc_1403B99AC                                            ; +0xaed, 0x1403b999d\ncmp     byte ptr [rax+243h], 0                                         ; +0xaef, 0x1403b999f\njnz     short loc_1403B99AC                                            ; +0xaf6, 0x1403b99a6\nxor     al, al                                                         ; +0xaf8, 0x1403b99a8\njmp     short loc_1403B99AE                                            ; +0xafa, 0x1403b99aa\nmov     al, 1                                                          ; +0xafc, 0x1403b99ac\nlea     rcx, [rsi+3300h]                                               ; +0xafe, 0x1403b99ae\nmov     [rbp+57h+Block+6], r12                                         ; +0xb05, 0x1403b99b5\nmov     word ptr [rbp+57h+Block+0Eh], r12w                             ; +0xb09, 0x1403b99b9\nmov     dword ptr [rbp+57h+Block], 1                                   ; +0xb0e, 0x1403b99be\nmovsd   [rbp+57h+var_98], xmm6                                         ; +0xb15, 0x1403b99c5\nmov     rdx, [rcx+8]                                                   ; +0xb1a, 0x1403b99ca\ntest    al, al                                                         ; +0xb1e, 0x1403b99ce\nmov     word ptr [rbp+57h+Block+4], 1                                  ; +0xb20, 0x1403b99d0\njnz     short loc_1403B99DE                                            ; +0xb26, 0x1403b99d6\nmov     word ptr [rbp+57h+Block+4], 0                                  ; +0xb28, 0x1403b99d8\ncmp     rdx, [rcx+10h]                                                 ; +0xb2e, 0x1403b99de\njz      short loc_1403B99FC                                            ; +0xb32, 0x1403b99e2\nmovups  xmm0, xmmword ptr [rbp+57h+Block]                              ; +0xb34, 0x1403b99e4\nmovups  xmmword ptr [rdx], xmm0                                        ; +0xb38, 0x1403b99e8\nmovsd   xmm1, [rbp+57h+var_98]                                         ; +0xb3b, 0x1403b99eb\nmovsd   qword ptr [rdx+10h], xmm1                                      ; +0xb40, 0x1403b99f0\nadd     qword ptr [rcx+8], 18h                                         ; +0xb45, 0x1403b99f5\njmp     short loc_1403B9A05                                            ; +0xb4a, 0x1403b99fa\nlea     r8, [rbp+57h+Block]                                            ; +0xb4c, 0x1403b99fc\ncall    sub_140253010                                                  ; +0xb50, 0x1403b9a00\ncmp     byte ptr [rsi+31F0h], 0                                        ; +0xb55, 0x1403b9a05\njnz     short loc_1403B9A1E                                            ; +0xb5c, 0x1403b9a0c\ncmp     byte ptr [rsi+3856h], 0                                        ; +0xb5e, 0x1403b9a0e\njnz     short loc_1403B9A1E                                            ; +0xb65, 0x1403b9a15\nmov     byte ptr [rsi+37C0h], 0                                        ; +0xb67, 0x1403b9a17\nmov     byte ptr [rsi+3231h], 0                                        ; +0xb6e, 0x1403b9a1e\nmov     byte ptr [rsi+3225h], 0                                        ; +0xb75, 0x1403b9a25\nmov     rcx, rsi                                                       ; +0xb7c, 0x1403b9a2c\ncall    GJBaseGameLayer__syncBGTextures                                ; +0xb7f, 0x1403b9a2f\ncall    cs:clock                                                       ; +0xb84, 0x1403b9a34\nmov     cs:dword_1406C10C0, eax                                        ; +0xb8a, 0x1403b9a3a\nmov     rax, [rsi+1028h]                                               ; +0xb90, 0x1403b9a40\ntest    rax, rax                                                       ; +0xb97, 0x1403b9a47\njz      short loc_1403B9A7E                                            ; +0xb9a, 0x1403b9a4a\nmov     rbx, [rax+38h]                                                 ; +0xb9c, 0x1403b9a4c\nmov     eax, [rbx]                                                     ; +0xba0, 0x1403b9a50\ntest    eax, eax                                                       ; +0xba2, 0x1403b9a52\njz      short loc_1403B9A7E                                            ; +0xba4, 0x1403b9a54\nmov     rbx, [rbx+10h]                                                 ; +0xba6, 0x1403b9a56\nlea     rdi, [rax-1]                                                   ; +0xbaa, 0x1403b9a5a\nlea     rdi, [rbx+rdi*8]                                               ; +0xbae, 0x1403b9a5e\ncmp     rbx, rdi                                                       ; +0xbb2, 0x1403b9a62\nja      short loc_1403B9A7E                                            ; +0xbb5, 0x1403b9a65\nmov     rcx, [rbx]                                                     ; +0xbb7, 0x1403b9a67\ntest    rcx, rcx                                                       ; +0xbba, 0x1403b9a6a\njz      short loc_1403B9A7E                                            ; +0xbbd, 0x1403b9a6d\ncall    cs:?qsortAllChildrenWithIndex@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::qsortAllChildrenWithIndex(void) ; +0xbbf, 0x1403b9a6f\nadd     rbx, 8                                                         ; +0xbc5, 0x1403b9a75\ncmp     rbx, rdi                                                       ; +0xbc9, 0x1403b9a79\njbe     short loc_1403B9A67                                            ; +0xbcc, 0x1403b9a7c\nmov     rcx, rsi                                                       ; +0xbce, 0x1403b9a7e\ncall    GJBaseGameLayer__sortSectionVector                             ; +0xbd1, 0x1403b9a81\ncmp     byte ptr [rsi+309Eh], 0                                        ; +0xbd6, 0x1403b9a86\njz      short loc_1403B9B0C                                            ; +0xbdd, 0x1403b9a8d\ntest    r15b, r15b                                                     ; +0xbdf, 0x1403b9a8f\njnz     short loc_1403B9A9D                                            ; +0xbe2, 0x1403b9a92\ncmp     [rsi+3854h], r15b                                              ; +0xbe4, 0x1403b9a94\njz      short loc_1403B9B0C                                            ; +0xbeb, 0x1403b9a9b\nmov     byte ptr [rsi+3854h], 0                                        ; +0xbed, 0x1403b9a9d\ntest    r14, r14                                                       ; +0xbf4, 0x1403b9aa4\njnz     short loc_1403B9AF5                                            ; +0xbf7, 0x1403b9aa7\nlea     rdx, PlayLayer__startGameDelayed                               ; +0xbf9, 0x1403b9aa9\nmov     rcx, rsi                                                       ; +0xc00, 0x1403b9ab0\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0xc03, 0x1403b9ab3\nmov     rbx, rax                                                       ; +0xc09, 0x1403b9ab9\nmovss   xmm0, cs:dword_140622A74                                       ; +0xc0c, 0x1403b9abc\ncall    cs:?create@CCDelayTime@cocos2d@@SAPEAV12@M@Z; cocos2d::CCDelayTime::create(float) ; +0xc14, 0x1403b9ac4\nmov     rcx, rax                                                       ; +0xc1a, 0x1403b9aca\nxor     r8d, r8d                                                       ; +0xc1d, 0x1403b9acd\nmov     rdx, rbx                                                       ; +0xc20, 0x1403b9ad0\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0xc23, 0x1403b9ad3\nmov     rdx, rax                                                       ; +0xc29, 0x1403b9ad9\nmov     rcx, rsi                                                       ; +0xc2c, 0x1403b9adc\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xc2f, 0x1403b9adf\nmov     [rsi+88Ah], r14b                                               ; +0xc35, 0x1403b9ae5\nmov     byte ptr [rsi+3766h], 1                                        ; +0xc3c, 0x1403b9aec\njmp     short loc_1403B9B5B                                            ; +0xc43, 0x1403b9af3\nmov     byte ptr [rsi+3258h], 1                                        ; +0xc45, 0x1403b9af5\nmov     byte ptr [rsi+88Ah], 0                                         ; +0xc4c, 0x1403b9afc\nmov     byte ptr [rsi+3766h], 1                                        ; +0xc53, 0x1403b9b03\njmp     short loc_1403B9B1F                                            ; +0xc5a, 0x1403b9b0a\nmov     byte ptr [rsi+88Ah], 0                                         ; +0xc5c, 0x1403b9b0c\nmov     byte ptr [rsi+3766h], 1                                        ; +0xc63, 0x1403b9b13\ntest    r14, r14                                                       ; +0xc6a, 0x1403b9b1a\njz      short loc_1403B9B5B                                            ; +0xc6d, 0x1403b9b1d\nlea     rdx, [r14+4A4h]                                                ; +0xc6f, 0x1403b9b1f\nlea     rcx, [rsi+50Ch]                                                ; +0xc76, 0x1403b9b26\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xc7d, 0x1403b9b2d\nlea     rdx, [r14+474h]                                                ; +0xc83, 0x1403b9b33\nlea     rcx, [rsi+4DCh]                                                ; +0xc8a, 0x1403b9b3a\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xc91, 0x1403b9b41\nlea     rdx, [r14+168h]                                                ; +0xc97, 0x1403b9b47\nlea     rcx, [rsi+1D0h]                                                ; +0xc9e, 0x1403b9b4e\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xca5, 0x1403b9b55\nmov     rcx, [rbp+57h+var_60]                                          ; +0xcab, 0x1403b9b5b\nxor     rcx, rsp; StackCookie                                          ; +0xcaf, 0x1403b9b5f\ncall    __security_check_cookie                                        ; +0xcb2, 0x1403b9b62\nlea     r11, [rsp+0F0h+var_20]                                         ; +0xcb7, 0x1403b9b67\nmov     rbx, [r11+38h]                                                 ; +0xcbf, 0x1403b9b6f\nmov     rsi, [r11+40h]                                                 ; +0xcc3, 0x1403b9b73\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0xcc7, 0x1403b9b77\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0xccc, 0x1403b9b7c\nmovaps  xmm8, xmmword ptr [r11-30h]                                    ; +0xcd1, 0x1403b9b81\nmov     rsp, r11                                                       ; +0xcd6, 0x1403b9b86\npop     r15                                                            ; +0xcd9, 0x1403b9b89\npop     r14                                                            ; +0xcdb, 0x1403b9b8b\npop     r12                                                            ; +0xcdd, 0x1403b9b8d\npop     rdi                                                            ; +0xcdf, 0x1403b9b8f\npop     rbp                                                            ; +0xce0, 0x1403b9b90\nretn                                                                   ; +0xce1, 0x1403b9b91", "xrefs": ["<???> @ 0x1405c9d10", "<???> @ 0x1406d70ac"], "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"}