//
// PlayLayer::updateVisibility from 0x100084910 to 0x10008572d (3613 bytes)
//
// 1 xrefs:
// > ??> @ 0x100abafa0
//
// 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 12:20:04 +0000
//
__int64 __fastcall PlayLayer::updateVisibility(__int64 a1, float a2)
{
__int64 v3; // r14
__int64 active; // rsi
__int64 v5; // rax
__int64 v6; // rax
__int64 v7; // rax
unsigned __int64 v8; // rsi
__int64 v9; // rax
__int16 *v10; // rdi
__int64 v11; // rax
char *v12; // rcx
char *v13; // rax
char *v14; // rdx
__int16 *v15; // r8
__m128 v16; // xmm2
__int64 v17; // rax
double v18; // xmm0_8
__int16 *v19; // rax
__int64 v20; // rax
char v21; // al
int v22; // xmm0_4
float v23; // xmm0_4
__int64 i; // r14
float *v25; // r15
__int64 v26; // rax
int v27; // ecx
__int64 v28; // rax
__int64 v29; // rdx
__int64 v30; // rcx
float v31; // xmm0_4
unsigned __int64 v32; // rax
int v33; // ecx
__int64 v34; // rax
__int64 v35; // rdx
__int64 v36; // rcx
float v37; // xmm0_4
unsigned __int64 v38; // rdi
unsigned __int64 v39; // rcx
unsigned __int64 v40; // r9
__int64 v41; // rsi
__int64 **v42; // rax
__int64 *v43; // r8
unsigned __int64 v44; // rdi
__int64 v45; // rax
char v46; // r12
unsigned __int64 v47; // rax
unsigned __int64 v48; // rdi
unsigned __int64 v49; // rcx
unsigned __int64 v50; // r9
__int64 v51; // rsi
__int64 **v52; // rax
__int64 *v53; // r8
unsigned __int64 v54; // rdi
unsigned __int64 v55; // rax
__int64 v56; // rax
__int16 v57; // r13
int v58; // edx
_QWORD *v59; // rax
char v60; // r12
int v61; // ecx
float v62; // xmm0_4
__int64 v63; // rax
double v64; // xmm0_8
__int16 *v65; // rsi
__int64 v66; // rdx
__int64 v67; // rcx
__int64 v68; // rdi
float *v69; // rsi
float v70; // xmm0_4
float v71; // xmm0_4
float v72; // xmm0_4
__int64 v73; // rax
_QWORD *v74; // rdi
_QWORD *v75; // r14
__int64 v76; // rsi
__int64 result; // rax
float v78; // [rsp+0h] [rbp-A0h] BYREF
__int64 v79; // [rsp+8h] [rbp-98h]
_QWORD *v80; // [rsp+10h] [rbp-90h]
__int64 v81; // [rsp+18h] [rbp-88h]
_QWORD *v82; // [rsp+20h] [rbp-80h]
float v83; // [rsp+28h] [rbp-78h] BYREF
unsigned int v84; // [rsp+30h] [rbp-70h]
float v85; // [rsp+34h] [rbp-6Ch]
float v86; // [rsp+38h] [rbp-68h]
float v87; // [rsp+3Ch] [rbp-64h]
__int16 *v88; // [rsp+40h] [rbp-60h]
float v89; // [rsp+48h] [rbp-58h] BYREF
__int16 v90; // [rsp+50h] [rbp-50h] BYREF
char v91; // [rsp+52h] [rbp-4Eh]
float v92; // [rsp+54h] [rbp-4Ch]
float v93; // [rsp+58h] [rbp-48h]
unsigned int v94; // [rsp+5Ch] [rbp-44h]
int v95; // [rsp+60h] [rbp-40h]
__int16 v96; // [rsp+64h] [rbp-3Ch] BYREF
char v97; // [rsp+66h] [rbp-3Ah]
float v98; // [rsp+68h] [rbp-38h]
float MeteringValue; // [rsp+6Ch] [rbp-34h]
char isFlipping; // [rsp+72h] [rbp-2Eh]
char v101; // [rsp+73h] [rbp-2Dh]
__int16 v102; // [rsp+74h] [rbp-2Ch] BYREF
unsigned __int8 v103; // [rsp+76h] [rbp-2Ah]
v98 = a2;
*(float *)&dword_100BE7AAC = *(float *)(a1 + 1204) + *(float *)(a1 + 12668);
PlayLayer::dtUpdateLiveMarkers();
GJBaseGameLayer::preUpdateVisibility(a1, a2);
GJEffectManager::processColors(*(_QWORD *)(a1 + 2152));
v3 = *(_QWORD *)(a1 + 2152);
active = (unsigned int)GJEffectManager::activeColorForIndex(v3, 1005);
GJEffectManager::calculateLightBGColor(v3, active);
v5 = cocos2d::CCDirector::sharedDirector(v3, active);
cocos2d::CCDirector::getWinSize(&v78, v5);
v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 3944) + 944LL))(*(_QWORD *)(a1 + 3944));
v84 = GameToolbox::transformColor(v6, 0.0, -0.30000001, 0.40000001);
v7 = GJEffectManager::activeColorForIndex(*(_QWORD *)(a1 + 2152), 1007);
v96 = v7;
v97 = BYTE2(v7);
v8 = 1000;
v9 = GJEffectManager::activeColorForIndex(*(_QWORD *)(a1 + 2152), 1000);
v102 = v9;
v103 = BYTE2(v9);
v10 = &v102;
v11 = GameToolbox::transformColor(&v102, 0.0, -0.2, 0.2);
*(_WORD *)(a1 + 12736) = v11;
*(_BYTE *)(a1 + 12738) = BYTE2(v11);
v12 = *(char **)(a1 + 14840);
v13 = *(char **)(a1 + 14848);
if ( v12 != v13 )
{
v8 = v13 - v12 - 8;
if ( v8 < 0x18 )
{
v14 = *(char **)(a1 + 14840);
do
{
LABEL_7:
*(_DWORD *)v14 = 0;
v14 += 8;
}
while ( v14 != v13 );
goto LABEL_8;
}
v8 = (v8 >> 3) + 1;
v10 = (__int16 *)(v8 & 0xFFFFFFFFFFFFFFFCLL);
v14 = &v12[8 * (v8 & 0xFFFFFFFFFFFFFFFCLL)];
v15 = nullptr;
do
{
v16 = _mm_blend_ps(*(__m128 *)&v12[8 * (_QWORD)v15 + 16], (__m128)0LL, 5);
*(__m128 *)&v12[8 * (_QWORD)v15] = _mm_blend_ps(*(__m128 *)&v12[8 * (_QWORD)v15], (__m128)0LL, 5);
*(__m128 *)&v12[8 * (_QWORD)v15 + 16] = v16;
v15 += 2;
}
while ( v10 != v15 );
if ( (__int16 *)v8 != v10 )
goto LABEL_7;
}
LABEL_8:
*(_QWORD *)&v18 = LODWORD(v78);
v92 = v78;
v17 = cocos2d::CCDirector::sharedDirector(v10, v8);
*(float *)&v18 = sub_100479770(v17);
v93 = *(float *)&v18;
v19 = (__int16 *)&unk_100A04220;
if ( (unsigned __int8)v102 + HIBYTE(v102) + (unsigned int)v103 < 0x96 )
v19 = &v96;
v91 = *((_BYTE *)v19 + 2);
v90 = *v19;
v101 = *(_BYTE *)(*(_QWORD *)(a1 + 3256) + 2424LL);
isFlipping = GJBaseGameLayer::isFlipping(a1);
if ( *(_BYTE *)(a1 + 14408) == 1 )
{
v20 = FMODAudioEngine::sharedEngine(v18);
MeteringValue = FMODAudioEngine::getMeteringValue(v20);
v21 = *(_BYTE *)(a1 + 12544);
if ( v21 != 1 )
goto LABEL_15;
}
else
{
MeteringValue = *(float *)(*(_QWORD *)(a1 + 12688) + 580LL);
v21 = *(_BYTE *)(a1 + 12544);
if ( v21 != 1 )
goto LABEL_15;
}
if ( *(_BYTE *)(a1 + 12545) != 1 )
{
LABEL_16:
MeteringValue = 0.5;
goto LABEL_17;
}
LABEL_15:
if ( *(_BYTE *)(a1 + 14288) == 1 )
goto LABEL_16;
LABEL_17:
if ( v21 && *(_BYTE *)(a1 + 12545) != 1 )
v22 = 1056964608;
else
v22 = LODWORD(MeteringValue);
*(_DWORD *)(*(_QWORD *)(a1 + 3256) + 2636LL) = v22;
*(_DWORD *)(*(_QWORD *)(a1 + 3264) + 2636LL) = v22;
if ( *(int *)(a1 + 12728) > 0 )
{
v23 = (float)(v92 * 0.5) + -75.0;
v85 = v23 + 110.0;
v88 = (__int16 *)(a1 + 12736);
v93 = (float)(v93 - (float)(v23 + 110.0)) + -90.0;
v92 = v23;
v86 = v23 + -30.0;
v79 = *(_QWORD *)(a1 + 14608);
v81 = a1 + 14268;
v80 = (_QWORD *)(a1 + 1456);
v82 = (_QWORD *)(a1 + 1432);
v87 = MeteringValue + -0.1;
for ( i = 0; i < *(int *)(a1 + 12728); ++i )
{
v25 = *(float **)(*(_QWORD *)(a1 + 12704) + 8 * i);
v26 = *((int *)v25 + 330);
if ( v26 <= 0 )
{
GameObject::updateMainColor(*(_QWORD *)(*(_QWORD *)(a1 + 12704) + 8 * i));
GameObject::updateSecondaryColor(v25);
if ( *((_BYTE *)v25 + 773) != 1 )
goto LABEL_93;
}
else
{
v27 = *(_DWORD *)(*(_QWORD *)(a1 + 14840) + 8 * ((unsigned __int64)v26 >> 5));
if ( !_bittest(&v27, v26) )
{
v28 = GameObject::colorForMode(*(_QWORD *)(*(_QWORD *)(a1 + 12704) + 8 * i), *((unsigned int *)v25 + 164), 1);
v29 = *(_QWORD *)(a1 + 14792);
v30 = 3LL * *((int *)v25 + 330);
*(_BYTE *)(v29 + v30 + 2) = *(_BYTE *)(v28 + 2);
*(_WORD *)(v29 + v30) = *(_WORD *)v28;
v31 = GameObject::opacityModForMode(v25, *((unsigned int *)v25 + 164), 1);
v26 = *((int *)v25 + 330);
*(float *)(*(_QWORD *)(a1 + 14816) + 4 * v26) = v31;
*(_QWORD *)(*(_QWORD *)(a1 + 14840) + 8 * ((unsigned __int64)v26 >> 5)) |= 1LL << (v26 & 0x1F);
}
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v25 + 1584LL))(v25, *(_QWORD *)(a1 + 14792) + 3 * v26);
*(_DWORD *)(*((_QWORD *)v25 + 137) + 8LL) = *(_DWORD *)(*(_QWORD *)(a1 + 14816) + 4LL * *((int *)v25 + 330));
if ( (unsigned __int8)GameObject::hasSecondaryColor(v25) )
{
v32 = *((int *)v25 + 331);
v33 = *(_DWORD *)(*(_QWORD *)(a1 + 14840) + 8 * (v32 >> 5));
if ( !_bittest(&v33, v32) )
{
v34 = GameObject::colorForMode(v25, *((unsigned int *)v25 + 165), 0);
v35 = *(_QWORD *)(a1 + 14792);
v36 = 3LL * *((int *)v25 + 331);
*(_BYTE *)(v35 + v36 + 2) = *(_BYTE *)(v34 + 2);
*(_WORD *)(v35 + v36) = *(_WORD *)v34;
v37 = GameObject::opacityModForMode(v25, *((unsigned int *)v25 + 165), 0);
v32 = *((int *)v25 + 331);
*(float *)(*(_QWORD *)(a1 + 14816) + 4 * v32) = v37;
*(_QWORD *)(*(_QWORD *)(a1 + 14840) + 8 * (v32 >> 5)) |= 1LL << (v32 & 0x1F);
}
(*(void (__fastcall **)(float *, unsigned __int64))(*(_QWORD *)v25 + 1592LL))(
v25,
*(_QWORD *)(a1 + 14792) + 3 * v32);
*(_DWORD *)(*((_QWORD *)v25 + 138) + 8LL) = *(_DWORD *)(*(_QWORD *)(a1 + 14816) + 4LL * *((int *)v25 + 331));
}
if ( *((_BYTE *)v25 + 773) != 1 )
goto LABEL_93;
}
if ( !v79 )
goto LABEL_93;
v38 = *(_QWORD *)(a1 + 14592);
if ( !v38 )
{
LABEL_63:
v46 = 0;
if ( (unsigned __int8)GameObject::hasSecondaryColor(v25) )
goto LABEL_64;
goto LABEL_91;
}
v39 = *((int *)v25 + 164);
v40 = (0x101010101010101LL
* ((((v38 - ((v38 >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL)
+ (((v38 - ((v38 >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL)
+ ((((v38 - ((v38 >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL)
+ (((v38 - ((v38 >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL)) >> 4))
& 0xF0F0F0F0F0F0F0FLL)) >> 56;
if ( v40 > 1 )
{
v41 = *((int *)v25 + 164);
if ( v38 <= v39 )
{
if ( !((v38 | v39) >> 32) )
{
v41 = (unsigned int)v39 % (unsigned int)v38;
v42 = *(__int64 ***)(*(_QWORD *)(a1 + 14584) + 8 * v41);
if ( !v42 )
goto LABEL_63;
goto LABEL_44;
}
v41 = v39 % v38;
}
v42 = *(__int64 ***)(*(_QWORD *)(a1 + 14584) + 8 * v41);
if ( !v42 )
goto LABEL_63;
}
else
{
v41 = v39 & (v38 - 1);
v42 = *(__int64 ***)(*(_QWORD *)(a1 + 14584) + 8 * v41);
if ( !v42 )
goto LABEL_63;
}
LABEL_44:
v43 = *v42;
if ( !*v42 )
goto LABEL_63;
if ( (unsigned int)v40 < 2 )
{
v44 = v38 - 1;
while ( 1 )
{
v45 = v43[1];
if ( v45 == v39 )
{
if ( *((_DWORD *)v43 + 4) == (_DWORD)v39 )
goto LABEL_51;
}
else if ( (v44 & v45) != v41 )
{
goto LABEL_63;
}
v43 = (__int64 *)*v43;
if ( !v43 )
goto LABEL_63;
}
}
while ( 1 )
{
v47 = v43[1];
if ( v47 == v39 )
break;
if ( v47 >= v38 )
{
if ( (v38 | v47) >> 32 )
v47 %= v38;
else
v47 = (unsigned int)v47 % (unsigned int)v38;
}
if ( v47 != v41 )
goto LABEL_63;
LABEL_55:
v43 = (__int64 *)*v43;
if ( !v43 )
goto LABEL_63;
}
if ( *((_DWORD *)v43 + 4) != (_DWORD)v39 )
goto LABEL_55;
LABEL_51:
v46 = 1;
if ( !(unsigned __int8)GameObject::hasSecondaryColor(v25) )
goto LABEL_91;
LABEL_64:
v48 = *(_QWORD *)(a1 + 14592);
if ( v48 )
{
v49 = *((int *)v25 + 165);
v50 = (0x101010101010101LL
* ((((v48 - ((v48 >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL)
+ (((v48 - ((v48 >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL)
+ ((((v48 - ((v48 >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL)
+ (((v48 - ((v48 >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL)) >> 4))
& 0xF0F0F0F0F0F0F0FLL)) >> 56;
if ( v50 <= 1 )
{
v51 = v49 & (v48 - 1);
v52 = *(__int64 ***)(*(_QWORD *)(a1 + 14584) + 8 * v51);
if ( !v52 )
goto LABEL_91;
LABEL_72:
v53 = *v52;
if ( !*v52 )
goto LABEL_91;
if ( (unsigned int)v50 < 2 )
{
v54 = v48 - 1;
while ( 1 )
{
v56 = v53[1];
if ( v56 == v49 )
{
if ( *((_DWORD *)v53 + 4) == (_DWORD)v49 )
goto LABEL_92;
}
else if ( (v54 & v56) != v51 )
{
goto LABEL_91;
}
v53 = (__int64 *)*v53;
if ( !v53 )
goto LABEL_91;
}
}
while ( 2 )
{
v55 = v53[1];
if ( v55 == v49 )
{
if ( *((_DWORD *)v53 + 4) == (_DWORD)v49 )
goto LABEL_92;
}
else if ( v55 < v48 )
{
LABEL_81:
if ( v55 != v51 )
goto LABEL_91;
}
else
{
if ( (v48 | v55) >> 32 )
{
v55 %= v48;
goto LABEL_81;
}
if ( (unsigned int)v55 % (unsigned int)v48 != v51 )
goto LABEL_91;
}
v53 = (__int64 *)*v53;
if ( !v53 )
goto LABEL_91;
continue;
}
}
v51 = *((int *)v25 + 165);
if ( v48 > v49 )
{
LABEL_71:
v52 = *(__int64 ***)(*(_QWORD *)(a1 + 14584) + 8 * v51);
if ( v52 )
goto LABEL_72;
}
else
{
if ( (v48 | v49) >> 32 )
{
v51 = v49 % v48;
goto LABEL_71;
}
v51 = (unsigned int)v49 % (unsigned int)v48;
v52 = *(__int64 ***)(*(_QWORD *)(a1 + 14584) + 8 * v51);
if ( v52 )
goto LABEL_72;
}
}
LABEL_91:
if ( v46 )
{
LABEL_92:
(*(void (__fastcall **)(float *, _QWORD))(*(_QWORD *)v25 + 1280LL))(v25, 0);
GameObject::addColorSpriteToParent(v25, 0);
}
LABEL_93:
(*(void (__fastcall **)(float *))(*(_QWORD *)v25 + 1304LL))(v25);
(*(void (__fastcall **)(float *, float *))(*(_QWORD *)v25 + 1360LL))(&v89, v25);
sub_100278300(v81, &v89);
v57 = *((_WORD *)v25 + 504);
LOBYTE(v58) = 1;
if ( v57 == -1 )
{
if ( *((_WORD *)v25 + 505) != 0xFFFF
|| (v57 = -1, v59 = v82, *(float *)(a1 + 14268) <= (float)(*(float *)(a1 + 1204) + *(float *)(a1 + 12680))) )
{
v58 = 0;
v59 = v80;
v57 = *((_WORD *)v25 + 505);
}
}
else
{
v59 = v82;
}
v95 = v58;
v60 = *((_BYTE *)v25 + 1345);
v61 = -14;
if ( !v60 )
v61 = *(_DWORD *)(*v59 + 4LL * *((__int16 *)v25 + 506));
v94 = v61;
if ( (*(unsigned __int8 (__fastcall **)(float *))(*(_QWORD *)v25 + 1728LL))(v25) )
{
v62 = *(double *)(a1 + 920);
(*(void (__fastcall **)(float *, __int64, float))(*(_QWORD *)v25 + 1848LL))(v25, 0xFFFFFFFFLL, v62);
}
if ( (*(unsigned __int8 (__fastcall **)(float *))(*(_QWORD *)v25 + 1736LL))(v25) )
EnhancedGameObject::updateRotateAction(v25, v98);
if ( *((_BYTE *)v25 + 887) == 1 )
AnimatedGameObject::updateChildSpriteColor(v25, v84);
if ( (*(unsigned int (__fastcall **)(float *))(*(_QWORD *)v25 + 1800LL))(v25) == 30 )
{
v63 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 2032) + 192LL))(*(_QWORD *)(a1 + 2032));
EffectGameObject::updateInteractiveHover(v25, *(float *)(v63 + 4));
if ( *((_DWORD *)v25 + 257) == 143 )
goto LABEL_111;
}
else if ( *((_DWORD *)v25 + 257) == 143 )
{
LABEL_111:
(*(void (__fastcall **)(float *, __int16 *))(*(_QWORD *)v25 + 1504LL))(v25, v88);
if ( *((_BYTE *)v25 + 1032) )
continue;
goto LABEL_112;
}
if ( *((_BYTE *)v25 + 1032) )
continue;
LABEL_112:
if ( *((_BYTE *)v25 + 968) == 1 && !*((_BYTE *)v25 + 969) )
{
*(_QWORD *)&v64 = LODWORD(MeteringValue);
if ( *((_BYTE *)v25 + 1054) == 1 )
{
*(_QWORD *)&v64 = *((unsigned int *)v25 + 265);
*(float *)&v64 = (float)((float)(*(float *)&v64 - v25[264]) * v87) + v25[264];
}
(*(void (__fastcall **)(float *, double))(*(_QWORD *)v25 + 1456LL))(v25, v64);
}
if ( *((_BYTE *)v25 + 1073) == 1 )
{
v65 = v88;
if ( *((_BYTE *)v25 + 1074) )
v65 = &v96;
(*(void (__fastcall **)(float *, __int16 *))(*(_QWORD *)v25 + 1504LL))(v25, v65);
}
if ( *((_BYTE *)v25 + 1072) )
{
if ( v101 )
{
(*(void (__fastcall **)(float *, __int16 *))(*(_QWORD *)v25 + 1504LL))(v25, v88);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v25 + 912LL))(v25, 255);
GameObject::setGlowOpacity(v25, 255);
v66 = v94;
if ( v94 != -15 )
goto LABEL_148;
}
else
{
PlayLayer::updateInvisibleBlock(a1, v25, &v90, v85, v92, v93, v86);
v66 = v94;
if ( v94 != -15 )
goto LABEL_148;
}
}
else
{
if ( !(unsigned __int8)GameObject::ignoreFade(v25) && v94 != -14 )
{
if ( *((_BYTE *)v25 + 1033) != 1
|| *((_BYTE *)v25 + 1036) == 1 && *((_BYTE *)v25 + 1112)
|| (unsigned __int16)v57 < 0xFFFEu
|| v60
|| v94 != -2 )
{
if ( v94 == -15 )
goto LABEL_139;
sub_1002782D0(&v89, v81);
v70 = v25[211];
if ( (_BYTE)v95 )
{
v89 = v89 - v70;
sub_1002782D0(&v83, &v89);
v71 = (float)((float)(*(float *)(a1 + 1204) + *(float *)(a1 + 12668)) - v83) + 0.0;
}
else
{
v89 = v70 + v89;
sub_1002782D0(&v83, &v89);
v71 = v83 - *(float *)(a1 + 1204);
}
v72 = cocos2d::clampf(v71 / 70.0, 0.0, 1.0);
(*(void (__fastcall **)(float *, _QWORD))(*(_QWORD *)v25 + 912LL))(
v25,
(unsigned __int8)(int)(float)(v72 * 255.0));
}
else
{
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v25 + 912LL))(v25, 255);
}
v66 = v94;
LABEL_148:
v67 = (unsigned __int8)v95;
v68 = a1;
v69 = v25;
LABEL_149:
PlayLayer::applyEnterEffect(v68, v69, v66, v67);
if ( !isFlipping )
{
LABEL_150:
if ( *(_BYTE *)(a1 + 12604) == 1 )
{
(*(void (__fastcall **)(float *, _QWORD))(*(_QWORD *)v25 + 1240LL))(v25, *((unsigned __int8 *)v25 + 996));
(*(void (__fastcall **)(float *, _QWORD))(*(_QWORD *)v25 + 1248LL))(v25, *((unsigned __int8 *)v25 + 997));
(*(void (__fastcall **)(float *, float))(*(_QWORD *)v25 + 360LL))(v25, v25[243]);
v73 = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)v25 + 192LL))(v25);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v25 + 184LL))(v25, v73);
}
continue;
}
goto LABEL_23;
}
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v25 + 912LL))(v25, 255);
v66 = v94;
if ( v94 != -15 )
goto LABEL_148;
}
LABEL_139:
if ( (unsigned __int8)GameObject::ignoreEnter(v25) )
{
v67 = (unsigned __int8)v95;
v68 = a1;
v69 = v25;
v66 = 4294967281LL;
goto LABEL_149;
}
PlayLayer::applyCustomEnterEffect(a1, v25, (unsigned __int8)v95);
if ( !isFlipping )
goto LABEL_150;
LABEL_23:
PlayLayer::screenFlipObject(a1, v25);
}
}
GJBaseGameLayer::updateEnterEffects(a1, v98);
GJBaseGameLayer::processAreaVisualActions(a1, v98);
GJBaseGameLayer::updateParticles(a1, v98);
*(_BYTE *)(a1 + 12604) = 0;
if ( *(_QWORD *)(a1 + 14608) )
{
v74 = *(_QWORD **)(a1 + 14600);
if ( v74 )
{
do
{
v75 = (_QWORD *)*v74;
operator delete(v74);
v74 = v75;
}
while ( v75 );
}
*(_QWORD *)(a1 + 14600) = 0;
v76 = *(_QWORD *)(a1 + 14592);
if ( v76 )
__bzero(*(_QWORD *)(a1 + 14584), 8 * v76);
*(_QWORD *)(a1 + 14608) = 0;
}
if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1312LL))(a1) )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1304LL))(a1);
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1320LL))(a1);
if ( (_BYTE)result )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1304LL))(a1);
return result;
}