{"type": "func", "start": 5374374224, "end": 5374377476, "name": "GJChestSprite::switchToState", "pseudocode": "// \n// GJChestSprite::switchToState from 0x140567150 to 0x140567e04 (3252 bytes)\n// \n// 14 xrefs:\n// > GJNotificationCell::loadFromNotification @ 0x14015bb1f\n// > GJNotificationCell::loadFromNotification @ 0x14015be05\n// > GJNotificationCell::refreshChest @ 0x14015c626\n// > FollowRewardPage::init @ 0x14020cbf9\n// > FollowRewardPage::switchToOpenedState @ 0x14020ebc4\n// > RewardUnlockLayer::step2 @ 0x140564684\n// > RewardUnlockLayer::playRewardEffect @ 0x1405649b7\n// > GJChestSprite::create @ 0x140566fe4\n// > SecretRewardsLayer::generateChestItems @ 0x14056b8a0\n// > SecretRewardsLayer::switchToOpenedState @ 0x14056c98d\n// > SecretLayer3::init @ 0x140580a9a\n// > SecretLayer3::init @ 0x140580db3\n// > SecretLayer4::init @ 0x140586313\n// > <???> @ 0x14092c594\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:34:17 +0000\n// \n\n// Hidden C++ exception states: #wind=3\nvoid __fastcall GJChestSprite::switchToState(_DWORD *a1, int a2, char a3)\n{\n  int v6; // edx\n  float v7; // xmm8_4\n  int v8; // ebx\n  int 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::CCActionInterval *v23; // rax\n  struct cocos2d::CCFiniteTimeAction *v24; // rdi\n  struct cocos2d::CCActionInterval *v25; // rax\n  struct cocos2d::CCEaseInOut *v26; // rax\n  struct cocos2d::CCActionInterval *v27; // rax\n  struct cocos2d::CCAction *v28; // rax\n  int v29; // r12d\n  int v30; // esi\n  int v31; // r13d\n  int v32; // r14d\n  int v33; // kr08_4\n  __int64 v34; // rdi\n  __int64 v35; // rax\n  cocos2d::CCNode *v36; // rdi\n  float v37; // xmm9_4\n  int v38; // eax\n  struct cocos2d::CCActionInterval *v39; // rax\n  struct cocos2d::CCAction *v40; // rax\n  cocos2d::CCNode *v41; // rdi\n  __int64 v42; // rbx\n  __int64 v43; // rax\n  int v44; // eax\n  struct cocos2d::CCActionInterval *v45; // rax\n  struct cocos2d::CCAction *v46; // rax\n  cocos2d::CCParticleSystem *v47; // rdi\n  __int64 v48; // rdx\n  __int64 v49; // rbx\n  __int64 v50; // rax\n  struct cocos2d::CCSprite *v51; // rbx\n  struct cocos2d::CCSprite *v52; // rbx\n  struct cocos2d::CCSprite *v53; // rdi\n  __int64 v54; // rbx\n  __int64 v55; // rax\n  struct cocos2d::CCSprite *v56; // rdi\n  __int64 v57; // rbx\n  __int64 v58; // rax\n  __int64 v59; // rdx\n  cocos2d::CCString *v60; // rax\n  const char *v61; // rax\n  size_t v62; // r8\n  const char *v63; // rcx\n  struct cocos2d::CCSprite *v64; // rax\n  __int64 v65; // r8\n  void **v66; // rdx\n  const char *v67; // rcx\n  struct cocos2d::CCSprite *v68; // rax\n  __int64 v69; // r8\n  void **v70; // rdx\n  const char *v71; // rcx\n  struct cocos2d::CCSprite *v72; // r14\n  const char *v73; // rcx\n  struct cocos2d::CCSprite *v74; // rsi\n  float *v75; // rbx\n  __int64 v76; // rdi\n  __int64 v77; // rax\n  __int64 v78; // rax\n  cocos2d::CCParticleSystem *v79; // r14\n  __int64 v80; // rdx\n  int v81; // ecx\n  int v82; // edi\n  int v83; // esi\n  int v84; // eax\n  int v85; // ebx\n  int v86; // r15d\n  __int64 v87; // rbx\n  __int64 v88; // rax\n  void *v89; // rcx\n  cocos2d::CCString *v90; // rax\n  const char *CString; // rax\n  struct cocos2d::CCSprite *v92; // rax\n  _BYTE v93[3]; // [rsp+38h] [rbp-D0h] BYREF\n  _WORD v94[2]; // [rsp+3Ch] [rbp-CCh] BYREF\n  __int64 v95; // [rsp+40h] [rbp-C8h] BYREF\n  __int64 v96; // [rsp+48h] [rbp-C0h]\n  __int64 v97; // [rsp+50h] [rbp-B8h]\n  float v98; // [rsp+58h] [rbp-B0h] BYREF\n  float v99; // [rsp+5Ch] [rbp-ACh]\n  float Block; // [rsp+60h] [rbp-A8h]\n  int Block_4; // [rsp+64h] [rbp-A4h]\n  void *Block_8[2]; // [rsp+68h] [rbp-A0h] BYREF\n  __int128 v103; // [rsp+78h] [rbp-90h]\n  _QWORD v104[3]; // [rsp+88h] [rbp-80h] BYREF\n  unsigned __int64 v105; // [rsp+A0h] [rbp-68h]\n  _QWORD v106[3]; // [rsp+A8h] [rbp-60h] BYREF\n  unsigned __int64 v107; // [rsp+C0h] [rbp-48h]\n\n  if ( a1[151] == a2 )\n    return;\n  a1[151] = a2;\n  (*(void (__fastcall **)(_DWORD *))(*(_QWORD *)a1 + 568LL))(a1);\n  v6 = a1[150];\n  if ( v6 == 1 )\n    v7 = 0.80000001;\n  else\n    v7 = 1.0;\n  v8 = a2 - 2;\n  if ( !v8 )\n  {\n    v90 = cocos2d::CCString::createWithFormat(\"chest_%02d_%02d_001.png\", v6, 2);\n    CString = cocos2d::CCString::getCString(v90);\n    v92 = cocos2d::CCSprite::createWithSpriteFrameName(CString);\n    (*(void (__fastcall **)(_DWORD *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v92, 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\", v6, 4);\n      v11 = cocos2d::CCString::getCString(v10);\n      *(_OWORD *)Block_8 = 0;\n      v103 = 0;\n      v12 = -1;\n      do\n        ++v12;\n      while ( v11[v12] );\n      sub_14003D230(Block_8, v11, v12);\n      v13 = (const char *)Block_8;\n      if ( *((_QWORD *)&v103 + 1) > 0xFu )\n        v13 = (const char *)Block_8[0];\n      v14 = cocos2d::CCSprite::createWithSpriteFrameName(v13);\n      (*(void (__fastcall **)(_DWORD *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v14, 4);\n      v16 = Block_8;\n      if ( *((_QWORD *)&v103 + 1) > 0xFu )\n        v16 = (void **)Block_8[0];\n      sub_140561800(v106, v16, v15, \"_back_001\");\n      v17 = (const char *)v106;\n      if ( v107 > 0xF )\n        v17 = (const char *)v106[0];\n      v18 = cocos2d::CCSprite::createWithSpriteFrameName(v17);\n      (*(void (__fastcall **)(_DWORD *, struct cocos2d::CCSprite *, _QWORD))(*(_QWORD *)a1 + 456LL))(a1, v18, 0);\n      if ( !a3 )\n      {\n        v20 = Block_8;\n        if ( *((_QWORD *)&v103 + 1) > 0xFu )\n          v20 = (void **)Block_8[0];\n        sub_140561800(v104, v20, v19, \"_glow_001\");\n        v21 = (const char *)v104;\n        if ( v105 > 0xF )\n          v21 = (const char *)v104[0];\n        v22 = cocos2d::CCSprite::createWithSpriteFrameName(v21);\n        (*(void (__fastcall **)(_DWORD *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v22, 1);\n        v96 = 0x100000302LL;\n        (**((void (__fastcall ***)(__int64, __int64))v22 + 43))((__int64)v22 + 344, 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(v22, v28);\n        *(_WORD *)v93 = -27136;\n        v93[2] = -1;\n        LOWORD(v95) = -27136;\n        BYTE2(v95) = -1;\n        v94[0] = 17459;\n        LOBYTE(v94[1]) = -103;\n        v29 = 0;\n        v30 = 255;\n        v31 = 255;\n        v32 = 0;\n        v33 = a1[150] - 1;\n        LODWORD(v96) = 0;\n        switch ( v33 )\n        {\n          case 0:\n            goto LABEL_29;\n          case 1:\n          case 4:\n            v93[1] = -56;\n            BYTE1(v95) = 100;\n            goto LABEL_23;\n          case 2:\nLABEL_23:\n            LODWORD(v96) = 0;\n            break;\n          case 3:\n            *(_WORD *)&v93[1] = 255;\n            *(_WORD *)((char *)&v95 + 1) = 13055;\n            v29 = 150;\n            v31 = 0;\n            LODWORD(v96) = 0;\n            v32 = 255;\n            break;\n          case 5:\n            v93[1] = -56;\n            BYTE1(v95) = 100;\n            qmemcpy(v94, \"\\n6S\", 3);\n            LODWORD(v96) = 0;\n            break;\n          case 6:\n            *(_WORD *)&v93[1] = 255;\n            *(_WORD *)((char *)&v95 + 1) = 13055;\n            qmemcpy(v94, \")Q;\", 3);\n            v29 = 150;\n            LODWORD(v96) = 100;\n            v32 = 255;\n            goto LABEL_30;\n          case 7:\n            *(_WORD *)v93 = 255;\n            LOWORD(v95) = 255;\n            v94[0] = 6970;\n            LOBYTE(v94[1]) = 75;\n            v29 = 255;\n            v30 = 150;\n            LODWORD(v96) = 255;\n            break;\n          case 8:\n            v94[0] = 7463;\n            LOBYTE(v94[1]) = 44;\nLABEL_29:\n            v93[2] = 0;\n            BYTE2(v95) = 0;\n            v32 = 100;\n            LODWORD(v96) = 255;\n            v29 = 255;\n            LOBYTE(v95) = -1;\n            *(_WORD *)v93 = -14081;\nLABEL_30:\n            v31 = 0;\n            break;\n          default:\n            break;\n        }\n        v97 = (__int64)cocos2d::CCSprite::createWithSpriteFrameName(\"shineBurst_001.png\");\n        (*(void (__fastcall **)(_DWORD *, __int64, __int64))(*(_QWORD *)a1 + 456LL))(a1, v97, 1);\n        (**(void (__fastcall ***)(__int64, __int64))(v97 + 344))(v97 + 344, 0x100000302LL);\n        v34 = *(_QWORD *)v97;\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v98, 0.0, -5.0);\n        (*(void (__fastcall **)(__int64, __int64))(v34 + 184))(v97, v35);\n        v36 = (cocos2d::CCNode *)v97;\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)v97 + 160LL))(v97);\n        (**((void (__fastcall ***)(__int64, _BYTE *))v36 + 40))((__int64)v36 + 320, v93);\n        if ( (float)((float)rand() / 32767.0) <= 0.5 )\n          v37 = -1.0;\n        else\n          v37 = 1.0;\n        v38 = rand();\n        v39 = cocos2d::CCRotateBy::create(\n                1.0,\n                (float)((float)((float)((float)((float)v38 / 32767.0) * 0.5) + 0.5) * 180.0) * v37);\n        v40 = cocos2d::CCRepeatForever::create(v39);\n        cocos2d::CCNode::runAction(v36, v40);\n        v41 = cocos2d::CCSprite::createWithSpriteFrameName(\"shineBurst_001.png\");\n        (*(void (__fastcall **)(_DWORD *, cocos2d::CCNode *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v41, 1);\n        (**((void (__fastcall ***)(__int64, __int64))v41 + 43))((__int64)v41 + 344, 0x100000302LL);\n        v42 = *(_QWORD *)v41;\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v98, 0.0, -5.0);\n        (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v42 + 184))(v41, v43);\n        (*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v41 + 160LL))(v41);\n        (**((void (__fastcall ***)(__int64, __int64 *))v41 + 40))((__int64)v41 + 320, &v95);\n        v44 = rand();\n        v45 = cocos2d::CCRotateBy::create(\n                1.0,\n                (float)((float)((float)((float)((float)v44 / 32767.0) * 0.5) + 0.5) * 180.0) * (float)-v37);\n        v46 = cocos2d::CCRepeatForever::create(v45);\n        cocos2d::CCNode::runAction(v41, v46);\n        v47 = cocos2d::CCParticleSystemQuad::create(\"chestOpened.plist\", 0);\n        LOBYTE(v48) = 1;\n        (*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v47 + 1544LL))(v47, v48);\n        (*(void (__fastcall **)(_DWORD *, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v47, 1);\n        v49 = *(_QWORD *)v47;\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v98, 0.0, 0.0);\n        (*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v49 + 184))(v47, v50);\n        v98 = (float)v29 / 255.0;\n        v99 = (float)v30 / 255.0;\n        Block = (float)v31 / 255.0;\n        Block_4 = 1065353216;\n        (*(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_QWORD *)v47 + 1352LL))(v47, &v98);\n        v98 = (float)(int)v96 / 255.0;\n        v99 = (float)v32 / 255.0;\n        Block = (float)v31 / 255.0;\n        Block_4 = 1065353216;\n        (*(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_QWORD *)v47 + 1384LL))(v47, &v98);\n        (*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v47 + 160LL))(v47);\n        cocos2d::CCParticleSystem::resetSystem(v47);\n        v51 = cocos2d::CCSprite::createWithSpriteFrameName(\"chest_glow_bg_001.png\");\n        (*(void (__fastcall **)(_DWORD *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v51, 2);\n        (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v51 + 160LL))(v51);\n        (**((void (__fastcall ***)(__int64, _WORD *))v51 + 40))((__int64)v51 + 320, v94);\n        v52 = cocos2d::CCSprite::createWithSpriteFrameName(\"chest_glow_bg_001.png\");\n        cocos2d::CCSprite::setFlipX(v52, 1);\n        (*(void (__fastcall **)(_DWORD *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v52, 2);\n        (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v52 + 160LL))(v52);\n        (**((void (__fastcall ***)(__int64, _WORD *))v52 + 40))((__int64)v52 + 320, v94);\n        v53 = cocos2d::CCSprite::createWithSpriteFrameName(\"whiteSquare60_001.png\");\n        v54 = *(_QWORD *)v53;\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v98, 0.0, v7 * -52.0);\n        (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v54 + 184))(v53, v55);\n        (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v53 + 120LL))(v53);\n        (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v53 + 136LL))(v53);\n        (**((void (__fastcall ***)(__int64, _WORD *))v53 + 40))((__int64)v53 + 320, v94);\n        (*(void (__fastcall **)(_DWORD *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v53, 2);\n        v56 = cocos2d::CCSprite::createWithSpriteFrameName(\"chest_shadow_001.png\");\n        v57 = *(_QWORD *)v56;\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v98, 0.0, v7 * -48.0);\n        (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v57 + 184))(v56, v58);\n        (*(void (__fastcall **)(_DWORD *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v56, 3);\n        (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v56 + 160LL))(v56);\n        LOBYTE(v59) = 90;\n        (*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)v56 + 40) + 40LL))((__int64)v56 + 320, v59);\n        sub_14003D310((__int64)v104);\n      }\n      sub_14003D310((__int64)v106);\n      sub_14003D310((__int64)Block_8);\n    }\n    return;\n  }\n  v60 = cocos2d::CCString::createWithFormat(\"chest_%02d_%02d_001.png\", v6, 3);\n  v61 = cocos2d::CCString::getCString(v60);\n  *(_OWORD *)Block_8 = 0;\n  v103 = 0;\n  v62 = -1;\n  do\n    ++v62;\n  while ( v61[v62] );\n  sub_14003D230(Block_8, v61, v62);\n  v63 = (const char *)Block_8;\n  if ( *((_QWORD *)&v103 + 1) > 0xFu )\n    v63 = (const char *)Block_8[0];\n  v64 = cocos2d::CCSprite::createWithSpriteFrameName(v63);\n  (*(void (__fastcall **)(_DWORD *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v64, 3);\n  v66 = Block_8;\n  if ( *((_QWORD *)&v103 + 1) > 0xFu )\n    v66 = (void **)Block_8[0];\n  sub_140561800(v106, v66, v65, \"_back_001\");\n  v67 = (const char *)v106;\n  if ( v107 > 0xF )\n    v67 = (const char *)v106[0];\n  v68 = cocos2d::CCSprite::createWithSpriteFrameName(v67);\n  (*(void (__fastcall **)(_DWORD *, struct cocos2d::CCSprite *, _QWORD))(*(_QWORD *)a1 + 456LL))(a1, v68, 0);\n  if ( !a3 )\n  {\n    v70 = Block_8;\n    if ( *((_QWORD *)&v103 + 1) > 0xFu )\n      v70 = (void **)Block_8[0];\n    sub_140561800(v104, v70, v69, \"_glow_001\");\n    v71 = (const char *)v104;\n    if ( v105 > 0xF )\n      v71 = (const char *)v104[0];\n    v72 = cocos2d::CCSprite::createWithSpriteFrameName(v71);\n    (*(void (__fastcall **)(_DWORD *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v72, 1);\n    v73 = (const char *)v104;\n    if ( v105 > 0xF )\n      v73 = (const char *)v104[0];\n    v74 = cocos2d::CCSprite::createWithSpriteFrameName(v73);\n    (*(void (__fastcall **)(struct cocos2d::CCSprite *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v72 + 456LL))(\n      v72,\n      v74,\n      1);\n    v75 = (float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v72 + 320LL))(v72);\n    v76 = *(_QWORD *)v74;\n    v77 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v72 + 320LL))(v72);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v98, *v75 * 0.5, *(float *)(v77 + 4) * 0.5);\n    (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v76 + 184))(v74, v78);\n    (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v74 + 120LL))(v74);\n    v97 = 0x100000302LL;\n    (**((void (__fastcall ***)(__int64, __int64))v72 + 43))((__int64)v72 + 344, 0x100000302LL);\n    (**((void (__fastcall ***)(__int64, __int64))v74 + 43))((__int64)v74 + 344, 0x100000302LL);\n    v79 = cocos2d::CCParticleSystemQuad::create(\"chestOpen.plist\", 0);\n    LOBYTE(v80) = 1;\n    (*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v79 + 1544LL))(v79, v80);\n    (*(void (__fastcall **)(_DWORD *, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v79, 4);\n    v81 = a1[150];\n    v82 = 255;\n    if ( v81 == 1 )\n    {\n      v83 = 255;\n      v84 = 50;\n      v85 = 255;\n      v86 = 0;\nLABEL_57:\n      v82 = 0;\n      goto LABEL_58;\n    }\n    v85 = 0;\n    v84 = 255;\n    if ( v81 == 3 )\n    {\n      v83 = 0;\n      v86 = 0;\n    }\n    else\n    {\n      v83 = 255;\n      v86 = 255;\n      if ( v81 == 4 )\n      {\n        v83 = 150;\n        v84 = 0;\n        goto LABEL_57;\n      }\n    }\nLABEL_58:\n    v98 = (float)v83 / 255.0;\n    v99 = 1.0;\n    Block = (float)v84 / 255.0;\n    Block_4 = 1065353216;\n    (*(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_QWORD *)v79 + 1352LL))(v79, &v98);\n    v98 = (float)v85 / 255.0;\n    v99 = (float)v86 / 255.0;\n    Block = (float)v82 / 255.0;\n    Block_4 = 1065353216;\n    (*(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_QWORD *)v79 + 1384LL))(v79, &v98);\n    (*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v79 + 160LL))(v79);\n    v87 = *(_QWORD *)v79;\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v98, 0.0, 0.0);\n    (*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v87 + 184))(v79, v88);\n    cocos2d::CCParticleSystem::resetSystem(v79);\n    sub_14003D310((__int64)v104);\n  }\n  sub_14003D310((__int64)v106);\n  if ( *((_QWORD *)&v103 + 1) > 0xFu )\n  {\n    v89 = Block_8[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v103 + 1) + 1LL) >= 0x1000 )\n    {\n      v89 = *((void **)Block_8[0] - 1);\n      if ( (unsigned __int64)((char *)Block_8[0] - (char *)v89 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v89);\n  }\n}", "assembly": "; \n; GJChestSprite::switchToState from 0x140567150 to 0x140567e04 (3252 bytes)\n; \n; 14 xrefs:\n; > GJNotificationCell::loadFromNotification @ 0x14015bb1f\n; > GJNotificationCell::loadFromNotification @ 0x14015be05\n; > GJNotificationCell::refreshChest @ 0x14015c626\n; > FollowRewardPage::init @ 0x14020cbf9\n; > FollowRewardPage::switchToOpenedState @ 0x14020ebc4\n; > RewardUnlockLayer::step2 @ 0x140564684\n; > RewardUnlockLayer::playRewardEffect @ 0x1405649b7\n; > GJChestSprite::create @ 0x140566fe4\n; > SecretRewardsLayer::generateChestItems @ 0x14056b8a0\n; > SecretRewardsLayer::switchToOpenedState @ 0x14056c98d\n; > SecretLayer3::init @ 0x140580a9a\n; > SecretLayer3::init @ 0x140580db3\n; > SecretLayer4::init @ 0x140586313\n; > <???> @ 0x14092c594\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:34:17 +0000\n; \nmov     rax, rsp                                                       ; +0x0, 0x140567150\nmov     [rax+18h], rbx                                                 ; +0x3, 0x140567153\npush    rbp                                                            ; +0x7, 0x140567157\npush    rsi                                                            ; +0x8, 0x140567158\npush    rdi                                                            ; +0x9, 0x140567159\npush    r12                                                            ; +0xa, 0x14056715a\npush    r13                                                            ; +0xc, 0x14056715c\npush    r14                                                            ; +0xe, 0x14056715e\npush    r15                                                            ; +0x10, 0x140567160\nlea     rbp, [rax-58h]                                                 ; +0x12, 0x140567162\nsub     rsp, 120h                                                      ; +0x16, 0x140567166\nmovaps  xmmword ptr [rax-48h], xmm6                                    ; +0x1d, 0x14056716d\nmovaps  xmmword ptr [rax-58h], xmm7                                    ; +0x21, 0x140567171\nmovaps  xmmword ptr [rax-68h], xmm8                                    ; +0x25, 0x140567175\nmovaps  xmmword ptr [rax-78h], xmm9                                    ; +0x2a, 0x14056717a\nmovaps  xmmword ptr [rax-88h], xmm10                                   ; +0x2f, 0x14056717f\nmov     rax, cs:__security_cookie                                      ; +0x37, 0x140567187\nxor     rax, rsp                                                       ; +0x3e, 0x14056718e\nmov     [rbp+50h+var_90], rax                                          ; +0x41, 0x140567191\nmovzx   edi, r8b                                                       ; +0x45, 0x140567195\nmov     ebx, edx                                                       ; +0x49, 0x140567199\nmov     r15, rcx                                                       ; +0x4b, 0x14056719b\ncmp     [rcx+25Ch], edx                                                ; +0x4e, 0x14056719e\njz      loc_140567D9D                                                  ; +0x54, 0x1405671a4\nmov     [rcx+25Ch], edx                                                ; +0x5a, 0x1405671aa\nmov     rax, [rcx]                                                     ; +0x60, 0x1405671b0\ncall    qword ptr [rax+238h]                                           ; +0x63, 0x1405671b3\nmov     edx, [r15+258h]                                                ; +0x69, 0x1405671b9\nmovss   xmm7, cs:flt_140835080                                         ; +0x70, 0x1405671c0\nmovss   xmm6, cs:dword_140834FE8                                       ; +0x78, 0x1405671c8\ncmp     edx, 1                                                         ; +0x80, 0x1405671d0\njnz     short loc_1405671DB                                            ; +0x83, 0x1405671d3\nmovaps  xmm8, xmm6                                                     ; +0x85, 0x1405671d5\njmp     short loc_1405671DF                                            ; +0x89, 0x1405671d9\nmovaps  xmm8, xmm7                                                     ; +0x8b, 0x1405671db\nsub     ebx, 2                                                         ; +0x8f, 0x1405671df\njz      loc_140567D5F                                                  ; +0x92, 0x1405671e2\nsub     ebx, 1                                                         ; +0x98, 0x1405671e8\njz      loc_1405679B9                                                  ; +0x9b, 0x1405671eb\ncmp     ebx, 1                                                         ; +0xa1, 0x1405671f1\njnz     loc_140567D9D                                                  ; +0xa4, 0x1405671f4\nmov     r8d, 4                                                         ; +0xaa, 0x1405671fa\nlea     rcx, aChest02d02d001; \"chest_%02d_%02d_001.png\"                ; +0xb0, 0x140567200\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xb7, 0x140567207\nmov     rcx, rax                                                       ; +0xbd, 0x14056720d\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xc0, 0x140567210\nxorps   xmm0, xmm0                                                     ; +0xc6, 0x140567216\nmovups  xmmword ptr [rsp+150h+Block+8], xmm0                           ; +0xc9, 0x140567219\nxorps   xmm1, xmm1                                                     ; +0xce, 0x14056721e\nmovdqu  [rsp+150h+var_E8+8], xmm1                                      ; +0xd1, 0x140567221\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0xd7, 0x140567227\nxchg    ax, ax                                                         ; +0xde, 0x14056722e\ninc     r8                                                             ; +0xe0, 0x140567230\ncmp     byte ptr [rax+r8], 0                                           ; +0xe3, 0x140567233\njnz     short loc_140567230                                            ; +0xe8, 0x140567238\nmov     rdx, rax                                                       ; +0xea, 0x14056723a\nlea     rcx, [rsp+150h+Block+8]                                        ; +0xed, 0x14056723d\ncall    sub_14003D230                                                  ; +0xf2, 0x140567242\nnop                                                                    ; +0xf7, 0x140567247\nlea     rcx, [rsp+150h+Block+8]                                        ; +0xf8, 0x140567248\ncmp     [rsp+150h+var_D8], 0Fh                                         ; +0xfd, 0x14056724d\ncmova   rcx, [rsp+150h+Block+8]                                        ; +0x103, 0x140567253\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x109, 0x140567259\nmov     rcx, [r15]                                                     ; +0x10f, 0x14056725f\nmov     r9, [rcx+1C8h]                                                 ; +0x112, 0x140567262\nmov     r8d, 4                                                         ; +0x119, 0x140567269\nmov     rdx, rax                                                       ; +0x11f, 0x14056726f\nmov     rcx, r15                                                       ; +0x122, 0x140567272\ncall    r9                                                             ; +0x125, 0x140567275\nlea     rdx, [rsp+150h+Block+8]                                        ; +0x128, 0x140567278\ncmp     [rsp+150h+var_D8], 0Fh                                         ; +0x12d, 0x14056727d\ncmova   rdx, [rsp+150h+Block+8]                                        ; +0x133, 0x140567283\nlea     r9, aBack001; \"_back_001\"                                      ; +0x139, 0x140567289\nlea     rcx, [rbp+50h+var_B0]                                          ; +0x140, 0x140567290\ncall    sub_140561800                                                  ; +0x144, 0x140567294\nnop                                                                    ; +0x149, 0x140567299\nlea     rcx, [rbp+50h+var_B0]                                          ; +0x14a, 0x14056729a\ncmp     [rbp+50h+var_98], 0Fh                                          ; +0x14e, 0x14056729e\ncmova   rcx, [rbp+50h+var_B0]                                          ; +0x153, 0x1405672a3\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x158, 0x1405672a8\nmov     rcx, [r15]                                                     ; +0x15e, 0x1405672ae\nmov     r9, [rcx+1C8h]                                                 ; +0x161, 0x1405672b1\nxor     r8d, r8d                                                       ; +0x168, 0x1405672b8\nmov     rdx, rax                                                       ; +0x16b, 0x1405672bb\nmov     rcx, r15                                                       ; +0x16e, 0x1405672be\ncall    r9                                                             ; +0x171, 0x1405672c1\ntest    dil, dil                                                       ; +0x174, 0x1405672c4\njnz     loc_1405679A0                                                  ; +0x177, 0x1405672c7\nlea     rdx, [rsp+150h+Block+8]                                        ; +0x17d, 0x1405672cd\ncmp     [rsp+150h+var_D8], 0Fh                                         ; +0x182, 0x1405672d2\ncmova   rdx, [rsp+150h+Block+8]                                        ; +0x188, 0x1405672d8\nlea     r9, aGlow001; \"_glow_001\"                                      ; +0x18e, 0x1405672de\nlea     rcx, [rbp+50h+var_D0]                                          ; +0x195, 0x1405672e5\ncall    sub_140561800                                                  ; +0x199, 0x1405672e9\nnop                                                                    ; +0x19e, 0x1405672ee\nlea     rcx, [rbp+50h+var_D0]                                          ; +0x19f, 0x1405672ef\ncmp     [rbp+50h+var_B8], 0Fh                                          ; +0x1a3, 0x1405672f3\ncmova   rcx, [rbp+50h+var_D0]                                          ; +0x1a8, 0x1405672f8\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x1ad, 0x1405672fd\nmov     rsi, rax                                                       ; +0x1b3, 0x140567303\nmov     rcx, [r15]                                                     ; +0x1b6, 0x140567306\nmov     r9, [rcx+1C8h]                                                 ; +0x1b9, 0x140567309\nmov     r8d, 1                                                         ; +0x1c0, 0x140567310\nmov     rdx, rax                                                       ; +0x1c6, 0x140567316\nmov     rcx, r15                                                       ; +0x1c9, 0x140567319\ncall    r9                                                             ; +0x1cc, 0x14056731c\nmov     dword ptr [rsp+150h+var_110], 302h                             ; +0x1cf, 0x14056731f\nmov     dword ptr [rsp+150h+var_110+4], 1                              ; +0x1d7, 0x140567327\nmov     rcx, [rsi+158h]                                                ; +0x1df, 0x14056732f\nmov     r8, [rcx]                                                      ; +0x1e6, 0x140567336\nmov     rbx, [rsp+150h+var_110]                                        ; +0x1e9, 0x140567339\nmov     rdx, rbx                                                       ; +0x1ee, 0x14056733e\nlea     rcx, [rsi+158h]                                                ; +0x1f1, 0x140567341\ncall    r8                                                             ; +0x1f8, 0x140567348\nmov     dl, 0AFh                                                       ; +0x1fb, 0x14056734b\nmovaps  xmm0, xmm7                                                     ; +0x1fd, 0x14056734d\ncall    cs:?create@CCFadeTo@cocos2d@@SAPEAV12@ME@Z; cocos2d::CCFadeTo::create(float,uchar) ; +0x200, 0x140567350\nmovss   xmm6, cs:width                                                 ; +0x206, 0x140567356\nmovaps  xmm1, xmm6                                                     ; +0x20e, 0x14056735e\nmov     rcx, rax                                                       ; +0x211, 0x140567361\ncall    cs:?create@CCEaseInOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseInOut::create(cocos2d::CCActionInterval *,float) ; +0x214, 0x140567364\nmov     rdi, rax                                                       ; +0x21a, 0x14056736a\nmov     dl, 0FFh                                                       ; +0x21d, 0x14056736d\nmovaps  xmm0, xmm7                                                     ; +0x21f, 0x14056736f\ncall    cs:?create@CCFadeTo@cocos2d@@SAPEAV12@ME@Z; cocos2d::CCFadeTo::create(float,uchar) ; +0x222, 0x140567372\nmovaps  xmm1, xmm6                                                     ; +0x228, 0x140567378\nmov     rcx, rax                                                       ; +0x22b, 0x14056737b\ncall    cs:?create@CCEaseInOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseInOut::create(cocos2d::CCActionInterval *,float) ; +0x22e, 0x14056737e\nxor     r8d, r8d                                                       ; +0x234, 0x140567384\nmov     rdx, rax                                                       ; +0x237, 0x140567387\nmov     rcx, rdi                                                       ; +0x23a, 0x14056738a\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x23d, 0x14056738d\nmov     rcx, rax                                                       ; +0x243, 0x140567393\ncall    cs:?create@CCRepeatForever@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@@Z; cocos2d::CCRepeatForever::create(cocos2d::CCActionInterval *) ; +0x246, 0x140567396\nmov     rdx, rax                                                       ; +0x24c, 0x14056739c\nmov     rcx, rsi                                                       ; +0x24f, 0x14056739f\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x252, 0x1405673a2\nmov     [rsp+150h+var_120], 9600h                                      ; +0x258, 0x1405673a8\nmov     [rsp+150h+var_11E], 0FFh                                       ; +0x25f, 0x1405673af\nmov     word ptr [rsp+150h+var_118], 9600h                             ; +0x264, 0x1405673b4\nmov     byte ptr [rsp+150h+var_118+2], 0FFh                            ; +0x26b, 0x1405673bb\nmov     [rsp+150h+var_11C], 4433h                                      ; +0x270, 0x1405673c0\nmov     [rsp+150h+var_11A], 99h                                        ; +0x277, 0x1405673c7\nmov     eax, [r15+258h]                                                ; +0x27c, 0x1405673cc\ndec     eax; switch 9 cases                                            ; +0x283, 0x1405673d3\nxor     r12d, r12d                                                     ; +0x285, 0x1405673d5\nmov     edi, 0FFh                                                      ; +0x288, 0x1405673d8\nmov     esi, edi                                                       ; +0x28d, 0x1405673dd\nmov     r13d, edi                                                      ; +0x28f, 0x1405673df\nmov     dword ptr [rsp+150h+var_110], r12d                             ; +0x292, 0x1405673e2\nxor     r14d, r14d                                                     ; +0x297, 0x1405673e7\ncmp     eax, 8                                                         ; +0x29a, 0x1405673ea\nja      def_14056740B; jumptable 000000014056740B default case         ; +0x29d, 0x1405673ed\nmov     dword ptr [rsp+150h+var_110], r12d                             ; +0x2a3, 0x1405673f3\ncdqe                                                                   ; +0x2a8, 0x1405673f8\nlea     rdx, cs:140000000h                                             ; +0x2aa, 0x1405673fa\nmov     ecx, ds:(jpt_14056740B - 140000000h)[rdx+rax*4]                ; +0x2b1, 0x140567401\nadd     rcx, rdx                                                       ; +0x2b8, 0x140567408\njmp     rcx; switch jump                                               ; +0x2bb, 0x14056740b\nmov     byte ptr [rsp+150h+var_120+1], 0C8h; jumptable 000000014056740B cases 2,5 ; +0x2bd, 0x14056740d\nmov     byte ptr [rsp+150h+var_118+1], 64h ; 'd'                       ; +0x2c2, 0x140567412\nmov     dword ptr [rsp+150h+var_110], r12d; jumptable 000000014056740B case 3 ; +0x2c7, 0x140567417\njmp     def_14056740B; jumptable 000000014056740B default case         ; +0x2cc, 0x14056741c\nmov     [rsp+150h+var_120+1], si; jumptable 000000014056740B case 4    ; +0x2d1, 0x140567421\nmov     word ptr [rsp+150h+var_118+1], 32FFh                           ; +0x2d6, 0x140567426\nmov     r12d, 96h                                                      ; +0x2dd, 0x14056742d\nxor     r13d, r13d                                                     ; +0x2e3, 0x140567433\nmov     dword ptr [rsp+150h+var_110], r13d                             ; +0x2e6, 0x140567436\nmov     r14d, edi                                                      ; +0x2eb, 0x14056743b\njmp     def_14056740B; jumptable 000000014056740B default case         ; +0x2ee, 0x14056743e\nmov     byte ptr [rsp+150h+var_120+1], 0C8h; jumptable 000000014056740B case 6 ; +0x2f3, 0x140567443\nmov     byte ptr [rsp+150h+var_118+1], 64h ; 'd'                       ; +0x2f8, 0x140567448\nmov     [rsp+150h+var_11C], 360Ah                                      ; +0x2fd, 0x14056744d\nmov     [rsp+150h+var_11A], 53h ; 'S'                                  ; +0x304, 0x140567454\nmov     dword ptr [rsp+150h+var_110], r12d                             ; +0x309, 0x140567459\njmp     def_14056740B; jumptable 000000014056740B default case         ; +0x30e, 0x14056745e\nmov     [rsp+150h+var_120+1], si; jumptable 000000014056740B case 7    ; +0x313, 0x140567463\nmov     word ptr [rsp+150h+var_118+1], 32FFh                           ; +0x318, 0x140567468\nmov     [rsp+150h+var_11C], 5129h                                      ; +0x31f, 0x14056746f\nmov     [rsp+150h+var_11A], 3Bh ; ';'                                  ; +0x326, 0x140567476\nmov     r12d, 96h                                                      ; +0x32b, 0x14056747b\nmov     dword ptr [rsp+150h+var_110], 64h ; 'd'                        ; +0x331, 0x140567481\nmov     r14d, edi                                                      ; +0x339, 0x140567489\njmp     short loc_1405674E1                                            ; +0x33c, 0x14056748c\nmov     [rsp+150h+var_120], si; jumptable 000000014056740B case 8      ; +0x33e, 0x14056748e\nmov     word ptr [rsp+150h+var_118], si                                ; +0x343, 0x140567493\nmov     [rsp+150h+var_11C], 1B3Ah                                      ; +0x348, 0x140567498\nmov     [rsp+150h+var_11A], 4Bh ; 'K'                                  ; +0x34f, 0x14056749f\nmov     r12d, edi                                                      ; +0x354, 0x1405674a4\nmov     esi, 96h                                                       ; +0x357, 0x1405674a7\nmov     dword ptr [rsp+150h+var_110], edi                              ; +0x35c, 0x1405674ac\njmp     short def_14056740B; jumptable 000000014056740B default case   ; +0x360, 0x1405674b0\nmov     [rsp+150h+var_11C], 1D27h; jumptable 000000014056740B case 9   ; +0x362, 0x1405674b2\nmov     [rsp+150h+var_11A], 2Ch ; ','                                  ; +0x369, 0x1405674b9\nmov     [rsp+150h+var_11E], r12b; jumptable 000000014056740B case 1    ; +0x36e, 0x1405674be\nmov     byte ptr [rsp+150h+var_118+2], r12b                            ; +0x373, 0x1405674c3\nmov     r14d, 64h ; 'd'                                                ; +0x378, 0x1405674c8\nmov     dword ptr [rsp+150h+var_110], edi                              ; +0x37e, 0x1405674ce\nmov     r12d, edi                                                      ; +0x382, 0x1405674d2\nmov     byte ptr [rsp+150h+var_118], sil                               ; +0x385, 0x1405674d5\nmov     [rsp+150h+var_120], 0C8FFh                                     ; +0x38a, 0x1405674da\nxor     r13d, r13d                                                     ; +0x391, 0x1405674e1\nlea     rcx, aShineburst001P; jumptable 000000014056740B default case  ; +0x394, 0x1405674e4\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x39b, 0x1405674eb\nmov     rdi, rax                                                       ; +0x3a1, 0x1405674f1\nmov     [rsp+150h+var_108], rax                                        ; +0x3a4, 0x1405674f4\nmov     rcx, [r15]                                                     ; +0x3a9, 0x1405674f9\nmov     r9, [rcx+1C8h]                                                 ; +0x3ac, 0x1405674fc\nmov     r8d, 1                                                         ; +0x3b3, 0x140567503\nmov     rdx, rax                                                       ; +0x3b9, 0x140567509\nmov     rcx, r15                                                       ; +0x3bc, 0x14056750c\ncall    r9                                                             ; +0x3bf, 0x14056750f\nmov     rcx, [rdi+158h]                                                ; +0x3c2, 0x140567512\nmov     r8, [rcx]                                                      ; +0x3c9, 0x140567519\nmov     rdx, rbx                                                       ; +0x3cc, 0x14056751c\nlea     rcx, [rdi+158h]                                                ; +0x3cf, 0x14056751f\ncall    r8                                                             ; +0x3d6, 0x140567526\nmov     rdi, [rdi]                                                     ; +0x3d9, 0x140567529\nmovss   xmm2, cs:dword_140835D68                                       ; +0x3dc, 0x14056752c\nxorps   xmm1, xmm1                                                     ; +0x3e4, 0x140567534\nlea     rcx, [rsp+150h+var_100]                                        ; +0x3e7, 0x140567537\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x3ec, 0x14056753c\nmov     rdx, rax                                                       ; +0x3f2, 0x140567542\nmov     rcx, [rsp+150h+var_108]                                        ; +0x3f5, 0x140567545\ncall    qword ptr [rdi+0B8h]                                           ; +0x3fa, 0x14056754a\nmovaps  xmm1, xmm8                                                     ; +0x400, 0x140567550\nmulss   xmm1, cs:dword_140835450                                       ; +0x404, 0x140567554\nmov     rdi, [rsp+150h+var_108]                                        ; +0x40c, 0x14056755c\nmov     rax, [rdi]                                                     ; +0x411, 0x140567561\nmov     rcx, rdi                                                       ; +0x414, 0x140567564\ncall    qword ptr [rax+0A0h]                                           ; +0x417, 0x140567567\nlea     rcx, [rdi+140h]                                                ; +0x41d, 0x14056756d\nmov     rax, [rcx]                                                     ; +0x424, 0x140567574\nlea     rdx, [rsp+150h+var_120]                                        ; +0x427, 0x140567577\ncall    qword ptr [rax]                                                ; +0x42c, 0x14056757c\ncall    cs:rand                                                        ; +0x42e, 0x14056757e\nmovd    xmm0, eax                                                      ; +0x434, 0x140567584\ncvtdq2ps xmm0, xmm0                                                    ; +0x438, 0x140567588\ndivss   xmm0, cs:dword_140835BDC                                       ; +0x43b, 0x14056758b\nmovss   xmm10, cs:dword_140834F20                                      ; +0x443, 0x140567593\ncomiss  xmm0, xmm10                                                    ; +0x44c, 0x14056759c\njbe     short loc_1405675A8                                            ; +0x450, 0x1405675a0\nmovaps  xmm9, xmm7                                                     ; +0x452, 0x1405675a2\njmp     short loc_1405675B1                                            ; +0x456, 0x1405675a6\nmovss   xmm9, cs:dword_140835C90                                       ; +0x458, 0x1405675a8\ncall    cs:rand                                                        ; +0x461, 0x1405675b1\nmovd    xmm1, eax                                                      ; +0x467, 0x1405675b7\ncvtdq2ps xmm1, xmm1                                                    ; +0x46b, 0x1405675bb\ndivss   xmm1, cs:dword_140835BDC                                       ; +0x46e, 0x1405675be\nmulss   xmm1, xmm10                                                    ; +0x476, 0x1405675c6\naddss   xmm1, xmm10                                                    ; +0x47b, 0x1405675cb\nmulss   xmm1, cs:dword_1408358B8                                       ; +0x480, 0x1405675d0\nmulss   xmm1, xmm9                                                     ; +0x488, 0x1405675d8\nmovaps  xmm0, xmm7                                                     ; +0x48d, 0x1405675dd\ncall    cs:?create@CCRotateBy@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCRotateBy::create(float,float) ; +0x490, 0x1405675e0\nmov     rcx, rax                                                       ; +0x496, 0x1405675e6\ncall    cs:?create@CCRepeatForever@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@@Z; cocos2d::CCRepeatForever::create(cocos2d::CCActionInterval *) ; +0x499, 0x1405675e9\nmov     rdx, rax                                                       ; +0x49f, 0x1405675ef\nmov     rcx, rdi                                                       ; +0x4a2, 0x1405675f2\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x4a5, 0x1405675f5\nlea     rcx, aShineburst001P; \"shineBurst_001.png\"                     ; +0x4ab, 0x1405675fb\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x4b2, 0x140567602\nmov     rdi, rax                                                       ; +0x4b8, 0x140567608\nmov     rcx, [r15]                                                     ; +0x4bb, 0x14056760b\nmov     r9, [rcx+1C8h]                                                 ; +0x4be, 0x14056760e\nmov     r8d, 1                                                         ; +0x4c5, 0x140567615\nmov     rdx, rax                                                       ; +0x4cb, 0x14056761b\nmov     rcx, r15                                                       ; +0x4ce, 0x14056761e\ncall    r9                                                             ; +0x4d1, 0x140567621\nmov     rcx, [rdi+158h]                                                ; +0x4d4, 0x140567624\nmov     r8, [rcx]                                                      ; +0x4db, 0x14056762b\nmov     rdx, rbx                                                       ; +0x4de, 0x14056762e\nlea     rcx, [rdi+158h]                                                ; +0x4e1, 0x140567631\ncall    r8                                                             ; +0x4e8, 0x140567638\nmov     rbx, [rdi]                                                     ; +0x4eb, 0x14056763b\nmovss   xmm2, cs:dword_140835D68                                       ; +0x4ee, 0x14056763e\nxorps   xmm1, xmm1                                                     ; +0x4f6, 0x140567646\nlea     rcx, [rsp+150h+var_100]                                        ; +0x4f9, 0x140567649\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x4fe, 0x14056764e\nmov     rdx, rax                                                       ; +0x504, 0x140567654\nmov     rcx, rdi                                                       ; +0x507, 0x140567657\ncall    qword ptr [rbx+0B8h]                                           ; +0x50a, 0x14056765a\nmovaps  xmm1, xmm8                                                     ; +0x510, 0x140567660\nmulss   xmm1, cs:dword_1408353E8                                       ; +0x514, 0x140567664\nmov     rax, [rdi]                                                     ; +0x51c, 0x14056766c\nmov     rcx, rdi                                                       ; +0x51f, 0x14056766f\ncall    qword ptr [rax+0A0h]                                           ; +0x522, 0x140567672\nlea     rcx, [rdi+140h]                                                ; +0x528, 0x140567678\nmov     rax, [rcx]                                                     ; +0x52f, 0x14056767f\nlea     rdx, [rsp+150h+var_118]                                        ; +0x532, 0x140567682\ncall    qword ptr [rax]                                                ; +0x537, 0x140567687\ncall    cs:rand                                                        ; +0x539, 0x140567689\nmovd    xmm1, eax                                                      ; +0x53f, 0x14056768f\ncvtdq2ps xmm1, xmm1                                                    ; +0x543, 0x140567693\ndivss   xmm1, cs:dword_140835BDC                                       ; +0x546, 0x140567696\nmulss   xmm1, xmm10                                                    ; +0x54e, 0x14056769e\naddss   xmm1, xmm10                                                    ; +0x553, 0x1405676a3\nmulss   xmm1, cs:dword_1408358B8                                       ; +0x558, 0x1405676a8\nxorps   xmm9, cs:xmmword_140836CC0                                     ; +0x560, 0x1405676b0\nmulss   xmm1, xmm9                                                     ; +0x568, 0x1405676b8\nmovaps  xmm0, xmm7                                                     ; +0x56d, 0x1405676bd\ncall    cs:?create@CCRotateBy@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCRotateBy::create(float,float) ; +0x570, 0x1405676c0\nmov     rcx, rax                                                       ; +0x576, 0x1405676c6\ncall    cs:?create@CCRepeatForever@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@@Z; cocos2d::CCRepeatForever::create(cocos2d::CCActionInterval *) ; +0x579, 0x1405676c9\nmov     rdx, rax                                                       ; +0x57f, 0x1405676cf\nmov     rcx, rdi                                                       ; +0x582, 0x1405676d2\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x585, 0x1405676d5\nxor     edx, edx                                                       ; +0x58b, 0x1405676db\nlea     rcx, aChestopenedPli; \"chestOpened.plist\"                      ; +0x58d, 0x1405676dd\ncall    cs:?create@CCParticleSystemQuad@cocos2d@@SAPEAV12@PEBD_N@Z; cocos2d::CCParticleSystemQuad::create(char const *,bool) ; +0x594, 0x1405676e4\nmov     rdi, rax                                                       ; +0x59a, 0x1405676ea\nmov     rcx, [rax]                                                     ; +0x59d, 0x1405676ed\nmov     r9, [rcx+608h]                                                 ; +0x5a0, 0x1405676f0\nmov     dl, 1                                                          ; +0x5a7, 0x1405676f7\nmov     rcx, rax                                                       ; +0x5a9, 0x1405676f9\ncall    r9                                                             ; +0x5ac, 0x1405676fc\nmov     rcx, [r15]                                                     ; +0x5af, 0x1405676ff\nmov     r9, [rcx+1C8h]                                                 ; +0x5b2, 0x140567702\nmov     r8d, 1                                                         ; +0x5b9, 0x140567709\nmov     rdx, rdi                                                       ; +0x5bf, 0x14056770f\nmov     rcx, r15                                                       ; +0x5c2, 0x140567712\ncall    r9                                                             ; +0x5c5, 0x140567715\nmov     rbx, [rdi]                                                     ; +0x5c8, 0x140567718\nxorps   xmm2, xmm2                                                     ; +0x5cb, 0x14056771b\nxorps   xmm1, xmm1                                                     ; +0x5ce, 0x14056771e\nlea     rcx, [rsp+150h+var_100]                                        ; +0x5d1, 0x140567721\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x5d6, 0x140567726\nmov     rdx, rax                                                       ; +0x5dc, 0x14056772c\nmov     rcx, rdi                                                       ; +0x5df, 0x14056772f\ncall    qword ptr [rbx+0B8h]                                           ; +0x5e2, 0x140567732\nmovd    xmm7, r13d                                                     ; +0x5e8, 0x140567738\ncvtdq2ps xmm7, xmm7                                                    ; +0x5ed, 0x14056773d\nmovss   xmm6, cs:dword_140835964                                       ; +0x5f0, 0x140567740\ndivss   xmm7, xmm6                                                     ; +0x5f8, 0x140567748\nmovd    xmm0, r12d                                                     ; +0x5fc, 0x14056774c\ncvtdq2ps xmm0, xmm0                                                    ; +0x601, 0x140567751\ndivss   xmm0, xmm6                                                     ; +0x604, 0x140567754\nmovss   [rsp+150h+var_100], xmm0                                       ; +0x608, 0x140567758\nmovd    xmm1, esi                                                      ; +0x60e, 0x14056775e\ncvtdq2ps xmm1, xmm1                                                    ; +0x612, 0x140567762\ndivss   xmm1, xmm6                                                     ; +0x615, 0x140567765\nmovss   [rsp+150h+var_FC], xmm1                                        ; +0x619, 0x140567769\nmovss   dword ptr [rsp+150h+Block], xmm7                               ; +0x61f, 0x14056776f\nmov     dword ptr [rsp+150h+Block+4], 3F800000h                        ; +0x625, 0x140567775\nmov     rax, [rdi]                                                     ; +0x62d, 0x14056777d\nlea     rdx, [rsp+150h+var_100]                                        ; +0x630, 0x140567780\nmov     rcx, rdi                                                       ; +0x635, 0x140567785\ncall    qword ptr [rax+548h]                                           ; +0x638, 0x140567788\nmovd    xmm0, dword ptr [rsp+150h+var_110]                             ; +0x63e, 0x14056778e\ncvtdq2ps xmm0, xmm0                                                    ; +0x644, 0x140567794\ndivss   xmm0, xmm6                                                     ; +0x647, 0x140567797\nmovss   [rsp+150h+var_100], xmm0                                       ; +0x64b, 0x14056779b\nmovd    xmm1, r14d                                                     ; +0x651, 0x1405677a1\ncvtdq2ps xmm1, xmm1                                                    ; +0x656, 0x1405677a6\ndivss   xmm1, xmm6                                                     ; +0x659, 0x1405677a9\nmovss   [rsp+150h+var_FC], xmm1                                        ; +0x65d, 0x1405677ad\nmovss   dword ptr [rsp+150h+Block], xmm7                               ; +0x663, 0x1405677b3\nmov     dword ptr [rsp+150h+Block+4], 3F800000h                        ; +0x669, 0x1405677b9\nmov     rax, [rdi]                                                     ; +0x671, 0x1405677c1\nlea     rdx, [rsp+150h+var_100]                                        ; +0x674, 0x1405677c4\nmov     rcx, rdi                                                       ; +0x679, 0x1405677c9\ncall    qword ptr [rax+568h]                                           ; +0x67c, 0x1405677cc\nmov     rax, [rdi]                                                     ; +0x682, 0x1405677d2\nmovaps  xmm1, xmm8                                                     ; +0x685, 0x1405677d5\nmov     rcx, rdi                                                       ; +0x689, 0x1405677d9\ncall    qword ptr [rax+0A0h]                                           ; +0x68c, 0x1405677dc\nmov     rcx, rdi                                                       ; +0x692, 0x1405677e2\ncall    cs:?resetSystem@CCParticleSystem@cocos2d@@QEAAXXZ; cocos2d::CCParticleSystem::resetSystem(void) ; +0x695, 0x1405677e5\nlea     rcx, aChestGlowBg001; \"chest_glow_bg_001.png\"                  ; +0x69b, 0x1405677eb\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x6a2, 0x1405677f2\nmov     rbx, rax                                                       ; +0x6a8, 0x1405677f8\nmov     rcx, [r15]                                                     ; +0x6ab, 0x1405677fb\nmov     r9, [rcx+1C8h]                                                 ; +0x6ae, 0x1405677fe\nmov     r8d, 2                                                         ; +0x6b5, 0x140567805\nmov     rdx, rax                                                       ; +0x6bb, 0x14056780b\nmov     rcx, r15                                                       ; +0x6be, 0x14056780e\ncall    r9                                                             ; +0x6c1, 0x140567811\nmov     rcx, [rbx]                                                     ; +0x6c4, 0x140567814\nmov     rdx, [rcx+0A0h]                                                ; +0x6c7, 0x140567817\nmovaps  xmm1, xmm8                                                     ; +0x6ce, 0x14056781e\nmov     rcx, rbx                                                       ; +0x6d2, 0x140567822\ncall    rdx                                                            ; +0x6d5, 0x140567825\nlea     rcx, [rbx+140h]                                                ; +0x6d7, 0x140567827\nmov     rax, [rcx]                                                     ; +0x6de, 0x14056782e\nlea     rdx, [rsp+150h+var_11C]                                        ; +0x6e1, 0x140567831\ncall    qword ptr [rax]                                                ; +0x6e6, 0x140567836\nlea     rcx, aChestGlowBg001; \"chest_glow_bg_001.png\"                  ; +0x6e8, 0x140567838\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x6ef, 0x14056783f\nmov     rbx, rax                                                       ; +0x6f5, 0x140567845\nmov     dl, 1                                                          ; +0x6f8, 0x140567848\nmov     rcx, rax                                                       ; +0x6fa, 0x14056784a\ncall    cs:?setFlipX@CCSprite@cocos2d@@QEAAX_N@Z; cocos2d::CCSprite::setFlipX(bool) ; +0x6fd, 0x14056784d\nmov     rcx, [r15]                                                     ; +0x703, 0x140567853\nmov     r9, [rcx+1C8h]                                                 ; +0x706, 0x140567856\nmov     r8d, 2                                                         ; +0x70d, 0x14056785d\nmov     rdx, rbx                                                       ; +0x713, 0x140567863\nmov     rcx, r15                                                       ; +0x716, 0x140567866\ncall    r9                                                             ; +0x719, 0x140567869\nmov     rcx, [rbx]                                                     ; +0x71c, 0x14056786c\nmov     rdx, [rcx+0A0h]                                                ; +0x71f, 0x14056786f\nmovaps  xmm1, xmm8                                                     ; +0x726, 0x140567876\nmov     rcx, rbx                                                       ; +0x72a, 0x14056787a\ncall    rdx                                                            ; +0x72d, 0x14056787d\nlea     rcx, [rbx+140h]                                                ; +0x72f, 0x14056787f\nmov     rax, [rcx]                                                     ; +0x736, 0x140567886\nlea     rdx, [rsp+150h+var_11C]                                        ; +0x739, 0x140567889\ncall    qword ptr [rax]                                                ; +0x73e, 0x14056788e\nlea     rcx, aWhitesquare600; \"whiteSquare60_001.png\"                  ; +0x740, 0x140567890\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x747, 0x140567897\nmov     rdi, rax                                                       ; +0x74d, 0x14056789d\nmov     rbx, [rax]                                                     ; +0x750, 0x1405678a0\nmovaps  xmm2, xmm8                                                     ; +0x753, 0x1405678a3\nmulss   xmm2, cs:dword_140835F00                                       ; +0x757, 0x1405678a7\nxorps   xmm1, xmm1                                                     ; +0x75f, 0x1405678af\nlea     rcx, [rsp+150h+var_100]                                        ; +0x762, 0x1405678b2\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x767, 0x1405678b7\nmov     rdx, rax                                                       ; +0x76d, 0x1405678bd\nmov     rcx, rdi                                                       ; +0x770, 0x1405678c0\ncall    qword ptr [rbx+0B8h]                                           ; +0x773, 0x1405678c3\nmovaps  xmm1, xmm8                                                     ; +0x779, 0x1405678c9\nmulss   xmm1, cs:dword_140835474                                       ; +0x77d, 0x1405678cd\nmov     rax, [rdi]                                                     ; +0x785, 0x1405678d5\nmov     rcx, rdi                                                       ; +0x788, 0x1405678d8\ncall    qword ptr [rax+78h]                                            ; +0x78b, 0x1405678db\nmovaps  xmm1, xmm8                                                     ; +0x78e, 0x1405678de\nmulss   xmm1, cs:dword_1408352EC                                       ; +0x792, 0x1405678e2\nmov     rax, [rdi]                                                     ; +0x79a, 0x1405678ea\nmov     rcx, rdi                                                       ; +0x79d, 0x1405678ed\ncall    qword ptr [rax+88h]                                            ; +0x7a0, 0x1405678f0\nlea     rcx, [rdi+140h]                                                ; +0x7a6, 0x1405678f6\nmov     rax, [rcx]                                                     ; +0x7ad, 0x1405678fd\nlea     rdx, [rsp+150h+var_11C]                                        ; +0x7b0, 0x140567900\ncall    qword ptr [rax]                                                ; +0x7b5, 0x140567905\nmov     rax, [r15]                                                     ; +0x7b7, 0x140567907\nmov     r8d, 2                                                         ; +0x7ba, 0x14056790a\nmov     rdx, rdi                                                       ; +0x7c0, 0x140567910\nmov     rcx, r15                                                       ; +0x7c3, 0x140567913\ncall    qword ptr [rax+1C8h]                                           ; +0x7c6, 0x140567916\nlea     rcx, aChestShadow001; \"chest_shadow_001.png\"                   ; +0x7cc, 0x14056791c\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x7d3, 0x140567923\nmov     rdi, rax                                                       ; +0x7d9, 0x140567929\nmov     rbx, [rax]                                                     ; +0x7dc, 0x14056792c\nmovaps  xmm2, xmm8                                                     ; +0x7df, 0x14056792f\nmulss   xmm2, cs:dword_140835EF0                                       ; +0x7e3, 0x140567933\nxorps   xmm1, xmm1                                                     ; +0x7eb, 0x14056793b\nlea     rcx, [rsp+150h+var_100]                                        ; +0x7ee, 0x14056793e\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x7f3, 0x140567943\nmov     rdx, rax                                                       ; +0x7f9, 0x140567949\nmov     rcx, rdi                                                       ; +0x7fc, 0x14056794c\ncall    qword ptr [rbx+0B8h]                                           ; +0x7ff, 0x14056794f\nmov     rdx, [r15]                                                     ; +0x805, 0x140567955\nmov     rax, [rdx+1C8h]                                                ; +0x808, 0x140567958\nmov     r8d, 3                                                         ; +0x80f, 0x14056795f\nmov     rdx, rdi                                                       ; +0x815, 0x140567965\nmov     rcx, r15                                                       ; +0x818, 0x140567968\ncall    rax                                                            ; +0x81b, 0x14056796b\nmulss   xmm8, cs:flt_14083504C                                         ; +0x81d, 0x14056796d\nmov     rax, [rdi]                                                     ; +0x826, 0x140567976\nmovaps  xmm1, xmm8                                                     ; +0x829, 0x140567979\nmov     rcx, rdi                                                       ; +0x82d, 0x14056797d\ncall    qword ptr [rax+0A0h]                                           ; +0x830, 0x140567980\nlea     rcx, [rdi+140h]                                                ; +0x836, 0x140567986\nmov     rax, [rcx]                                                     ; +0x83d, 0x14056798d\nmov     dl, 5Ah ; 'Z'                                                  ; +0x840, 0x140567990\ncall    qword ptr [rax+28h]                                            ; +0x842, 0x140567992\nnop                                                                    ; +0x845, 0x140567995\nlea     rcx, [rbp+50h+var_D0]                                          ; +0x846, 0x140567996\ncall    sub_14003D310                                                  ; +0x84a, 0x14056799a\nnop                                                                    ; +0x84f, 0x14056799f\nlea     rcx, [rbp+50h+var_B0]                                          ; +0x850, 0x1405679a0\ncall    sub_14003D310                                                  ; +0x854, 0x1405679a4\nnop                                                                    ; +0x859, 0x1405679a9\nlea     rcx, [rsp+150h+Block+8]                                        ; +0x85a, 0x1405679aa\ncall    sub_14003D310                                                  ; +0x85f, 0x1405679af\njmp     loc_140567D9D                                                  ; +0x864, 0x1405679b4\nmov     r8d, 3                                                         ; +0x869, 0x1405679b9\nlea     rcx, aChest02d02d001; \"chest_%02d_%02d_001.png\"                ; +0x86f, 0x1405679bf\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x876, 0x1405679c6\nmov     rcx, rax                                                       ; +0x87c, 0x1405679cc\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x87f, 0x1405679cf\nxorps   xmm0, xmm0                                                     ; +0x885, 0x1405679d5\nmovups  xmmword ptr [rsp+150h+Block+8], xmm0                           ; +0x888, 0x1405679d8\nxorps   xmm1, xmm1                                                     ; +0x88d, 0x1405679dd\nmovdqu  [rsp+150h+var_E8+8], xmm1                                      ; +0x890, 0x1405679e0\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x896, 0x1405679e6\nnop     dword ptr [rax]                                                ; +0x89d, 0x1405679ed\ninc     r8                                                             ; +0x8a0, 0x1405679f0\ncmp     byte ptr [rax+r8], 0                                           ; +0x8a3, 0x1405679f3\njnz     short loc_1405679F0                                            ; +0x8a8, 0x1405679f8\nmov     rdx, rax                                                       ; +0x8aa, 0x1405679fa\nlea     rcx, [rsp+150h+Block+8]                                        ; +0x8ad, 0x1405679fd\ncall    sub_14003D230                                                  ; +0x8b2, 0x140567a02\nnop                                                                    ; +0x8b7, 0x140567a07\nlea     rcx, [rsp+150h+Block+8]                                        ; +0x8b8, 0x140567a08\ncmp     [rsp+150h+var_D8], 0Fh                                         ; +0x8bd, 0x140567a0d\ncmova   rcx, [rsp+150h+Block+8]                                        ; +0x8c3, 0x140567a13\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x8c9, 0x140567a19\nmov     rcx, [r15]                                                     ; +0x8cf, 0x140567a1f\nmov     r9, [rcx+1C8h]                                                 ; +0x8d2, 0x140567a22\nmov     r8d, 3                                                         ; +0x8d9, 0x140567a29\nmov     rdx, rax                                                       ; +0x8df, 0x140567a2f\nmov     rcx, r15                                                       ; +0x8e2, 0x140567a32\ncall    r9                                                             ; +0x8e5, 0x140567a35\nlea     rdx, [rsp+150h+Block+8]                                        ; +0x8e8, 0x140567a38\ncmp     [rsp+150h+var_D8], 0Fh                                         ; +0x8ed, 0x140567a3d\ncmova   rdx, [rsp+150h+Block+8]                                        ; +0x8f3, 0x140567a43\nlea     r9, aBack001; \"_back_001\"                                      ; +0x8f9, 0x140567a49\nlea     rcx, [rbp+50h+var_B0]                                          ; +0x900, 0x140567a50\ncall    sub_140561800                                                  ; +0x904, 0x140567a54\nnop                                                                    ; +0x909, 0x140567a59\nlea     rcx, [rbp+50h+var_B0]                                          ; +0x90a, 0x140567a5a\ncmp     [rbp+50h+var_98], 0Fh                                          ; +0x90e, 0x140567a5e\ncmova   rcx, [rbp+50h+var_B0]                                          ; +0x913, 0x140567a63\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x918, 0x140567a68\nmov     rcx, [r15]                                                     ; +0x91e, 0x140567a6e\nmov     r9, [rcx+1C8h]                                                 ; +0x921, 0x140567a71\nxor     r8d, r8d                                                       ; +0x928, 0x140567a78\nmov     rdx, rax                                                       ; +0x92b, 0x140567a7b\nmov     rcx, r15                                                       ; +0x92e, 0x140567a7e\ncall    r9                                                             ; +0x931, 0x140567a81\ntest    dil, dil                                                       ; +0x934, 0x140567a84\njnz     loc_140567CFC                                                  ; +0x937, 0x140567a87\nlea     rdx, [rsp+150h+Block+8]                                        ; +0x93d, 0x140567a8d\ncmp     [rsp+150h+var_D8], 0Fh                                         ; +0x942, 0x140567a92\ncmova   rdx, [rsp+150h+Block+8]                                        ; +0x948, 0x140567a98\nlea     r9, aGlow001; \"_glow_001\"                                      ; +0x94e, 0x140567a9e\nlea     rcx, [rbp+50h+var_D0]                                          ; +0x955, 0x140567aa5\ncall    sub_140561800                                                  ; +0x959, 0x140567aa9\nnop                                                                    ; +0x95e, 0x140567aae\nlea     rcx, [rbp+50h+var_D0]                                          ; +0x95f, 0x140567aaf\ncmp     [rbp+50h+var_B8], 0Fh                                          ; +0x963, 0x140567ab3\ncmova   rcx, [rbp+50h+var_D0]                                          ; +0x968, 0x140567ab8\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x96d, 0x140567abd\nmov     r14, rax                                                       ; +0x973, 0x140567ac3\nmov     rcx, [r15]                                                     ; +0x976, 0x140567ac6\nmov     r9, [rcx+1C8h]                                                 ; +0x979, 0x140567ac9\nmov     r8d, 1                                                         ; +0x980, 0x140567ad0\nmov     rdx, rax                                                       ; +0x986, 0x140567ad6\nmov     rcx, r15                                                       ; +0x989, 0x140567ad9\ncall    r9                                                             ; +0x98c, 0x140567adc\nlea     rcx, [rbp+50h+var_D0]                                          ; +0x98f, 0x140567adf\ncmp     [rbp+50h+var_B8], 0Fh                                          ; +0x993, 0x140567ae3\ncmova   rcx, [rbp+50h+var_D0]                                          ; +0x998, 0x140567ae8\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x99d, 0x140567aed\nmov     rsi, rax                                                       ; +0x9a3, 0x140567af3\nmov     rcx, [r14]                                                     ; +0x9a6, 0x140567af6\nmov     r9, [rcx+1C8h]                                                 ; +0x9a9, 0x140567af9\nmov     r8d, 1                                                         ; +0x9b0, 0x140567b00\nmov     rdx, rax                                                       ; +0x9b6, 0x140567b06\nmov     rcx, r14                                                       ; +0x9b9, 0x140567b09\ncall    r9                                                             ; +0x9bc, 0x140567b0c\nmov     rcx, [r14]                                                     ; +0x9bf, 0x140567b0f\nmov     rdx, [rcx+140h]                                                ; +0x9c2, 0x140567b12\nmov     rcx, r14                                                       ; +0x9c9, 0x140567b19\ncall    rdx                                                            ; +0x9cc, 0x140567b1c\nmov     rbx, rax                                                       ; +0x9ce, 0x140567b1e\nmov     rdi, [rsi]                                                     ; +0x9d1, 0x140567b21\nmov     rcx, [r14]                                                     ; +0x9d4, 0x140567b24\nmov     rdx, [rcx+140h]                                                ; +0x9d7, 0x140567b27\nmov     rcx, r14                                                       ; +0x9de, 0x140567b2e\ncall    rdx                                                            ; +0x9e1, 0x140567b31\nmovss   xmm2, dword ptr [rax+4]                                        ; +0x9e3, 0x140567b33\nmulss   xmm2, cs:dword_140834F20                                       ; +0x9e8, 0x140567b38\nmovss   xmm1, dword ptr [rbx]                                          ; +0x9f0, 0x140567b40\nmulss   xmm1, cs:dword_140834F20                                       ; +0x9f4, 0x140567b44\nlea     rcx, [rsp+150h+var_100]                                        ; +0x9fc, 0x140567b4c\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xa01, 0x140567b51\nmov     rdx, rax                                                       ; +0xa07, 0x140567b57\nmov     rcx, rsi                                                       ; +0xa0a, 0x140567b5a\ncall    qword ptr [rdi+0B8h]                                           ; +0xa0d, 0x140567b5d\nmov     rax, [rsi]                                                     ; +0xa13, 0x140567b63\nmovaps  xmm1, xmm6                                                     ; +0xa16, 0x140567b66\nmov     rcx, rsi                                                       ; +0xa19, 0x140567b69\ncall    qword ptr [rax+78h]                                            ; +0xa1c, 0x140567b6c\nmov     dword ptr [rsp+150h+var_108], 302h                             ; +0xa1f, 0x140567b6f\nmov     dword ptr [rsp+150h+var_108+4], 1                              ; +0xa27, 0x140567b77\nlea     rcx, [r14+158h]                                                ; +0xa2f, 0x140567b7f\nmov     rax, [rcx]                                                     ; +0xa36, 0x140567b86\nmov     rdx, [rsp+150h+var_108]                                        ; +0xa39, 0x140567b89\ncall    qword ptr [rax]                                                ; +0xa3e, 0x140567b8e\nlea     rcx, [rsi+158h]                                                ; +0xa40, 0x140567b90\nmov     rax, [rcx]                                                     ; +0xa47, 0x140567b97\nmov     rdx, [rsp+150h+var_108]                                        ; +0xa4a, 0x140567b9a\ncall    qword ptr [rax]                                                ; +0xa4f, 0x140567b9f\nxor     edx, edx                                                       ; +0xa51, 0x140567ba1\nlea     rcx, aChestopenPlist; \"chestOpen.plist\"                        ; +0xa53, 0x140567ba3\ncall    cs:?create@CCParticleSystemQuad@cocos2d@@SAPEAV12@PEBD_N@Z; cocos2d::CCParticleSystemQuad::create(char const *,bool) ; +0xa5a, 0x140567baa\nmov     r14, rax                                                       ; +0xa60, 0x140567bb0\nmov     rcx, [rax]                                                     ; +0xa63, 0x140567bb3\nmov     r8, [rcx+608h]                                                 ; +0xa66, 0x140567bb6\nmov     dl, 1                                                          ; +0xa6d, 0x140567bbd\nmov     rcx, rax                                                       ; +0xa6f, 0x140567bbf\ncall    r8                                                             ; +0xa72, 0x140567bc2\nmov     rcx, [r15]                                                     ; +0xa75, 0x140567bc5\nmov     r9, [rcx+1C8h]                                                 ; +0xa78, 0x140567bc8\nmov     r8d, 4                                                         ; +0xa7f, 0x140567bcf\nmov     rdx, r14                                                       ; +0xa85, 0x140567bd5\nmov     rcx, r15                                                       ; +0xa88, 0x140567bd8\ncall    r9                                                             ; +0xa8b, 0x140567bdb\nmov     ecx, [r15+258h]                                                ; +0xa8e, 0x140567bde\nmov     edi, 0FFh                                                      ; +0xa95, 0x140567be5\ncmp     ecx, 1                                                         ; +0xa9a, 0x140567bea\njnz     short loc_140567BFD                                            ; +0xa9d, 0x140567bed\nmov     esi, edi                                                       ; +0xa9f, 0x140567bef\nmov     eax, 32h ; '2'                                                 ; +0xaa1, 0x140567bf1\nmov     ebx, edi                                                       ; +0xaa6, 0x140567bf6\nxor     r15d, r15d                                                     ; +0xaa8, 0x140567bf8\njmp     short loc_140567C1E                                            ; +0xaab, 0x140567bfb\nxor     ebx, ebx                                                       ; +0xaad, 0x140567bfd\nmov     eax, edi                                                       ; +0xaaf, 0x140567bff\ncmp     ecx, 3                                                         ; +0xab1, 0x140567c01\njnz     short loc_140567C0D                                            ; +0xab4, 0x140567c04\nxor     esi, esi                                                       ; +0xab6, 0x140567c06\nxor     r15d, r15d                                                     ; +0xab8, 0x140567c08\njmp     short loc_140567C20                                            ; +0xabb, 0x140567c0b\nmov     esi, edi                                                       ; +0xabd, 0x140567c0d\nmov     r15d, edi                                                      ; +0xabf, 0x140567c0f\ncmp     ecx, 4                                                         ; +0xac2, 0x140567c12\njnz     short loc_140567C20                                            ; +0xac5, 0x140567c15\nmov     esi, 96h                                                       ; +0xac7, 0x140567c17\nxor     eax, eax                                                       ; +0xacc, 0x140567c1c\nxor     edi, edi                                                       ; +0xace, 0x140567c1e\nmovd    xmm0, esi                                                      ; +0xad0, 0x140567c20\ncvtdq2ps xmm0, xmm0                                                    ; +0xad4, 0x140567c24\nmovss   xmm6, cs:dword_140835964                                       ; +0xad7, 0x140567c27\ndivss   xmm0, xmm6                                                     ; +0xadf, 0x140567c2f\nmovss   [rsp+150h+var_100], xmm0                                       ; +0xae3, 0x140567c33\nmov     [rsp+150h+var_FC], 3F800000h                                   ; +0xae9, 0x140567c39\nmovd    xmm0, eax                                                      ; +0xaf1, 0x140567c41\ncvtdq2ps xmm0, xmm0                                                    ; +0xaf5, 0x140567c45\ndivss   xmm0, xmm6                                                     ; +0xaf8, 0x140567c48\nmovss   dword ptr [rsp+150h+Block], xmm0                               ; +0xafc, 0x140567c4c\nmov     dword ptr [rsp+150h+Block+4], 3F800000h                        ; +0xb02, 0x140567c52\nmov     rax, [r14]                                                     ; +0xb0a, 0x140567c5a\nlea     rdx, [rsp+150h+var_100]                                        ; +0xb0d, 0x140567c5d\nmov     rcx, r14                                                       ; +0xb12, 0x140567c62\ncall    qword ptr [rax+548h]                                           ; +0xb15, 0x140567c65\nmovd    xmm0, ebx                                                      ; +0xb1b, 0x140567c6b\ncvtdq2ps xmm0, xmm0                                                    ; +0xb1f, 0x140567c6f\ndivss   xmm0, xmm6                                                     ; +0xb22, 0x140567c72\nmovss   [rsp+150h+var_100], xmm0                                       ; +0xb26, 0x140567c76\nmovd    xmm2, r15d                                                     ; +0xb2c, 0x140567c7c\ncvtdq2ps xmm2, xmm2                                                    ; +0xb31, 0x140567c81\ndivss   xmm2, xmm6                                                     ; +0xb34, 0x140567c84\nmovss   [rsp+150h+var_FC], xmm2                                        ; +0xb38, 0x140567c88\nmovd    xmm0, edi                                                      ; +0xb3e, 0x140567c8e\ncvtdq2ps xmm0, xmm0                                                    ; +0xb42, 0x140567c92\ndivss   xmm0, xmm6                                                     ; +0xb45, 0x140567c95\nmovss   dword ptr [rsp+150h+Block], xmm0                               ; +0xb49, 0x140567c99\nmov     dword ptr [rsp+150h+Block+4], 3F800000h                        ; +0xb4f, 0x140567c9f\nmov     rax, [r14]                                                     ; +0xb57, 0x140567ca7\nlea     rdx, [rsp+150h+var_100]                                        ; +0xb5a, 0x140567caa\nmov     rcx, r14                                                       ; +0xb5f, 0x140567caf\ncall    qword ptr [rax+568h]                                           ; +0xb62, 0x140567cb2\nmov     rax, [r14]                                                     ; +0xb68, 0x140567cb8\nmovaps  xmm1, xmm8                                                     ; +0xb6b, 0x140567cbb\nmov     rcx, r14                                                       ; +0xb6f, 0x140567cbf\ncall    qword ptr [rax+0A0h]                                           ; +0xb72, 0x140567cc2\nmov     rbx, [r14]                                                     ; +0xb78, 0x140567cc8\nxorps   xmm2, xmm2                                                     ; +0xb7b, 0x140567ccb\nxorps   xmm1, xmm1                                                     ; +0xb7e, 0x140567cce\nlea     rcx, [rsp+150h+var_100]                                        ; +0xb81, 0x140567cd1\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xb86, 0x140567cd6\nmov     rdx, rax                                                       ; +0xb8c, 0x140567cdc\nmov     rcx, r14                                                       ; +0xb8f, 0x140567cdf\ncall    qword ptr [rbx+0B8h]                                           ; +0xb92, 0x140567ce2\nmov     rcx, r14                                                       ; +0xb98, 0x140567ce8\ncall    cs:?resetSystem@CCParticleSystem@cocos2d@@QEAAXXZ; cocos2d::CCParticleSystem::resetSystem(void) ; +0xb9b, 0x140567ceb\nnop                                                                    ; +0xba1, 0x140567cf1\nlea     rcx, [rbp+50h+var_D0]                                          ; +0xba2, 0x140567cf2\ncall    sub_14003D310                                                  ; +0xba6, 0x140567cf6\nnop                                                                    ; +0xbab, 0x140567cfb\nlea     rcx, [rbp+50h+var_B0]                                          ; +0xbac, 0x140567cfc\ncall    sub_14003D310                                                  ; +0xbb0, 0x140567d00\nnop                                                                    ; +0xbb5, 0x140567d05\nmov     rdx, [rsp+150h+var_D8]                                         ; +0xbb6, 0x140567d06\ncmp     rdx, 0Fh                                                       ; +0xbbb, 0x140567d0b\njbe     loc_140567D9D                                                  ; +0xbbf, 0x140567d0f\ninc     rdx                                                            ; +0xbc5, 0x140567d15\nmov     rcx, [rsp+150h+Block+8]; Block                                 ; +0xbc8, 0x140567d18\nmov     rax, rcx                                                       ; +0xbcd, 0x140567d1d\ncmp     rdx, 1000h                                                     ; +0xbd0, 0x140567d20\njb      short loc_140567D58                                            ; +0xbd7, 0x140567d27\nadd     rdx, 27h ; '''                                                 ; +0xbd9, 0x140567d29\nmov     rcx, [rcx-8]                                                   ; +0xbdd, 0x140567d2d\nsub     rax, rcx                                                       ; +0xbe1, 0x140567d31\nsub     rax, 8                                                         ; +0xbe4, 0x140567d34\ncmp     rax, 1Fh                                                       ; +0xbe8, 0x140567d38\njbe     short loc_140567D58                                            ; +0xbec, 0x140567d3c\nmov     [rsp+150h+Reserved], 0; Reserved                               ; +0xbee, 0x140567d3e\nxor     r9d, r9d; LineNo                                               ; +0xbf7, 0x140567d47\nxor     r8d, r8d; FileName                                             ; +0xbfa, 0x140567d4a\nxor     edx, edx; FunctionName                                         ; +0xbfd, 0x140567d4d\nxor     ecx, ecx; Expression                                           ; +0xbff, 0x140567d4f\ncall    cs:_invoke_watson                                              ; +0xc01, 0x140567d51\nalign 8                                                                ; +0xc07, 0x140567d57\ncall    j_j_free                                                       ; +0xc08, 0x140567d58\njmp     short loc_140567D9D                                            ; +0xc0d, 0x140567d5d\nmov     r8d, 2                                                         ; +0xc0f, 0x140567d5f\nlea     rcx, aChest02d02d001; \"chest_%02d_%02d_001.png\"                ; +0xc15, 0x140567d65\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xc1c, 0x140567d6c\nmov     rcx, rax                                                       ; +0xc22, 0x140567d72\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xc25, 0x140567d75\nmov     rcx, rax                                                       ; +0xc2b, 0x140567d7b\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0xc2e, 0x140567d7e\nmov     rcx, [r15]                                                     ; +0xc34, 0x140567d84\nmov     r9, [rcx+1C8h]                                                 ; +0xc37, 0x140567d87\nmov     r8d, 3                                                         ; +0xc3e, 0x140567d8e\nmov     rdx, rax                                                       ; +0xc44, 0x140567d94\nmov     rcx, r15                                                       ; +0xc47, 0x140567d97\ncall    r9                                                             ; +0xc4a, 0x140567d9a\nmov     rcx, [rbp+50h+var_90]                                          ; +0xc4d, 0x140567d9d\nxor     rcx, rsp; StackCookie                                          ; +0xc51, 0x140567da1\ncall    __security_check_cookie                                        ; +0xc54, 0x140567da4\nlea     r11, [rsp+150h+var_30]                                         ; +0xc59, 0x140567da9\nmov     rbx, [r11+50h]                                                 ; +0xc61, 0x140567db1\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0xc65, 0x140567db5\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0xc6a, 0x140567dba\nmovaps  xmm8, xmmword ptr [r11-30h]                                    ; +0xc6f, 0x140567dbf\nmovaps  xmm9, xmmword ptr [r11-40h]                                    ; +0xc74, 0x140567dc4\nmovaps  xmm10, xmmword ptr [r11-50h]                                   ; +0xc79, 0x140567dc9\nmov     rsp, r11                                                       ; +0xc7e, 0x140567dce\npop     r15                                                            ; +0xc81, 0x140567dd1\npop     r14                                                            ; +0xc83, 0x140567dd3\npop     r13                                                            ; +0xc85, 0x140567dd5\npop     r12                                                            ; +0xc87, 0x140567dd7\npop     rdi                                                            ; +0xc89, 0x140567dd9\npop     rsi                                                            ; +0xc8a, 0x140567dda\npop     rbp                                                            ; +0xc8b, 0x140567ddb\nretn                                                                   ; +0xc8c, 0x140567ddc\nalign 20h                                                              ; +0xc8d, 0x140567ddd\ndd offset loc_1405674BE - 140000000h; jump table for switch statement  ; +0xc90, 0x140567de0", "xrefs": ["GJNotificationCell::loadFromNotification @ 0x14015bb1f", "GJNotificationCell::loadFromNotification @ 0x14015be05", "GJNotificationCell::refreshChest @ 0x14015c626", "FollowRewardPage::init @ 0x14020cbf9", "FollowRewardPage::switchToOpenedState @ 0x14020ebc4", "RewardUnlockLayer::step2 @ 0x140564684", "RewardUnlockLayer::playRewardEffect @ 0x1405649b7", "GJChestSprite::create @ 0x140566fe4", "SecretRewardsLayer::generateChestItems @ 0x14056b8a0", "SecretRewardsLayer::switchToOpenedState @ 0x14056c98d", "SecretLayer3::init @ 0x140580a9a", "SecretLayer3::init @ 0x140580db3", "SecretLayer4::init @ 0x140586313", "<???> @ 0x14092c594"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}