//
// GJBaseGameLayer::update from 0x5bd740 to 0x5be46a (3370 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:53:44 +0000
//
int __fastcall GJBaseGameLayer::update(GJBaseGameLayer *this, float a2)
{
_BYTE *v3; // r5
__int64 v5; // r0
double ModifiedDelta; // r0
double v7; // d8
double v8; // d9
GJEffectManager *v9; // r0
float v10; // s16
cocos2d::JniHelper *updated; // r0
_BYTE *v12; // r4
void (__fastcall *v13)(_BYTE *, float *); // r6
_BYTE *v14; // r4
float v15; // r0
int v16; // s15
double v17; // d6
double v18; // d10
double v19; // d9
int v20; // r7
float v21; // s15
_BYTE *v22; // r9
double v23; // d13
double v24; // d11
double v25; // d12
int i; // r6
int v27; // r10
_BYTE *v28; // r8
int *v29; // r2
int v30; // r3
float v31; // r1
float v32; // s15
float v33; // r1
float v34; // s28
float v35; // s15
float *v36; // r0
float v37; // s28
float v38; // s30
char *LastPosition; // r0
float v40; // s30
float v41; // s15
float v42; // s28
float v43; // r1
float v44; // s31
_BYTE *v45; // r8
int v46; // r10
float v47; // r1
float v48; // r1
float v49; // s30
__int64 v50; // r0
int v51; // r2
float v52; // r1
float v53; // r1
__int64 v54; // r0
int v55; // r2
float v56; // r1
_DWORD *v57; // r8
_DWORD *v58; // r8
int v59; // r10
const cocos2d::CCPoint *v60; // r0
unsigned int v61; // r1
unsigned int v62; // r2
int v63; // r10
const cocos2d::CCPoint *v64; // r0
float v65; // r1
float v66; // s11
int v67; // r3
float v68; // s14
double v69; // d7
int v70; // r1
int v71; // r2
_BYTE *v72; // r5
int v73; // r4
const cocos2d::CCPoint *v74; // r0
cocos2d::CCDirector *v75; // r0
int v76; // r5
const cocos2d::CCPoint *v77; // r0
float v78; // s18
float v79; // s19
float *v80; // r0
float v81; // s18
int v82; // r8
int v83; // r8
float v84; // s14
float v85; // s14
float v86; // s18
float v87; // r1
float v88; // r1
float v89; // r1
float v90; // r1
float *v91; // r3
float v92; // s16
char *v93; // r4
FMODAudioEngine *v94; // r0
void (__fastcall *v95)(_BYTE *, float *); // r6
int v97; // [sp+0h] [bp-6Ch]
_BYTE *v98; // [sp+4h] [bp-68h]
float v99; // [sp+8h] [bp-64h]
int v100; // [sp+Ch] [bp-60h]
double v101; // [sp+10h] [bp-5Ch]
__int64 v102; // [sp+28h] [bp-44h]
int v103; // [sp+30h] [bp-3Ch]
int v104; // [sp+3Ch] [bp-30h]
int v105; // [sp+3Ch] [bp-30h]
_BYTE v106[8]; // [sp+44h] [bp-28h] BYREF
_BYTE v107[8]; // [sp+4Ch] [bp-20h] BYREF
_BYTE v108[8]; // [sp+54h] [bp-18h] BYREF
float v109[2]; // [sp+5Ch] [bp-10h] BYREF
v3 = (char *)this + 10880;
LODWORD(v5) = cocos2d::JniHelper::getPlatformTimestamp(this);
v102 = v5;
GJBaseGameLayer::tryResumeAudio(this);
if ( *v3 )
(*(void (__fastcall **)(GJBaseGameLayer *, _DWORD))(*(_DWORD *)this + 736))(this, *((_DWORD *)this + 180));
if ( *v3 )
{
ModifiedDelta = GJBaseGameLayer::getModifiedDelta(this, a2);
v7 = ModifiedDelta;
}
else
{
v7 = a2;
LODWORD(ModifiedDelta) = 0;
*((_QWORD *)this + 1359) = 0;
}
v8 = v7 / *((float *)this + 180);
if ( *v3 && *((int *)this + 2733) <= 0 )
{
if ( v7 > 0.0 )
{
*(_BYTE *)(*((_DWORD *)this + 519) + 1900) = 0;
*(_BYTE *)(*((_DWORD *)this + 520) + 1900) = 0;
v12 = *((_BYTE **)this + 519);
if ( !v12[2066] )
{
v13 = *(void (__fastcall **)(_BYTE *, float *))(*(_DWORD *)v12 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v109, (const cocos2d::CCPoint *)(v12 + 2112));
v13(v12, v109);
}
if ( *((_BYTE *)this + 866) )
{
v14 = *((_BYTE **)this + 520);
if ( !v14[2066] )
{
v95 = *(void (__fastcall **)(_BYTE *, float *))(*(_DWORD *)v14 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v109, (const cocos2d::CCPoint *)(v14 + 2112));
v95(v14, v109);
}
}
v15 = COERCE_FLOAT(roundf());
v16 = LODWORD(v15);
if ( v15 <= 1.0 )
v97 = 1;
else
v16 = (int)v15;
*((_BYTE *)this + 10592) = 0;
if ( v15 > 1.0 )
v97 = v16;
v17 = v7 * 60.0 / (double)v97;
v18 = v7 / (double)v97;
v19 = v8 / (double)v97;
if ( !*((_BYTE *)this + 10838) && *((_BYTE *)this + 10881) )
{
cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v15));
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v109);
*((float *)this + 238) = 15.0 - (float)(75.0 - (float)(v109[0] * 0.5));
}
v20 = 0;
*((_BYTE *)this + 10881) = 0;
*((_DWORD *)this + 2880) = (int)(float)((float)((float)*((int *)this + 2868) * 0.1)
+ (float)((float)*((int *)this + 2880) * 0.9));
*((_DWORD *)this + 2881) = (int)(float)((float)((float)*((int *)this + 2869) * 0.1)
+ (float)((float)*((int *)this + 2881) * 0.9));
*((_DWORD *)this + 2882) = (int)(float)((float)((float)*((int *)this + 2870) * 0.1)
+ (float)((float)*((int *)this + 2882) * 0.9));
*((_DWORD *)this + 2883) = (int)(float)((float)((float)*((int *)this + 2871) * 0.1)
+ (float)((float)*((int *)this + 2883) * 0.9));
*((_DWORD *)this + 2884) = (int)(float)((float)((float)*((int *)this + 2872) * 0.1)
+ (float)((float)*((int *)this + 2884) * 0.9));
*((_DWORD *)this + 2885) = (int)(float)((float)((float)*((int *)this + 2873) * 0.1)
+ (float)((float)*((int *)this + 2885) * 0.9));
*((_DWORD *)this + 2886) = (int)(float)((float)((float)*((int *)this + 2874) * 0.1)
+ (float)((float)*((int *)this + 2886) * 0.9));
*((_DWORD *)this + 2887) = (int)(float)((float)((float)*((int *)this + 2875) * 0.1)
+ (float)((float)*((int *)this + 2887) * 0.9));
*((_DWORD *)this + 2888) = (int)(float)((float)((float)*((int *)this + 2876) * 0.1)
+ (float)((float)*((int *)this + 2888) * 0.9));
*((_DWORD *)this + 2889) = (int)(float)((float)((float)*((int *)this + 2877) * 0.1)
+ (float)((float)*((int *)this + 2889) * 0.9));
*((_DWORD *)this + 2890) = (int)(float)((float)((float)*((int *)this + 2878) * 0.1)
+ (float)((float)*((int *)this + 2890) * 0.9));
v100 = 0;
v98 = (char *)this + 11272;
*((_DWORD *)this + 2891) = (int)(float)((float)((float)*((int *)this + 2879) * 0.1)
+ (float)((float)*((int *)this + 2891) * 0.9));
v99 = *((float *)this + 180);
while ( v20 < v97 )
{
v21 = v19;
v22 = (char *)this + 11664;
*((_BYTE *)this + 11664) = 0;
if ( GJBaseGameLayer::shouldUseSubstepForButton(this, v21) )
{
*v22 = 1;
v23 = v17 * 0.5;
v24 = v18 * 0.5;
v25 = v19 * 0.5;
v101 = v18 * 60.0 * 0.5;
}
else
{
v25 = v19;
v101 = v18 * 60.0;
v24 = v18;
v23 = v17;
}
for ( i = (unsigned __int8)*v22 ^ 1; ; i = 1 )
{
*((_DWORD *)this + 2784) = 0;
v27 = i == 1 && v20 == v97 - 1;
*((_DWORD *)this + 2868) = 0;
*((_DWORD *)this + 2869) = 0;
v28 = (char *)this + 10866;
*((_DWORD *)this + 2870) = 0;
*((_DWORD *)this + 2871) = 0;
*((_DWORD *)this + 2872) = 0;
*((_DWORD *)this + 2873) = 0;
*((_DWORD *)this + 2874) = 0;
*((_DWORD *)this + 2875) = 0;
*((_DWORD *)this + 2876) = 0;
*((_DWORD *)this + 2877) = 0;
*((_DWORD *)this + 2878) = 0;
*((_DWORD *)this + 2879) = 0;
*((double *)this + 98) = *((double *)this + 98) + v24;
*((double *)this + 100) = *((double *)this + 100) + v25;
if ( !*v98 && !*v28 )
{
v29 = (int *)((char *)this + 11264);
*((double *)this + 1407) = *((double *)this + 1407) + v25;
if ( *v22 )
v30 = *v29 + 1;
else
v30 = *v29 + 2;
*v29 = v30;
v31 = v25;
(*(void (__fastcall **)(GJBaseGameLayer *, _DWORD))(*(_DWORD *)this + 592))(this, LODWORD(v31));
}
*(_QWORD *)(*((_DWORD *)this + 519) + 2128) = *((_QWORD *)this + 98);
*(_QWORD *)(*((_DWORD *)this + 520) + 2128) = *((_QWORD *)this + 98);
if ( i )
{
std::__tree,std::pair>,std::__map_value_compare,std::__value_type,std::pair>,std::less>,true>,std::allocator,std::pair>>>::destroy(
(int)this + 10532,
*((_DWORD **)this + 2634));
*((_DWORD *)this + 2635) = 0;
*((_DWORD *)this + 2633) = (char *)this + 10536;
*((_DWORD *)this + 2634) = 0;
std::__tree>::clear((int)this + 2516);
v32 = v18;
GJEffectManager::updateSpawnTriggers(*((GJEffectManager **)this + 381), v32);
}
if ( *((float *)this + 241) != 0.0 )
GJBaseGameLayer::updateTimeMod(this, *((float *)this + 241), 1, *((unsigned __int8 *)this + 968));
(*(void (__fastcall **)(GJBaseGameLayer *, _DWORD))(*(_DWORD *)this + 736))(this, *((_DWORD *)this + 180));
v33 = v25;
GJBaseGameLayer::processCommands(this, v33, (unsigned __int8)*v22, v27);
PlayerObject::resetTouchedRings(*((cocos2d::CCArray ***)this + 519), 0);
if ( *((_BYTE *)this + 866) )
PlayerObject::resetTouchedRings(*((cocos2d::CCArray ***)this + 520), 0);
PlayerObject::resetCollisionLog(*((cocos2d::CCDictionary ***)this + 519), 0);
if ( *((_BYTE *)this + 866) )
PlayerObject::resetCollisionLog(*((cocos2d::CCDictionary ***)this + 520), 0);
GJEffectManager::preCollisionCheck(*((GJEffectManager **)this + 381));
if ( i )
std::__tree>::clear((int)this + 2516);
v103 = *((unsigned __int8 *)this + 866);
v34 = *(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 519) + 96))(*((_DWORD *)this + 519)) + 4);
v35 = *((float *)GameObject::getLastPosition(*((GameObject **)this + 519)) + 1);
v36 = *((float **)this + 519);
v37 = v34 - v35;
if ( !*v28 && fabsf(v37 - v36[537]) > v23 * 16.0 )
v37 = 0.0;
v38 = *(float *)(*(int (__fastcall **)(float *))(*(_DWORD *)v36 + 96))(v36);
LastPosition = GameObject::getLastPosition(*((GameObject **)this + 519));
if ( *v28 )
v40 = 0.0;
else
v40 = v38 - *(float *)LastPosition;
*(float *)(*((_DWORD *)this + 381) + 916) = v40;
if ( *v28 )
v37 = 0.0;
*(float *)(*((_DWORD *)this + 381) + 920) = v37;
*(float *)(*((_DWORD *)this + 381) + 924) = -*((float *)this + 238);
*(float *)(*((_DWORD *)this + 381) + 928) = -*((float *)this + 239);
v104 = *((_DWORD *)this + 381);
*(float *)(v104 + 932) = (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 519) + 184))(*((_DWORD *)this + 519))
- *(float *)(*((_DWORD *)this + 519) + 2032);
v105 = *((_DWORD *)this + 381);
*(float *)(v105 + 936) = (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 520) + 184))(*((_DWORD *)this + 520))
- *(float *)(*((_DWORD *)this + 520) + 2032);
if ( !*v28 && i )
{
v41 = v18;
GJEffectManager::updateTimers(*((GJEffectManager **)this + 381), v41, *((float *)this + 180));
}
v42 = v24;
GJEffectManager::prepareMoveActions(*((GJEffectManager **)this + 381), v42, (unsigned __int8)v27 != 1);
v43 = v24;
GJBaseGameLayer::processMoveActionsStep(this, v43, v27);
GJEffectManager::postMoveActions(*((GJEffectManager **)this + 381));
(*(void (__fastcall **)(GJBaseGameLayer *))(*(_DWORD *)this + 588))(this);
if ( i )
GJBaseGameLayer::updateCollisionBlocks((cocos2d::CCArray **)this);
v44 = v101;
if ( !*v28 )
{
v45 = (char *)this + 10612;
if ( *((_BYTE *)this + 10612) )
v46 = 1;
else
v46 = *((unsigned __int8 *)this + 1434);
*(_QWORD *)(*((_DWORD *)this + 520) + 1976) = *(_QWORD *)(*((_DWORD *)this + 519) + 1976);
*(_QWORD *)(*((_DWORD *)this + 520) + 1984) = *(_QWORD *)(*((_DWORD *)this + 519) + 1984);
v47 = v24;
PlayerObject::updateInternalActions(*((GJActionManager ***)this + 519), v47);
if ( *((_BYTE *)this + 866) )
{
v48 = v24;
PlayerObject::updateInternalActions(*((GJActionManager ***)this + 520), v48);
}
v49 = v23;
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 519) + 20))(
*((_DWORD *)this + 519),
LODWORD(v49));
if ( !*((_BYTE *)this + 1435) || !*(_BYTE *)(*((_DWORD *)this + 519) + 2066) )
{
LODWORD(v50) = this;
HIDWORD(v50) = *((_DWORD *)this + 519);
*(float *)&v51 = v23;
if ( GJBaseGameLayer::checkCollisions(v50, v51, v46) == 1 && *v45 && !*((_BYTE *)this + 1434) )
(*(void (__fastcall **)(GJBaseGameLayer *, _DWORD))(*(_DWORD *)this + 600))(
this,
*((_DWORD *)this + 519));
}
v52 = v24;
PlayerObject::updateSpecial(*((_DWORD *)this + 519), v52);
if ( v103 && *((_BYTE *)this + 866) )
{
v53 = v23;
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 520) + 20))(
*((_DWORD *)this + 520),
LODWORD(v53));
if ( !*((_BYTE *)this + 1435) || !*(_BYTE *)(*((_DWORD *)this + 520) + 2066) )
{
LODWORD(v54) = this;
HIDWORD(v54) = *((_DWORD *)this + 520);
*(float *)&v55 = v23;
if ( GJBaseGameLayer::checkCollisions(v54, v55, v46) == 1 && *v45 && !*((_BYTE *)this + 1434) )
(*(void (__fastcall **)(GJBaseGameLayer *, _DWORD))(*(_DWORD *)this + 600))(
this,
*((_DWORD *)this + 520));
}
v56 = v24;
PlayerObject::updateSpecial(*((_DWORD *)this + 520), v56);
}
*((double *)this + 99) = *((double *)this + 99) + v24 / *((float *)this + 180);
if ( i )
GJBaseGameLayer::checkSpawnObjects(this);
v57 = *((_DWORD **)this + 519);
v57[508] = (*(int (__fastcall **)(_DWORD *))(*v57 + 184))(v57);
v58 = *((_DWORD **)this + 520);
v58[508] = (*(int (__fastcall **)(_DWORD *))(*v58 + 184))(v58);
PlayerObject::updateRotation(*((float *)this + 519), v44);
if ( *((_BYTE *)this + 866) )
PlayerObject::updateRotation(*((float *)this + 520), v44);
v59 = *((_DWORD *)this + 519);
v60 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int))(*(_DWORD *)v59 + 96))(v59);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v109, v60);
cocos2d::CCPoint::operator=(v59 + 2016, v109);
if ( *((_BYTE *)this + 866) )
{
v63 = *((_DWORD *)this + 520);
v64 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int))(*(_DWORD *)v63 + 96))(v63);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v109, v64);
cocos2d::CCPoint::operator=(v63 + 2016, v109);
}
if ( !*v98 && (*(int (__fastcall **)(GJBaseGameLayer *))(*(_DWORD *)this + 664))(this) )
GJBaseGameLayer::recordHitboxTrail(this);
GJBaseGameLayer::updateSavePositionObjects((int)this, v61, v62);
*((_DWORD *)this + 321) = GJBaseGameLayer::getMaxPortalY(this);
(*(void (__fastcall **)(GJBaseGameLayer *))(*(_DWORD *)this + 580))(this);
*((double *)this + 1457) = *((double *)this + 1457) + v24;
}
if ( i )
{
GJEffectManager::postCollisionCheck(*((GJEffectManager **)this + 381));
GJBaseGameLayer::checkRepellPlayer((int)this);
GJBaseGameLayer::processStateObjects(this);
GJGameState::processStateTriggers((GJBaseGameLayer *)((char *)this + 328));
}
v65 = v24;
GJGameState::updateTweenActions((float *)this + 82, v65);
GJBaseGameLayer::updateCamera((PlayerObject **)this, v44);
(*(void (__fastcall **)(GJBaseGameLayer *))(*(_DWORD *)this + 780))(this);
if ( *((_BYTE *)this + 10784) )
PlayerObject::updateCheckpointTest(*((CheckpointObject ***)this + 519));
(*(void (__fastcall **)(GJBaseGameLayer *))(*(_DWORD *)this + 800))(this);
if ( i == 1 )
break;
}
if ( *((float *)this + 181) > 0.0 )
{
(*(void (__fastcall **)(GJBaseGameLayer *, _DWORD))(*(_DWORD *)this + 732))(this, *((_DWORD *)this + 181));
(*(void (__fastcall **)(GJBaseGameLayer *, _DWORD))(*(_DWORD *)this + 736))(this, *((_DWORD *)this + 180));
}
v66 = *((float *)this + 180);
if ( v66 != v99 )
{
v67 = v97 - v20 - 1;
if ( v67 > 0 )
{
v20 = v97;
v68 = (double)v67 * v18;
v69 = v68;
v7 = v7 - v69;
*((double *)this + 1359) = *((double *)this + 1359) + v69;
v100 = 1;
}
}
++v20;
v99 = v66;
}
if ( *((_BYTE *)this + 10614) )
GJBaseGameLayer::updateSpecialLabels(this);
GJBaseGameLayer::updateTimerLabels((int)this);
GJBaseGameLayer::updateQueuedLabels((int)this, v70, v71);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v106);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v107);
v72 = *((_BYTE **)this + 519);
if ( v72[2066] )
goto LABEL_107;
v74 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(_DWORD))(*(_DWORD *)v72 + 96))(*((_DWORD *)this + 519));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v109, v74);
v75 = (cocos2d::CCDirector *)cocos2d::CCPoint::operator=(v72 + 2112, v109);
if ( *((_BYTE *)this + 866) )
{
v76 = *((_DWORD *)this + 520);
v77 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int))(*(_DWORD *)v76 + 96))(v76);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v109, v77);
v75 = (cocos2d::CCDirector *)cocos2d::CCPoint::operator=(v76 + 2112, v109);
}
v78 = *((float *)this + 215);
if ( v78 == 0.0 || v78 == 1.0 )
{
LABEL_107:
v73 = 0;
}
else
{
if ( *((float *)this + 2700) == -1.0 )
v78 = 1.0 - v78;
cocos2d::CCDirector::sharedDirector(v75);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v109);
v79 = v109[0];
v80 = (float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 519) + 96))(*((_DWORD *)this + 519));
v81 = (float)((float)(v79 / *((float *)this + 82))
- (float)((float)(*v80 - *((float *)this + 212)) + (float)(*v80 - *((float *)this + 212))))
* v78;
v82 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 519) + 96))(*((_DWORD *)this + 519));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v108, v81, 0.0);
cocos2d::CCPoint::operator+(v109, v82, v108);
cocos2d::CCPoint::operator=(v106, v109);
if ( *((_BYTE *)this + 866) )
{
v83 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 520) + 96))(*((_DWORD *)this + 520));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v108, v81, 0.0);
cocos2d::CCPoint::operator+(v109, v83, v108);
cocos2d::CCPoint::operator=(v107, v109);
}
v73 = 1;
}
v84 = *((float *)this + 254);
*((_BYTE *)this + 1013) = v84 > 0.0;
if ( v84 > 0.0 )
{
v85 = v84 - v7;
*((float *)this + 254) = v85;
}
v86 = v7;
GJEffectManager::updateEffects(*((GJEffectManager **)this + 381), v86);
v87 = v7;
PlayerObject::updateEffects(*((HardStreak ***)this + 519), v87);
v88 = v7;
PlayerObject::updateEffects(*((HardStreak ***)this + 520), v88);
GJBaseGameLayer::updateGradientLayers((GJEffectManager **)this);
v89 = v7;
GJBaseGameLayer::updateShaderLayer(this, v89);
if ( v73 )
{
(*(void (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)this + 519) + 92))(*((_DWORD *)this + 519), v106);
if ( *((_BYTE *)this + 866) )
(*(void (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)this + 520) + 92))(*((_DWORD *)this + 520), v107);
}
v90 = v7;
(*(void (__fastcall **)(GJBaseGameLayer *, _DWORD))(*(_DWORD *)this + 576))(this, LODWORD(v90));
GJBaseGameLayer::updateGuideArt((int)this);
GJBaseGameLayer::updateProximityVolumeEffects(this);
GJBaseGameLayer::updateAudioVisualizer((int)this);
LODWORD(ModifiedDelta) = GJBaseGameLayer::isFlipping(this);
if ( !LODWORD(ModifiedDelta) && *((_BYTE *)this + 865) )
LODWORD(ModifiedDelta) = GJBaseGameLayer::flipFinished((PlayerObject **)this);
v91 = (float *)((char *)this + 11436);
v92 = *((float *)this + 2859) + v7;
if ( v92 >= 1.0 )
{
*v91 = 0.0;
v93 = *((char **)this + 337);
while ( v93 )
{
v94 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine((FMODAudioEngine *)LODWORD(ModifiedDelta));
LODWORD(ModifiedDelta) = FMODAudioEngine::isMusicPlaying(v94, *((_DWORD *)v93 + 2));
if ( LODWORD(ModifiedDelta) )
{
v93 = *(char **)v93;
}
else
{
LODWORD(ModifiedDelta) = std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::erase(
(_DWORD *)this + 335,
(char **)v93);
v93 = (char *)LODWORD(ModifiedDelta);
}
}
}
else
{
*v91 = v92;
}
*((_BYTE *)this + 10717) = 0;
*((_QWORD *)this + 1457) = v102;
*((_BYTE *)this + 11664) = 0;
if ( v100 )
LODWORD(ModifiedDelta) = (*(int (__fastcall **)(GJBaseGameLayer *, _DWORD))(*(_DWORD *)this + 20))(this, 0);
}
}
else
{
v9 = *((GJEffectManager **)this + 381);
*((double *)this + 98) = *((double *)this + 98) + v7;
v10 = v7;
*((double *)this + 100) = *((double *)this + 100) + v8;
GJEffectManager::updateEffects(v9, v10);
PlayerObject::updateEffects(*((HardStreak ***)this + 519), v10);
PlayerObject::updateEffects(*((HardStreak ***)this + 520), v10);
GJBaseGameLayer::updateGradientLayers((GJEffectManager **)this);
GJBaseGameLayer::updateShaderLayer(this, v10);
(*(void (__fastcall **)(GJBaseGameLayer *, _DWORD))(*(_DWORD *)this + 576))(this, LODWORD(v10));
GJBaseGameLayer::updateGuideArt((int)this);
updated = (cocos2d::JniHelper *)GJBaseGameLayer::updateAudioVisualizer((int)this);
LODWORD(ModifiedDelta) = cocos2d::JniHelper::getPlatformTimestamp(updated);
*((double *)this + 1457) = ModifiedDelta;
}
return LODWORD(ModifiedDelta);
}