{"type": "func", "start": 5372712928, "end": 5372716084, "name": "GJChestSprite::switchToState", "pseudocode": "// \n// GJChestSprite::switchToState from 0x1403d17e0 to 0x1403d2434 (3156 bytes)\n// \n// 11 xrefs:\n// > FollowRewardPage::init @ 0x14013b5fd\n// > FollowRewardPage::switchToOpenedState @ 0x14013d184\n// > RewardUnlockLayer::step2 @ 0x1403ced70\n// > RewardUnlockLayer::playRewardEffect @ 0x1403cf068\n// > GJChestSprite::create @ 0x1403d1670\n// > SecretRewardsLayer::generateChestItems @ 0x1403d5e56\n// > SecretRewardsLayer::switchToOpenedState @ 0x1403d6f1d\n// > SecretLayer3::init @ 0x1403eae5c\n// > SecretLayer3::init @ 0x1403eb168\n// > SecretLayer4::init @ 0x1403f0a54\n// > <???> @ 0x1406d7c94\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=3\nvoid GJChestSprite::switchToState(GJChestSprite *a1, ChestSpriteState a2, bool a3)\n{\n  float v3; // xmm3_4\n  int m_chestType; // edx\n  __int32 v8; // ebx\n  __int32 v9; // ebx\n  cocos2d::CCString *v10; // rax\n  const char *v11; // rax\n  size_t v12; // r8\n  const char *v13; // rcx\n  struct cocos2d::CCSprite *v14; // rax\n  __int64 v15; // r8\n  void **v16; // rdx\n  const char *v17; // rcx\n  struct cocos2d::CCSprite *v18; // rax\n  __int64 v19; // r8\n  void **v20; // rdx\n  const char *v21; // rcx\n  struct cocos2d::CCSprite *v22; // rsi\n  struct cocos2d::CCFadeTo *v23; // rax\n  struct cocos2d::CCEaseInOut *v24; // rdi\n  struct cocos2d::CCFadeTo *v25; // rax\n  struct cocos2d::CCEaseInOut *v26; // rax\n  struct cocos2d::CCSequence *v27; // rax\n  struct cocos2d::CCRepeatForever *v28; // rax\n  cocos2d::ccColor3B *v29; // r8\n  int v30; // r12d\n  int v31; // r13d\n  int v32; // esi\n  int v33; // r15d\n  int v34; // kr08_4\n  float v35; // xmm0_4\n  __int64 v36; // rdi\n  __int64 v37; // rax\n  __int64 v38; // rdi\n  float v39; // xmm9_4\n  int v40; // eax\n  struct cocos2d::CCRotateBy *v41; // rax\n  struct cocos2d::CCRepeatForever *v42; // rax\n  cocos2d::ccColor3B *v43; // r8\n  struct cocos2d::CCSprite *v44; // rdi\n  float v45; // xmm0_4\n  cocos2d::CCSprite_vtbl *v46; // rbx\n  const cocos2d::CCPoint *v47; // rax\n  int v48; // eax\n  struct cocos2d::CCRotateBy *v49; // rax\n  struct cocos2d::CCRepeatForever *v50; // rax\n  cocos2d::ccColor3B *v51; // r8\n  struct cocos2d::CCParticleSystemQuad *v52; // rdi\n  _BOOL8 v53; // rdx\n  float v54; // xmm0_4\n  cocos2d::CCParticleSystemQuad_vtbl *v55; // rbx\n  const cocos2d::CCPoint *v56; // rax\n  struct cocos2d::CCSprite *v57; // rbx\n  struct cocos2d::CCSprite *v58; // rbx\n  double v59; // xmm0_8\n  struct cocos2d::CCSprite *v60; // rdi\n  cocos2d::CCSprite_vtbl *v61; // rbx\n  const cocos2d::CCPoint *v62; // rax\n  double v63; // xmm0_8\n  struct cocos2d::CCSprite *v64; // rdi\n  cocos2d::CCSprite_vtbl *v65; // rbx\n  const cocos2d::CCPoint *v66; // rax\n  __int64 v67; // rdx\n  cocos2d::CCString *v68; // rax\n  const char *v69; // rax\n  size_t v70; // r8\n  const char *v71; // rcx\n  struct cocos2d::CCSprite *v72; // rax\n  __int64 v73; // r8\n  void **v74; // rdx\n  const char *v75; // rcx\n  struct cocos2d::CCSprite *v76; // rax\n  __int64 v77; // r8\n  void **v78; // rdx\n  const char *v79; // rcx\n  struct cocos2d::CCSprite *v80; // rsi\n  const char *v81; // rcx\n  struct cocos2d::CCSprite *v82; // rdi\n  cocos2d::CCSprite_vtbl *v83; // rbx\n  float *v84; // rax\n  const cocos2d::CCPoint *v85; // rax\n  struct cocos2d::CCParticleSystemQuad *v86; // r15\n  _BOOL8 v87; // rdx\n  int v88; // ecx\n  int v89; // edi\n  int v90; // esi\n  int v91; // eax\n  int v92; // ebx\n  int v93; // r14d\n  float v94; // xmm0_4\n  cocos2d::CCParticleSystemQuad_vtbl *v95; // rbx\n  const cocos2d::CCPoint *v96; // rax\n  void *v97; // rcx\n  cocos2d::CCString *v98; // rax\n  const char *CString; // rax\n  struct cocos2d::CCSprite *v100; // rax\n  float v101; // [rsp+28h] [rbp-E0h] BYREF\n  _WORD v102[2]; // [rsp+2Ch] [rbp-DCh] BYREF\n  __int64 v103; // [rsp+30h] [rbp-D8h] BYREF\n  __int64 v104; // [rsp+38h] [rbp-D0h]\n  __int64 v105; // [rsp+40h] [rbp-C8h]\n  float v106; // [rsp+48h] [rbp-C0h] BYREF\n  float v107; // [rsp+4Ch] [rbp-BCh]\n  float Block; // [rsp+50h] [rbp-B8h]\n  int Block_4; // [rsp+54h] [rbp-B4h]\n  void *Block_8[2]; // [rsp+58h] [rbp-B0h] BYREF\n  __int128 v111; // [rsp+68h] [rbp-A0h]\n  char v112[24]; // [rsp+78h] [rbp-90h] BYREF\n  unsigned __int64 v113; // [rsp+90h] [rbp-78h]\n  char v114[24]; // [rsp+98h] [rbp-70h] BYREF\n  unsigned __int64 v115; // [rsp+B0h] [rbp-58h]\n\n  if ( a1->m_spriteState == a2 )\n    return;\n  a1->m_spriteState = a2;\n  a1->removeAllChildren(a1);\n  m_chestType = a1->m_chestType;\n  v8 = a2 - 2;\n  if ( !v8 )\n  {\n    v98 = cocos2d::CCString::createWithFormat(\"chest_%02d_%02d_001.png\", m_chestType, 2);\n    CString = cocos2d::CCString::getCString(v98);\n    v100 = cocos2d::CCSprite::createWithSpriteFrameName(CString);\n    a1->addChild_0(a1, v100, 3);\n    return;\n  }\n  v9 = v8 - 1;\n  if ( v9 )\n  {\n    if ( v9 == 1 )\n    {\n      v10 = cocos2d::CCString::createWithFormat(\"chest_%02d_%02d_001.png\", m_chestType, 4);\n      v11 = cocos2d::CCString::getCString(v10);\n      *(_OWORD *)Block_8 = 0;\n      v111 = 0;\n      v12 = -1;\n      do\n        ++v12;\n      while ( v11[v12] );\n      sub_14003A930(Block_8, v11, v12);\n      v13 = (const char *)Block_8;\n      if ( *((_QWORD *)&v111 + 1) > 0xFu )\n        v13 = (const char *)Block_8[0];\n      v14 = cocos2d::CCSprite::createWithSpriteFrameName(v13);\n      a1->addChild_0(a1, v14, 4);\n      v16 = Block_8;\n      if ( *((_QWORD *)&v111 + 1) > 0xFu )\n        v16 = (void **)Block_8[0];\n      sub_1403CBFE0(v114, v16, v15, \"_back_001\");\n      v17 = v114;\n      if ( v115 > 0xF )\n        v17 = *(const char **)v114;\n      v18 = cocos2d::CCSprite::createWithSpriteFrameName(v17);\n      a1->addChild_0(a1, v18, 0);\n      if ( !a3 )\n      {\n        v20 = Block_8;\n        if ( *((_QWORD *)&v111 + 1) > 0xFu )\n          v20 = (void **)Block_8[0];\n        sub_1403CBFE0(v112, v20, v19, \"_glow_001\");\n        v21 = v112;\n        if ( v113 > 0xF )\n          v21 = *(const char **)v112;\n        v22 = cocos2d::CCSprite::createWithSpriteFrameName(v21);\n        a1->addChild_0(a1, v22, 1);\n        v104 = 0x100000302LL;\n        ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v22->setBlendFunc)(\n          &v22->cocos2d::CCTextureProtocol,\n          0x100000302LL);\n        v23 = cocos2d::CCFadeTo::create(1.0, 0xAFu);\n        v24 = cocos2d::CCEaseInOut::create(v23, 2.0);\n        v25 = cocos2d::CCFadeTo::create(1.0, 0xFFu);\n        v26 = cocos2d::CCEaseInOut::create(v25, 2.0);\n        v27 = cocos2d::CCSequence::create(v24, v26, 0);\n        v28 = cocos2d::CCRepeatForever::create(v27);\n        cocos2d::CCNode::runAction((CCLightFlash *)v22, (cocos2d::CCPoint)v28, v29, v3, v101);\n        LOWORD(v101) = -27136;\n        BYTE2(v101) = -1;\n        LOWORD(v103) = -27136;\n        BYTE2(v103) = -1;\n        v102[0] = 17459;\n        LOBYTE(v102[1]) = -103;\n        v30 = 255;\n        v31 = 0;\n        v32 = 255;\n        v33 = 0;\n        v34 = a1->m_chestType - 1;\n        LODWORD(v104) = 0;\n        switch ( v34 )\n        {\n          case 0:\n            goto LABEL_26;\n          case 1:\n          case 4:\n            BYTE1(v101) = -56;\n            BYTE1(v103) = 100;\n            goto LABEL_20;\n          case 2:\nLABEL_20:\n            LODWORD(v104) = 0;\n            break;\n          case 3:\n            *(_WORD *)((char *)&v101 + 1) = 255;\n            *(_WORD *)((char *)&v103 + 1) = 13055;\n            v30 = 0;\n            v31 = 150;\n            LODWORD(v104) = 0;\n            v33 = 255;\n            break;\n          case 5:\n            BYTE1(v101) = -56;\n            BYTE1(v103) = 100;\n            qmemcpy(v102, \"\\n6S\", 3);\n            LODWORD(v104) = 0;\n            break;\n          case 6:\n            *(_WORD *)((char *)&v101 + 1) = 255;\n            *(_WORD *)((char *)&v103 + 1) = 13055;\n            qmemcpy(v102, \")Q;\", 3);\n            v31 = 150;\n            LODWORD(v104) = 100;\n            v33 = 255;\n            goto LABEL_27;\n          case 7:\n            LOWORD(v101) = 255;\n            LOWORD(v103) = 255;\n            v102[0] = 6970;\n            LOBYTE(v102[1]) = 75;\n            v31 = 255;\n            v32 = 150;\n            LODWORD(v104) = 255;\n            break;\n          case 8:\n            v102[0] = 7463;\n            LOBYTE(v102[1]) = 44;\nLABEL_26:\n            BYTE2(v101) = 0;\n            BYTE2(v103) = 0;\n            v33 = 100;\n            LODWORD(v104) = 255;\n            v31 = 255;\n            LOBYTE(v103) = -1;\n            LOWORD(v101) = -14081;\nLABEL_27:\n            v30 = 0;\n            break;\n          default:\n            break;\n        }\n        v105 = (__int64)cocos2d::CCSprite::createWithSpriteFrameName(\"shineBurst_001.png\");\n        a1->addChild_0(a1, (cocos2d::CCNode *)v105, 1);\n        v35 = (**(float (__fastcall ***)(__int64, __int64))(v105 + 344))(v105 + 344, 0x100000302LL);\n        v36 = *(_QWORD *)v105;\n        cocos2d::CCPoint::CCPoint(v35, 0.0);\n        (*(void (__fastcall **)(__int64, __int64))(v36 + 184))(v105, v37);\n        v38 = v105;\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)v105 + 160LL))(v105);\n        (**(void (__fastcall ***)(__int64, float *))(v38 + 320))(v38 + 320, &v101);\n        if ( (float)((float)rand() / 32767.0) <= 0.5 )\n          v39 = -1.0;\n        else\n          v39 = 1.0;\n        v40 = rand();\n        v41 = cocos2d::CCRotateBy::create(\n                1.0,\n                (float)((float)((float)((float)((float)v40 / 32767.0) * 0.5) + 0.5) * 180.0) * v39);\n        v42 = cocos2d::CCRepeatForever::create(v41);\n        cocos2d::CCNode::runAction((CCLightFlash *)v38, (cocos2d::CCPoint)v42, v43, v3, v101);\n        v44 = cocos2d::CCSprite::createWithSpriteFrameName(\"shineBurst_001.png\");\n        a1->addChild_0(a1, v44, 1);\n        v45 = ((float (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v44->setBlendFunc)(\n                &v44->cocos2d::CCTextureProtocol,\n                0x100000302LL);\n        v46 = v44->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n        cocos2d::CCPoint::CCPoint(v45, 0.0);\n        v46->setPosition_0(v44, v47);\n        ((void (__fastcall *)(struct cocos2d::CCSprite *))v44->setScale_0)(v44);\n        v44->setColor(&v44->cocos2d::CCRGBAProtocol, (const cocos2d::ccColor3B *)&v103);\n        v48 = rand();\n        v49 = cocos2d::CCRotateBy::create(\n                1.0,\n                (float)((float)((float)((float)((float)v48 / 32767.0) * 0.5) + 0.5) * 180.0) * (float)-v39);\n        v50 = cocos2d::CCRepeatForever::create(v49);\n        cocos2d::CCNode::runAction((CCLightFlash *)v44, (cocos2d::CCPoint)v50, v51, v3, v101);\n        v52 = cocos2d::CCParticleSystemQuad::create(\"chestOpened.plist\", 0);\n        LOBYTE(v53) = 1;\n        v52->setAutoRemoveOnFinish(v52, v53);\n        v54 = ((float (__fastcall *)(GJChestSprite *, struct cocos2d::CCParticleSystemQuad *, __int64))a1->addChild_0)(\n                a1,\n                v52,\n                1);\n        v55 = v52->cocos2d::CCParticleSystem::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n        cocos2d::CCPoint::CCPoint(v54, 0.0);\n        v55->setPosition_0(v52, v56);\n        v106 = (float)v31 / 255.0;\n        v107 = (float)v32 / 255.0;\n        Block = (float)v30 / 255.0;\n        Block_4 = 1065353216;\n        v52->setStartColor(v52, (const cocos2d::ccColor4F *)&v106);\n        v106 = (float)(int)v104 / 255.0;\n        v107 = (float)v33 / 255.0;\n        Block = (float)v30 / 255.0;\n        Block_4 = 1065353216;\n        v52->setEndColor(v52, (const cocos2d::ccColor4F *)&v106);\n        ((void (__fastcall *)(struct cocos2d::CCParticleSystemQuad *))v52->setScale_0)(v52);\n        cocos2d::CCParticleSystem::resetSystem(v52);\n        v57 = cocos2d::CCSprite::createWithSpriteFrameName(\"chest_glow_bg_001.png\");\n        a1->addChild_0(a1, v57, 2);\n        ((void (__fastcall *)(struct cocos2d::CCSprite *))v57->setScale_0)(v57);\n        v57->setColor(&v57->cocos2d::CCRGBAProtocol, (const cocos2d::ccColor3B *)v102);\n        v58 = cocos2d::CCSprite::createWithSpriteFrameName(\"chest_glow_bg_001.png\");\n        cocos2d::CCSprite::setFlipX(v58, 1);\n        v59 = ((double (__fastcall *)(GJChestSprite *, struct cocos2d::CCSprite *, __int64))a1->addChild_0)(a1, v58, 2);\n        ((void (__fastcall *)(struct cocos2d::CCSprite *))v58->setScale_0)(v58);\n        v58->setColor(&v58->cocos2d::CCRGBAProtocol, (const cocos2d::ccColor3B *)v102);\n        v60 = cocos2d::CCSprite::createWithSpriteFrameName(\"whiteSquare60_001.png\");\n        v61 = v60->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n        cocos2d::CCPoint::CCPoint(*(float *)&v59, 0.0);\n        v61->setPosition_0(v60, v62);\n        v63 = ((double (__fastcall *)(struct cocos2d::CCSprite *))v60->setScaleX)(v60);\n        ((void (__fastcall *)(struct cocos2d::CCSprite *))v60->setScaleY)(v60);\n        v60->setColor(&v60->cocos2d::CCRGBAProtocol, (const cocos2d::ccColor3B *)v102);\n        a1->addChild_0(a1, v60, 2);\n        v64 = cocos2d::CCSprite::createWithSpriteFrameName(\"chest_shadow_001.png\");\n        v65 = v64->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n        cocos2d::CCPoint::CCPoint(*(float *)&v63, 0.0);\n        v65->setPosition_0(v64, v66);\n        a1->addChild_0(a1, v64, 3);\n        ((void (__fastcall *)(struct cocos2d::CCSprite *))v64->setScale_0)(v64);\n        LOBYTE(v67) = 90;\n        v64->setOpacity(&v64->cocos2d::CCRGBAProtocol, v67);\n        sub_14003A830((__int64)v112);\n      }\n      sub_14003A830((__int64)v114);\n      sub_14003A830((__int64)Block_8);\n    }\n    return;\n  }\n  v68 = cocos2d::CCString::createWithFormat(\"chest_%02d_%02d_001.png\", m_chestType, 3);\n  v69 = cocos2d::CCString::getCString(v68);\n  *(_OWORD *)Block_8 = 0;\n  v111 = 0;\n  v70 = -1;\n  do\n    ++v70;\n  while ( v69[v70] );\n  sub_14003A930(Block_8, v69, v70);\n  v71 = (const char *)Block_8;\n  if ( *((_QWORD *)&v111 + 1) > 0xFu )\n    v71 = (const char *)Block_8[0];\n  v72 = cocos2d::CCSprite::createWithSpriteFrameName(v71);\n  a1->addChild_0(a1, v72, 3);\n  v74 = Block_8;\n  if ( *((_QWORD *)&v111 + 1) > 0xFu )\n    v74 = (void **)Block_8[0];\n  sub_1403CBFE0(v114, v74, v73, \"_back_001\");\n  v75 = v114;\n  if ( v115 > 0xF )\n    v75 = *(const char **)v114;\n  v76 = cocos2d::CCSprite::createWithSpriteFrameName(v75);\n  a1->addChild_0(a1, v76, 0);\n  if ( !a3 )\n  {\n    v78 = Block_8;\n    if ( *((_QWORD *)&v111 + 1) > 0xFu )\n      v78 = (void **)Block_8[0];\n    sub_1403CBFE0(v112, v78, v77, \"_glow_001\");\n    v79 = v112;\n    if ( v113 > 0xF )\n      v79 = *(const char **)v112;\n    v80 = cocos2d::CCSprite::createWithSpriteFrameName(v79);\n    a1->addChild_0(a1, v80, 1);\n    v81 = v112;\n    if ( v113 > 0xF )\n      v81 = *(const char **)v112;\n    v82 = cocos2d::CCSprite::createWithSpriteFrameName(v81);\n    v80->addChild_0(v80, v82, 1);\n    v83 = v82->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v80->getContentSize(v80);\n    v84 = (float *)v80->getContentSize(v80);\n    cocos2d::CCPoint::CCPoint(0.0, *v84 * 0.5);\n    v83->setPosition_0(v82, v85);\n    ((void (__fastcall *)(struct cocos2d::CCSprite *))v82->setScaleX)(v82);\n    v105 = 0x100000302LL;\n    ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v80->setBlendFunc)(\n      &v80->cocos2d::CCTextureProtocol,\n      0x100000302LL);\n    ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v82->setBlendFunc)(\n      &v82->cocos2d::CCTextureProtocol,\n      0x100000302LL);\n    v86 = cocos2d::CCParticleSystemQuad::create(\"chestOpen.plist\", 0);\n    LOBYTE(v87) = 1;\n    v86->setAutoRemoveOnFinish(v86, v87);\n    a1->addChild_0(a1, v86, 4);\n    v88 = a1->m_chestType;\n    v89 = 255;\n    if ( v88 == 1 )\n    {\n      v90 = 255;\n      v91 = 50;\n      v92 = 255;\n      v93 = 0;\nLABEL_54:\n      v89 = 0;\n      goto LABEL_55;\n    }\n    v92 = 0;\n    v91 = 255;\n    if ( v88 == 3 )\n    {\n      v90 = 0;\n      v93 = 0;\n    }\n    else\n    {\n      v90 = 255;\n      v93 = 255;\n      if ( v88 == 4 )\n      {\n        v90 = 150;\n        v91 = 0;\n        goto LABEL_54;\n      }\n    }\nLABEL_55:\n    v106 = (float)v90 / 255.0;\n    v107 = 1.0;\n    Block = (float)v91 / 255.0;\n    Block_4 = 1065353216;\n    v86->setStartColor(v86, (const cocos2d::ccColor4F *)&v106);\n    v106 = (float)v92 / 255.0;\n    v107 = (float)v93 / 255.0;\n    Block = (float)v89 / 255.0;\n    Block_4 = 1065353216;\n    v86->setEndColor(v86, (const cocos2d::ccColor4F *)&v106);\n    v94 = ((float (__fastcall *)(struct cocos2d::CCParticleSystemQuad *))v86->setScale_0)(v86);\n    v95 = v86->cocos2d::CCParticleSystem::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    cocos2d::CCPoint::CCPoint(v94, 0.0);\n    v95->setPosition_0(v86, v96);\n    cocos2d::CCParticleSystem::resetSystem(v86);\n    sub_14003A830((__int64)v112);\n  }\n  sub_14003A830((__int64)v114);\n  if ( *((_QWORD *)&v111 + 1) > 0xFu )\n  {\n    v97 = Block_8[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v111 + 1) + 1LL) >= 0x1000 )\n    {\n      v97 = *((void **)Block_8[0] - 1);\n      if ( (unsigned __int64)((char *)Block_8[0] - (char *)v97 - 8) > 0x1F )\n        invalid_parameter_noinfo_noreturn();\n    }\n    j_j_free(v97);\n  }\n}", "assembly": "; \n; GJChestSprite::switchToState from 0x1403d17e0 to 0x1403d2434 (3156 bytes)\n; \n; 11 xrefs:\n; > FollowRewardPage::init @ 0x14013b5fd\n; > FollowRewardPage::switchToOpenedState @ 0x14013d184\n; > RewardUnlockLayer::step2 @ 0x1403ced70\n; > RewardUnlockLayer::playRewardEffect @ 0x1403cf068\n; > GJChestSprite::create @ 0x1403d1670\n; > SecretRewardsLayer::generateChestItems @ 0x1403d5e56\n; > SecretRewardsLayer::switchToOpenedState @ 0x1403d6f1d\n; > SecretLayer3::init @ 0x1403eae5c\n; > SecretLayer3::init @ 0x1403eb168\n; > SecretLayer4::init @ 0x1403f0a54\n; > <???> @ 0x1406d7c94\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, 0x1403d17e0\nmov     [rax+18h], rbx                                                 ; +0x3, 0x1403d17e3\npush    rbp                                                            ; +0x7, 0x1403d17e7\npush    rsi                                                            ; +0x8, 0x1403d17e8\npush    rdi                                                            ; +0x9, 0x1403d17e9\npush    r12                                                            ; +0xa, 0x1403d17ea\npush    r13                                                            ; +0xc, 0x1403d17ec\npush    r14                                                            ; +0xe, 0x1403d17ee\npush    r15                                                            ; +0x10, 0x1403d17f0\nlea     rbp, [rax-48h]                                                 ; +0x12, 0x1403d17f2\nsub     rsp, 110h                                                      ; +0x16, 0x1403d17f6\nmovaps  xmmword ptr [rax-48h], xmm6                                    ; +0x1d, 0x1403d17fd\nmovaps  xmmword ptr [rax-58h], xmm7                                    ; +0x21, 0x1403d1801\nmovaps  xmmword ptr [rax-68h], xmm8                                    ; +0x25, 0x1403d1805\nmovaps  xmmword ptr [rax-78h], xmm9                                    ; +0x2a, 0x1403d180a\nmovaps  xmmword ptr [rax-88h], xmm10                                   ; +0x2f, 0x1403d180f\nmov     rax, cs:__security_cookie                                      ; +0x37, 0x1403d1817\nxor     rax, rsp                                                       ; +0x3e, 0x1403d181e\nmov     [rbp+40h+var_90], rax                                          ; +0x41, 0x1403d1821\nmovzx   edi, r8b                                                       ; +0x45, 0x1403d1825\nmov     ebx, edx                                                       ; +0x49, 0x1403d1829\nmov     r14, rcx                                                       ; +0x4b, 0x1403d182b\ncmp     [rcx+25Ch], edx                                                ; +0x4e, 0x1403d182e\njz      loc_1403D23D0                                                  ; +0x54, 0x1403d1834\nmov     [rcx+25Ch], edx                                                ; +0x5a, 0x1403d183a\nmov     rax, [rcx]                                                     ; +0x60, 0x1403d1840\ncall    qword ptr [rax+228h]                                           ; +0x63, 0x1403d1843\nmov     edx, [r14+258h]                                                ; +0x69, 0x1403d1849\nmovss   xmm7, cs:flt_140622C24                                         ; +0x70, 0x1403d1850\nmovss   xmm9, cs:dword_140622BA4                                       ; +0x78, 0x1403d1858\ncmp     edx, 1                                                         ; +0x81, 0x1403d1861\njnz     short loc_1403D186C                                            ; +0x84, 0x1403d1864\nmovaps  xmm8, xmm9                                                     ; +0x86, 0x1403d1866\njmp     short loc_1403D1870                                            ; +0x8a, 0x1403d186a\nmovaps  xmm8, xmm7                                                     ; +0x8c, 0x1403d186c\nsub     ebx, 2                                                         ; +0x90, 0x1403d1870\njz      loc_1403D2395                                                  ; +0x93, 0x1403d1873\nsub     ebx, 1                                                         ; +0x99, 0x1403d1879\njz      loc_1403D2015                                                  ; +0x9c, 0x1403d187c\ncmp     ebx, 1                                                         ; +0xa2, 0x1403d1882\njnz     loc_1403D23D0                                                  ; +0xa5, 0x1403d1885\nlea     r8d, [rbx+3]                                                   ; +0xab, 0x1403d188b\nlea     rcx, aChest02d02d001; \"chest_%02d_%02d_001.png\"                ; +0xaf, 0x1403d188f\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xb6, 0x1403d1896\nmov     rcx, rax                                                       ; +0xbc, 0x1403d189c\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xbf, 0x1403d189f\nxorps   xmm0, xmm0                                                     ; +0xc5, 0x1403d18a5\nmovups  xmmword ptr [rsp+140h+Block+8], xmm0                           ; +0xc8, 0x1403d18a8\nxorps   xmm1, xmm1                                                     ; +0xcd, 0x1403d18ad\nmovdqu  [rsp+140h+var_E8+8], xmm1                                      ; +0xd0, 0x1403d18b0\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0xd6, 0x1403d18b6\nnop     dword ptr [rax]                                                ; +0xdd, 0x1403d18bd\ninc     r8                                                             ; +0xe0, 0x1403d18c0\ncmp     byte ptr [rax+r8], 0                                           ; +0xe3, 0x1403d18c3\njnz     short loc_1403D18C0                                            ; +0xe8, 0x1403d18c8\nmov     rdx, rax                                                       ; +0xea, 0x1403d18ca\nlea     rcx, [rsp+140h+Block+8]                                        ; +0xed, 0x1403d18cd\ncall    sub_14003A930                                                  ; +0xf2, 0x1403d18d2\nnop                                                                    ; +0xf7, 0x1403d18d7\nlea     rcx, [rsp+140h+Block+8]                                        ; +0xf8, 0x1403d18d8\ncmp     [rsp+140h+var_D8], 0Fh                                         ; +0xfd, 0x1403d18dd\ncmova   rcx, [rsp+140h+Block+8]                                        ; +0x103, 0x1403d18e3\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x109, 0x1403d18e9\nmov     r9, [r14]                                                      ; +0x10f, 0x1403d18ef\nmov     r8d, 4                                                         ; +0x112, 0x1403d18f2\nmov     rdx, rax                                                       ; +0x118, 0x1403d18f8\nmov     rcx, r14                                                       ; +0x11b, 0x1403d18fb\ncall    qword ptr [r9+1B8h]                                            ; +0x11e, 0x1403d18fe\nlea     rdx, [rsp+140h+Block+8]                                        ; +0x125, 0x1403d1905\ncmp     [rsp+140h+var_D8], 0Fh                                         ; +0x12a, 0x1403d190a\ncmova   rdx, [rsp+140h+Block+8]                                        ; +0x130, 0x1403d1910\nlea     r9, aBack001; \"_back_001\"                                      ; +0x136, 0x1403d1916\nlea     rcx, [rbp+40h+var_B0]                                          ; +0x13d, 0x1403d191d\ncall    sub_1403CBFE0                                                  ; +0x141, 0x1403d1921\nnop                                                                    ; +0x146, 0x1403d1926\nlea     rcx, [rbp+40h+var_B0]                                          ; +0x147, 0x1403d1927\ncmp     [rbp+40h+var_98], 0Fh                                          ; +0x14b, 0x1403d192b\ncmova   rcx, qword ptr [rbp+40h+var_B0]                                ; +0x150, 0x1403d1930\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x155, 0x1403d1935\nmov     r9, [r14]                                                      ; +0x15b, 0x1403d193b\nxor     r8d, r8d                                                       ; +0x15e, 0x1403d193e\nmov     rdx, rax                                                       ; +0x161, 0x1403d1941\nmov     rcx, r14                                                       ; +0x164, 0x1403d1944\ncall    qword ptr [r9+1B8h]                                            ; +0x167, 0x1403d1947\ntest    dil, dil                                                       ; +0x16e, 0x1403d194e\njnz     loc_1403D1FFC                                                  ; +0x171, 0x1403d1951\nlea     rdx, [rsp+140h+Block+8]                                        ; +0x177, 0x1403d1957\ncmp     [rsp+140h+var_D8], 0Fh                                         ; +0x17c, 0x1403d195c\ncmova   rdx, [rsp+140h+Block+8]                                        ; +0x182, 0x1403d1962\nlea     r9, aGlow001; \"_glow_001\"                                      ; +0x188, 0x1403d1968\nlea     rcx, [rsp+140h+var_D0]                                         ; +0x18f, 0x1403d196f\ncall    sub_1403CBFE0                                                  ; +0x194, 0x1403d1974\nnop                                                                    ; +0x199, 0x1403d1979\nlea     rcx, [rsp+140h+var_D0]                                         ; +0x19a, 0x1403d197a\ncmp     [rbp+40h+var_B8], 0Fh                                          ; +0x19f, 0x1403d197f\ncmova   rcx, qword ptr [rsp+140h+var_D0]                               ; +0x1a4, 0x1403d1984\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x1aa, 0x1403d198a\nmov     rsi, rax                                                       ; +0x1b0, 0x1403d1990\nmov     r9, [r14]                                                      ; +0x1b3, 0x1403d1993\nmov     r8d, 1                                                         ; +0x1b6, 0x1403d1996\nmov     rdx, rax                                                       ; +0x1bc, 0x1403d199c\nmov     rcx, r14                                                       ; +0x1bf, 0x1403d199f\ncall    qword ptr [r9+1B8h]                                            ; +0x1c2, 0x1403d19a2\nmov     dword ptr [rsp+140h+var_110], 302h                             ; +0x1c9, 0x1403d19a9\nmov     dword ptr [rsp+140h+var_110+4], 1                              ; +0x1d1, 0x1403d19b1\nlea     rcx, [rsi+158h]                                                ; +0x1d9, 0x1403d19b9\nmov     r8, [rcx]                                                      ; +0x1e0, 0x1403d19c0\nmov     rbx, [rsp+140h+var_110]                                        ; +0x1e3, 0x1403d19c3\nmov     rdx, rbx                                                       ; +0x1e8, 0x1403d19c8\ncall    qword ptr [r8]                                                 ; +0x1eb, 0x1403d19cb\nmov     dl, 0AFh                                                       ; +0x1ee, 0x1403d19ce\nmovaps  xmm0, xmm7                                                     ; +0x1f0, 0x1403d19d0\ncall    cs:?create@CCFadeTo@cocos2d@@SAPEAV12@ME@Z; cocos2d::CCFadeTo::create(float,uchar) ; +0x1f3, 0x1403d19d3\nmovss   xmm6, cs:width                                                 ; +0x1f9, 0x1403d19d9\nmovaps  xmm1, xmm6                                                     ; +0x201, 0x1403d19e1\nmov     rcx, rax                                                       ; +0x204, 0x1403d19e4\ncall    cs:?create@CCEaseInOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseInOut::create(cocos2d::CCActionInterval *,float) ; +0x207, 0x1403d19e7\nmov     rdi, rax                                                       ; +0x20d, 0x1403d19ed\nmov     dl, 0FFh                                                       ; +0x210, 0x1403d19f0\nmovaps  xmm0, xmm7                                                     ; +0x212, 0x1403d19f2\ncall    cs:?create@CCFadeTo@cocos2d@@SAPEAV12@ME@Z; cocos2d::CCFadeTo::create(float,uchar) ; +0x215, 0x1403d19f5\nmovaps  xmm1, xmm6                                                     ; +0x21b, 0x1403d19fb\nmov     rcx, rax                                                       ; +0x21e, 0x1403d19fe\ncall    cs:?create@CCEaseInOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseInOut::create(cocos2d::CCActionInterval *,float) ; +0x221, 0x1403d1a01\nxor     r8d, r8d                                                       ; +0x227, 0x1403d1a07\nmov     rdx, rax                                                       ; +0x22a, 0x1403d1a0a\nmov     rcx, rdi                                                       ; +0x22d, 0x1403d1a0d\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x230, 0x1403d1a10\nmov     rcx, rax                                                       ; +0x236, 0x1403d1a16\ncall    cs:?create@CCRepeatForever@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@@Z; cocos2d::CCRepeatForever::create(cocos2d::CCActionInterval *) ; +0x239, 0x1403d1a19\nmov     rdx, rax                                                       ; +0x23f, 0x1403d1a1f\nmov     rcx, rsi                                                       ; +0x242, 0x1403d1a22\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x245, 0x1403d1a25\nmov     [rsp+140h+var_120], 9600h                                      ; +0x24b, 0x1403d1a2b\nmov     [rsp+140h+var_11E], 0FFh                                       ; +0x252, 0x1403d1a32\nmov     word ptr [rsp+140h+var_118], 9600h                             ; +0x257, 0x1403d1a37\nmov     byte ptr [rsp+140h+var_118+2], 0FFh                            ; +0x25e, 0x1403d1a3e\nmov     [rsp+140h+var_11C], 4433h                                      ; +0x263, 0x1403d1a43\nmov     [rsp+140h+var_11A], 99h                                        ; +0x26a, 0x1403d1a4a\nmov     eax, [r14+258h]                                                ; +0x26f, 0x1403d1a4f\ndec     eax; switch 9 cases                                            ; +0x276, 0x1403d1a56\nmov     edi, 0FFh                                                      ; +0x278, 0x1403d1a58\nmov     r12d, edi                                                      ; +0x27d, 0x1403d1a5d\nxor     r13d, r13d                                                     ; +0x280, 0x1403d1a60\nmov     esi, edi                                                       ; +0x283, 0x1403d1a63\nmov     dword ptr [rsp+140h+var_110], r13d                             ; +0x285, 0x1403d1a65\nxor     r15d, r15d                                                     ; +0x28a, 0x1403d1a6a\ncmp     eax, 8                                                         ; +0x28d, 0x1403d1a6d\nja      def_1403D1A8E; jumptable 00000001403D1A8E default case         ; +0x290, 0x1403d1a70\nmov     dword ptr [rsp+140h+var_110], r13d                             ; +0x296, 0x1403d1a76\ncdqe                                                                   ; +0x29b, 0x1403d1a7b\nlea     rdx, cs:140000000h                                             ; +0x29d, 0x1403d1a7d\nmov     ecx, ds:(jpt_1403D1A8E - 140000000h)[rdx+rax*4]                ; +0x2a4, 0x1403d1a84\nadd     rcx, rdx                                                       ; +0x2ab, 0x1403d1a8b\njmp     rcx; switch jump                                               ; +0x2ae, 0x1403d1a8e\nmov     byte ptr [rsp+140h+var_120+1], 0C8h; jumptable 00000001403D1A8E cases 2,5 ; +0x2b0, 0x1403d1a90\nmov     byte ptr [rsp+140h+var_118+1], 64h ; 'd'                       ; +0x2b5, 0x1403d1a95\nmov     dword ptr [rsp+140h+var_110], r13d; jumptable 00000001403D1A8E case 3 ; +0x2ba, 0x1403d1a9a\njmp     def_1403D1A8E; jumptable 00000001403D1A8E default case         ; +0x2bf, 0x1403d1a9f\nmov     [rsp+140h+var_120+1], si; jumptable 00000001403D1A8E case 4    ; +0x2c4, 0x1403d1aa4\nmov     word ptr [rsp+140h+var_118+1], 32FFh                           ; +0x2c9, 0x1403d1aa9\nxor     r12d, r12d                                                     ; +0x2d0, 0x1403d1ab0\nmov     r13d, 96h                                                      ; +0x2d3, 0x1403d1ab3\nmov     dword ptr [rsp+140h+var_110], r12d                             ; +0x2d9, 0x1403d1ab9\nmov     r15d, edi                                                      ; +0x2de, 0x1403d1abe\njmp     def_1403D1A8E; jumptable 00000001403D1A8E default case         ; +0x2e1, 0x1403d1ac1\nmov     byte ptr [rsp+140h+var_120+1], 0C8h; jumptable 00000001403D1A8E case 6 ; +0x2e6, 0x1403d1ac6\nmov     byte ptr [rsp+140h+var_118+1], 64h ; 'd'                       ; +0x2eb, 0x1403d1acb\nmov     [rsp+140h+var_11C], 360Ah                                      ; +0x2f0, 0x1403d1ad0\nmov     [rsp+140h+var_11A], 53h ; 'S'                                  ; +0x2f7, 0x1403d1ad7\nmov     dword ptr [rsp+140h+var_110], r13d                             ; +0x2fc, 0x1403d1adc\njmp     def_1403D1A8E; jumptable 00000001403D1A8E default case         ; +0x301, 0x1403d1ae1\nmov     [rsp+140h+var_120+1], si; jumptable 00000001403D1A8E case 7    ; +0x306, 0x1403d1ae6\nmov     word ptr [rsp+140h+var_118+1], 32FFh                           ; +0x30b, 0x1403d1aeb\nmov     [rsp+140h+var_11C], 5129h                                      ; +0x312, 0x1403d1af2\nmov     [rsp+140h+var_11A], 3Bh ; ';'                                  ; +0x319, 0x1403d1af9\nmov     r13d, 96h                                                      ; +0x31e, 0x1403d1afe\nmov     dword ptr [rsp+140h+var_110], 64h ; 'd'                        ; +0x324, 0x1403d1b04\nmov     r15d, edi                                                      ; +0x32c, 0x1403d1b0c\njmp     short loc_1403D1B64                                            ; +0x32f, 0x1403d1b0f\nmov     [rsp+140h+var_120], si; jumptable 00000001403D1A8E case 8      ; +0x331, 0x1403d1b11\nmov     word ptr [rsp+140h+var_118], si                                ; +0x336, 0x1403d1b16\nmov     [rsp+140h+var_11C], 1B3Ah                                      ; +0x33b, 0x1403d1b1b\nmov     [rsp+140h+var_11A], 4Bh ; 'K'                                  ; +0x342, 0x1403d1b22\nmov     r13d, edi                                                      ; +0x347, 0x1403d1b27\nmov     esi, 96h                                                       ; +0x34a, 0x1403d1b2a\nmov     dword ptr [rsp+140h+var_110], edi                              ; +0x34f, 0x1403d1b2f\njmp     short def_1403D1A8E; jumptable 00000001403D1A8E default case   ; +0x353, 0x1403d1b33\nmov     [rsp+140h+var_11C], 1D27h; jumptable 00000001403D1A8E case 9   ; +0x355, 0x1403d1b35\nmov     [rsp+140h+var_11A], 2Ch ; ','                                  ; +0x35c, 0x1403d1b3c\nmov     [rsp+140h+var_11E], r13b; jumptable 00000001403D1A8E case 1    ; +0x361, 0x1403d1b41\nmov     byte ptr [rsp+140h+var_118+2], r13b                            ; +0x366, 0x1403d1b46\nmov     r15d, 64h ; 'd'                                                ; +0x36b, 0x1403d1b4b\nmov     dword ptr [rsp+140h+var_110], edi                              ; +0x371, 0x1403d1b51\nmov     r13d, edi                                                      ; +0x375, 0x1403d1b55\nmov     byte ptr [rsp+140h+var_118], sil                               ; +0x378, 0x1403d1b58\nmov     [rsp+140h+var_120], 0C8FFh                                     ; +0x37d, 0x1403d1b5d\nxor     r12d, r12d                                                     ; +0x384, 0x1403d1b64\nlea     rcx, aShineburst001P; jumptable 00000001403D1A8E default case  ; +0x387, 0x1403d1b67\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x38e, 0x1403d1b6e\nmov     rdi, rax                                                       ; +0x394, 0x1403d1b74\nmov     [rsp+140h+var_108], rax                                        ; +0x397, 0x1403d1b77\nmov     r9, [r14]                                                      ; +0x39c, 0x1403d1b7c\nmov     r8d, 1                                                         ; +0x39f, 0x1403d1b7f\nmov     rdx, rax                                                       ; +0x3a5, 0x1403d1b85\nmov     rcx, r14                                                       ; +0x3a8, 0x1403d1b88\ncall    qword ptr [r9+1B8h]                                            ; +0x3ab, 0x1403d1b8b\nlea     rcx, [rdi+158h]                                                ; +0x3b2, 0x1403d1b92\nmov     r8, [rcx]                                                      ; +0x3b9, 0x1403d1b99\nmov     rdx, rbx                                                       ; +0x3bc, 0x1403d1b9c\ncall    qword ptr [r8]                                                 ; +0x3bf, 0x1403d1b9f\nmov     rdi, [rdi]                                                     ; +0x3c2, 0x1403d1ba2\nmovss   xmm2, cs:dword_1406237C0                                       ; +0x3c5, 0x1403d1ba5\nxorps   xmm1, xmm1                                                     ; +0x3cd, 0x1403d1bad\nlea     rcx, [rsp+140h+var_100]                                        ; +0x3d0, 0x1403d1bb0\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x3d5, 0x1403d1bb5\nmov     rdx, rax                                                       ; +0x3db, 0x1403d1bbb\nmov     rcx, [rsp+140h+var_108]                                        ; +0x3de, 0x1403d1bbe\ncall    qword ptr [rdi+0B8h]                                           ; +0x3e3, 0x1403d1bc3\nmov     rdi, [rsp+140h+var_108]                                        ; +0x3e9, 0x1403d1bc9\nmov     rax, [rdi]                                                     ; +0x3ee, 0x1403d1bce\nmovaps  xmm1, xmm8                                                     ; +0x3f1, 0x1403d1bd1\nmulss   xmm1, cs:dword_140622FF0                                       ; +0x3f5, 0x1403d1bd5\nmov     rcx, rdi                                                       ; +0x3fd, 0x1403d1bdd\ncall    qword ptr [rax+0A0h]                                           ; +0x400, 0x1403d1be0\nlea     rcx, [rdi+140h]                                                ; +0x406, 0x1403d1be6\nmov     rax, [rcx]                                                     ; +0x40d, 0x1403d1bed\nlea     rdx, [rsp+140h+var_120]                                        ; +0x410, 0x1403d1bf0\ncall    qword ptr [rax]                                                ; +0x415, 0x1403d1bf5\ncall    cs:rand                                                        ; +0x417, 0x1403d1bf7\nmovd    xmm0, eax                                                      ; +0x41d, 0x1403d1bfd\ncvtdq2ps xmm0, xmm0                                                    ; +0x421, 0x1403d1c01\ndivss   xmm0, cs:dword_140623644                                       ; +0x424, 0x1403d1c04\nmovss   xmm10, cs:dword_140622B08                                      ; +0x42c, 0x1403d1c0c\ncomiss  xmm0, xmm10                                                    ; +0x435, 0x1403d1c15\njbe     short loc_1403D1C21                                            ; +0x439, 0x1403d1c19\nmovaps  xmm9, xmm7                                                     ; +0x43b, 0x1403d1c1b\njmp     short loc_1403D1C2A                                            ; +0x43f, 0x1403d1c1f\nmovss   xmm9, cs:dword_1406236F0                                       ; +0x441, 0x1403d1c21\ncall    cs:rand                                                        ; +0x44a, 0x1403d1c2a\nmovd    xmm1, eax                                                      ; +0x450, 0x1403d1c30\ncvtdq2ps xmm1, xmm1                                                    ; +0x454, 0x1403d1c34\ndivss   xmm1, cs:dword_140623644                                       ; +0x457, 0x1403d1c37\nmulss   xmm1, xmm10                                                    ; +0x45f, 0x1403d1c3f\naddss   xmm1, xmm10                                                    ; +0x464, 0x1403d1c44\nmulss   xmm1, cs:dword_1406233A4                                       ; +0x469, 0x1403d1c49\nmulss   xmm1, xmm9                                                     ; +0x471, 0x1403d1c51\nmovaps  xmm0, xmm7                                                     ; +0x476, 0x1403d1c56\ncall    cs:?create@CCRotateBy@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCRotateBy::create(float,float) ; +0x479, 0x1403d1c59\nmov     rcx, rax                                                       ; +0x47f, 0x1403d1c5f\ncall    cs:?create@CCRepeatForever@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@@Z; cocos2d::CCRepeatForever::create(cocos2d::CCActionInterval *) ; +0x482, 0x1403d1c62\nmov     rdx, rax                                                       ; +0x488, 0x1403d1c68\nmov     rcx, rdi                                                       ; +0x48b, 0x1403d1c6b\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x48e, 0x1403d1c6e\nlea     rcx, aShineburst001P; \"shineBurst_001.png\"                     ; +0x494, 0x1403d1c74\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x49b, 0x1403d1c7b\nmov     rdi, rax                                                       ; +0x4a1, 0x1403d1c81\nmov     r9, [r14]                                                      ; +0x4a4, 0x1403d1c84\nmov     r8d, 1                                                         ; +0x4a7, 0x1403d1c87\nmov     rdx, rax                                                       ; +0x4ad, 0x1403d1c8d\nmov     rcx, r14                                                       ; +0x4b0, 0x1403d1c90\ncall    qword ptr [r9+1B8h]                                            ; +0x4b3, 0x1403d1c93\nlea     rcx, [rdi+158h]                                                ; +0x4ba, 0x1403d1c9a\nmov     r8, [rcx]                                                      ; +0x4c1, 0x1403d1ca1\nmov     rdx, rbx                                                       ; +0x4c4, 0x1403d1ca4\ncall    qword ptr [r8]                                                 ; +0x4c7, 0x1403d1ca7\nmov     rbx, [rdi]                                                     ; +0x4ca, 0x1403d1caa\nmovss   xmm2, cs:dword_1406237C0                                       ; +0x4cd, 0x1403d1cad\nxorps   xmm1, xmm1                                                     ; +0x4d5, 0x1403d1cb5\nlea     rcx, [rsp+140h+var_100]                                        ; +0x4d8, 0x1403d1cb8\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x4dd, 0x1403d1cbd\nmov     rdx, rax                                                       ; +0x4e3, 0x1403d1cc3\nmov     rcx, rdi                                                       ; +0x4e6, 0x1403d1cc6\ncall    qword ptr [rbx+0B8h]                                           ; +0x4e9, 0x1403d1cc9\nmov     rax, [rdi]                                                     ; +0x4ef, 0x1403d1ccf\nmovaps  xmm1, xmm8                                                     ; +0x4f2, 0x1403d1cd2\nmulss   xmm1, cs:dword_140622F88                                       ; +0x4f6, 0x1403d1cd6\nmov     rcx, rdi                                                       ; +0x4fe, 0x1403d1cde\ncall    qword ptr [rax+0A0h]                                           ; +0x501, 0x1403d1ce1\nlea     rcx, [rdi+140h]                                                ; +0x507, 0x1403d1ce7\nmov     rax, [rcx]                                                     ; +0x50e, 0x1403d1cee\nlea     rdx, [rsp+140h+var_118]                                        ; +0x511, 0x1403d1cf1\ncall    qword ptr [rax]                                                ; +0x516, 0x1403d1cf6\ncall    cs:rand                                                        ; +0x518, 0x1403d1cf8\nmovd    xmm1, eax                                                      ; +0x51e, 0x1403d1cfe\ncvtdq2ps xmm1, xmm1                                                    ; +0x522, 0x1403d1d02\ndivss   xmm1, cs:dword_140623644                                       ; +0x525, 0x1403d1d05\nmulss   xmm1, xmm10                                                    ; +0x52d, 0x1403d1d0d\naddss   xmm1, xmm10                                                    ; +0x532, 0x1403d1d12\nmulss   xmm1, cs:dword_1406233A4                                       ; +0x537, 0x1403d1d17\nxorps   xmm9, cs:xmmword_1406243F0                                     ; +0x53f, 0x1403d1d1f\nmulss   xmm1, xmm9                                                     ; +0x547, 0x1403d1d27\nmovaps  xmm0, xmm7                                                     ; +0x54c, 0x1403d1d2c\ncall    cs:?create@CCRotateBy@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCRotateBy::create(float,float) ; +0x54f, 0x1403d1d2f\nmov     rcx, rax                                                       ; +0x555, 0x1403d1d35\ncall    cs:?create@CCRepeatForever@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@@Z; cocos2d::CCRepeatForever::create(cocos2d::CCActionInterval *) ; +0x558, 0x1403d1d38\nmov     rdx, rax                                                       ; +0x55e, 0x1403d1d3e\nmov     rcx, rdi                                                       ; +0x561, 0x1403d1d41\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x564, 0x1403d1d44\nxor     edx, edx                                                       ; +0x56a, 0x1403d1d4a\nlea     rcx, aChestopenedPli; \"chestOpened.plist\"                      ; +0x56c, 0x1403d1d4c\ncall    cs:?create@CCParticleSystemQuad@cocos2d@@SAPEAV12@PEBD_N@Z; cocos2d::CCParticleSystemQuad::create(char const *,bool) ; +0x573, 0x1403d1d53\nmov     rdi, rax                                                       ; +0x579, 0x1403d1d59\nmov     r9, [rax]                                                      ; +0x57c, 0x1403d1d5c\nmov     dl, 1                                                          ; +0x57f, 0x1403d1d5f\nmov     rcx, rax                                                       ; +0x581, 0x1403d1d61\ncall    qword ptr [r9+5F8h]                                            ; +0x584, 0x1403d1d64\nmov     r9, [r14]                                                      ; +0x58b, 0x1403d1d6b\nmov     r8d, 1                                                         ; +0x58e, 0x1403d1d6e\nmov     rdx, rdi                                                       ; +0x594, 0x1403d1d74\nmov     rcx, r14                                                       ; +0x597, 0x1403d1d77\ncall    qword ptr [r9+1B8h]                                            ; +0x59a, 0x1403d1d7a\nmov     rbx, [rdi]                                                     ; +0x5a1, 0x1403d1d81\nxorps   xmm2, xmm2                                                     ; +0x5a4, 0x1403d1d84\nxorps   xmm1, xmm1                                                     ; +0x5a7, 0x1403d1d87\nlea     rcx, [rsp+140h+var_100]                                        ; +0x5aa, 0x1403d1d8a\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x5af, 0x1403d1d8f\nmov     rdx, rax                                                       ; +0x5b5, 0x1403d1d95\nmov     rcx, rdi                                                       ; +0x5b8, 0x1403d1d98\ncall    qword ptr [rbx+0B8h]                                           ; +0x5bb, 0x1403d1d9b\nmovd    xmm7, r12d                                                     ; +0x5c1, 0x1403d1da1\ncvtdq2ps xmm7, xmm7                                                    ; +0x5c6, 0x1403d1da6\nmovss   xmm6, cs:dword_140623418                                       ; +0x5c9, 0x1403d1da9\ndivss   xmm7, xmm6                                                     ; +0x5d1, 0x1403d1db1\nmovd    xmm0, r13d                                                     ; +0x5d5, 0x1403d1db5\ncvtdq2ps xmm0, xmm0                                                    ; +0x5da, 0x1403d1dba\ndivss   xmm0, xmm6                                                     ; +0x5dd, 0x1403d1dbd\nmovss   [rsp+140h+var_100], xmm0                                       ; +0x5e1, 0x1403d1dc1\nmovd    xmm1, esi                                                      ; +0x5e7, 0x1403d1dc7\ncvtdq2ps xmm1, xmm1                                                    ; +0x5eb, 0x1403d1dcb\ndivss   xmm1, xmm6                                                     ; +0x5ee, 0x1403d1dce\nmovss   [rsp+140h+var_FC], xmm1                                        ; +0x5f2, 0x1403d1dd2\nmovss   dword ptr [rsp+140h+Block], xmm7                               ; +0x5f8, 0x1403d1dd8\nmov     dword ptr [rsp+140h+Block+4], 3F800000h                        ; +0x5fe, 0x1403d1dde\nmov     rax, [rdi]                                                     ; +0x606, 0x1403d1de6\nlea     rdx, [rsp+140h+var_100]                                        ; +0x609, 0x1403d1de9\nmov     rcx, rdi                                                       ; +0x60e, 0x1403d1dee\ncall    qword ptr [rax+538h]                                           ; +0x611, 0x1403d1df1\nmovd    xmm0, dword ptr [rsp+140h+var_110]                             ; +0x617, 0x1403d1df7\ncvtdq2ps xmm0, xmm0                                                    ; +0x61d, 0x1403d1dfd\ndivss   xmm0, xmm6                                                     ; +0x620, 0x1403d1e00\nmovss   [rsp+140h+var_100], xmm0                                       ; +0x624, 0x1403d1e04\nmovd    xmm1, r15d                                                     ; +0x62a, 0x1403d1e0a\ncvtdq2ps xmm1, xmm1                                                    ; +0x62f, 0x1403d1e0f\ndivss   xmm1, xmm6                                                     ; +0x632, 0x1403d1e12\nmovss   [rsp+140h+var_FC], xmm1                                        ; +0x636, 0x1403d1e16\nmovss   dword ptr [rsp+140h+Block], xmm7                               ; +0x63c, 0x1403d1e1c\nmov     dword ptr [rsp+140h+Block+4], 3F800000h                        ; +0x642, 0x1403d1e22\nmov     rax, [rdi]                                                     ; +0x64a, 0x1403d1e2a\nlea     rdx, [rsp+140h+var_100]                                        ; +0x64d, 0x1403d1e2d\nmov     rcx, rdi                                                       ; +0x652, 0x1403d1e32\ncall    qword ptr [rax+558h]                                           ; +0x655, 0x1403d1e35\nmov     rax, [rdi]                                                     ; +0x65b, 0x1403d1e3b\nmovaps  xmm1, xmm8                                                     ; +0x65e, 0x1403d1e3e\nmov     rcx, rdi                                                       ; +0x662, 0x1403d1e42\ncall    qword ptr [rax+0A0h]                                           ; +0x665, 0x1403d1e45\nmov     rcx, rdi                                                       ; +0x66b, 0x1403d1e4b\ncall    cs:?resetSystem@CCParticleSystem@cocos2d@@QEAAXXZ; cocos2d::CCParticleSystem::resetSystem(void) ; +0x66e, 0x1403d1e4e\nlea     rcx, aChestGlowBg001; \"chest_glow_bg_001.png\"                  ; +0x674, 0x1403d1e54\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x67b, 0x1403d1e5b\nmov     rbx, rax                                                       ; +0x681, 0x1403d1e61\nmov     r9, [r14]                                                      ; +0x684, 0x1403d1e64\nmov     r8d, 2                                                         ; +0x687, 0x1403d1e67\nmov     rdx, rax                                                       ; +0x68d, 0x1403d1e6d\nmov     rcx, r14                                                       ; +0x690, 0x1403d1e70\ncall    qword ptr [r9+1B8h]                                            ; +0x693, 0x1403d1e73\nmov     rdx, [rbx]                                                     ; +0x69a, 0x1403d1e7a\nmovaps  xmm1, xmm8                                                     ; +0x69d, 0x1403d1e7d\nmov     rcx, rbx                                                       ; +0x6a1, 0x1403d1e81\ncall    qword ptr [rdx+0A0h]                                           ; +0x6a4, 0x1403d1e84\nlea     rcx, [rbx+140h]                                                ; +0x6aa, 0x1403d1e8a\nmov     rax, [rcx]                                                     ; +0x6b1, 0x1403d1e91\nlea     rdx, [rsp+140h+var_11C]                                        ; +0x6b4, 0x1403d1e94\ncall    qword ptr [rax]                                                ; +0x6b9, 0x1403d1e99\nlea     rcx, aChestGlowBg001; \"chest_glow_bg_001.png\"                  ; +0x6bb, 0x1403d1e9b\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x6c2, 0x1403d1ea2\nmov     rbx, rax                                                       ; +0x6c8, 0x1403d1ea8\nmov     dl, 1                                                          ; +0x6cb, 0x1403d1eab\nmov     rcx, rax                                                       ; +0x6cd, 0x1403d1ead\ncall    cs:?setFlipX@CCSprite@cocos2d@@QEAAX_N@Z; cocos2d::CCSprite::setFlipX(bool) ; +0x6d0, 0x1403d1eb0\nmov     r9, [r14]                                                      ; +0x6d6, 0x1403d1eb6\nmov     r8d, 2                                                         ; +0x6d9, 0x1403d1eb9\nmov     rdx, rbx                                                       ; +0x6df, 0x1403d1ebf\nmov     rcx, r14                                                       ; +0x6e2, 0x1403d1ec2\ncall    qword ptr [r9+1B8h]                                            ; +0x6e5, 0x1403d1ec5\nmov     rdx, [rbx]                                                     ; +0x6ec, 0x1403d1ecc\nmovaps  xmm1, xmm8                                                     ; +0x6ef, 0x1403d1ecf\nmov     rcx, rbx                                                       ; +0x6f3, 0x1403d1ed3\ncall    qword ptr [rdx+0A0h]                                           ; +0x6f6, 0x1403d1ed6\nlea     rcx, [rbx+140h]                                                ; +0x6fc, 0x1403d1edc\nmov     rax, [rcx]                                                     ; +0x703, 0x1403d1ee3\nlea     rdx, [rsp+140h+var_11C]                                        ; +0x706, 0x1403d1ee6\ncall    qword ptr [rax]                                                ; +0x70b, 0x1403d1eeb\nlea     rcx, aWhitesquare600; \"whiteSquare60_001.png\"                  ; +0x70d, 0x1403d1eed\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x714, 0x1403d1ef4\nmov     rdi, rax                                                       ; +0x71a, 0x1403d1efa\nmov     rbx, [rax]                                                     ; +0x71d, 0x1403d1efd\nmovaps  xmm2, xmm8                                                     ; +0x720, 0x1403d1f00\nmulss   xmm2, cs:dword_14062394C                                       ; +0x724, 0x1403d1f04\nxorps   xmm1, xmm1                                                     ; +0x72c, 0x1403d1f0c\nlea     rcx, [rsp+140h+var_100]                                        ; +0x72f, 0x1403d1f0f\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x734, 0x1403d1f14\nmov     rdx, rax                                                       ; +0x73a, 0x1403d1f1a\nmov     rcx, rdi                                                       ; +0x73d, 0x1403d1f1d\ncall    qword ptr [rbx+0B8h]                                           ; +0x740, 0x1403d1f20\nmov     rdx, [rdi]                                                     ; +0x746, 0x1403d1f26\nmovaps  xmm1, xmm8                                                     ; +0x749, 0x1403d1f29\nmulss   xmm1, cs:dword_140623014                                       ; +0x74d, 0x1403d1f2d\nmov     rcx, rdi                                                       ; +0x755, 0x1403d1f35\ncall    qword ptr [rdx+78h]                                            ; +0x758, 0x1403d1f38\nmov     rax, [rdi]                                                     ; +0x75b, 0x1403d1f3b\nmovaps  xmm1, xmm8                                                     ; +0x75e, 0x1403d1f3e\nmulss   xmm1, cs:dword_140622E8C                                       ; +0x762, 0x1403d1f42\nmov     rcx, rdi                                                       ; +0x76a, 0x1403d1f4a\ncall    qword ptr [rax+88h]                                            ; +0x76d, 0x1403d1f4d\nlea     rcx, [rdi+140h]                                                ; +0x773, 0x1403d1f53\nmov     rax, [rcx]                                                     ; +0x77a, 0x1403d1f5a\nlea     rdx, [rsp+140h+var_11C]                                        ; +0x77d, 0x1403d1f5d\ncall    qword ptr [rax]                                                ; +0x782, 0x1403d1f62\nmov     rax, [r14]                                                     ; +0x784, 0x1403d1f64\nmov     r8d, 2                                                         ; +0x787, 0x1403d1f67\nmov     rdx, rdi                                                       ; +0x78d, 0x1403d1f6d\nmov     rcx, r14                                                       ; +0x790, 0x1403d1f70\ncall    qword ptr [rax+1B8h]                                           ; +0x793, 0x1403d1f73\nlea     rcx, aChestShadow001; \"chest_shadow_001.png\"                   ; +0x799, 0x1403d1f79\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x7a0, 0x1403d1f80\nmov     rdi, rax                                                       ; +0x7a6, 0x1403d1f86\nmov     rbx, [rax]                                                     ; +0x7a9, 0x1403d1f89\nmovaps  xmm2, xmm8                                                     ; +0x7ac, 0x1403d1f8c\nmulss   xmm2, cs:dword_140623940                                       ; +0x7b0, 0x1403d1f90\nxorps   xmm1, xmm1                                                     ; +0x7b8, 0x1403d1f98\nlea     rcx, [rsp+140h+var_100]                                        ; +0x7bb, 0x1403d1f9b\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x7c0, 0x1403d1fa0\nmov     rdx, rax                                                       ; +0x7c6, 0x1403d1fa6\nmov     rcx, rdi                                                       ; +0x7c9, 0x1403d1fa9\ncall    qword ptr [rbx+0B8h]                                           ; +0x7cc, 0x1403d1fac\nmov     r9, [r14]                                                      ; +0x7d2, 0x1403d1fb2\nmov     r8d, 3                                                         ; +0x7d5, 0x1403d1fb5\nmov     rdx, rdi                                                       ; +0x7db, 0x1403d1fbb\nmov     rcx, r14                                                       ; +0x7de, 0x1403d1fbe\ncall    qword ptr [r9+1B8h]                                            ; +0x7e1, 0x1403d1fc1\nmov     rax, [rdi]                                                     ; +0x7e8, 0x1403d1fc8\nmulss   xmm8, cs:dword_140622BF4                                       ; +0x7eb, 0x1403d1fcb\nmovaps  xmm1, xmm8                                                     ; +0x7f4, 0x1403d1fd4\nmov     rcx, rdi                                                       ; +0x7f8, 0x1403d1fd8\ncall    qword ptr [rax+0A0h]                                           ; +0x7fb, 0x1403d1fdb\nlea     rcx, [rdi+140h]                                                ; +0x801, 0x1403d1fe1\nmov     rax, [rcx]                                                     ; +0x808, 0x1403d1fe8\nmov     dl, 5Ah ; 'Z'                                                  ; +0x80b, 0x1403d1feb\ncall    qword ptr [rax+28h]                                            ; +0x80d, 0x1403d1fed\nnop                                                                    ; +0x810, 0x1403d1ff0\nlea     rcx, [rsp+140h+var_D0]                                         ; +0x811, 0x1403d1ff1\ncall    sub_14003A830                                                  ; +0x816, 0x1403d1ff6\nnop                                                                    ; +0x81b, 0x1403d1ffb\nlea     rcx, [rbp+40h+var_B0]                                          ; +0x81c, 0x1403d1ffc\ncall    sub_14003A830                                                  ; +0x820, 0x1403d2000\nnop                                                                    ; +0x825, 0x1403d2005\nlea     rcx, [rsp+140h+Block+8]                                        ; +0x826, 0x1403d2006\ncall    sub_14003A830                                                  ; +0x82b, 0x1403d200b\njmp     loc_1403D23D0                                                  ; +0x830, 0x1403d2010\nmov     r8d, 3                                                         ; +0x835, 0x1403d2015\nlea     rcx, aChest02d02d001; \"chest_%02d_%02d_001.png\"                ; +0x83b, 0x1403d201b\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x842, 0x1403d2022\nmov     rcx, rax                                                       ; +0x848, 0x1403d2028\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x84b, 0x1403d202b\nxorps   xmm0, xmm0                                                     ; +0x851, 0x1403d2031\nmovups  xmmword ptr [rsp+140h+Block+8], xmm0                           ; +0x854, 0x1403d2034\nxorps   xmm1, xmm1                                                     ; +0x859, 0x1403d2039\nmovdqu  [rsp+140h+var_E8+8], xmm1                                      ; +0x85c, 0x1403d203c\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x862, 0x1403d2042\nnop     dword ptr [rax+00000000h]                                      ; +0x869, 0x1403d2049\ninc     r8                                                             ; +0x870, 0x1403d2050\ncmp     byte ptr [rax+r8], 0                                           ; +0x873, 0x1403d2053\njnz     short loc_1403D2050                                            ; +0x878, 0x1403d2058\nmov     rdx, rax                                                       ; +0x87a, 0x1403d205a\nlea     rcx, [rsp+140h+Block+8]                                        ; +0x87d, 0x1403d205d\ncall    sub_14003A930                                                  ; +0x882, 0x1403d2062\nnop                                                                    ; +0x887, 0x1403d2067\nlea     rcx, [rsp+140h+Block+8]                                        ; +0x888, 0x1403d2068\ncmp     [rsp+140h+var_D8], 0Fh                                         ; +0x88d, 0x1403d206d\ncmova   rcx, [rsp+140h+Block+8]                                        ; +0x893, 0x1403d2073\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x899, 0x1403d2079\nmov     r9, [r14]                                                      ; +0x89f, 0x1403d207f\nmov     r8d, 3                                                         ; +0x8a2, 0x1403d2082\nmov     rdx, rax                                                       ; +0x8a8, 0x1403d2088\nmov     rcx, r14                                                       ; +0x8ab, 0x1403d208b\ncall    qword ptr [r9+1B8h]                                            ; +0x8ae, 0x1403d208e\nlea     rdx, [rsp+140h+Block+8]                                        ; +0x8b5, 0x1403d2095\ncmp     [rsp+140h+var_D8], 0Fh                                         ; +0x8ba, 0x1403d209a\ncmova   rdx, [rsp+140h+Block+8]                                        ; +0x8c0, 0x1403d20a0\nlea     r9, aBack001; \"_back_001\"                                      ; +0x8c6, 0x1403d20a6\nlea     rcx, [rbp+40h+var_B0]                                          ; +0x8cd, 0x1403d20ad\ncall    sub_1403CBFE0                                                  ; +0x8d1, 0x1403d20b1\nnop                                                                    ; +0x8d6, 0x1403d20b6\nlea     rcx, [rbp+40h+var_B0]                                          ; +0x8d7, 0x1403d20b7\ncmp     [rbp+40h+var_98], 0Fh                                          ; +0x8db, 0x1403d20bb\ncmova   rcx, qword ptr [rbp+40h+var_B0]                                ; +0x8e0, 0x1403d20c0\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x8e5, 0x1403d20c5\nmov     r9, [r14]                                                      ; +0x8eb, 0x1403d20cb\nxor     r8d, r8d                                                       ; +0x8ee, 0x1403d20ce\nmov     rdx, rax                                                       ; +0x8f1, 0x1403d20d1\nmov     rcx, r14                                                       ; +0x8f4, 0x1403d20d4\ncall    qword ptr [r9+1B8h]                                            ; +0x8f7, 0x1403d20d7\ntest    dil, dil                                                       ; +0x8fe, 0x1403d20de\njnz     loc_1403D2349                                                  ; +0x901, 0x1403d20e1\nlea     rdx, [rsp+140h+Block+8]                                        ; +0x907, 0x1403d20e7\ncmp     [rsp+140h+var_D8], 0Fh                                         ; +0x90c, 0x1403d20ec\ncmova   rdx, [rsp+140h+Block+8]                                        ; +0x912, 0x1403d20f2\nlea     r9, aGlow001; \"_glow_001\"                                      ; +0x918, 0x1403d20f8\nlea     rcx, [rsp+140h+var_D0]                                         ; +0x91f, 0x1403d20ff\ncall    sub_1403CBFE0                                                  ; +0x924, 0x1403d2104\nnop                                                                    ; +0x929, 0x1403d2109\nlea     rcx, [rsp+140h+var_D0]                                         ; +0x92a, 0x1403d210a\ncmp     [rbp+40h+var_B8], 0Fh                                          ; +0x92f, 0x1403d210f\ncmova   rcx, qword ptr [rsp+140h+var_D0]                               ; +0x934, 0x1403d2114\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x93a, 0x1403d211a\nmov     rsi, rax                                                       ; +0x940, 0x1403d2120\nmov     r9, [r14]                                                      ; +0x943, 0x1403d2123\nmov     r8d, 1                                                         ; +0x946, 0x1403d2126\nmov     rdx, rax                                                       ; +0x94c, 0x1403d212c\nmov     rcx, r14                                                       ; +0x94f, 0x1403d212f\ncall    qword ptr [r9+1B8h]                                            ; +0x952, 0x1403d2132\nlea     rcx, [rsp+140h+var_D0]                                         ; +0x959, 0x1403d2139\ncmp     [rbp+40h+var_B8], 0Fh                                          ; +0x95e, 0x1403d213e\ncmova   rcx, qword ptr [rsp+140h+var_D0]                               ; +0x963, 0x1403d2143\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x969, 0x1403d2149\nmov     rdi, rax                                                       ; +0x96f, 0x1403d214f\nmov     r9, [rsi]                                                      ; +0x972, 0x1403d2152\nmov     r8d, 1                                                         ; +0x975, 0x1403d2155\nmov     rdx, rax                                                       ; +0x97b, 0x1403d215b\nmov     rcx, rsi                                                       ; +0x97e, 0x1403d215e\ncall    qword ptr [r9+1B8h]                                            ; +0x981, 0x1403d2161\nmov     rbx, [rdi]                                                     ; +0x988, 0x1403d2168\nmov     rdx, [rsi]                                                     ; +0x98b, 0x1403d216b\nmov     rcx, rsi                                                       ; +0x98e, 0x1403d216e\ncall    qword ptr [rdx+130h]                                           ; +0x991, 0x1403d2171\nmovss   xmm6, dword ptr [rax+4]                                        ; +0x997, 0x1403d2177\nmov     rdx, [rsi]                                                     ; +0x99c, 0x1403d217c\nmov     rcx, rsi                                                       ; +0x99f, 0x1403d217f\ncall    qword ptr [rdx+130h]                                           ; +0x9a2, 0x1403d2182\nmulss   xmm6, cs:dword_140622B08                                       ; +0x9a8, 0x1403d2188\nmovss   xmm1, dword ptr [rax]                                          ; +0x9b0, 0x1403d2190\nmulss   xmm1, cs:dword_140622B08                                       ; +0x9b4, 0x1403d2194\nmovaps  xmm2, xmm6                                                     ; +0x9bc, 0x1403d219c\nlea     rcx, [rsp+140h+var_100]                                        ; +0x9bf, 0x1403d219f\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x9c4, 0x1403d21a4\nmov     rdx, rax                                                       ; +0x9ca, 0x1403d21aa\nmov     rcx, rdi                                                       ; +0x9cd, 0x1403d21ad\ncall    qword ptr [rbx+0B8h]                                           ; +0x9d0, 0x1403d21b0\nmov     rax, [rdi]                                                     ; +0x9d6, 0x1403d21b6\nmovaps  xmm1, xmm9                                                     ; +0x9d9, 0x1403d21b9\nmov     rcx, rdi                                                       ; +0x9dd, 0x1403d21bd\ncall    qword ptr [rax+78h]                                            ; +0x9e0, 0x1403d21c0\nmov     dword ptr [rsp+140h+var_108], 302h                             ; +0x9e3, 0x1403d21c3\nmov     dword ptr [rsp+140h+var_108+4], 1                              ; +0x9eb, 0x1403d21cb\nlea     rcx, [rsi+158h]                                                ; +0x9f3, 0x1403d21d3\nmov     rax, [rcx]                                                     ; +0x9fa, 0x1403d21da\nmov     rdx, [rsp+140h+var_108]                                        ; +0x9fd, 0x1403d21dd\ncall    qword ptr [rax]                                                ; +0xa02, 0x1403d21e2\nlea     rcx, [rdi+158h]                                                ; +0xa04, 0x1403d21e4\nmov     rax, [rcx]                                                     ; +0xa0b, 0x1403d21eb\nmov     rdx, [rsp+140h+var_108]                                        ; +0xa0e, 0x1403d21ee\ncall    qword ptr [rax]                                                ; +0xa13, 0x1403d21f3\nxor     edx, edx                                                       ; +0xa15, 0x1403d21f5\nlea     rcx, aChestopenPlist; \"chestOpen.plist\"                        ; +0xa17, 0x1403d21f7\ncall    cs:?create@CCParticleSystemQuad@cocos2d@@SAPEAV12@PEBD_N@Z; cocos2d::CCParticleSystemQuad::create(char const *,bool) ; +0xa1e, 0x1403d21fe\nmov     r15, rax                                                       ; +0xa24, 0x1403d2204\nmov     r8, [rax]                                                      ; +0xa27, 0x1403d2207\nmov     dl, 1                                                          ; +0xa2a, 0x1403d220a\nmov     rcx, rax                                                       ; +0xa2c, 0x1403d220c\ncall    qword ptr [r8+5F8h]                                            ; +0xa2f, 0x1403d220f\nmov     r9, [r14]                                                      ; +0xa36, 0x1403d2216\nmov     r8d, 4                                                         ; +0xa39, 0x1403d2219\nmov     rdx, r15                                                       ; +0xa3f, 0x1403d221f\nmov     rcx, r14                                                       ; +0xa42, 0x1403d2222\ncall    qword ptr [r9+1B8h]                                            ; +0xa45, 0x1403d2225\nmov     ecx, [r14+258h]                                                ; +0xa4c, 0x1403d222c\nmov     edi, 0FFh                                                      ; +0xa53, 0x1403d2233\ncmp     ecx, 1                                                         ; +0xa58, 0x1403d2238\njnz     short loc_1403D2249                                            ; +0xa5b, 0x1403d223b\nmov     esi, edi                                                       ; +0xa5d, 0x1403d223d\nlea     eax, [rcx+31h]                                                 ; +0xa5f, 0x1403d223f\nmov     ebx, edi                                                       ; +0xa62, 0x1403d2242\nxor     r14d, r14d                                                     ; +0xa64, 0x1403d2244\njmp     short loc_1403D226A                                            ; +0xa67, 0x1403d2247\nxor     ebx, ebx                                                       ; +0xa69, 0x1403d2249\nmov     eax, edi                                                       ; +0xa6b, 0x1403d224b\ncmp     ecx, 3                                                         ; +0xa6d, 0x1403d224d\njnz     short loc_1403D2259                                            ; +0xa70, 0x1403d2250\nxor     esi, esi                                                       ; +0xa72, 0x1403d2252\nxor     r14d, r14d                                                     ; +0xa74, 0x1403d2254\njmp     short loc_1403D226C                                            ; +0xa77, 0x1403d2257\nmov     esi, edi                                                       ; +0xa79, 0x1403d2259\nmov     r14d, edi                                                      ; +0xa7b, 0x1403d225b\ncmp     ecx, 4                                                         ; +0xa7e, 0x1403d225e\njnz     short loc_1403D226C                                            ; +0xa81, 0x1403d2261\nmov     esi, 96h                                                       ; +0xa83, 0x1403d2263\nxor     eax, eax                                                       ; +0xa88, 0x1403d2268\nxor     edi, edi                                                       ; +0xa8a, 0x1403d226a\nmovd    xmm0, esi                                                      ; +0xa8c, 0x1403d226c\ncvtdq2ps xmm0, xmm0                                                    ; +0xa90, 0x1403d2270\nmovss   xmm6, cs:dword_140623418                                       ; +0xa93, 0x1403d2273\ndivss   xmm0, xmm6                                                     ; +0xa9b, 0x1403d227b\nmovss   [rsp+140h+var_100], xmm0                                       ; +0xa9f, 0x1403d227f\nmov     [rsp+140h+var_FC], 3F800000h                                   ; +0xaa5, 0x1403d2285\nmovd    xmm0, eax                                                      ; +0xaad, 0x1403d228d\ncvtdq2ps xmm0, xmm0                                                    ; +0xab1, 0x1403d2291\ndivss   xmm0, xmm6                                                     ; +0xab4, 0x1403d2294\nmovss   dword ptr [rsp+140h+Block], xmm0                               ; +0xab8, 0x1403d2298\nmov     dword ptr [rsp+140h+Block+4], 3F800000h                        ; +0xabe, 0x1403d229e\nmov     rax, [r15]                                                     ; +0xac6, 0x1403d22a6\nlea     rdx, [rsp+140h+var_100]                                        ; +0xac9, 0x1403d22a9\nmov     rcx, r15                                                       ; +0xace, 0x1403d22ae\ncall    qword ptr [rax+538h]                                           ; +0xad1, 0x1403d22b1\nmovd    xmm0, ebx                                                      ; +0xad7, 0x1403d22b7\ncvtdq2ps xmm0, xmm0                                                    ; +0xadb, 0x1403d22bb\ndivss   xmm0, xmm6                                                     ; +0xade, 0x1403d22be\nmovss   [rsp+140h+var_100], xmm0                                       ; +0xae2, 0x1403d22c2\nmovd    xmm2, r14d                                                     ; +0xae8, 0x1403d22c8\ncvtdq2ps xmm2, xmm2                                                    ; +0xaed, 0x1403d22cd\ndivss   xmm2, xmm6                                                     ; +0xaf0, 0x1403d22d0\nmovss   [rsp+140h+var_FC], xmm2                                        ; +0xaf4, 0x1403d22d4\nmovd    xmm0, edi                                                      ; +0xafa, 0x1403d22da\ncvtdq2ps xmm0, xmm0                                                    ; +0xafe, 0x1403d22de\ndivss   xmm0, xmm6                                                     ; +0xb01, 0x1403d22e1\nmovss   dword ptr [rsp+140h+Block], xmm0                               ; +0xb05, 0x1403d22e5\nmov     dword ptr [rsp+140h+Block+4], 3F800000h                        ; +0xb0b, 0x1403d22eb\nmov     rax, [r15]                                                     ; +0xb13, 0x1403d22f3\nlea     rdx, [rsp+140h+var_100]                                        ; +0xb16, 0x1403d22f6\nmov     rcx, r15                                                       ; +0xb1b, 0x1403d22fb\ncall    qword ptr [rax+558h]                                           ; +0xb1e, 0x1403d22fe\nmov     rax, [r15]                                                     ; +0xb24, 0x1403d2304\nmovaps  xmm1, xmm8                                                     ; +0xb27, 0x1403d2307\nmov     rcx, r15                                                       ; +0xb2b, 0x1403d230b\ncall    qword ptr [rax+0A0h]                                           ; +0xb2e, 0x1403d230e\nmov     rbx, [r15]                                                     ; +0xb34, 0x1403d2314\nxorps   xmm2, xmm2                                                     ; +0xb37, 0x1403d2317\nxorps   xmm1, xmm1                                                     ; +0xb3a, 0x1403d231a\nlea     rcx, [rsp+140h+var_100]                                        ; +0xb3d, 0x1403d231d\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xb42, 0x1403d2322\nmov     rdx, rax                                                       ; +0xb48, 0x1403d2328\nmov     rcx, r15                                                       ; +0xb4b, 0x1403d232b\ncall    qword ptr [rbx+0B8h]                                           ; +0xb4e, 0x1403d232e\nmov     rcx, r15                                                       ; +0xb54, 0x1403d2334\ncall    cs:?resetSystem@CCParticleSystem@cocos2d@@QEAAXXZ; cocos2d::CCParticleSystem::resetSystem(void) ; +0xb57, 0x1403d2337\nnop                                                                    ; +0xb5d, 0x1403d233d\nlea     rcx, [rsp+140h+var_D0]                                         ; +0xb5e, 0x1403d233e\ncall    sub_14003A830                                                  ; +0xb63, 0x1403d2343\nnop                                                                    ; +0xb68, 0x1403d2348\nlea     rcx, [rbp+40h+var_B0]                                          ; +0xb69, 0x1403d2349\ncall    sub_14003A830                                                  ; +0xb6d, 0x1403d234d\nnop                                                                    ; +0xb72, 0x1403d2352\nmov     rdx, [rsp+140h+var_D8]                                         ; +0xb73, 0x1403d2353\ncmp     rdx, 0Fh                                                       ; +0xb78, 0x1403d2358\njbe     short loc_1403D23D0                                            ; +0xb7c, 0x1403d235c\ninc     rdx                                                            ; +0xb7e, 0x1403d235e\nmov     rcx, [rsp+140h+Block+8]; Block                                 ; +0xb81, 0x1403d2361\nmov     rax, rcx                                                       ; +0xb86, 0x1403d2366\ncmp     rdx, 1000h                                                     ; +0xb89, 0x1403d2369\njb      short loc_1403D238E                                            ; +0xb90, 0x1403d2370\nadd     rdx, 27h ; '''                                                 ; +0xb92, 0x1403d2372\nmov     rcx, [rcx-8]                                                   ; +0xb96, 0x1403d2376\nsub     rax, rcx                                                       ; +0xb9a, 0x1403d237a\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0xb9d, 0x1403d237d\ncmp     rax, 1Fh                                                       ; +0xba1, 0x1403d2381\njbe     short loc_1403D238E                                            ; +0xba5, 0x1403d2385\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0xba7, 0x1403d2387\nalign 2                                                                ; +0xbad, 0x1403d238d\ncall    j_j_free                                                       ; +0xbae, 0x1403d238e\njmp     short loc_1403D23D0                                            ; +0xbb3, 0x1403d2393\nmov     r8d, 2                                                         ; +0xbb5, 0x1403d2395\nlea     rcx, aChest02d02d001; \"chest_%02d_%02d_001.png\"                ; +0xbbb, 0x1403d239b\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xbc2, 0x1403d23a2\nmov     rcx, rax                                                       ; +0xbc8, 0x1403d23a8\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xbcb, 0x1403d23ab\nmov     rcx, rax                                                       ; +0xbd1, 0x1403d23b1\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0xbd4, 0x1403d23b4\nmov     r9, [r14]                                                      ; +0xbda, 0x1403d23ba\nmov     r8d, 3                                                         ; +0xbdd, 0x1403d23bd\nmov     rdx, rax                                                       ; +0xbe3, 0x1403d23c3\nmov     rcx, r14                                                       ; +0xbe6, 0x1403d23c6\ncall    qword ptr [r9+1B8h]                                            ; +0xbe9, 0x1403d23c9\nmov     rcx, [rbp+40h+var_90]                                          ; +0xbf0, 0x1403d23d0\nxor     rcx, rsp; StackCookie                                          ; +0xbf4, 0x1403d23d4\ncall    __security_check_cookie                                        ; +0xbf7, 0x1403d23d7\nlea     r11, [rsp+140h+var_30]                                         ; +0xbfc, 0x1403d23dc\nmov     rbx, [r11+50h]                                                 ; +0xc04, 0x1403d23e4\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0xc08, 0x1403d23e8\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0xc0d, 0x1403d23ed\nmovaps  xmm8, xmmword ptr [r11-30h]                                    ; +0xc12, 0x1403d23f2\nmovaps  xmm9, xmmword ptr [r11-40h]                                    ; +0xc17, 0x1403d23f7\nmovaps  xmm10, xmmword ptr [r11-50h]                                   ; +0xc1c, 0x1403d23fc\nmov     rsp, r11                                                       ; +0xc21, 0x1403d2401\npop     r15                                                            ; +0xc24, 0x1403d2404\npop     r14                                                            ; +0xc26, 0x1403d2406\npop     r13                                                            ; +0xc28, 0x1403d2408\npop     r12                                                            ; +0xc2a, 0x1403d240a\npop     rdi                                                            ; +0xc2c, 0x1403d240c\npop     rsi                                                            ; +0xc2d, 0x1403d240d\npop     rbp                                                            ; +0xc2e, 0x1403d240e\nretn                                                                   ; +0xc2f, 0x1403d240f\ndd offset loc_1403D1B41 - 140000000h; jump table for switch statement  ; +0xc30, 0x1403d2410", "xrefs": ["FollowRewardPage::init @ 0x14013b5fd", "FollowRewardPage::switchToOpenedState @ 0x14013d184", "RewardUnlockLayer::step2 @ 0x1403ced70", "RewardUnlockLayer::playRewardEffect @ 0x1403cf068", "GJChestSprite::create @ 0x1403d1670", "SecretRewardsLayer::generateChestItems @ 0x1403d5e56", "SecretRewardsLayer::switchToOpenedState @ 0x1403d6f1d", "SecretLayer3::init @ 0x1403eae5c", "SecretLayer3::init @ 0x1403eb168", "SecretLayer4::init @ 0x1403f0a54", "<???> @ 0x1406d7c94"], "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"}