{"type": "func", "start": 5370900096, "end": 5370901727, "name": "GJBaseGameLayer::playExitDualEffect", "pseudocode": "// \n// GJBaseGameLayer::playExitDualEffect from 0x140216e80 to 0x1402174df (1631 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::toggleDualMode @ 0x140216bac\n// > PlayLayer::destroyPlayer @ 0x1403b3cda\n// > <???> @ 0x1406cd194\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=7\nvoid GJBaseGameLayer::playExitDualEffect(GJBaseGameLayer *a1, PlayerObject *a2)\n{\n  float v2; // xmm3_4\n  __int64 v5; // rax\n  SimplePlayer *v6; // rsi\n  __int64 v7; // rax\n  int v8; // edx\n  IconType v9; // r8d\n  __int64 v10; // rax\n  __int64 v11; // rax\n  __int64 v12; // rax\n  __int64 v13; // rax\n  __int64 v14; // rax\n  SimplePlayer_vtbl *v15; // rbx\n  SimplePlayer_vtbl *v16; // rbx\n  int v17; // r12d\n  SimplePlayer_vtbl *v18; // rbx\n  float v19; // xmm0_4\n  cocos2d::CCRGBAProtocol_vtbl *v20; // rdi\n  const cocos2d::ccColor3B *v21; // rax\n  const cocos2d::ccColor3B *v22; // rax\n  struct cocos2d::CCFadeOut *v23; // r13\n  __int64 v24; // rax\n  struct cocos2d::CCMoveTo *v25; // r12\n  float v26; // xmm7_4\n  float v27; // xmm8_4\n  struct cocos2d::CCScaleTo *v28; // rbx\n  struct cocos2d::CCRotateBy *v29; // rdi\n  __int64 v30; // rax\n  struct cocos2d::CCSequence *v31; // rbx\n  cocos2d::ccColor3B *v32; // r8\n  cocos2d::ccColor3B *v33; // r8\n  cocos2d::ccColor3B *v34; // r8\n  cocos2d::ccColor3B *v35; // r8\n  cocos2d::CCNode *v36; // r14\n  cocos2d::CCObject *v37; // rcx\n  cocos2d::CCNode_vtbl *v38; // rbx\n  __int64 v39; // rax\n  float v40; // [rsp+20h] [rbp-58h]\n  float v41; // [rsp+20h] [rbp-58h]\n  float v42; // [rsp+20h] [rbp-58h]\n  float v43; // [rsp+20h] [rbp-58h]\n  struct cocos2d::CCPoint v44; // [rsp+C0h] [rbp+48h] BYREF\n  cocos2d::CCPoint v45; // [rsp+C8h] [rbp+50h] BYREF\n  char v46; // [rsp+D0h] [rbp+58h] BYREF\n\n  v5 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v44 = (struct cocos2d::CCPoint)operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(*(_QWORD *)&v44);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v5 = qword_1406C2ED8;\n  }\n  v6 = SimplePlayer::create(*(_DWORD *)(v5 + 708) - *(_DWORD *)(v5 + 712));\n  if ( a2->m_isBall )\n  {\n    v7 = qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v44 = (struct cocos2d::CCPoint)operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00(*(_QWORD *)&v44);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v7 = qword_1406C2ED8;\n    }\n    v8 = *(_DWORD *)(v7 + 732) - *(_DWORD *)(v7 + 736);\n    v9 = Ball;\n  }\n  else if ( a2->m_isShip )\n  {\n    v10 = qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v44 = (struct cocos2d::CCPoint)operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00(*(_QWORD *)&v44);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v10 = qword_1406C2ED8;\n    }\n    v8 = *(_DWORD *)(v10 + 720) - *(_DWORD *)(v10 + 724);\n    v9 = Ship;\n  }\n  else if ( a2->m_isBird )\n  {\n    v11 = qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v44 = (struct cocos2d::CCPoint)operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00(*(_QWORD *)&v44);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v11 = qword_1406C2ED8;\n    }\n    v8 = *(_DWORD *)(v11 + 744) - *(_DWORD *)(v11 + 748);\n    v9 = Ufo;\n  }\n  else if ( a2->m_isDart )\n  {\n    v12 = qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v44 = (struct cocos2d::CCPoint)operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00(*(_QWORD *)&v44);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v12 = qword_1406C2ED8;\n    }\n    v8 = *(_DWORD *)(v12 + 756) - *(_DWORD *)(v12 + 760);\n    v9 = Wave;\n  }\n  else if ( a2->m_isRobot )\n  {\n    v13 = qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v44 = (struct cocos2d::CCPoint)operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00(*(_QWORD *)&v44);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v13 = qword_1406C2ED8;\n    }\n    v8 = *(_DWORD *)(v13 + 768) - *(_DWORD *)(v13 + 772);\n    v9 = Robot;\n  }\n  else\n  {\n    if ( !a2->m_isSpider )\n      goto LABEL_28;\n    v14 = qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v44 = (struct cocos2d::CCPoint)operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00(*(_QWORD *)&v44);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v14 = qword_1406C2ED8;\n    }\n    v8 = *(_DWORD *)(v14 + 780) - *(_DWORD *)(v14 + 784);\n    v9 = Spider;\n  }\n  SimplePlayer::updatePlayerFrame(v6, v8, v9);\nLABEL_28:\n  v15 = v6->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  a2->getScaleX(a2);\n  ((void (__fastcall *)(SimplePlayer *))v15->setScaleX)(v6);\n  v16 = v6->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  a2->getScaleY(a2);\n  ((void (__fastcall *)(SimplePlayer *))v16->setScaleY)(v6);\n  a2->getPosition_0(a2);\n  cocos2d::CCPoint::CCPoint(&v45);\n  a2->getRotation(a2);\n  v17 = 1;\n  if ( a1->m_gameState.m_unkBool10 )\n  {\n    v17 = -1;\n    v18 = v6->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v6->getScaleX(v6);\n    v19 = ((float (__fastcall *)(SimplePlayer *))v18->setScaleX)(v6);\n    cocos2d::CCPoint::CCPoint(v19, 150.0);\n    cocos2d::CCPoint::operator+(&v45, &v44);\n    cocos2d::CCPoint::operator=(&v45, &v44);\n  }\n  a1->addChild_0(a1, v6, 100);\n  v20 = v6->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable;\n  v21 = a2->getColor(&a2->cocos2d::CCRGBAProtocol);\n  v20->setColor(&v6->cocos2d::CCRGBAProtocol, v21);\n  v22 = a2->m_iconSpriteSecondary->getColor(&a2->m_iconSpriteSecondary->cocos2d::CCRGBAProtocol);\n  LOWORD(v44.x) = *(_WORD *)&v22->r;\n  BYTE2(v44.x) = v22->b;\n  v6->m_secondLayer->setColor(&v6->m_secondLayer->cocos2d::CCRGBAProtocol, (const cocos2d::ccColor3B *)&v44);\n  SimplePlayer::updateColors(v6);\n  SimplePlayer::updateColors(v6);\n  cocos2d::CCPoint::operator-(&v45, &v46, &a1->m_gameState.m_cameraPosition);\n  cocos2d::CCPoint::operator*(&v46, &v44);\n  v6->setPosition_0(v6, &v44);\n  ((void (__fastcall *)(SimplePlayer *))v6->setRotation)(v6);\n  v23 = cocos2d::CCFadeOut::create(0.40000001);\n  cocos2d::CCPoint::CCPoint(0.40000001, (float)v17 * -124.63203);\n  v24 = (__int64)v6->getPosition_0(v6);\n  cocos2d::CCPoint::operator+(v24, &v44);\n  v25 = cocos2d::CCMoveTo::create(0.40000001, &v44);\n  v26 = 0.1;\n  if ( v6->getScaleY(v6) <= 0.0 )\n    v27 = -0.1;\n  else\n    v27 = 0.1;\n  if ( v6->getScaleX(v6) <= 0.0 )\n    v26 = -0.1;\n  v28 = cocos2d::CCScaleTo::create(0.40000001, v26, v27);\n  v29 = cocos2d::CCRotateBy::create(0.40000001, 180.0);\n  v30 = cocos2d::CCCallFunc::create(v6, sub_14003BE70);\n  v31 = cocos2d::CCSequence::create(v28, v30, 0);\n  cocos2d::CCNode::runAction((CCLightFlash *)v6, (cocos2d::CCPoint)v23, v32, v2, v40);\n  cocos2d::CCNode::runAction((CCLightFlash *)v6, (cocos2d::CCPoint)v25, v33, v2, v41);\n  cocos2d::CCNode::runAction((CCLightFlash *)v6, (cocos2d::CCPoint)v31, v34, v2, v42);\n  cocos2d::CCNode::runAction((CCLightFlash *)v6, (cocos2d::CCPoint)v29, v35, v2, v43);\n  LOWORD(v31) = *(_WORD *)&a2->m_playerColor1.r;\n  LOBYTE(v29) = a2->m_playerColor1.b;\n  v36 = CCCircleWave::create(10.0, 30.0, 0.40000001, 0, 1);\n  LOWORD(v36[1].m_uReference) = (_WORD)v31;\n  BYTE2(v36[1].m_uReference) = (_BYTE)v29;\n  v36->setPosition_0(v36, (const cocos2d::CCPoint *)&v46);\n  a1->addChild_0(a1, v36, 0);\n  v36[1].m_uIndexInArray = 1;\n  v37 = (cocos2d::CCObject *)v36[1].__vftable;\n  if ( v37 )\n    cocos2d::CCObject::release(v37);\n  v36[1].__vftable = (cocos2d::CCNode_vtbl *)v6;\n  cocos2d::CCObject::retain(v6);\n  cocos2d::CCNode::unschedule(v36, CCCircleWave::updatePosition);\n  cocos2d::CCNode::schedule(v36, CCCircleWave::updatePosition);\n  v38 = v36->__vftable;\n  v39 = (*((__int64 (__fastcall **)(cocos2d::CCNode_vtbl *))v36[1].copyWithZone + 25))(v36[1].__vftable);\n  v38->setPosition_0(v36, (const cocos2d::CCPoint *)v39);\n}", "assembly": "; \n; GJBaseGameLayer::playExitDualEffect from 0x140216e80 to 0x1402174df (1631 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::toggleDualMode @ 0x140216bac\n; > PlayLayer::destroyPlayer @ 0x1403b3cda\n; > <???> @ 0x1406cd194\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\npush    rbp                                                            ; +0x0, 0x140216e80\npush    rbx                                                            ; +0x2, 0x140216e82\npush    rsi                                                            ; +0x3, 0x140216e83\npush    rdi                                                            ; +0x4, 0x140216e84\npush    r12                                                            ; +0x5, 0x140216e85\npush    r13                                                            ; +0x7, 0x140216e87\npush    r14                                                            ; +0x9, 0x140216e89\npush    r15                                                            ; +0xb, 0x140216e8b\nmov     rbp, rsp                                                       ; +0xd, 0x140216e8d\nsub     rsp, 78h                                                       ; +0x10, 0x140216e90\nmovaps  [rsp+78h+var_18], xmm6                                         ; +0x14, 0x140216e94\nmovaps  [rsp+78h+var_28], xmm7                                         ; +0x19, 0x140216e99\nmovaps  [rsp+78h+var_38], xmm8                                         ; +0x1e, 0x140216e9e\nmovaps  [rsp+78h+var_48], xmm10                                        ; +0x24, 0x140216ea4\nmov     r14, rdx                                                       ; +0x2a, 0x140216eaa\nmov     r15, rcx                                                       ; +0x2d, 0x140216ead\nmov     rax, cs:qword_1406C2ED8                                        ; +0x30, 0x140216eb0\ntest    rax, rax                                                       ; +0x37, 0x140216eb7\njnz     short loc_140216EEA                                            ; +0x3a, 0x140216eba\nmov     ecx, 668h; Size                                                ; +0x3c, 0x140216ebc\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x41, 0x140216ec1\nmov     [rbp+arg_0], rax                                               ; +0x46, 0x140216ec6\nmov     rcx, rax                                                       ; +0x4a, 0x140216eca\ncall    sub_14017AB00                                                  ; +0x4d, 0x140216ecd\nnop                                                                    ; +0x52, 0x140216ed2\nmov     cs:qword_1406C2ED8, rax                                        ; +0x53, 0x140216ed3\nmov     rdx, [rax]                                                     ; +0x5a, 0x140216eda\nmov     rcx, rax                                                       ; +0x5d, 0x140216edd\ncall    qword ptr [rdx+48h]                                            ; +0x60, 0x140216ee0\nmov     rax, cs:qword_1406C2ED8                                        ; +0x63, 0x140216ee3\nmov     ecx, [rax+2C4h]                                                ; +0x6a, 0x140216eea\nsub     ecx, [rax+2C8h]                                                ; +0x70, 0x140216ef0\ncall    SimplePlayer__create                                           ; +0x76, 0x140216ef6\nmov     rsi, rax                                                       ; +0x7b, 0x140216efb\ncmp     byte ptr [r14+9BBh], 0                                         ; +0x7e, 0x140216efe\njz      short loc_140216F59                                            ; +0x86, 0x140216f06\nmov     rax, cs:qword_1406C2ED8                                        ; +0x88, 0x140216f08\ntest    rax, rax                                                       ; +0x8f, 0x140216f0f\njnz     short loc_140216F42                                            ; +0x92, 0x140216f12\nmov     ecx, 668h; Size                                                ; +0x94, 0x140216f14\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x99, 0x140216f19\nmov     [rbp+arg_0], rax                                               ; +0x9e, 0x140216f1e\nmov     rcx, rax                                                       ; +0xa2, 0x140216f22\ncall    sub_14017AB00                                                  ; +0xa5, 0x140216f25\nnop                                                                    ; +0xaa, 0x140216f2a\nmov     cs:qword_1406C2ED8, rax                                        ; +0xab, 0x140216f2b\nmov     rdx, [rax]                                                     ; +0xb2, 0x140216f32\nmov     rcx, rax                                                       ; +0xb5, 0x140216f35\ncall    qword ptr [rdx+48h]                                            ; +0xb8, 0x140216f38\nmov     rax, cs:qword_1406C2ED8                                        ; +0xbb, 0x140216f3b\nmov     edx, [rax+2DCh]                                                ; +0xc2, 0x140216f42\nsub     edx, [rax+2E0h]                                                ; +0xc8, 0x140216f48\nmov     r8d, 2                                                         ; +0xce, 0x140216f4e\njmp     loc_140217118                                                  ; +0xd4, 0x140216f54\ncmp     byte ptr [r14+9B9h], 0                                         ; +0xd9, 0x140216f59\njz      short loc_140216FB4                                            ; +0xe1, 0x140216f61\nmov     rax, cs:qword_1406C2ED8                                        ; +0xe3, 0x140216f63\ntest    rax, rax                                                       ; +0xea, 0x140216f6a\njnz     short loc_140216F9D                                            ; +0xed, 0x140216f6d\nmov     ecx, 668h; Size                                                ; +0xef, 0x140216f6f\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xf4, 0x140216f74\nmov     [rbp+arg_0], rax                                               ; +0xf9, 0x140216f79\nmov     rcx, rax                                                       ; +0xfd, 0x140216f7d\ncall    sub_14017AB00                                                  ; +0x100, 0x140216f80\nnop                                                                    ; +0x105, 0x140216f85\nmov     cs:qword_1406C2ED8, rax                                        ; +0x106, 0x140216f86\nmov     rdx, [rax]                                                     ; +0x10d, 0x140216f8d\nmov     rcx, rax                                                       ; +0x110, 0x140216f90\ncall    qword ptr [rdx+48h]                                            ; +0x113, 0x140216f93\nmov     rax, cs:qword_1406C2ED8                                        ; +0x116, 0x140216f96\nmov     edx, [rax+2D0h]                                                ; +0x11d, 0x140216f9d\nsub     edx, [rax+2D4h]                                                ; +0x123, 0x140216fa3\nmov     r8d, 1                                                         ; +0x129, 0x140216fa9\njmp     loc_140217118                                                  ; +0x12f, 0x140216faf\ncmp     byte ptr [r14+9BAh], 0                                         ; +0x134, 0x140216fb4\njz      short loc_14021700F                                            ; +0x13c, 0x140216fbc\nmov     rax, cs:qword_1406C2ED8                                        ; +0x13e, 0x140216fbe\ntest    rax, rax                                                       ; +0x145, 0x140216fc5\njnz     short loc_140216FF8                                            ; +0x148, 0x140216fc8\nmov     ecx, 668h; Size                                                ; +0x14a, 0x140216fca\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x14f, 0x140216fcf\nmov     [rbp+arg_0], rax                                               ; +0x154, 0x140216fd4\nmov     rcx, rax                                                       ; +0x158, 0x140216fd8\ncall    sub_14017AB00                                                  ; +0x15b, 0x140216fdb\nnop                                                                    ; +0x160, 0x140216fe0\nmov     cs:qword_1406C2ED8, rax                                        ; +0x161, 0x140216fe1\nmov     rdx, [rax]                                                     ; +0x168, 0x140216fe8\nmov     rcx, rax                                                       ; +0x16b, 0x140216feb\ncall    qword ptr [rdx+48h]                                            ; +0x16e, 0x140216fee\nmov     rax, cs:qword_1406C2ED8                                        ; +0x171, 0x140216ff1\nmov     edx, [rax+2E8h]                                                ; +0x178, 0x140216ff8\nsub     edx, [rax+2ECh]                                                ; +0x17e, 0x140216ffe\nmov     r8d, 3                                                         ; +0x184, 0x140217004\njmp     loc_140217118                                                  ; +0x18a, 0x14021700a\ncmp     byte ptr [r14+9BCh], 0                                         ; +0x18f, 0x14021700f\njz      short loc_14021706A                                            ; +0x197, 0x140217017\nmov     rax, cs:qword_1406C2ED8                                        ; +0x199, 0x140217019\ntest    rax, rax                                                       ; +0x1a0, 0x140217020\njnz     short loc_140217053                                            ; +0x1a3, 0x140217023\nmov     ecx, 668h; Size                                                ; +0x1a5, 0x140217025\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1aa, 0x14021702a\nmov     [rbp+arg_0], rax                                               ; +0x1af, 0x14021702f\nmov     rcx, rax                                                       ; +0x1b3, 0x140217033\ncall    sub_14017AB00                                                  ; +0x1b6, 0x140217036\nnop                                                                    ; +0x1bb, 0x14021703b\nmov     cs:qword_1406C2ED8, rax                                        ; +0x1bc, 0x14021703c\nmov     rdx, [rax]                                                     ; +0x1c3, 0x140217043\nmov     rcx, rax                                                       ; +0x1c6, 0x140217046\ncall    qword ptr [rdx+48h]                                            ; +0x1c9, 0x140217049\nmov     rax, cs:qword_1406C2ED8                                        ; +0x1cc, 0x14021704c\nmov     edx, [rax+2F4h]                                                ; +0x1d3, 0x140217053\nsub     edx, [rax+2F8h]                                                ; +0x1d9, 0x140217059\nmov     r8d, 4                                                         ; +0x1df, 0x14021705f\njmp     loc_140217118                                                  ; +0x1e5, 0x140217065\ncmp     byte ptr [r14+9BDh], 0                                         ; +0x1ea, 0x14021706a\njz      short loc_1402170C2                                            ; +0x1f2, 0x140217072\nmov     rax, cs:qword_1406C2ED8                                        ; +0x1f4, 0x140217074\ntest    rax, rax                                                       ; +0x1fb, 0x14021707b\njnz     short loc_1402170AE                                            ; +0x1fe, 0x14021707e\nmov     ecx, 668h; Size                                                ; +0x200, 0x140217080\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x205, 0x140217085\nmov     [rbp+arg_0], rax                                               ; +0x20a, 0x14021708a\nmov     rcx, rax                                                       ; +0x20e, 0x14021708e\ncall    sub_14017AB00                                                  ; +0x211, 0x140217091\nnop                                                                    ; +0x216, 0x140217096\nmov     cs:qword_1406C2ED8, rax                                        ; +0x217, 0x140217097\nmov     rdx, [rax]                                                     ; +0x21e, 0x14021709e\nmov     rcx, rax                                                       ; +0x221, 0x1402170a1\ncall    qword ptr [rdx+48h]                                            ; +0x224, 0x1402170a4\nmov     rax, cs:qword_1406C2ED8                                        ; +0x227, 0x1402170a7\nmov     edx, [rax+300h]                                                ; +0x22e, 0x1402170ae\nsub     edx, [rax+304h]                                                ; +0x234, 0x1402170b4\nmov     r8d, 5                                                         ; +0x23a, 0x1402170ba\njmp     short loc_140217118                                            ; +0x240, 0x1402170c0\ncmp     byte ptr [r14+9BEh], 0                                         ; +0x242, 0x1402170c2\njz      short loc_140217120                                            ; +0x24a, 0x1402170ca\nmov     rax, cs:qword_1406C2ED8                                        ; +0x24c, 0x1402170cc\ntest    rax, rax                                                       ; +0x253, 0x1402170d3\njnz     short loc_140217106                                            ; +0x256, 0x1402170d6\nmov     ecx, 668h; Size                                                ; +0x258, 0x1402170d8\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x25d, 0x1402170dd\nmov     [rbp+arg_0], rax                                               ; +0x262, 0x1402170e2\nmov     rcx, rax                                                       ; +0x266, 0x1402170e6\ncall    sub_14017AB00                                                  ; +0x269, 0x1402170e9\nnop                                                                    ; +0x26e, 0x1402170ee\nmov     cs:qword_1406C2ED8, rax                                        ; +0x26f, 0x1402170ef\nmov     rdx, [rax]                                                     ; +0x276, 0x1402170f6\nmov     rcx, rax                                                       ; +0x279, 0x1402170f9\ncall    qword ptr [rdx+48h]                                            ; +0x27c, 0x1402170fc\nmov     rax, cs:qword_1406C2ED8                                        ; +0x27f, 0x1402170ff\nmov     edx, [rax+30Ch]                                                ; +0x286, 0x140217106\nsub     edx, [rax+310h]                                                ; +0x28c, 0x14021710c\nmov     r8d, 6                                                         ; +0x292, 0x140217112\nmov     rcx, rsi                                                       ; +0x298, 0x140217118\ncall    SimplePlayer__updatePlayerFrame                                ; +0x29b, 0x14021711b\nmov     rbx, [rsi]                                                     ; +0x2a0, 0x140217120\nmov     rax, [r14]                                                     ; +0x2a3, 0x140217123\nmov     rcx, r14                                                       ; +0x2a6, 0x140217126\ncall    qword ptr [rax+80h]                                            ; +0x2a9, 0x140217129\nmulss   xmm0, dword ptr [r15+1A8h]                                     ; +0x2af, 0x14021712f\nmovaps  xmm1, xmm0                                                     ; +0x2b8, 0x140217138\nmov     rcx, rsi                                                       ; +0x2bb, 0x14021713b\ncall    qword ptr [rbx+78h]                                            ; +0x2be, 0x14021713e\nmov     rbx, [rsi]                                                     ; +0x2c1, 0x140217141\nmov     rax, [r14]                                                     ; +0x2c4, 0x140217144\nmov     rcx, r14                                                       ; +0x2c7, 0x140217147\ncall    qword ptr [rax+90h]                                            ; +0x2ca, 0x14021714a\nmulss   xmm0, dword ptr [r15+1A8h]                                     ; +0x2d0, 0x140217150\nmovaps  xmm1, xmm0                                                     ; +0x2d9, 0x140217159\nmov     rcx, rsi                                                       ; +0x2dc, 0x14021715c\ncall    qword ptr [rbx+88h]                                            ; +0x2df, 0x14021715f\nmov     rax, [r14]                                                     ; +0x2e5, 0x140217165\nmov     rcx, r14                                                       ; +0x2e8, 0x140217168\ncall    qword ptr [rax+0C8h]                                           ; +0x2eb, 0x14021716b\nmov     rdx, rax                                                       ; +0x2f1, 0x140217171\nlea     rcx, [rbp+arg_8]                                               ; +0x2f4, 0x140217174\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x2f8, 0x140217178\nmov     rax, [r14]                                                     ; +0x2fe, 0x14021717e\nmov     rcx, r14                                                       ; +0x301, 0x140217181\ncall    qword ptr [rax+158h]                                           ; +0x304, 0x140217184\nmovaps  xmm7, xmm0                                                     ; +0x30a, 0x14021718a\nmov     r12d, 1                                                        ; +0x30d, 0x14021718d\nxorps   xmm6, xmm6                                                     ; +0x313, 0x140217193\ncmp     byte ptr [r15+418h], 0                                         ; +0x316, 0x140217196\njz      short loc_1402171FE                                            ; +0x31e, 0x14021719e\nmov     r12d, 0FFFFFFFFh                                               ; +0x320, 0x1402171a0\nmulss   xmm7, cs:dword_1406236F0                                       ; +0x326, 0x1402171a6\nmov     rbx, [rsi]                                                     ; +0x32e, 0x1402171ae\nmov     rcx, rsi                                                       ; +0x331, 0x1402171b1\ncall    qword ptr [rbx+80h]                                            ; +0x334, 0x1402171b4\nxorps   xmm0, cs:xmmword_1406243F0                                     ; +0x33a, 0x1402171ba\nmovaps  xmm1, xmm0                                                     ; +0x341, 0x1402171c1\nmov     rcx, rsi                                                       ; +0x344, 0x1402171c4\ncall    qword ptr [rbx+78h]                                            ; +0x347, 0x1402171c7\nxorps   xmm2, xmm2                                                     ; +0x34a, 0x1402171ca\nmovss   xmm1, cs:dword_140623358                                       ; +0x34d, 0x1402171cd\nlea     rcx, [rbp+arg_18]                                              ; +0x355, 0x1402171d5\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x359, 0x1402171d9\nmov     r8, rax                                                        ; +0x35f, 0x1402171df\nlea     rdx, [rbp+arg_0]                                               ; +0x362, 0x1402171e2\nlea     rcx, [rbp+arg_8]                                               ; +0x366, 0x1402171e6\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x36a, 0x1402171ea\nlea     rdx, [rbp+arg_0]                                               ; +0x370, 0x1402171f0\nlea     rcx, [rbp+arg_8]                                               ; +0x374, 0x1402171f4\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x378, 0x1402171f8\nmov     rax, [r15]                                                     ; +0x37e, 0x1402171fe\nmov     r8d, 64h ; 'd'                                                 ; +0x381, 0x140217201\nmov     rdx, rsi                                                       ; +0x387, 0x140217207\nmov     rcx, r15                                                       ; +0x38a, 0x14021720a\ncall    qword ptr [rax+1B8h]                                           ; +0x38d, 0x14021720d\nmov     rdi, [rsi+140h]                                                ; +0x393, 0x140217213\nlea     rcx, [r14+140h]                                                ; +0x39a, 0x14021721a\nmov     rax, [rcx]                                                     ; +0x3a1, 0x140217221\ncall    qword ptr [rax+8]                                              ; +0x3a4, 0x140217224\nmov     rdx, rax                                                       ; +0x3a7, 0x140217227\nlea     rcx, [rsi+140h]                                                ; +0x3aa, 0x14021722a\ncall    qword ptr [rdi]                                                ; +0x3b1, 0x140217231\nmov     rcx, [r14+740h]                                                ; +0x3b3, 0x140217233\nadd     rcx, 140h                                                      ; +0x3ba, 0x14021723a\nmov     rax, [rcx]                                                     ; +0x3c1, 0x140217241\ncall    qword ptr [rax+8]                                              ; +0x3c4, 0x140217244\nmovzx   ecx, word ptr [rax]                                            ; +0x3c7, 0x140217247\nmov     word ptr [rbp+arg_0], cx                                       ; +0x3ca, 0x14021724a\nmovzx   eax, byte ptr [rax+2]                                          ; +0x3ce, 0x14021724e\nmov     byte ptr [rbp+arg_0+2], al                                     ; +0x3d2, 0x140217252\nmov     rcx, [rsi+260h]                                                ; +0x3d5, 0x140217255\nadd     rcx, 140h                                                      ; +0x3dc, 0x14021725c\nmov     rax, [rcx]                                                     ; +0x3e3, 0x140217263\nlea     rdx, [rbp+arg_0]                                               ; +0x3e6, 0x140217266\ncall    qword ptr [rax]                                                ; +0x3ea, 0x14021726a\nmov     rcx, rsi                                                       ; +0x3ec, 0x14021726c\ncall    SimplePlayer__updateColors                                     ; +0x3ef, 0x14021726f\nmov     rcx, rsi                                                       ; +0x3f4, 0x140217274\ncall    SimplePlayer__updateColors                                     ; +0x3f7, 0x140217277\nlea     r8, [r15+410h]                                                 ; +0x3fc, 0x14021727c\nlea     rdx, [rbp+arg_10]                                              ; +0x403, 0x140217283\nlea     rcx, [rbp+arg_8]                                               ; +0x407, 0x140217287\ncall    cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x40b, 0x14021728b\nmovss   xmm2, dword ptr [r15+1A8h]                                     ; +0x411, 0x140217291\nlea     rdx, [rbp+arg_0]                                               ; +0x41a, 0x14021729a\nlea     rcx, [rbp+arg_10]                                              ; +0x41e, 0x14021729e\ncall    cs:??DCCPoint@cocos2d@@QEBA?AV01@M@Z; cocos2d::CCPoint::operator*(float) ; +0x422, 0x1402172a2\nmov     rax, [rsi]                                                     ; +0x428, 0x1402172a8\nlea     rdx, [rbp+arg_0]                                               ; +0x42b, 0x1402172ab\nmov     rcx, rsi                                                       ; +0x42f, 0x1402172af\ncall    qword ptr [rax+0B8h]                                           ; +0x432, 0x1402172b2\nmov     rax, [rsi]                                                     ; +0x438, 0x1402172b8\nmovaps  xmm1, xmm7                                                     ; +0x43b, 0x1402172bb\nmov     rcx, rsi                                                       ; +0x43e, 0x1402172be\ncall    qword ptr [rax+150h]                                           ; +0x441, 0x1402172c1\nmovss   xmm10, cs:dword_140622AD0                                      ; +0x447, 0x1402172c7\nmovaps  xmm0, xmm10                                                    ; +0x450, 0x1402172d0\ncall    cs:?create@CCFadeOut@cocos2d@@SAPEAV12@M@Z; cocos2d::CCFadeOut::create(float) ; +0x454, 0x1402172d4\nmov     r13, rax                                                       ; +0x45a, 0x1402172da\nmovd    xmm1, r12d                                                     ; +0x45d, 0x1402172dd\ncvtdq2ps xmm1, xmm1                                                    ; +0x462, 0x1402172e2\nmulss   xmm1, cs:dword_140623A20                                       ; +0x465, 0x1402172e5\nxorps   xmm2, xmm2                                                     ; +0x46d, 0x1402172ed\nlea     rcx, [rbp+arg_18]                                              ; +0x470, 0x1402172f0\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x474, 0x1402172f4\nmov     rbx, rax                                                       ; +0x47a, 0x1402172fa\nmov     rdx, [rsi]                                                     ; +0x47d, 0x1402172fd\nmov     rcx, rsi                                                       ; +0x480, 0x140217300\ncall    qword ptr [rdx+0C8h]                                           ; +0x483, 0x140217303\nmov     r8, rbx                                                        ; +0x489, 0x140217309\nlea     rdx, [rbp+arg_0]                                               ; +0x48c, 0x14021730c\nmov     rcx, rax                                                       ; +0x490, 0x140217310\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x493, 0x140217313\nlea     rdx, [rbp+arg_0]                                               ; +0x499, 0x140217319\nmovaps  xmm0, xmm10                                                    ; +0x49d, 0x14021731d\ncall    cs:?create@CCMoveTo@cocos2d@@SAPEAV12@MAEBVCCPoint@2@@Z; cocos2d::CCMoveTo::create(float,cocos2d::CCPoint const &) ; +0x4a1, 0x140217321\nmov     r12, rax                                                       ; +0x4a7, 0x140217327\nmov     rdx, [rsi]                                                     ; +0x4aa, 0x14021732a\nmov     rcx, rsi                                                       ; +0x4ad, 0x14021732d\ncall    qword ptr [rdx+90h]                                            ; +0x4b0, 0x140217330\nmovss   xmm7, cs:dword_140622A10                                       ; +0x4b6, 0x140217336\ncomiss  xmm0, xmm6                                                     ; +0x4be, 0x14021733e\njbe     short loc_140217349                                            ; +0x4c1, 0x140217341\nmovaps  xmm8, xmm7                                                     ; +0x4c3, 0x140217343\njmp     short loc_140217352                                            ; +0x4c7, 0x140217347\nmovss   xmm8, cs:dword_1406236C0                                       ; +0x4c9, 0x140217349\nmov     rax, [rsi]                                                     ; +0x4d2, 0x140217352\nmov     rcx, rsi                                                       ; +0x4d5, 0x140217355\ncall    qword ptr [rax+80h]                                            ; +0x4d8, 0x140217358\ncomiss  xmm0, xmm6                                                     ; +0x4de, 0x14021735e\nja      short loc_14021736B                                            ; +0x4e1, 0x140217361\nmovss   xmm7, cs:dword_1406236C0                                       ; +0x4e3, 0x140217363\nmovaps  xmm2, xmm8                                                     ; +0x4eb, 0x14021736b\nmovaps  xmm1, xmm7                                                     ; +0x4ef, 0x14021736f\nmovaps  xmm0, xmm10                                                    ; +0x4f2, 0x140217372\ncall    cs:?create@CCScaleTo@cocos2d@@SAPEAV12@MMM@Z; cocos2d::CCScaleTo::create(float,float,float) ; +0x4f6, 0x140217376\nmov     rbx, rax                                                       ; +0x4fc, 0x14021737c\nmovss   xmm1, cs:dword_1406233A4                                       ; +0x4ff, 0x14021737f\nmovaps  xmm0, xmm10                                                    ; +0x507, 0x140217387\ncall    cs:?create@CCRotateBy@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCRotateBy::create(float,float) ; +0x50b, 0x14021738b\nmov     rdi, rax                                                       ; +0x511, 0x140217391\nlea     rdx, sub_14003BE70                                             ; +0x514, 0x140217394\nmov     rcx, rsi                                                       ; +0x51b, 0x14021739b\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x51e, 0x14021739e\nxor     r8d, r8d                                                       ; +0x524, 0x1402173a4\nmov     rdx, rax                                                       ; +0x527, 0x1402173a7\nmov     rcx, rbx                                                       ; +0x52a, 0x1402173aa\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x52d, 0x1402173ad\nmov     rbx, rax                                                       ; +0x533, 0x1402173b3\nmov     rdx, r13                                                       ; +0x536, 0x1402173b6\nmov     rcx, rsi                                                       ; +0x539, 0x1402173b9\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x53c, 0x1402173bc\nmov     rdx, r12                                                       ; +0x542, 0x1402173c2\nmov     rcx, rsi                                                       ; +0x545, 0x1402173c5\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x548, 0x1402173c8\nmov     rdx, rbx                                                       ; +0x54e, 0x1402173ce\nmov     rcx, rsi                                                       ; +0x551, 0x1402173d1\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x554, 0x1402173d4\nmov     rdx, rdi                                                       ; +0x55a, 0x1402173da\nmov     rcx, rsi                                                       ; +0x55d, 0x1402173dd\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x560, 0x1402173e0\nmovzx   ebx, word ptr [r14+0A8Ah]                                      ; +0x566, 0x1402173e6\nmovzx   edi, byte ptr [r14+0A8Ch]                                      ; +0x56e, 0x1402173ee\nmov     byte ptr [rsp+78h+var_58], 1                                   ; +0x576, 0x1402173f6\nxor     r9d, r9d                                                       ; +0x57b, 0x1402173fb\nmovaps  xmm2, xmm10                                                    ; +0x57e, 0x1402173fe\nmovss   xmm1, cs:dword_140623164                                       ; +0x582, 0x140217402\nmovss   xmm0, cs:flt_14062307C                                         ; +0x58a, 0x14021740a\ncall    CCCircleWave__create                                           ; +0x592, 0x140217412\nmov     r14, rax                                                       ; +0x597, 0x140217417\nmov     [rax+154h], bx                                                 ; +0x59a, 0x14021741a\nmov     [rax+156h], dil                                                ; +0x5a1, 0x140217421\nmov     r8, [rax]                                                      ; +0x5a8, 0x140217428\nlea     rdx, [rbp+arg_10]                                              ; +0x5ab, 0x14021742b\nmov     rcx, rax                                                       ; +0x5af, 0x14021742f\ncall    qword ptr [r8+0B8h]                                            ; +0x5b2, 0x140217432\nmov     r9, [r15]                                                      ; +0x5b9, 0x140217439\nxor     r8d, r8d                                                       ; +0x5bc, 0x14021743c\nmov     rdx, r14                                                       ; +0x5bf, 0x14021743f\nmov     rcx, r15                                                       ; +0x5c2, 0x140217442\ncall    qword ptr [r9+1B8h]                                            ; +0x5c5, 0x140217445\nmov     dword ptr [r14+160h], 1                                        ; +0x5cc, 0x14021744c\nmov     rcx, [r14+140h]                                                ; +0x5d7, 0x140217457\ntest    rcx, rcx                                                       ; +0x5de, 0x14021745e\njz      short loc_140217469                                            ; +0x5e1, 0x140217461\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x5e3, 0x140217463\nmov     [r14+140h], rsi                                                ; +0x5e9, 0x140217469\nmov     rcx, rsi                                                       ; +0x5f0, 0x140217470\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x5f3, 0x140217473\nlea     rdx, CCCircleWave__updatePosition                              ; +0x5f9, 0x140217479\nmov     rcx, r14                                                       ; +0x600, 0x140217480\ncall    cs:?unschedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x603, 0x140217483\nlea     rdx, CCCircleWave__updatePosition                              ; +0x609, 0x140217489\nmov     rcx, r14                                                       ; +0x610, 0x140217490\ncall    cs:?schedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::schedule(void (cocos2d::CCObject::*)(float)) ; +0x613, 0x140217493\nmov     rbx, [r14]                                                     ; +0x619, 0x140217499\nmov     rcx, [r14+140h]                                                ; +0x61c, 0x14021749c\nmov     rax, [rcx]                                                     ; +0x623, 0x1402174a3\ncall    qword ptr [rax+0C8h]                                           ; +0x626, 0x1402174a6\nmov     rdx, rax                                                       ; +0x62c, 0x1402174ac\nmov     rcx, r14                                                       ; +0x62f, 0x1402174af\ncall    qword ptr [rbx+0B8h]                                           ; +0x632, 0x1402174b2\nmovaps  xmm6, [rsp+78h+var_18]                                         ; +0x638, 0x1402174b8\nmovaps  xmm7, [rsp+78h+var_28]                                         ; +0x63d, 0x1402174bd\nmovaps  xmm8, [rsp+78h+var_38]                                         ; +0x642, 0x1402174c2\nmovaps  xmm10, [rsp+78h+var_48]                                        ; +0x648, 0x1402174c8\nadd     rsp, 78h                                                       ; +0x64e, 0x1402174ce\npop     r15                                                            ; +0x652, 0x1402174d2\npop     r14                                                            ; +0x654, 0x1402174d4\npop     r13                                                            ; +0x656, 0x1402174d6\npop     r12                                                            ; +0x658, 0x1402174d8\npop     rdi                                                            ; +0x65a, 0x1402174da\npop     rsi                                                            ; +0x65b, 0x1402174db\npop     rbx                                                            ; +0x65c, 0x1402174dc\npop     rbp                                                            ; +0x65d, 0x1402174dd\nretn                                                                   ; +0x65e, 0x1402174de", "xrefs": ["GJBaseGameLayer::toggleDualMode @ 0x140216bac", "PlayLayer::destroyPlayer @ 0x1403b3cda", "<???> @ 0x1406cd194"], "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"}