//
// PlayerObject::ringJump from 0x1404f6f50 to 0x1404f7f94 (4164 bytes)
//
// 5 xrefs:
// > GJBaseGameLayer::playerTouchedRing @ 0x14031f68e
// > PlayerObject::pushButton @ 0x1404f640e
// > PlayerObject::pushButton @ 0x1404f6462
// > PlayerObject::pushButton @ 0x1404f647e
// > ??> @ 0x14092a230
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:33:21 +0000
//
// Hidden C++ exception states: #wind=25
void __fastcall PlayerObject::ringJump(__int64 a1, __int64 a2, char a3)
{
int v5; // edx
unsigned __int64 v6; // r8
__int64 v7; // r9
__int64 v8; // rcx
char v9; // r12
int v10; // r15d
int v11; // eax
int v12; // r14d
bool v13; // bl
__int64 v14; // rcx
int v15; // eax
__int64 v16; // rcx
unsigned int v17; // eax
__int64 v18; // rcx
char isFacingLeft; // al
__int64 v20; // rdx
char v21; // cl
char isFacingDown; // al
__int64 v23; // rcx
unsigned int v24; // edx
__int64 v25; // rdx
char v26; // bl
__int64 v27; // rcx
__int64 v28; // rcx
__int64 v29; // rax
__int64 v30; // rcx
char v31; // al
int v32; // eax
float v33; // xmm9_4
float v34; // xmm6_4
__int64 v35; // rdx
char v36; // bl
__int64 v37; // rcx
__int64 v38; // rcx
__int64 v39; // rax
__int64 v40; // rcx
char v41; // al
int v42; // ecx
__int64 v43; // rax
double v44; // xmm0_8
__int64 v45; // rdx
char v46; // bl
__int64 v47; // rcx
__int64 v48; // rcx
__int64 v49; // rax
__int64 v50; // rcx
char v51; // al
__int64 v52; // rbx
__int64 v53; // rbx
cocos2d::CCNode *v54; // rcx
cocos2d::CCNode *v55; // rcx
char v56; // dl
int v57; // ecx
int v58; // eax
float v59; // xmm0_4
__int64 v60; // rax
char v61; // r14
__int16 v62; // bx
__int64 v63; // rcx
char *ColorSprite; // rax
__int64 v65; // rcx
__int64 v66; // rcx
__int64 v67; // rax
__int64 v68; // rdx
__int64 v69; // rcx
__int64 v70; // r8
cocos2d::CCObject *v71; // r15
__int64 v72; // rbx
__int64 v73; // rax
cocos2d::CCObject *v74; // rcx
__int64 v75; // rbx
__int64 v76; // rax
__int64 v77; // rdx
__int64 v78; // rax
__int64 v79; // rcx
__int128 v80; // [rsp+30h] [rbp-50h] BYREF
__int64 v81; // [rsp+40h] [rbp-40h]
__int64 v82; // [rsp+48h] [rbp-38h]
void *v83; // [rsp+C0h] [rbp+40h]
void *v84; // [rsp+C0h] [rbp+40h]
void *v85; // [rsp+C0h] [rbp+40h]
void *v86; // [rsp+C0h] [rbp+40h]
void *v87; // [rsp+C0h] [rbp+40h]
void *v88; // [rsp+C0h] [rbp+40h]
void *v89; // [rsp+C0h] [rbp+40h]
void *v90; // [rsp+C0h] [rbp+40h]
void *v91; // [rsp+C0h] [rbp+40h]
void *v92; // [rsp+C0h] [rbp+40h]
void *v93; // [rsp+C0h] [rbp+40h]
void *v94; // [rsp+C0h] [rbp+40h]
int v95; // [rsp+D0h] [rbp+50h] BYREF
LOBYTE(v95) = a3;
if ( *(_BYTE *)(a1 + 2504) || !a2 )
return;
v5 = *(_DWORD *)(a2 + 924);
v6 = *(_QWORD *)(a1 + 2176)
& (0x100000001B3LL
* (HIBYTE(v5)
^ (0x100000001B3LL
* (BYTE2(v5)
^ (0x100000001B3LL * (BYTE1(v5) ^ (0x100000001B3LL * ((unsigned __int8)v5 ^ 0xCBF29CE484222325uLL))))))));
v7 = *(_QWORD *)(a1 + 2152);
v8 = *(_QWORD *)(v7 + 16 * v6 + 8);
if ( v8 == *(_QWORD *)(a1 + 2136) )
goto LABEL_8;
if ( v5 != *(_DWORD *)(v8 + 16) )
{
while ( v8 != *(_QWORD *)(v7 + 16 * v6) )
{
v8 = *(_QWORD *)(v8 + 8);
if ( v5 == *(_DWORD *)(v8 + 16) )
goto LABEL_9;
}
LABEL_8:
v8 = 0;
}
LABEL_9:
if ( v8 )
return;
v9 = *(_BYTE *)(a2 + 1052);
v10 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2);
v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2);
v12 = v11;
v13 = v10 != 36 && v11 != 46;
if ( !*(_BYTE *)(a1 + 2450)
|| *(_BYTE *)(a1 + 2540)
|| !*(_BYTE *)(a1 + 2449)
|| (*(_BYTE *)(a1 + 2451) || !v13) && (*(_BYTE *)(a1 + 2452) || v10 != 36) && (*(_BYTE *)(a1 + 2453) || v11 != 46) )
{
return;
}
if ( *(_BYTE *)(a2 + 1796) )
PlayerObject::reversePlayer(a1, a2);
*(_BYTE *)(a1 + 2120) = 1;
v95 = *(_DWORD *)(a2 + 924);
sub_140068190(a1 + 2128, (__int64)&v80, (unsigned __int8 *)&v95);
v14 = *(_QWORD *)(a1 + 3112);
if ( v14 )
{
GJBaseGameLayer::gameEventTriggered(v14, 8u, 0, *(_DWORD *)(a1 + 924));
v15 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2);
v17 = GJBaseGameLayer::objectTypeToGameEvent(v16, v15);
v18 = *(_QWORD *)(a1 + 3112);
if ( v18 )
GJBaseGameLayer::gameEventTriggered(v18, v17, 0, *(_DWORD *)(a1 + 924));
}
if ( v10 == 36 )
{
*(_BYTE *)(a1 + 2452) = 1;
}
else if ( v12 == 46 )
{
*(_BYTE *)(a1 + 2453) = 1;
}
else
{
*(_BYTE *)(a1 + 2451) = 1;
}
cocos2d::CCArray::removeObject(*(cocos2d::CCArray **)(a1 + 2624), (struct cocos2d::CCObject *)a2, 1);
if ( v13 )
*(_BYTE *)(a1 + 2024) = 1;
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2) == 36 )
{
sub_140325950(*(_QWORD *)(a1 + 3112), a2);
if ( *(_BYTE *)(a1 + 3149) )
*(_BYTE *)(a1 + 2446) = 0;
goto LABEL_172;
}
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2) != 46 )
{
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2) == 43 )
{
if ( !*(_BYTE *)(a1 + 2507) )
goto LABEL_44;
isFacingLeft = GameObject::isFacingLeft(a2);
v21 = *(_BYTE *)(a1 + 2503);
if ( isFacingLeft != v21 )
{
LABEL_45:
LOBYTE(v20) = v21 == 0;
PlayerObject::flipGravity(a1, v20);
goto LABEL_46;
}
if ( !*(_BYTE *)(a1 + 2507) )
{
LABEL_44:
isFacingDown = GameObject::isFacingDown(a2);
v21 = *(_BYTE *)(a1 + 2503);
if ( isFacingDown != v21 )
goto LABEL_45;
}
LABEL_46:
PlayerObject::spiderTestJump(a1);
goto LABEL_172;
}
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2) == 37 )
{
v23 = *(_QWORD *)(a1 + 3112);
if ( !v23 )
{
LABEL_65:
PlayerObject::startDashing(a1, (_DWORD *)a2);
goto LABEL_172;
}
v24 = 41;
LABEL_64:
GJBaseGameLayer::gameEventTriggered(v23, v24, 0, *(_DWORD *)(a1 + 924));
goto LABEL_65;
}
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2) == 38 )
{
if ( *(_BYTE *)(a1 + 2028) )
{
v26 = *(_BYTE *)(a1 + 2503);
v27 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v83 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v83);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v27 = qword_14090BFD0;
}
GJBaseGameLayer::flipGravity(*(_QWORD *)(v27 + 560), a1, v26 == 0);
v28 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v84 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v84);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v28 = qword_14090BFD0;
}
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v28 + 560) + 1328LL))(
*(_QWORD *)(v28 + 560),
*(unsigned __int8 *)(a1 + 2503));
}
else
{
v29 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v85 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v85);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v29 = qword_14090BFD0;
}
v30 = *(_QWORD *)(v29 + 568);
v31 = *(_BYTE *)(a1 + 2503);
if ( v30 )
{
GJBaseGameLayer::flipGravity(v30, a1, v31 == 0);
}
else
{
LOBYTE(v25) = v31 == 0;
PlayerObject::flipGravity(a1, v25);
}
}
v23 = *(_QWORD *)(a1 + 3112);
if ( !v23 )
goto LABEL_65;
v24 = 42;
goto LABEL_64;
}
v32 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2);
*(_BYTE *)(a1 + 2446) = 0;
if ( v32 == 32 )
{
v56 = *(_BYTE *)(a1 + 2503);
v57 = -1;
v58 = -1;
if ( !v56 )
v58 = 1;
v59 = (float)v58 * -15.0;
if ( *(_BYTE *)(a1 + 2497) || *(_BYTE *)(a1 + 2498) || *(_BYTE *)(a1 + 2500) || *(_BYTE *)(a1 + 2508) )
{
if ( !v56 )
v57 = 1;
v59 = (float)v57 * -14.0;
if ( *(_BYTE *)(a1 + 2498) )
v59 = v59 * 0.80000001;
}
else if ( !*(_BYTE *)(a1 + 2501) && *(_BYTE *)(a1 + 2502) )
{
v59 = v59 * 1.1;
}
PlayerObject::setYVelocity(a1, v59);
if ( *(_BYTE *)(a1 + 2499) )
{
PlayerObject::runBallRotation2(a1);
}
else if ( !*(_BYTE *)(a1 + 2610) && !*(_BYTE *)(a1 + 2540) )
{
*(_WORD *)(a1 + 1840) = 0;
*(_BYTE *)(a1 + 1648) = 0;
*(_DWORD *)(a1 + 1832) = 0;
PlayerObject::runNormalRotation(a1, 0, 1.0);
}
PlayerObject::activateStreak(a1);
*(_BYTE *)(a1 + 2705) = 1;
*(_BYTE *)(a1 + 2394) = 1;
if ( *(_BYTE *)(a1 + 2499) || *(_BYTE *)(a1 + 2508) )
*(_BYTE *)(a1 + 2445) = 0;
goto LABEL_172;
}
*(_BYTE *)(a1 + 2596) = 1;
*(_BYTE *)(a1 + 2580) = 0;
*(_BYTE *)(a1 + 2505) = 0;
v33 = 1.0;
if ( *(float *)(a1 + 2552) != 1.0 )
v33 = 0.80000001;
v34 = *(double *)(a1 + 1992);
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2) == 13 )
{
v34 = v34 * 0.80000001;
}
else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2) == 29 )
{
if ( *(_BYTE *)(a1 + 2497) )
v34 = v34 * 0.69999999;
}
else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2) == 12 )
{
if ( *(_BYTE *)(a1 + 2497) )
{
v34 = v34 * 0.37;
}
else if ( *(_BYTE *)(a1 + 2498) )
{
v34 = v34 * 0.41999999;
}
else if ( *(_BYTE *)(a1 + 2499) )
{
v34 = v34 * 0.76999998;
}
else
{
v34 = v34 * 0.72000003;
}
}
else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2) == 35 )
{
if ( *(_BYTE *)(a1 + 2497) )
{
if ( *(float *)(a1 + 2552) != 1.0 )
v34 = v34 * 1.4;
}
else if ( *(_BYTE *)(a1 + 2498) )
{
if ( *(float *)(a1 + 2552) == 1.0 )
v34 = v34 * 1.02;
else
v34 = v34 * 1.36;
}
else if ( *(_BYTE *)(a1 + 2499) )
{
v34 = v34 * 1.34;
}
else if ( *(_BYTE *)(a1 + 2501) )
{
v34 = v34 * 1.28;
}
else if ( *(_BYTE *)(a1 + 2502) )
{
v34 = v34 * 1.34;
}
else
{
v34 = v34 * 1.38;
}
}
else if ( *(_BYTE *)(a1 + 2501) )
{
v34 = v34 * 0.89999998;
}
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2) == 29 )
{
if ( *(_BYTE *)(a1 + 2028) )
{
v36 = *(_BYTE *)(a1 + 2503);
v37 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v86 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v86);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v37 = qword_14090BFD0;
}
GJBaseGameLayer::flipGravity(*(_QWORD *)(v37 + 560), a1, v36 == 0);
if ( !v9 )
{
v38 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v87 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v87);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v38 = qword_14090BFD0;
}
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v38 + 560) + 1328LL))(
*(_QWORD *)(v38 + 560),
*(unsigned __int8 *)(a1 + 2503));
}
}
else
{
v39 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v88 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v88);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v39 = qword_14090BFD0;
}
v40 = *(_QWORD *)(v39 + 568);
v41 = *(_BYTE *)(a1 + 2503);
if ( v40 )
{
GJBaseGameLayer::flipGravity(v40, a1, v41 == 0);
}
else
{
LOBYTE(v35) = v41 == 0;
PlayerObject::flipGravity(a1, v35);
}
}
}
v42 = -1;
if ( !*(_BYTE *)(a1 + 2503) )
v42 = 1;
PlayerObject::setYVelocity(a1, (float)((float)((float)v42 * v34) * v33));
if ( *(_BYTE *)(a1 + 2499) )
{
PlayerObject::runBallRotation2(a1);
}
else if ( !*(_BYTE *)(a1 + 2610) && !*(_BYTE *)(a1 + 2540) )
{
*(_WORD *)(a1 + 1840) = 0;
*(_BYTE *)(a1 + 1648) = 0;
*(_DWORD *)(a1 + 1832) = 0;
PlayerObject::runNormalRotation(a1, 0, 1.0);
}
if ( *(_BYTE *)(a1 + 2936) && !*(_BYTE *)(a1 + 1840) )
PlayerObject::animatePlatformerJump(a1, 1.0);
v43 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 200LL))(a1);
cocos2d::CCPoint::operator=(a1 + 2612, v43);
PlayerObject::activateStreak(a1);
*(_BYTE *)(a1 + 2705) = 1;
if ( !*(_BYTE *)(a1 + 2499) )
{
if ( *(_BYTE *)(a1 + 2508) )
{
v44 = *(double *)(a1 + 2472) * 0.6000000238418579;
LABEL_127:
*(double *)(a1 + 2472) = v44;
*(_BYTE *)(a1 + 2445) = 0;
goto LABEL_128;
}
if ( !*(_BYTE *)(a1 + 2502) )
{
LABEL_128:
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2) == 13 )
{
if ( *(_BYTE *)(a1 + 2028) )
{
v46 = *(_BYTE *)(a1 + 2503);
v47 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v89 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v89);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v47 = qword_14090BFD0;
}
GJBaseGameLayer::flipGravity(*(_QWORD *)(v47 + 560), a1, v46 == 0);
if ( !v9 )
{
v48 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v90 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v90);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v48 = qword_14090BFD0;
}
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v48 + 560) + 1328LL))(
*(_QWORD *)(v48 + 560),
*(unsigned __int8 *)(a1 + 2503));
}
}
else
{
v49 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v91 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v91);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v49 = qword_14090BFD0;
}
v50 = *(_QWORD *)(v49 + 568);
v51 = *(_BYTE *)(a1 + 2503);
if ( v50 )
{
GJBaseGameLayer::flipGravity(v50, a1, v51 == 0);
}
else
{
LOBYTE(v45) = v51 == 0;
PlayerObject::flipGravity(a1, v45);
}
}
}
if ( *(_BYTE *)(a1 + 2501) )
{
*((_QWORD *)&v80 + 1) = 29810;
v81 = 10;
v82 = 15;
*(_QWORD *)&v80 = 0x6174735F706D756ALL;
CCAnimatedSprite::runAnimation(*(_QWORD *)(a1 + 2216), (__int64)&v80);
}
else if ( *(_BYTE *)(a1 + 2502) )
{
v52 = *(_QWORD *)(a1 + 2224);
cocos2d::CCNode::stopAllActions(*(cocos2d::CCNode **)(v52 + 688));
cocos2d::CCNode::stopActionByTag((cocos2d::CCNode *)v52, 1);
sub_1400405A0((void **)(v52 + 632), &byte_1406ED6E0, 0);
v53 = *(_QWORD *)(*(_QWORD *)(a1 + 2224) + 664LL);
SpriteAnimationManager::overridePrio(v53);
v54 = *(cocos2d::CCNode **)(*(_QWORD *)(v53 + 320) + 688LL);
if ( v54 )
cocos2d::CCNode::stopAllActions(v54);
v55 = *(cocos2d::CCNode **)(*(_QWORD *)(v53 + 320) + 680LL);
if ( v55 )
cocos2d::CCNode::stopAllActions(v55);
v80 = 0;
v81 = 4;
v82 = 15;
strcpy((char *)&v80, "jump");
CCAnimatedSprite::tweenToAnimation(*(void ***)(a1 + 2224), (void **)&v80, 0.059999999);
}
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2) == 35 )
*(_BYTE *)(a1 + 2394) = 1;
goto LABEL_172;
}
}
v44 = *(double *)(a1 + 2472) * 0.699999988079071;
goto LABEL_127;
}
GJBaseGameLayer::teleportPlayer(*(_QWORD *)(a1 + 3112), a2, a1);
*(_BYTE *)(a1 + 2446) = 0;
LABEL_172:
if ( !*(_BYTE *)(a1 + 2025) )
{
v60 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v92 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v92);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v60 = qword_14090BFD0;
}
if ( !*(_BYTE *)(v60 + 957)
&& !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1400LL))(a2)
&& *(_BYTE *)(a1 + 2028)
&& !v9
&& *(_DWORD *)(a2 + 1036) != 3643 )
{
LOWORD(v95) = -14081;
v61 = 0;
v62 = -14081;
switch ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2) )
{
case 0xCu:
case 0x26u:
LOWORD(v95) = 255;
v61 = -1;
v62 = 255;
break;
case 0xDu:
LOWORD(v95) = -256;
v61 = -1;
v62 = -256;
break;
case 0x1Du:
case 0x25u:
LOWORD(v95) = -256;
v62 = -256;
break;
case 0x20u:
v63 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v93 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v93);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v63 = qword_14090BFD0;
}
ColorSprite = GJEffectManager::getColorSprite(*(_QWORD *)(*(_QWORD *)(v63 + 560) + 2408LL), 1007);
if ( ColorSprite )
{
v62 = *(_WORD *)(ColorSprite + 327);
v61 = ColorSprite[329];
}
else
{
v62 = -1;
v61 = -1;
}
break;
case 0x23u:
LOWORD(v95) = 25855;
v62 = 25855;
break;
case 0x24u:
v65 = *(_QWORD *)(a2 + 896);
if ( v65 )
v66 = v65 + 320;
else
v66 = a2 + 320;
v67 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v66 + 8LL))(v66);
v62 = *(_WORD *)v67;
v61 = *(_BYTE *)(v67 + 2);
break;
case 0x2Bu:
LOWORD(v95) = 13055;
v61 = -1;
v62 = 13055;
break;
default:
break;
}
(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1648LL))(a2);
v71 = CCCircleWave::create(v69, v68, v70, 1, 1);
*((_WORD *)v71 + 170) = v62;
*((_BYTE *)v71 + 342) = v61;
v72 = *(_QWORD *)v71;
v73 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 200LL))(a2);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v72 + 184))(v71, v73);
v74 = *((cocos2d::CCObject **)v71 + 40);
if ( v74 )
cocos2d::CCObject::release(v74);
*((_QWORD *)v71 + 40) = a2;
cocos2d::CCObject::retain((cocos2d::CCObject *)a2);
cocos2d::CCNode::unschedule(v71, CCCircleWave::updatePosition);
v75 = *(_QWORD *)v71;
v76 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)v71 + 40) + 200LL))(*((_QWORD *)v71 + 40));
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v75 + 184))(v71, v76);
v77 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v94 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v94);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v77 = qword_14090BFD0;
}
v78 = *(_QWORD *)(v77 + 560);
v79 = v78 + 14648;
if ( !v78 )
v79 = 0;
*((_QWORD *)v71 + 46) = v79;
cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(*(_QWORD *)(v77 + 560) + 14952LL), v71);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *, _QWORD))(**(_QWORD **)(a1 + 3120) + 456LL))(
*(_QWORD *)(a1 + 3120),
v71,
0);
}
}
if ( !*(_BYTE *)(a1 + 653) )
EffectGameObject::playTriggerEffect(a2);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a2 + 1384LL))(a2, a1);
(*(void (__fastcall **)(__int64))(*(_QWORD *)a2 + 1680LL))(a2);
PlayerObject::incrementJumps(a1);
}