{"type": "func", "start": 5372533504, "end": 5372536526, "name": "PlayLayer::init", "pseudocode": "// \n// PlayLayer::init from 0x1403a5b00 to 0x1403a66ce (3022 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::scene @ 0x1403a5aaf\n// > <???> @ 0x1406d6b48\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=25\nbool PlayLayer::init(PlayLayer *a1, GJGameLevel *a2, bool a3, bool a4)\n{\n  bool v4; // r15\n  bool result; // al\n  __int64 v8; // rcx\n  __int64 v9; // rax\n  GameManager *v10; // rcx\n  __int64 v11; // rcx\n  cocos2d::CCEGLView *v12; // rax\n  GameManager *v13; // rcx\n  __int64 v14; // rcx\n  cocos2d::CCEGLView *v15; // rax\n  GameManager *v16; // rcx\n  bool GameVariable; // al\n  GameManager *v18; // rcx\n  GameManager *v19; // rcx\n  bool m_lowDetailModeToggled; // al\n  __int64 v21; // rbx\n  char v22; // r14\n  GJLevelType m_levelType; // eax\n  bool v24; // al\n  __int64 v25; // rdx\n  __int64 v26; // rcx\n  __int64 v27; // rdx\n  __int64 v28; // rcx\n  cocos2d::CCArray *v29; // rax\n  __int64 v30; // rcx\n  int v31; // edi\n  GravityEffectSprite *v32; // rbx\n  cocos2d::CCArray *v33; // rax\n  __int64 v34; // rcx\n  __int64 v35; // rax\n  cocos2d::CCDictionary *v36; // rax\n  __int64 v37; // rcx\n  cocos2d::CCDirector *v38; // rax\n  __int64 v39; // rcx\n  cocos2d::CCArray *v40; // rax\n  __int64 v41; // rcx\n  cocos2d::CCArray *v42; // rax\n  __int64 v43; // rcx\n  cocos2d::CCArray *v44; // rax\n  __int64 v45; // rcx\n  cocos2d::CCArray *v46; // rax\n  int v47; // eax\n  float v48; // xmm0_4\n  float v49; // xmm0_4\n  float v50; // xmm0_4\n  cocos2d::CCParticleSystemQuad *v51; // rax\n  cocos2d::CCParticleSystemQuad_vtbl *v52; // rbx\n  __int64 v53; // rcx\n  cocos2d::CCDirector *v54; // rax\n  __int64 v55; // rcx\n  cocos2d::CCDirector *v56; // rax\n  float v57; // xmm0_4\n  const cocos2d::CCPoint *v58; // rax\n  __int64 v59; // rcx\n  cocos2d::CCDrawNode *v60; // rax\n  GameManager *v61; // rcx\n  struct cocos2d::CCLabelBMFont *v62; // rax\n  __int64 v63; // rdx\n  float v64; // xmm0_4\n  cocos2d::CCLabelBMFont_vtbl *v65; // rbx\n  const cocos2d::CCPoint *v66; // rax\n  cocos2d::CCLabelBMFont_vtbl *v67; // rbx\n  __int64 v68; // rcx\n  cocos2d::CCDirector *v69; // rax\n  float v70; // xmm0_4\n  const cocos2d::CCPoint *v71; // rax\n  GameManager *v72; // rcx\n  bool v73; // al\n  _QWORD *v74; // rdx\n  size_t v75; // r8\n  void *v76; // rcx\n  GJGameLevel *m_level; // rcx\n  GJLevelType v78; // eax\n  __int64 v79; // rax\n  bool v80; // al\n  struct cocos2d::CCLabelBMFont *v81; // rdi\n  float v82; // xmm0_4\n  cocos2d::CCLabelBMFont_vtbl *v83; // rbx\n  const cocos2d::CCPoint *v84; // rax\n  void *v85; // [rsp+28h] [rbp-99h]\n  void *v86; // [rsp+28h] [rbp-99h]\n  void *v87; // [rsp+28h] [rbp-99h]\n  void *v88; // [rsp+28h] [rbp-99h]\n  void *v89; // [rsp+28h] [rbp-99h]\n  void *v90; // [rsp+28h] [rbp-99h]\n  void *v91; // [rsp+28h] [rbp-99h]\n  void *v92; // [rsp+28h] [rbp-99h]\n  void *v93; // [rsp+28h] [rbp-99h]\n  void *v94; // [rsp+28h] [rbp-99h]\n  void *v95; // [rsp+28h] [rbp-99h]\n  void *v96; // [rsp+28h] [rbp-99h]\n  struct cocos2d::_ccBlendFunc v98; // [rsp+38h] [rbp-89h] BYREF\n  float v99; // [rsp+40h] [rbp-81h]\n  void *Block[2]; // [rsp+48h] [rbp-79h] BYREF\n  __int64 v101; // [rsp+58h] [rbp-69h]\n  unsigned __int64 v102; // [rsp+60h] [rbp-61h]\n  _QWORD v103[4]; // [rsp+68h] [rbp-59h] BYREF\n  _BYTE v104[16]; // [rsp+88h] [rbp-39h] BYREF\n  __int64 v105; // [rsp+98h] [rbp-29h]\n\n  v4 = a4;\n  result = GJBaseGameLayer::init(a1);\n  if ( !result )\n    return result;\n  a1->m_level = a2;\n  cocos2d::CCObject::retain(a2);\n  v9 = cocos2d::CCDirector::sharedDirector(v8);\n  *(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 176LL))(v9) + 92) = 1;\n  *(_BYTE *)(((__int64 (*)(void))cocos2d::CCEGLView::sharedOpenGLView)() + 237) = 1;\n  v10 = (GameManager *)qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v85 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v85);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v10 = (GameManager *)qword_1406C2ED8;\n  }\n  if ( GameManager::getGameVariable(v10, \"0128\") )\n  {\n    v12 = (cocos2d::CCEGLView *)cocos2d::CCEGLView::sharedOpenGLView(v11);\n    cocos2d::CCEGLView::toggleLockCursor(v12, 1);\n  }\n  else\n  {\n    v13 = (GameManager *)qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v86 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v86);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v13 = (GameManager *)qword_1406C2ED8;\n    }\n    if ( !GameManager::getGameVariable(v13, \"0024\") )\n    {\n      v15 = (cocos2d::CCEGLView *)cocos2d::CCEGLView::sharedOpenGLView(v14);\n      cocos2d::CCEGLView::showCursor(v15, 0);\n    }\n  }\n  a1->toggleMusicInPractice(a1);\n  v16 = (GameManager *)qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v87 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v87);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v16 = (GameManager *)qword_1406C2ED8;\n  }\n  v16->m_somethingInMenuLayer = 1;\n  a1->m_damageVerified = 0;\n  a1->m_nextColorKey = 1;\n  a1->m_unk376d = 0;\n  if ( a1->m_level->m_disableShakeToggled\n    || (GameVariable = GameManager::getGameVariable(v16, \"0172\"), v16 = (GameManager *)qword_1406C2ED8, GameVariable) )\n  {\n    GameVariable = 1;\n  }\n  a1->m_skipCameraShake = GameVariable;\n  if ( !v16 )\n  {\n    v88 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v88);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v16 = (GameManager *)qword_1406C2ED8;\n  }\n  a1->m_doNot = GameManager::getGameVariable(v16, \"0095\");\n  v18 = (GameManager *)qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v89 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v89);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v18 = (GameManager *)qword_1406C2ED8;\n  }\n  a1->m_showLeaderboardPercentage = GameManager::getGameVariable(v18, \"0099\");\n  v19 = (GameManager *)qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v90 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v90);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v19 = (GameManager *)qword_1406C2ED8;\n  }\n  a1->m_decimalPercentage = GameManager::getGameVariable(v19, \"0126\");\n  m_lowDetailModeToggled = a2->m_lowDetailModeToggled;\n  a1->m_lowDetailMode = m_lowDetailModeToggled;\n  if ( m_lowDetailModeToggled && a1->m_extraLDM )\n  {\n    v21 = qword_1406C2ED8;\nLABEL_24:\n    v22 = 1;\n    goto LABEL_25;\n  }\n  v21 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v93 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v93);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v21 = qword_1406C2ED8;\n  }\n  if ( *(_BYTE *)(v21 + 917) )\n    goto LABEL_24;\n  v22 = 0;\nLABEL_25:\n  if ( !v21 )\n  {\n    v91 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v91);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v21 = qword_1406C2ED8;\n  }\n  *(_BYTE *)(v21 + 918) = v22;\n  *(_BYTE *)(v21 + 1005) = 1;\n  if ( *(_BYTE *)(v21 + 577) )\n  {\n    *(double *)(v21 + 432) = sub_14003CF30() - 180.0 + 180.0;\n    v21 = qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v92 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v92);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v21 = qword_1406C2ED8;\n    }\n    *(_BYTE *)(v21 + 577) = 0;\n  }\n  if ( *(_BYTE *)(v21 + 915) )\n    cocos2d::CCNode::stopActionByTag(a1, 31);\n  a1->m_isTestMode = 0;\n  m_levelType = a2->m_levelType;\n  v24 = m_levelType != Main && (m_levelType == Editor || a2->m_demon.random - a2->m_demon.seed == 1);\n  a1->m_recordInputs = v24;\n  a1->m_attempts = 0;\n  GJBaseGameLayer::resetActiveEnterEffects(a1);\n  a1->m_maxObjectX = 0.0;\n  a1->m_gameState.m_totalTime = 0.0;\n  a1->m_gameState.m_unkDouble3 = 0.0;\n  a1->m_gameState.m_levelTime = 0.0;\n  a1->m_jumps = 0;\n  a1->m_levelEndAnimationStarted = 0;\n  a1->m_skipArtReload = 1;\n  a1->m_gameState.m_isDualMode = 0;\n  a1->m_totalGravityEffects = 4;\n  if ( *(_BYTE *)(cocos2d::CCApplication::sharedApplication(v26, v25) + 235)\n    || *(_BYTE *)(cocos2d::CCApplication::sharedApplication(v28, v27) + 236) )\n  {\n    a1->m_totalGravityEffects = 2;\n  }\n  v29 = (cocos2d::CCArray *)cocos2d::CCArray::create(v28);\n  a1->m_gravityEffects = v29;\n  cocos2d::CCObject::retain(v29);\n  v31 = 0;\n  if ( a1->m_totalGravityEffects > 0 )\n  {\n    do\n    {\n      v32 = (GravityEffectSprite *)operator new(0x258u);\n      memset(v32, 0, sizeof(GravityEffectSprite));\n      cocos2d::CCSprite::CCSprite(v32);\n      v32->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GravityEffectSprite_vtbl *)&GravityEffectSprite::`vftable';\n      v32->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&GravityEffectSprite::`vftable';\n      v32->cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&GravityEffectSprite::`vftable';\n      if ( GravityEffectSprite::init(v32) )\n      {\n        cocos2d::CCObject::autorelease(v32);\n      }\n      else\n      {\n        ((void (__fastcall *)(GravityEffectSprite *, __int64))v32->~GravityEffectSprite)(v32, 1);\n        v32 = nullptr;\n      }\n      cocos2d::CCArray::addObject(a1->m_gravityEffects, v32);\n      ++v31;\n    }\n    while ( v31 < a1->m_totalGravityEffects );\n    v4 = a4;\n  }\n  v33 = (cocos2d::CCArray *)cocos2d::CCArray::create(v30);\n  a1->m_collectibles = v33;\n  cocos2d::CCObject::retain(v33);\n  v35 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v94 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v94);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v35 = qword_1406C2ED8;\n  }\n  *(_WORD *)(v35 + 697) = 0;\n  *(_QWORD *)(v35 + 520) = a1;\n  v36 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::create(v34);\n  a1->m_colorKeyDict = v36;\n  cocos2d::CCObject::retain(v36);\n  v38 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v37);\n  cocos2d::CCDirector::getWinSize(v38);\n  v40 = (cocos2d::CCArray *)cocos2d::CCArray::create(v39);\n  a1->m_checkpointArray = v40;\n  cocos2d::CCObject::retain(v40);\n  v42 = (cocos2d::CCArray *)cocos2d::CCArray::create(v41);\n  a1->m_speedObjects = v42;\n  cocos2d::CCObject::retain(v42);\n  v44 = (cocos2d::CCArray *)cocos2d::CCArray::create(v43);\n  a1->m_circleWaveArray = v44;\n  cocos2d::CCObject::retain(v44);\n  v46 = (cocos2d::CCArray *)cocos2d::CCArray::create(v45);\n  a1->m_unk37c0 = v46;\n  cocos2d::CCObject::retain(v46);\n  GJBaseGameLayer::setupLayers(a1);\n  v47 = rand();\n  if ( (float)((float)((float)v47 / 32767.0) + (float)((float)v47 / 32767.0)) < 0.0 )\n  {\n    v50 = (float)rand();\n    v49 = ceilf((float)((float)(v50 / 32767.0) + (float)(v50 / 32767.0)) - 0.5);\n  }\n  else\n  {\n    v48 = (float)rand();\n    v49 = floorf((float)((float)(v48 / 32767.0) + (float)(v48 / 32767.0)) + 0.5);\n  }\n  a1->m_pulseRodIndex = (int)(float)(v49 + 1.0);\n  v51 = cocos2d::CCParticleSystemQuad::create(\"glitterEffect.plist\", 0);\n  a1->m_glitterParticles = v51;\n  v51->setPositionType(v51, kCCPositionTypeRelative);\n  a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_glitterParticles, 0);\n  v52 = a1->m_glitterParticles->GJBaseGameLayer::__vftable;\n  v54 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v53);\n  cocos2d::CCDirector::getScreenScaleFactorH(v54);\n  v56 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v55);\n  v57 = (float)(cocos2d::CCDirector::getScreenScaleFactorW(v56) * 480.0) / 1.8;\n  cocos2d::CCPoint::CCPoint(v57, v57);\n  v52->setPosVar(a1->m_glitterParticles, v58);\n  cocos2d::CCParticleSystem::stopSystem(a1->m_glitterParticles);\n  v60 = (cocos2d::CCDrawNode *)cocos2d::CCDrawNode::create(v59);\n  a1->m_debugDrawNode = v60;\n  v98.src = 770;\n  v98.dst = 771;\n  cocos2d::CCDrawNode::setBlendFunc(v60, &v98);\n  a1->m_debugDrawNode->setTag(a1->m_debugDrawNode, -9999);\n  a1->m_aboveShaderObjectLayer->addChild_0(a1->m_aboveShaderObjectLayer, a1->m_debugDrawNode, 1401);\n  PlayLayer::updateDebugDrawSettings(a1);\n  GJBaseGameLayer::createPlayer(a1);\n  if ( a1->m_level->m_levelType == Editor )\n  {\n    v61 = (GameManager *)qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v95 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v95);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v61 = (GameManager *)qword_1406C2ED8;\n    }\n    if ( !GameManager::getGameVariable(v61, \"0174\") )\n    {\n      v62 = cocos2d::CCLabelBMFont::create((const char *)&qword_140551DB0, (const char *)&qword_14052A4D8);\n      a1->m_statusLabel = v62;\n      LOBYTE(v63) = 50;\n      v62->setOpacity(&v62->cocos2d::CCRGBAProtocol, v63);\n      ((void (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_statusLabel->setScale_0)(a1->m_statusLabel);\n      v64 = ((float (__fastcall *)(PlayLayer *, cocos2d::CCLabelBMFont *, __int64))a1->addChild_0)(\n              a1,\n              a1->m_statusLabel,\n              1000);\n      v65 = a1->m_statusLabel->__vftable;\n      cocos2d::CCPoint::CCPoint(v64, 0.0);\n      v65->setAnchorPoint(a1->m_statusLabel, v66);\n      v67 = a1->m_statusLabel->__vftable;\n      v69 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v68);\n      v70 = (float)(cocos2d::CCDirector::getScreenTop(v69) - 5.0) + 1.0;\n      cocos2d::CCPoint::CCPoint(v70, 5.0);\n      v67->setPosition_0(a1->m_statusLabel, v71);\n      a1->m_statusLabel->setVisible(a1->m_statusLabel, 0);\n    }\n    v72 = (GameManager *)qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v96 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v96);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v72 = (GameManager *)qword_1406C2ED8;\n    }\n    v73 = GameManager::getGameVariable(v72, \"0173\");\n    a1->m_ignoreDamage = v73;\n    if ( v73 )\n      a1->m_isIgnoreDamageEnabled = v73;\n    a1->m_player1->m_maybeCanRunIntoBlocks = v73;\n    a1->m_player2->m_maybeCanRunIntoBlocks = v73;\n    PlayLayer::updateTestModeLabel(a1);\n  }\n  a1->m_passedIntegrity = 1;\n  sub_14003BDB0((__int64)v103, (__int64)&a1->m_level->m_levelString);\n  v74 = v103;\n  if ( v103[3] > 0xFu )\n    v74 = (_QWORD *)v103[0];\n  *(_OWORD *)Block = 0;\n  v101 = 0;\n  v102 = 0;\n  v75 = -1;\n  do\n    ++v75;\n  while ( *((_BYTE *)v74 + v75) );\n  sub_14003A930(Block, v74, v75);\n  cocos2d::ZipUtils::decompressString(v104, Block, 0, 11);\n  if ( v102 > 0xF )\n  {\n    v76 = Block[0];\n    if ( v102 + 1 >= 0x1000 )\n    {\n      v76 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v76 - 8) > 0x1F )\n        invalid_parameter_noinfo_noreturn();\n    }\n    j_j_free(v76);\n  }\n  v101 = 0;\n  v102 = 15;\n  LOBYTE(Block[0]) = 0;\n  sub_14003A830((__int64)v103);\n  m_level = a1->m_level;\n  v78 = m_level->m_levelType;\n  if ( v78 == Main )\n  {\n    v79 = sub_14003BDB0((__int64)v103, (__int64)v104);\n    v80 = LevelTools::verifyLevelIntegrity(v79, a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed);\n  }\n  else\n  {\n    if ( v78 == Editor && m_level->m_stars.random - m_level->m_stars.seed <= 0 )\n      goto LABEL_81;\n    v80 = v105 != 0;\n  }\n  a1->m_passedIntegrity = v80;\nLABEL_81:\n  if ( !a1->m_passedIntegrity )\n  {\n    v81 = cocos2d::CCLabelBMFont::create(\"Load Failed!\", (const char *)&qword_14052A4D8);\n    v82 = ((float (__fastcall *)(PlayLayer *, struct cocos2d::CCLabelBMFont *, __int64))a1->addChild_0)(a1, v81, 100);\n    v83 = v81->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    cocos2d::CCPoint::CCPoint(v82, v99 * 0.5);\n    v83->setPosition_0(v81, v84);\n  }\n  PlayLayer::prepareCreateObjectsFromSetup(a1, v104);\n  if ( !v4 && a1->m_loadingProgress < 1.0 )\n  {\n    do\n      PlayLayer::processCreateObjectsFromSetup(a1);\n    while ( a1->m_loadingProgress < 1.0 );\n  }\n  sub_14003A830((__int64)v104);\n  return 1;\n}", "assembly": "; \n; PlayLayer::init from 0x1403a5b00 to 0x1403a66ce (3022 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::scene @ 0x1403a5aaf\n; > <???> @ 0x1406d6b48\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, 0x1403a5b00\nmov     [rax+10h], rbx                                                 ; +0x3, 0x1403a5b03\nmov     [rax+18h], rsi                                                 ; +0x7, 0x1403a5b07\nmov     [rax+20h], rdi                                                 ; +0xb, 0x1403a5b0b\npush    rbp                                                            ; +0xf, 0x1403a5b0f\npush    r12                                                            ; +0x10, 0x1403a5b10\npush    r13                                                            ; +0x12, 0x1403a5b12\npush    r14                                                            ; +0x14, 0x1403a5b14\npush    r15                                                            ; +0x16, 0x1403a5b16\nlea     rbp, [rax-5Fh]                                                 ; +0x18, 0x1403a5b18\nsub     rsp, 0F0h                                                      ; +0x1c, 0x1403a5b1c\nmovaps  xmmword ptr [rax-38h], xmm6                                    ; +0x23, 0x1403a5b23\nmovaps  xmmword ptr [rax-48h], xmm7                                    ; +0x27, 0x1403a5b27\nmovaps  xmmword ptr [rax-58h], xmm8                                    ; +0x2b, 0x1403a5b2b\nmovaps  xmmword ptr [rax-68h], xmm9                                    ; +0x30, 0x1403a5b30\nmov     rax, cs:__security_cookie                                      ; +0x35, 0x1403a5b35\nxor     rax, rsp                                                       ; +0x3c, 0x1403a5b3c\nmov     [rbp+57h+var_70], rax                                          ; +0x3f, 0x1403a5b3f\nmovzx   r15d, r9b                                                      ; +0x43, 0x1403a5b43\nmov     byte ptr [rsp+110h+var_E8], r9b                                ; +0x47, 0x1403a5b47\nmov     rdi, rdx                                                       ; +0x4c, 0x1403a5b4c\nmov     rsi, rcx                                                       ; +0x4f, 0x1403a5b4f\nxor     r12d, r12d                                                     ; +0x52, 0x1403a5b52\ncall    GJBaseGameLayer__init                                          ; +0x55, 0x1403a5b55\ntest    al, al                                                         ; +0x5a, 0x1403a5b5a\njz      loc_1403A668D                                                  ; +0x5c, 0x1403a5b5c\nmov     [rsi+878h], rdi                                                ; +0x62, 0x1403a5b62\nmov     rcx, rdi                                                       ; +0x69, 0x1403a5b69\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x6c, 0x1403a5b6c\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x72, 0x1403a5b72\nmov     rdx, [rax]                                                     ; +0x78, 0x1403a5b78\nmov     rcx, rax                                                       ; +0x7b, 0x1403a5b7b\ncall    qword ptr [rdx+0B0h]                                           ; +0x7e, 0x1403a5b7e\nmov     byte ptr [rax+5Ch], 1                                          ; +0x84, 0x1403a5b84\ncall    cs:?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x88, 0x1403a5b88\nmov     byte ptr [rax+0EDh], 1                                         ; +0x8e, 0x1403a5b8e\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x95, 0x1403a5b95\ntest    rcx, rcx                                                       ; +0x9c, 0x1403a5b9c\njnz     short loc_1403A5BD0                                            ; +0x9f, 0x1403a5b9f\nmov     ecx, 668h; Size                                                ; +0xa1, 0x1403a5ba1\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xa6, 0x1403a5ba6\nmov     [rsp+110h+var_F0], rax                                         ; +0xab, 0x1403a5bab\nmov     rcx, rax                                                       ; +0xb0, 0x1403a5bb0\ncall    sub_14017AB00                                                  ; +0xb3, 0x1403a5bb3\nnop                                                                    ; +0xb8, 0x1403a5bb8\nmov     cs:qword_1406C2ED8, rax                                        ; +0xb9, 0x1403a5bb9\nmov     rdx, [rax]                                                     ; +0xc0, 0x1403a5bc0\nmov     rcx, rax                                                       ; +0xc3, 0x1403a5bc3\ncall    qword ptr [rdx+48h]                                            ; +0xc6, 0x1403a5bc6\nmov     rcx, cs:qword_1406C2ED8                                        ; +0xc9, 0x1403a5bc9\nlea     rdx, a0128; \"0128\"                                             ; +0xd0, 0x1403a5bd0\ncall    GameManager__getGameVariable                                   ; +0xd7, 0x1403a5bd7\ntest    al, al                                                         ; +0xdc, 0x1403a5bdc\njz      short loc_1403A5BF3                                            ; +0xde, 0x1403a5bde\ncall    cs:?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0xe0, 0x1403a5be0\nmov     rcx, rax                                                       ; +0xe6, 0x1403a5be6\nmov     dl, 1                                                          ; +0xe9, 0x1403a5be9\ncall    cs:?toggleLockCursor@CCEGLView@cocos2d@@QEAAX_N@Z; cocos2d::CCEGLView::toggleLockCursor(bool) ; +0xeb, 0x1403a5beb\njmp     short loc_1403A5C4F                                            ; +0xf1, 0x1403a5bf1\nmov     rcx, cs:qword_1406C2ED8                                        ; +0xf3, 0x1403a5bf3\ntest    rcx, rcx                                                       ; +0xfa, 0x1403a5bfa\njnz     short loc_1403A5C2E                                            ; +0xfd, 0x1403a5bfd\nmov     ecx, 668h; Size                                                ; +0xff, 0x1403a5bff\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x104, 0x1403a5c04\nmov     [rsp+110h+var_F0], rax                                         ; +0x109, 0x1403a5c09\nmov     rcx, rax                                                       ; +0x10e, 0x1403a5c0e\ncall    sub_14017AB00                                                  ; +0x111, 0x1403a5c11\nnop                                                                    ; +0x116, 0x1403a5c16\nmov     cs:qword_1406C2ED8, rax                                        ; +0x117, 0x1403a5c17\nmov     rdx, [rax]                                                     ; +0x11e, 0x1403a5c1e\nmov     rcx, rax                                                       ; +0x121, 0x1403a5c21\ncall    qword ptr [rdx+48h]                                            ; +0x124, 0x1403a5c24\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x127, 0x1403a5c27\nlea     rdx, a0024; \"0024\"                                             ; +0x12e, 0x1403a5c2e\ncall    GameManager__getGameVariable                                   ; +0x135, 0x1403a5c35\ntest    al, al                                                         ; +0x13a, 0x1403a5c3a\njnz     short loc_1403A5C4F                                            ; +0x13c, 0x1403a5c3c\ncall    cs:?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x13e, 0x1403a5c3e\nmov     rcx, rax                                                       ; +0x144, 0x1403a5c44\nxor     edx, edx                                                       ; +0x147, 0x1403a5c47\ncall    cs:?showCursor@CCEGLView@cocos2d@@QEAAX_N@Z; cocos2d::CCEGLView::showCursor(bool) ; +0x149, 0x1403a5c49\nmov     rax, [rsi]                                                     ; +0x14f, 0x1403a5c4f\nmov     rcx, rsi                                                       ; +0x152, 0x1403a5c52\ncall    qword ptr [rax+570h]                                           ; +0x155, 0x1403a5c55\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x15b, 0x1403a5c5b\ntest    rcx, rcx                                                       ; +0x162, 0x1403a5c62\njnz     short loc_1403A5C96                                            ; +0x165, 0x1403a5c65\nmov     ecx, 668h; Size                                                ; +0x167, 0x1403a5c67\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x16c, 0x1403a5c6c\nmov     [rsp+110h+var_F0], rax                                         ; +0x171, 0x1403a5c71\nmov     rcx, rax                                                       ; +0x176, 0x1403a5c76\ncall    sub_14017AB00                                                  ; +0x179, 0x1403a5c79\nnop                                                                    ; +0x17e, 0x1403a5c7e\nmov     cs:qword_1406C2ED8, rax                                        ; +0x17f, 0x1403a5c7f\nmov     rdx, [rax]                                                     ; +0x186, 0x1403a5c86\nmov     rcx, rax                                                       ; +0x189, 0x1403a5c89\ncall    qword ptr [rdx+48h]                                            ; +0x18c, 0x1403a5c8c\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x18f, 0x1403a5c8f\nmov     byte ptr [rcx+40Ch], 1                                         ; +0x196, 0x1403a5c96\nmov     byte ptr [rsi+37C0h], 0                                        ; +0x19d, 0x1403a5c9d\nmov     dword ptr [rsi+3A60h], 1                                       ; +0x1a4, 0x1403a5ca4\nmov     byte ptr [rsi+3855h], 0                                        ; +0x1ae, 0x1403a5cae\nmov     rax, [rsi+878h]                                                ; +0x1b5, 0x1403a5cb5\ncmp     byte ptr [rax+2D6h], 0                                         ; +0x1bc, 0x1403a5cbc\njnz     short loc_1403A5CDC                                            ; +0x1c3, 0x1403a5cc3\nlea     rdx, a0172; \"0172\"                                             ; +0x1c5, 0x1403a5cc5\ncall    GameManager__getGameVariable                                   ; +0x1cc, 0x1403a5ccc\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x1d1, 0x1403a5cd1\ntest    al, al                                                         ; +0x1d8, 0x1403a5cd8\njz      short loc_1403A5CDE                                            ; +0x1da, 0x1403a5cda\nmov     al, 1                                                          ; +0x1dc, 0x1403a5cdc\nmov     [rsi+3249h], al                                                ; +0x1de, 0x1403a5cde\ntest    rcx, rcx                                                       ; +0x1e4, 0x1403a5ce4\njnz     short loc_1403A5D18                                            ; +0x1e7, 0x1403a5ce7\nmov     ecx, 668h; Size                                                ; +0x1e9, 0x1403a5ce9\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1ee, 0x1403a5cee\nmov     [rsp+110h+var_F0], rax                                         ; +0x1f3, 0x1403a5cf3\nmov     rcx, rax                                                       ; +0x1f8, 0x1403a5cf8\ncall    sub_14017AB00                                                  ; +0x1fb, 0x1403a5cfb\nnop                                                                    ; +0x200, 0x1403a5d00\nmov     cs:qword_1406C2ED8, rax                                        ; +0x201, 0x1403a5d01\nmov     rdx, [rax]                                                     ; +0x208, 0x1403a5d08\nmov     rcx, rax                                                       ; +0x20b, 0x1403a5d0b\ncall    qword ptr [rdx+48h]                                            ; +0x20e, 0x1403a5d0e\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x211, 0x1403a5d11\nlea     rdx, a0095; \"0095\"                                             ; +0x218, 0x1403a5d18\ncall    GameManager__getGameVariable                                   ; +0x21f, 0x1403a5d1f\nmov     [rsi+3920h], al                                                ; +0x224, 0x1403a5d24\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x22a, 0x1403a5d2a\ntest    rcx, rcx                                                       ; +0x231, 0x1403a5d31\njnz     short loc_1403A5D65                                            ; +0x234, 0x1403a5d34\nmov     ecx, 668h; Size                                                ; +0x236, 0x1403a5d36\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x23b, 0x1403a5d3b\nmov     [rsp+110h+var_F0], rax                                         ; +0x240, 0x1403a5d40\nmov     rcx, rax                                                       ; +0x245, 0x1403a5d45\ncall    sub_14017AB00                                                  ; +0x248, 0x1403a5d48\nnop                                                                    ; +0x24d, 0x1403a5d4d\nmov     cs:qword_1406C2ED8, rax                                        ; +0x24e, 0x1403a5d4e\nmov     rdx, [rax]                                                     ; +0x255, 0x1403a5d55\nmov     rcx, rax                                                       ; +0x258, 0x1403a5d58\ncall    qword ptr [rdx+48h]                                            ; +0x25b, 0x1403a5d5b\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x25e, 0x1403a5d5e\nlea     rdx, a0099; \"0099\"                                             ; +0x265, 0x1403a5d65\ncall    GameManager__getGameVariable                                   ; +0x26c, 0x1403a5d6c\nmov     [rsi+397Ch], al                                                ; +0x271, 0x1403a5d71\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x277, 0x1403a5d77\ntest    rcx, rcx                                                       ; +0x27e, 0x1403a5d7e\njnz     short loc_1403A5DB2                                            ; +0x281, 0x1403a5d81\nmov     ecx, 668h; Size                                                ; +0x283, 0x1403a5d83\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x288, 0x1403a5d88\nmov     [rsp+110h+var_F0], rax                                         ; +0x28d, 0x1403a5d8d\nmov     rcx, rax                                                       ; +0x292, 0x1403a5d92\ncall    sub_14017AB00                                                  ; +0x295, 0x1403a5d95\nnop                                                                    ; +0x29a, 0x1403a5d9a\nmov     cs:qword_1406C2ED8, rax                                        ; +0x29b, 0x1403a5d9b\nmov     rdx, [rax]                                                     ; +0x2a2, 0x1403a5da2\nmov     rcx, rax                                                       ; +0x2a5, 0x1403a5da5\ncall    qword ptr [rdx+48h]                                            ; +0x2a8, 0x1403a5da8\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x2ab, 0x1403a5dab\nlea     rdx, a0126; \"0126\"                                             ; +0x2b2, 0x1403a5db2\ncall    GameManager__getGameVariable                                   ; +0x2b9, 0x1403a5db9\nmov     [rsi+38E8h], al                                                ; +0x2be, 0x1403a5dbe\nmovzx   eax, byte ptr [rdi+2D5h]                                       ; +0x2c4, 0x1403a5dc4\nmov     [rsi+884h], al                                                 ; +0x2cb, 0x1403a5dcb\ntest    al, al                                                         ; +0x2d1, 0x1403a5dd1\njz      loc_1403A5EDD                                                  ; +0x2d3, 0x1403a5dd3\ncmp     byte ptr [rsi+885h], 0                                         ; +0x2d9, 0x1403a5dd9\njz      loc_1403A5EDD                                                  ; +0x2e0, 0x1403a5de0\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x2e6, 0x1403a5de6\nmov     r14b, 1                                                        ; +0x2ed, 0x1403a5ded\ntest    rbx, rbx                                                       ; +0x2f0, 0x1403a5df0\njnz     short loc_1403A5E24                                            ; +0x2f3, 0x1403a5df3\nmov     ecx, 668h; Size                                                ; +0x2f5, 0x1403a5df5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2fa, 0x1403a5dfa\nmov     [rsp+110h+var_F0], rax                                         ; +0x2ff, 0x1403a5dff\nmov     rcx, rax                                                       ; +0x304, 0x1403a5e04\ncall    sub_14017AB00                                                  ; +0x307, 0x1403a5e07\nnop                                                                    ; +0x30c, 0x1403a5e0c\nmov     cs:qword_1406C2ED8, rax                                        ; +0x30d, 0x1403a5e0d\nmov     rdx, [rax]                                                     ; +0x314, 0x1403a5e14\nmov     rcx, rax                                                       ; +0x317, 0x1403a5e17\ncall    qword ptr [rdx+48h]                                            ; +0x31a, 0x1403a5e1a\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x31d, 0x1403a5e1d\nmov     [rbx+396h], r14b                                               ; +0x324, 0x1403a5e24\nmov     byte ptr [rbx+3EDh], 1                                         ; +0x32b, 0x1403a5e2b\ncmp     byte ptr [rbx+241h], 0                                         ; +0x332, 0x1403a5e32\njz      short loc_1403A5E9A                                            ; +0x339, 0x1403a5e39\ncall    sub_14003CF30                                                  ; +0x33b, 0x1403a5e3b\nsubsd   xmm0, cs:qword_140622FB8                                       ; +0x340, 0x1403a5e40\naddsd   xmm0, cs:qword_140622FB8                                       ; +0x348, 0x1403a5e48\nmovsd   qword ptr [rbx+1B0h], xmm0                                     ; +0x350, 0x1403a5e50\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x358, 0x1403a5e58\ntest    rbx, rbx                                                       ; +0x35f, 0x1403a5e5f\njnz     short loc_1403A5E93                                            ; +0x362, 0x1403a5e62\nmov     ecx, 668h; Size                                                ; +0x364, 0x1403a5e64\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x369, 0x1403a5e69\nmov     [rsp+110h+var_F0], rax                                         ; +0x36e, 0x1403a5e6e\nmov     rcx, rax                                                       ; +0x373, 0x1403a5e73\ncall    sub_14017AB00                                                  ; +0x376, 0x1403a5e76\nnop                                                                    ; +0x37b, 0x1403a5e7b\nmov     cs:qword_1406C2ED8, rax                                        ; +0x37c, 0x1403a5e7c\nmov     rdx, [rax]                                                     ; +0x383, 0x1403a5e83\nmov     rcx, rax                                                       ; +0x386, 0x1403a5e86\ncall    qword ptr [rdx+48h]                                            ; +0x389, 0x1403a5e89\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x38c, 0x1403a5e8c\nmov     byte ptr [rbx+241h], 0                                         ; +0x393, 0x1403a5e93\ncmp     byte ptr [rbx+393h], 0                                         ; +0x39a, 0x1403a5e9a\njz      short loc_1403A5EB1                                            ; +0x3a1, 0x1403a5ea1\nmov     edx, 1Fh                                                       ; +0x3a3, 0x1403a5ea3\nmov     rcx, rsi                                                       ; +0x3a8, 0x1403a5ea8\ncall    cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x3ab, 0x1403a5eab\nmov     byte ptr [rsi+3230h], 0                                        ; +0x3b1, 0x1403a5eb1\nmov     eax, [rdi+454h]                                                ; +0x3b8, 0x1403a5eb8\ncmp     eax, 1                                                         ; +0x3be, 0x1403a5ebe\njz      short loc_1403A5F2D                                            ; +0x3c1, 0x1403a5ec1\ncmp     eax, 2                                                         ; +0x3c3, 0x1403a5ec3\njz      short loc_1403A5ED9                                            ; +0x3c6, 0x1403a5ec6\nmov     eax, [rdi+378h]                                                ; +0x3c8, 0x1403a5ec8\nsub     eax, [rdi+37Ch]                                                ; +0x3ce, 0x1403a5ece\ncmp     eax, 1                                                         ; +0x3d4, 0x1403a5ed4\njnz     short loc_1403A5F2D                                            ; +0x3d7, 0x1403a5ed7\nmov     al, 1                                                          ; +0x3d9, 0x1403a5ed9\njmp     short loc_1403A5F2F                                            ; +0x3db, 0x1403a5edb\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x3dd, 0x1403a5edd\ntest    rbx, rbx                                                       ; +0x3e4, 0x1403a5ee4\njnz     short loc_1403A5F18                                            ; +0x3e7, 0x1403a5ee7\nmov     ecx, 668h; Size                                                ; +0x3e9, 0x1403a5ee9\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3ee, 0x1403a5eee\nmov     [rsp+110h+var_F0], rax                                         ; +0x3f3, 0x1403a5ef3\nmov     rcx, rax                                                       ; +0x3f8, 0x1403a5ef8\ncall    sub_14017AB00                                                  ; +0x3fb, 0x1403a5efb\nnop                                                                    ; +0x400, 0x1403a5f00\nmov     cs:qword_1406C2ED8, rax                                        ; +0x401, 0x1403a5f01\nmov     rdx, [rax]                                                     ; +0x408, 0x1403a5f08\nmov     rcx, rax                                                       ; +0x40b, 0x1403a5f0b\ncall    qword ptr [rdx+48h]                                            ; +0x40e, 0x1403a5f0e\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x411, 0x1403a5f11\ncmp     byte ptr [rbx+395h], 0                                         ; +0x418, 0x1403a5f18\njnz     loc_1403A5DED                                                  ; +0x41f, 0x1403a5f1f\nxor     r14d, r14d                                                     ; +0x425, 0x1403a5f25\njmp     loc_1403A5DF0                                                  ; +0x428, 0x1403a5f28\nxor     al, al                                                         ; +0x42d, 0x1403a5f2d\nmov     [rsi+32A8h], al                                                ; +0x42f, 0x1403a5f2f\nmov     [rsi+3084h], r12d                                              ; +0x435, 0x1403a5f35\nmov     rcx, rsi                                                       ; +0x43c, 0x1403a5f3c\ncall    GJBaseGameLayer__resetActiveEnterEffects                       ; +0x43f, 0x1403a5f3f\nmov     [rsi+38D0h], r12d                                              ; +0x444, 0x1403a5f44\nmov     [rsi+3C8h], r12                                                ; +0x44b, 0x1403a5f4b\nmov     [rsi+3D8h], r12                                                ; +0x452, 0x1403a5f52\nmov     [rsi+3D0h], r12                                                ; +0x459, 0x1403a5f59\nmov     [rsi+3970h], r12d                                              ; +0x460, 0x1403a5f60\nmov     byte ptr [rsi+3570h], 0                                        ; +0x467, 0x1403a5f67\nmov     byte ptr [rsi+3225h], 1                                        ; +0x46e, 0x1403a5f6e\nmov     byte ptr [rsi+422h], 0                                         ; +0x475, 0x1403a5f75\nmov     dword ptr [rsi+3908h], 4                                       ; +0x47c, 0x1403a5f7c\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x486, 0x1403a5f86\ncmp     byte ptr [rax+0EBh], 0                                         ; +0x48c, 0x1403a5f8c\njnz     short loc_1403A5FA4                                            ; +0x493, 0x1403a5f93\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x495, 0x1403a5f95\ncmp     byte ptr [rax+0ECh], 0                                         ; +0x49b, 0x1403a5f9b\njz      short loc_1403A5FAE                                            ; +0x4a2, 0x1403a5fa2\nmov     dword ptr [rsi+3908h], 2                                       ; +0x4a4, 0x1403a5fa4\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x4ae, 0x1403a5fae\nmov     [rsi+3918h], rax                                               ; +0x4b4, 0x1403a5fb4\nmov     rcx, rax                                                       ; +0x4bb, 0x1403a5fbb\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x4be, 0x1403a5fbe\nmov     edi, r12d                                                      ; +0x4c4, 0x1403a5fc4\ncmp     [rsi+3908h], r12d                                              ; +0x4c7, 0x1403a5fc7\njle     loc_1403A6071                                                  ; +0x4ce, 0x1403a5fce\nlea     r14, ??_7GravityEffectSprite@@6B@; const GravityEffectSprite::`vftable' ; +0x4d4, 0x1403a5fd4\nlea     r13, ??_7GravityEffectSprite@@6B@_0; const GravityEffectSprite::`vftable' ; +0x4db, 0x1403a5fdb\nlea     r15, ??_7GravityEffectSprite@@6B@_1; const GravityEffectSprite::`vftable' ; +0x4e2, 0x1403a5fe2\nnop     dword ptr [rax+00000000h]                                      ; +0x4e9, 0x1403a5fe9\nmov     ecx, 258h; Size                                                ; +0x4f0, 0x1403a5ff0\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x4f5, 0x1403a5ff5\nmov     rbx, rax                                                       ; +0x4fa, 0x1403a5ffa\nmov     [rsp+110h+var_F0], rax                                         ; +0x4fd, 0x1403a5ffd\nxor     edx, edx; Val                                                  ; +0x502, 0x1403a6002\nmov     r8d, 258h; Size                                                ; +0x504, 0x1403a6004\nmov     rcx, rax; void *                                               ; +0x50a, 0x1403a600a\ncall    memset                                                         ; +0x50d, 0x1403a600d\nmov     rcx, rbx                                                       ; +0x512, 0x1403a6012\ncall    cs:??0CCSprite@cocos2d@@QEAA@XZ; cocos2d::CCSprite::CCSprite(void) ; +0x515, 0x1403a6015\nmov     [rbx], r14                                                     ; +0x51b, 0x1403a601b\nmov     [rbx+140h], r13                                                ; +0x51e, 0x1403a601e\nmov     [rbx+158h], r15                                                ; +0x525, 0x1403a6025\nmov     rcx, rbx                                                       ; +0x52c, 0x1403a602c\ncall    GravityEffectSprite__init                                      ; +0x52f, 0x1403a602f\nmov     rcx, rbx                                                       ; +0x534, 0x1403a6034\ntest    al, al                                                         ; +0x537, 0x1403a6037\njz      short loc_1403A6043                                            ; +0x539, 0x1403a6039\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x53b, 0x1403a603b\njmp     short loc_1403A6051                                            ; +0x541, 0x1403a6041\nmov     rax, [rbx]                                                     ; +0x543, 0x1403a6043\nmov     edx, 1                                                         ; +0x546, 0x1403a6046\ncall    qword ptr [rax+8]                                              ; +0x54b, 0x1403a604b\nmov     rbx, r12                                                       ; +0x54e, 0x1403a604e\nmov     rdx, rbx                                                       ; +0x551, 0x1403a6051\nmov     rcx, [rsi+3918h]                                               ; +0x554, 0x1403a6054\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x55b, 0x1403a605b\ninc     edi                                                            ; +0x561, 0x1403a6061\ncmp     edi, [rsi+3908h]                                               ; +0x563, 0x1403a6063\njl      short loc_1403A5FF0                                            ; +0x569, 0x1403a6069\nmovzx   r15d, byte ptr [rsp+110h+var_E8]                               ; +0x56b, 0x1403a606b\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x571, 0x1403a6071\nmov     [rsi+38C0h], rax                                               ; +0x577, 0x1403a6077\nmov     rcx, rax                                                       ; +0x57e, 0x1403a607e\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x581, 0x1403a6081\nmov     rax, cs:qword_1406C2ED8                                        ; +0x587, 0x1403a6087\ntest    rax, rax                                                       ; +0x58e, 0x1403a608e\njnz     short loc_1403A60C2                                            ; +0x591, 0x1403a6091\nmov     ecx, 668h; Size                                                ; +0x593, 0x1403a6093\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x598, 0x1403a6098\nmov     [rsp+110h+var_F0], rax                                         ; +0x59d, 0x1403a609d\nmov     rcx, rax                                                       ; +0x5a2, 0x1403a60a2\ncall    sub_14017AB00                                                  ; +0x5a5, 0x1403a60a5\nnop                                                                    ; +0x5aa, 0x1403a60aa\nmov     cs:qword_1406C2ED8, rax                                        ; +0x5ab, 0x1403a60ab\nmov     rdx, [rax]                                                     ; +0x5b2, 0x1403a60b2\nmov     rcx, rax                                                       ; +0x5b5, 0x1403a60b5\ncall    qword ptr [rdx+48h]                                            ; +0x5b8, 0x1403a60b8\nmov     rax, cs:qword_1406C2ED8                                        ; +0x5bb, 0x1403a60bb\nmov     word ptr [rax+2B9h], 0                                         ; +0x5c2, 0x1403a60c2\nmov     [rax+208h], rsi                                                ; +0x5cb, 0x1403a60cb\ncall    cs:?create@CCDictionary@cocos2d@@SAPEAV12@XZ; cocos2d::CCDictionary::create(void) ; +0x5d2, 0x1403a60d2\nmov     [rsi+3A10h], rax                                               ; +0x5d8, 0x1403a60d8\nmov     rcx, rax                                                       ; +0x5df, 0x1403a60df\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x5e2, 0x1403a60e2\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x5e8, 0x1403a60e8\nmov     rcx, rax                                                       ; +0x5ee, 0x1403a60ee\nlea     rdx, [rsp+110h+var_D8]                                         ; +0x5f1, 0x1403a60f1\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x5f6, 0x1403a60f6\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x5fc, 0x1403a60fc\nmov     [rsi+3888h], rax                                               ; +0x602, 0x1403a6102\nmov     rcx, rax                                                       ; +0x609, 0x1403a6109\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x60c, 0x1403a610c\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x612, 0x1403a6112\nmov     [rsi+3890h], rax                                               ; +0x618, 0x1403a6118\nmov     rcx, rax                                                       ; +0x61f, 0x1403a611f\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x622, 0x1403a6122\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x628, 0x1403a6128\nmov     [rsi+38B8h], rax                                               ; +0x62e, 0x1403a612e\nmov     rcx, rax                                                       ; +0x635, 0x1403a6135\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x638, 0x1403a6138\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x63e, 0x1403a613e\nmov     [rsi+38A8h], rax                                               ; +0x644, 0x1403a6144\nmov     rcx, rax                                                       ; +0x64b, 0x1403a614b\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x64e, 0x1403a614e\nmov     rcx, rsi                                                       ; +0x654, 0x1403a6154\ncall    GJBaseGameLayer__setupLayers                                   ; +0x657, 0x1403a6157\ncall    cs:rand                                                        ; +0x65c, 0x1403a615c\nmovd    xmm0, eax                                                      ; +0x662, 0x1403a6162\ncvtdq2ps xmm0, xmm0                                                    ; +0x666, 0x1403a6166\nmovss   xmm6, cs:dword_140623644                                       ; +0x669, 0x1403a6169\ndivss   xmm0, xmm6                                                     ; +0x671, 0x1403a6171\naddss   xmm0, xmm0                                                     ; +0x675, 0x1403a6175\nxorps   xmm9, xmm9                                                     ; +0x679, 0x1403a6179\ncomiss  xmm0, xmm9                                                     ; +0x67d, 0x1403a617d\njb      short loc_1403A61AD                                            ; +0x681, 0x1403a6181\ncall    cs:rand                                                        ; +0x683, 0x1403a6183\nmovd    xmm0, eax                                                      ; +0x689, 0x1403a6189\ncvtdq2ps xmm0, xmm0                                                    ; +0x68d, 0x1403a618d\ndivss   xmm0, xmm6                                                     ; +0x690, 0x1403a6190\naddss   xmm0, xmm0                                                     ; +0x694, 0x1403a6194\nmovss   xmm8, cs:dword_140622B08                                       ; +0x698, 0x1403a6198\naddss   xmm0, xmm8; X                                                  ; +0x6a1, 0x1403a61a1\ncall    floorf                                                         ; +0x6a6, 0x1403a61a6\njmp     short loc_1403A61D5                                            ; +0x6ab, 0x1403a61ab\ncall    cs:rand                                                        ; +0x6ad, 0x1403a61ad\nmovd    xmm0, eax                                                      ; +0x6b3, 0x1403a61b3\ncvtdq2ps xmm0, xmm0                                                    ; +0x6b7, 0x1403a61b7\ndivss   xmm0, xmm6                                                     ; +0x6ba, 0x1403a61ba\naddss   xmm0, xmm0                                                     ; +0x6be, 0x1403a61be\nmovss   xmm8, cs:dword_140622B08                                       ; +0x6c2, 0x1403a61c2\nsubss   xmm0, xmm8; X                                                  ; +0x6cb, 0x1403a61cb\ncall    ceilf                                                          ; +0x6d0, 0x1403a61d0\nmovss   xmm7, cs:flt_140622C24                                         ; +0x6d5, 0x1403a61d5\naddss   xmm0, xmm7                                                     ; +0x6dd, 0x1403a61dd\ncvttss2si eax, xmm0                                                    ; +0x6e1, 0x1403a61e1\nmov     [rsi+38CCh], eax                                               ; +0x6e5, 0x1403a61e5\nxor     edx, edx                                                       ; +0x6eb, 0x1403a61eb\nlea     rcx, aGlittereffectP; \"glitterEffect.plist\"                    ; +0x6ed, 0x1403a61ed\ncall    cs:?create@CCParticleSystemQuad@cocos2d@@SAPEAV12@PEBD_N@Z; cocos2d::CCParticleSystemQuad::create(char const *,bool) ; +0x6f4, 0x1403a61f4\nmov     [rsi+3240h], rax                                               ; +0x6fa, 0x1403a61fa\nmov     r8, [rax]                                                      ; +0x701, 0x1403a6201\nmov     edx, 1                                                         ; +0x704, 0x1403a6204\nmov     rcx, rax                                                       ; +0x709, 0x1403a6209\ncall    qword ptr [r8+5E8h]                                            ; +0x70c, 0x1403a620c\nmov     rcx, [rsi+0FE8h]                                               ; +0x713, 0x1403a6213\nmov     rax, [rcx]                                                     ; +0x71a, 0x1403a621a\nxor     r8d, r8d                                                       ; +0x71d, 0x1403a621d\nmov     rdx, [rsi+3240h]                                               ; +0x720, 0x1403a6220\ncall    qword ptr [rax+1B8h]                                           ; +0x727, 0x1403a6227\nmov     rax, [rsi+3240h]                                               ; +0x72d, 0x1403a622d\nmov     rbx, [rax]                                                     ; +0x734, 0x1403a6234\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x737, 0x1403a6237\nmov     rcx, rax                                                       ; +0x73d, 0x1403a623d\ncall    cs:?getScreenScaleFactorH@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getScreenScaleFactorH(void) ; +0x740, 0x1403a6240\nmovaps  xmm6, xmm0                                                     ; +0x746, 0x1403a6246\nmulss   xmm6, cs:dword_140623450                                       ; +0x749, 0x1403a6249\nmulss   xmm6, xmm8                                                     ; +0x751, 0x1403a6251\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x756, 0x1403a6256\nmov     rcx, rax                                                       ; +0x75c, 0x1403a625c\ncall    cs:?getScreenScaleFactorW@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getScreenScaleFactorW(void) ; +0x75f, 0x1403a625f\nmulss   xmm0, cs:dword_1406234B8                                       ; +0x765, 0x1403a6265\ndivss   xmm0, cs:dword_140622DC8                                       ; +0x76d, 0x1403a626d\nmovaps  xmm2, xmm6                                                     ; +0x775, 0x1403a6275\nmovaps  xmm1, xmm0                                                     ; +0x778, 0x1403a6278\nlea     rcx, [rsp+110h+var_F0]                                         ; +0x77b, 0x1403a627b\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x780, 0x1403a6280\nmov     rdx, rax                                                       ; +0x786, 0x1403a6286\nmov     rcx, [rsi+3240h]                                               ; +0x789, 0x1403a6289\ncall    qword ptr [rbx+3A8h]                                           ; +0x790, 0x1403a6290\nmov     rcx, [rsi+3240h]                                               ; +0x796, 0x1403a6296\ncall    cs:?stopSystem@CCParticleSystem@cocos2d@@QEAAXXZ; cocos2d::CCParticleSystem::stopSystem(void) ; +0x79d, 0x1403a629d\ncall    cs:?create@CCDrawNode@cocos2d@@SAPEAV12@XZ; cocos2d::CCDrawNode::create(void) ; +0x7a3, 0x1403a62a3\nmov     [rsi+3770h], rax                                               ; +0x7a9, 0x1403a62a9\nmov     [rsp+110h+var_E0], 302h                                        ; +0x7b0, 0x1403a62b0\nmov     [rsp+110h+var_DC], 303h                                        ; +0x7b8, 0x1403a62b8\nlea     rdx, [rsp+110h+var_E0]                                         ; +0x7c0, 0x1403a62c0\nmov     rcx, rax                                                       ; +0x7c5, 0x1403a62c5\ncall    cs:?setBlendFunc@CCDrawNode@cocos2d@@QEAAXAEBU_ccBlendFunc@2@@Z; cocos2d::CCDrawNode::setBlendFunc(cocos2d::_ccBlendFunc const &) ; +0x7c8, 0x1403a62c8\nmov     rcx, [rsi+3770h]                                               ; +0x7ce, 0x1403a62ce\nmov     rax, [rcx]                                                     ; +0x7d5, 0x1403a62d5\nmov     edx, 0FFFFD8F1h                                                ; +0x7d8, 0x1403a62d8\ncall    qword ptr [rax+40h]                                            ; +0x7dd, 0x1403a62dd\nmov     rcx, [rsi+0FF8h]                                               ; +0x7e0, 0x1403a62e0\nmov     rax, [rcx]                                                     ; +0x7e7, 0x1403a62e7\nmov     r8d, 579h                                                      ; +0x7ea, 0x1403a62ea\nmov     rdx, [rsi+3770h]                                               ; +0x7f0, 0x1403a62f0\ncall    qword ptr [rax+1B8h]                                           ; +0x7f7, 0x1403a62f7\nmov     rcx, rsi                                                       ; +0x7fd, 0x1403a62fd\ncall    PlayLayer__updateDebugDrawSettings                             ; +0x800, 0x1403a6300\nmov     rcx, rsi                                                       ; +0x805, 0x1403a6305\ncall    GJBaseGameLayer__createPlayer                                  ; +0x808, 0x1403a6308\nmov     rax, [rsi+878h]                                                ; +0x80d, 0x1403a630d\ncmp     dword ptr [rax+454h], 2                                        ; +0x814, 0x1403a6314\njnz     loc_1403A64C8                                                  ; +0x81b, 0x1403a631b\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x821, 0x1403a6321\ntest    rcx, rcx                                                       ; +0x828, 0x1403a6328\njnz     short loc_1403A635C                                            ; +0x82b, 0x1403a632b\nmov     ecx, 668h; Size                                                ; +0x82d, 0x1403a632d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x832, 0x1403a6332\nmov     [rsp+110h+var_F0], rax                                         ; +0x837, 0x1403a6337\nmov     rcx, rax                                                       ; +0x83c, 0x1403a633c\ncall    sub_14017AB00                                                  ; +0x83f, 0x1403a633f\nnop                                                                    ; +0x844, 0x1403a6344\nmov     cs:qword_1406C2ED8, rax                                        ; +0x845, 0x1403a6345\nmov     rdx, [rax]                                                     ; +0x84c, 0x1403a634c\nmov     rcx, rax                                                       ; +0x84f, 0x1403a634f\ncall    qword ptr [rdx+48h]                                            ; +0x852, 0x1403a6352\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x855, 0x1403a6355\nlea     rdx, a0174; \"0174\"                                             ; +0x85c, 0x1403a635c\ncall    GameManager__getGameVariable                                   ; +0x863, 0x1403a6363\ntest    al, al                                                         ; +0x868, 0x1403a6368\njnz     loc_1403A644F                                                  ; +0x86a, 0x1403a636a\nlea     rdx, qword_14052A4D8                                           ; +0x870, 0x1403a6370\nlea     rcx, qword_140551DB0                                           ; +0x877, 0x1403a6377\ncall    cs:?create@CCLabelBMFont@cocos2d@@SAPEAV12@PEBD0@Z; cocos2d::CCLabelBMFont::create(char const *,char const *) ; +0x87e, 0x1403a637e\nmov     [rsi+3858h], rax                                               ; +0x884, 0x1403a6384\nlea     rcx, [rax+170h]                                                ; +0x88b, 0x1403a638b\nmov     rax, [rcx]                                                     ; +0x892, 0x1403a6392\nmov     dl, 32h ; '2'                                                  ; +0x895, 0x1403a6395\ncall    qword ptr [rax+28h]                                            ; +0x897, 0x1403a6397\nmov     rcx, [rsi+3858h]                                               ; +0x89a, 0x1403a639a\nmov     rax, [rcx]                                                     ; +0x8a1, 0x1403a63a1\nmovss   xmm1, cs:dword_140622AD0                                       ; +0x8a4, 0x1403a63a4\ncall    qword ptr [rax+0A0h]                                           ; +0x8ac, 0x1403a63ac\nmov     rax, [rsi]                                                     ; +0x8b2, 0x1403a63b2\nmov     r8d, 3E8h                                                      ; +0x8b5, 0x1403a63b5\nmov     rdx, [rsi+3858h]                                               ; +0x8bb, 0x1403a63bb\nmov     rcx, rsi                                                       ; +0x8c2, 0x1403a63c2\ncall    qword ptr [rax+1B8h]                                           ; +0x8c5, 0x1403a63c5\nmov     rax, [rsi+3858h]                                               ; +0x8cb, 0x1403a63cb\nmov     rbx, [rax]                                                     ; +0x8d2, 0x1403a63d2\nmovaps  xmm2, xmm7                                                     ; +0x8d5, 0x1403a63d5\nxorps   xmm1, xmm1                                                     ; +0x8d8, 0x1403a63d8\nlea     rcx, [rsp+110h+var_F0]                                         ; +0x8db, 0x1403a63db\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x8e0, 0x1403a63e0\nmov     rdx, rax                                                       ; +0x8e6, 0x1403a63e6\nmov     rcx, [rsi+3858h]                                               ; +0x8e9, 0x1403a63e9\ncall    qword ptr [rbx+110h]                                           ; +0x8f0, 0x1403a63f0\nmov     rax, [rsi+3858h]                                               ; +0x8f6, 0x1403a63f6\nmov     rbx, [rax]                                                     ; +0x8fd, 0x1403a63fd\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x900, 0x1403a6400\nmov     rcx, rax                                                       ; +0x906, 0x1403a6406\ncall    cs:?getScreenTop@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getScreenTop(void) ; +0x909, 0x1403a6409\nmovss   xmm1, cs:flt_140623010                                         ; +0x90f, 0x1403a640f\nsubss   xmm0, xmm1                                                     ; +0x917, 0x1403a6417\naddss   xmm0, xmm7                                                     ; +0x91b, 0x1403a641b\nmovaps  xmm2, xmm0                                                     ; +0x91f, 0x1403a641f\nlea     rcx, [rsp+110h+var_F0]                                         ; +0x922, 0x1403a6422\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x927, 0x1403a6427\nmov     rdx, rax                                                       ; +0x92d, 0x1403a642d\nmov     rcx, [rsi+3858h]                                               ; +0x930, 0x1403a6430\ncall    qword ptr [rbx+0B8h]                                           ; +0x937, 0x1403a6437\nmov     rcx, [rsi+3858h]                                               ; +0x93d, 0x1403a643d\nmov     rax, [rcx]                                                     ; +0x944, 0x1403a6444\nxor     edx, edx                                                       ; +0x947, 0x1403a6447\ncall    qword ptr [rax+140h]                                           ; +0x949, 0x1403a6449\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x94f, 0x1403a644f\ntest    rcx, rcx                                                       ; +0x956, 0x1403a6456\njnz     short loc_1403A648A                                            ; +0x959, 0x1403a6459\nmov     ecx, 668h; Size                                                ; +0x95b, 0x1403a645b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x960, 0x1403a6460\nmov     [rsp+110h+var_F0], rax                                         ; +0x965, 0x1403a6465\nmov     rcx, rax                                                       ; +0x96a, 0x1403a646a\ncall    sub_14017AB00                                                  ; +0x96d, 0x1403a646d\nnop                                                                    ; +0x972, 0x1403a6472\nmov     cs:qword_1406C2ED8, rax                                        ; +0x973, 0x1403a6473\nmov     rdx, [rax]                                                     ; +0x97a, 0x1403a647a\nmov     rcx, rax                                                       ; +0x97d, 0x1403a647d\ncall    qword ptr [rdx+48h]                                            ; +0x980, 0x1403a6480\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x983, 0x1403a6483\nlea     rdx, a0173; \"0173\"                                             ; +0x98a, 0x1403a648a\ncall    GameManager__getGameVariable                                   ; +0x991, 0x1403a6491\nmov     [rsi+886h], al                                                 ; +0x996, 0x1403a6496\ntest    al, al                                                         ; +0x99c, 0x1403a649c\njz      short loc_1403A64A6                                            ; +0x99e, 0x1403a649e\nmov     [rsi+3856h], al                                                ; +0x9a0, 0x1403a64a0\nmov     rcx, [rsi+0DA0h]                                               ; +0x9a6, 0x1403a64a6\nmov     [rcx+7E5h], al                                                 ; +0x9ad, 0x1403a64ad\nmov     rcx, [rsi+0DA8h]                                               ; +0x9b3, 0x1403a64b3\nmov     [rcx+7E5h], al                                                 ; +0x9ba, 0x1403a64ba\nmov     rcx, rsi                                                       ; +0x9c0, 0x1403a64c0\ncall    PlayLayer__updateTestModeLabel                                 ; +0x9c3, 0x1403a64c3\nmov     byte ptr [rsi+37E8h], 1                                        ; +0x9c8, 0x1403a64c8\nmov     rdx, [rsi+878h]                                                ; +0x9cf, 0x1403a64cf\nadd     rdx, 198h                                                      ; +0x9d6, 0x1403a64d6\nlea     rcx, [rbp+57h+var_B0]                                          ; +0x9dd, 0x1403a64dd\ncall    sub_14003BDB0                                                  ; +0x9e1, 0x1403a64e1\nnop                                                                    ; +0x9e6, 0x1403a64e6\nlea     rdx, [rbp+57h+var_B0]                                          ; +0x9e7, 0x1403a64e7\ncmp     [rbp+57h+var_98], 0Fh                                          ; +0x9eb, 0x1403a64eb\ncmova   rdx, [rbp+57h+var_B0]                                          ; +0x9f0, 0x1403a64f0\nxorps   xmm0, xmm0                                                     ; +0x9f5, 0x1403a64f5\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0x9f8, 0x1403a64f8\nmov     [rbp+57h+var_C0], r12                                          ; +0x9fc, 0x1403a64fc\nmov     [rbp+57h+var_B8], r12                                          ; +0xa00, 0x1403a6500\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0xa04, 0x1403a6504\nnop     dword ptr [rax+rax+00h]                                        ; +0xa0b, 0x1403a650b\ninc     r8                                                             ; +0xa10, 0x1403a6510\ncmp     byte ptr [rdx+r8], 0                                           ; +0xa13, 0x1403a6513\njnz     short loc_1403A6510                                            ; +0xa18, 0x1403a6518\nlea     rcx, [rbp+57h+Block]                                           ; +0xa1a, 0x1403a651a\ncall    sub_14003A930                                                  ; +0xa1e, 0x1403a651e\nnop                                                                    ; +0xa23, 0x1403a6523\nmov     r9d, 0Bh                                                       ; +0xa24, 0x1403a6524\nxor     r8d, r8d                                                       ; +0xa2a, 0x1403a652a\nlea     rdx, [rbp+57h+Block]                                           ; +0xa2d, 0x1403a652d\nlea     rcx, [rbp+57h+var_90]                                          ; +0xa31, 0x1403a6531\ncall    cs:?decompressString@ZipUtils@cocos2d@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV34@_NH@Z; cocos2d::ZipUtils::decompressString(std::string const &,bool,int) ; +0xa35, 0x1403a6535\nnop                                                                    ; +0xa3b, 0x1403a653b\nmov     rdx, [rbp+57h+var_B8]                                          ; +0xa3c, 0x1403a653c\ncmp     rdx, 0Fh                                                       ; +0xa40, 0x1403a6540\njbe     short loc_1403A657A                                            ; +0xa44, 0x1403a6544\ninc     rdx                                                            ; +0xa46, 0x1403a6546\nmov     rcx, [rbp+57h+Block]; Block                                    ; +0xa49, 0x1403a6549\nmov     rax, rcx                                                       ; +0xa4d, 0x1403a654d\ncmp     rdx, 1000h                                                     ; +0xa50, 0x1403a6550\njb      short loc_1403A6575                                            ; +0xa57, 0x1403a6557\nadd     rdx, 27h ; '''                                                 ; +0xa59, 0x1403a6559\nmov     rcx, [rcx-8]                                                   ; +0xa5d, 0x1403a655d\nsub     rax, rcx                                                       ; +0xa61, 0x1403a6561\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0xa64, 0x1403a6564\ncmp     rax, 1Fh                                                       ; +0xa68, 0x1403a6568\njbe     short loc_1403A6575                                            ; +0xa6c, 0x1403a656c\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0xa6e, 0x1403a656e\ndb 0CCh                                                                ; +0xa74, 0x1403a6574\ncall    j_j_free                                                       ; +0xa75, 0x1403a6575\nmov     [rbp+57h+var_C0], r12                                          ; +0xa7a, 0x1403a657a\nmov     [rbp+57h+var_B8], 0Fh                                          ; +0xa7e, 0x1403a657e\nmov     byte ptr [rbp+57h+Block], 0                                    ; +0xa86, 0x1403a6586\nlea     rcx, [rbp+57h+var_B0]                                          ; +0xa8a, 0x1403a658a\ncall    sub_14003A830                                                  ; +0xa8e, 0x1403a658e\nmov     rcx, [rsi+878h]                                                ; +0xa93, 0x1403a6593\nmov     eax, [rcx+454h]                                                ; +0xa9a, 0x1403a659a\ncmp     eax, 1                                                         ; +0xaa0, 0x1403a65a0\njnz     short loc_1403A65CF                                            ; +0xaa3, 0x1403a65a3\nlea     rdx, [rbp+57h+var_90]                                          ; +0xaa5, 0x1403a65a5\nlea     rcx, [rbp+57h+var_B0]                                          ; +0xaa9, 0x1403a65a9\ncall    sub_14003BDB0                                                  ; +0xaad, 0x1403a65ad\nmov     rcx, [rsi+878h]                                                ; +0xab2, 0x1403a65b2\nmov     edx, [rcx+148h]                                                ; +0xab9, 0x1403a65b9\nsub     edx, [rcx+14Ch]                                                ; +0xabf, 0x1403a65bf\nmov     rcx, rax                                                       ; +0xac5, 0x1403a65c5\ncall    LevelTools__verifyLevelIntegrity                               ; +0xac8, 0x1403a65c8\njmp     short loc_1403A65EC                                            ; +0xacd, 0x1403a65cd\ncmp     eax, 2                                                         ; +0xacf, 0x1403a65cf\njnz     short loc_1403A65E4                                            ; +0xad2, 0x1403a65d2\nmov     eax, [rcx+388h]                                                ; +0xad4, 0x1403a65d4\nsub     eax, [rcx+38Ch]                                                ; +0xada, 0x1403a65da\ntest    eax, eax                                                       ; +0xae0, 0x1403a65e0\njle     short loc_1403A65F2                                            ; +0xae2, 0x1403a65e2\ncmp     [rbp+57h+var_80], 0                                            ; +0xae4, 0x1403a65e4\nsetnz   al                                                             ; +0xae9, 0x1403a65e9\nmov     [rsi+37E8h], al                                                ; +0xaec, 0x1403a65ec\ncmp     byte ptr [rsi+37E8h], 0                                        ; +0xaf2, 0x1403a65f2\njnz     short loc_1403A6657                                            ; +0xaf9, 0x1403a65f9\nlea     rdx, qword_14052A4D8                                           ; +0xafb, 0x1403a65fb\nlea     rcx, aLoadFailed; \"Load Failed!\"                               ; +0xb02, 0x1403a6602\ncall    cs:?create@CCLabelBMFont@cocos2d@@SAPEAV12@PEBD0@Z; cocos2d::CCLabelBMFont::create(char const *,char const *) ; +0xb09, 0x1403a6609\nmov     rdi, rax                                                       ; +0xb0f, 0x1403a660f\nmov     r9, [rsi]                                                      ; +0xb12, 0x1403a6612\nmov     r8d, 64h ; 'd'                                                 ; +0xb15, 0x1403a6615\nmov     rdx, rax                                                       ; +0xb1b, 0x1403a661b\nmov     rcx, rsi                                                       ; +0xb1e, 0x1403a661e\ncall    qword ptr [r9+1B8h]                                            ; +0xb21, 0x1403a6621\nmov     rbx, [rdi]                                                     ; +0xb28, 0x1403a6628\nmovss   xmm2, [rbp+57h+var_D4]                                         ; +0xb2b, 0x1403a662b\nmulss   xmm2, xmm8                                                     ; +0xb30, 0x1403a6630\nmovss   xmm1, [rsp+110h+var_D8]                                        ; +0xb35, 0x1403a6635\nmulss   xmm1, xmm8                                                     ; +0xb3b, 0x1403a663b\nlea     rcx, [rsp+110h+var_F0]                                         ; +0xb40, 0x1403a6640\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xb45, 0x1403a6645\nmov     rdx, rax                                                       ; +0xb4b, 0x1403a664b\nmov     rcx, rdi                                                       ; +0xb4e, 0x1403a664e\ncall    qword ptr [rbx+0B8h]                                           ; +0xb51, 0x1403a6651\nlea     rdx, [rbp+57h+var_90]                                          ; +0xb57, 0x1403a6657\nmov     rcx, rsi                                                       ; +0xb5b, 0x1403a665b\ncall    PlayLayer__prepareCreateObjectsFromSetup                       ; +0xb5e, 0x1403a665e\ntest    r15b, r15b                                                     ; +0xb63, 0x1403a6663\njnz     short loc_1403A6682                                            ; +0xb66, 0x1403a6666\ncomiss  xmm7, dword ptr [rsi+31F4h]                                    ; +0xb68, 0x1403a6668\njbe     short loc_1403A6682                                            ; +0xb6f, 0x1403a666f\nmov     rcx, rsi                                                       ; +0xb71, 0x1403a6671\ncall    PlayLayer__processCreateObjectsFromSetup                       ; +0xb74, 0x1403a6674\ncomiss  xmm7, dword ptr [rsi+31F4h]                                    ; +0xb79, 0x1403a6679\nja      short loc_1403A6671                                            ; +0xb80, 0x1403a6680\nlea     rcx, [rbp+57h+var_90]                                          ; +0xb82, 0x1403a6682\ncall    sub_14003A830                                                  ; +0xb86, 0x1403a6686\nmov     al, 1                                                          ; +0xb8b, 0x1403a668b\nmov     rcx, [rbp+57h+var_70]                                          ; +0xb8d, 0x1403a668d\nxor     rcx, rsp; StackCookie                                          ; +0xb91, 0x1403a6691\ncall    __security_check_cookie                                        ; +0xb94, 0x1403a6694\nlea     r11, [rsp+110h+var_20]                                         ; +0xb99, 0x1403a6699\nmov     rbx, [r11+38h]                                                 ; +0xba1, 0x1403a66a1\nmov     rsi, [r11+40h]                                                 ; +0xba5, 0x1403a66a5\nmov     rdi, [r11+48h]                                                 ; +0xba9, 0x1403a66a9\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0xbad, 0x1403a66ad\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0xbb2, 0x1403a66b2\nmovaps  xmm8, xmmword ptr [r11-30h]                                    ; +0xbb7, 0x1403a66b7\nmovaps  xmm9, xmmword ptr [r11-40h]                                    ; +0xbbc, 0x1403a66bc\nmov     rsp, r11                                                       ; +0xbc1, 0x1403a66c1\npop     r15                                                            ; +0xbc4, 0x1403a66c4\npop     r14                                                            ; +0xbc6, 0x1403a66c6\npop     r13                                                            ; +0xbc8, 0x1403a66c8\npop     r12                                                            ; +0xbca, 0x1403a66ca\npop     rbp                                                            ; +0xbcc, 0x1403a66cc\nretn                                                                   ; +0xbcd, 0x1403a66cd", "xrefs": ["PlayLayer::scene @ 0x1403a5aaf", "<???> @ 0x1406d6b48"], "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"}