//
// EnhancedGameObject::customSetup from 0x77d208 to 0x77e2c8 (4288 bytes)
//
// 6 xrefs:
// > EffectGameObject::customSetup @ 0x8776b8
// > ParticleGameObject::customSetup @ 0x89b33c
// > ??> @ 0x5e6d8
// > ??> @ 0x1434d60
// > ??> @ 0x1448130
// > ??> @ 0x1449960
//
// This function is hookable on this platform (idp: arm, 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:53:19 +0000
//
__int64 __fastcall EnhancedGameObject::customSetup(EnhancedGameObject *this)
{
int v2; // w1
int v3; // w0
int v4; // w0
float v5; // s8
int v6; // w0
int v7; // w1
int v8; // w0
float v9; // s0
int v10; // w0
int v11; // w0
int v12; // w1
int v13; // w0
int v14; // w1
float v15; // s0
int v16; // w1
int v18; // w2
float v19; // s0
float v20; // s0
int v21; // w1
int v22; // w0
GameManager *v23; // x0
GameManager *v24; // x21
void (__fastcall *v25)(GameManager *, float *); // x3
void (__fastcall *v26)(GameManager *, float *); // x2
int v27; // w0
int v28; // w1
int v29; // w0
int v30; // w0
float v31; // s1
float v32; // s0
int v33; // w0
float v34; // s1
int v35; // w0
int v36; // w0
int v37; // w0
float v38; // s8
int v39; // w21
int v40; // w0
float v41; // s0
float v42; // s0
int v43; // w0
int v44; // w0
int v45; // w1
int v46; // w0
GameManager *v47; // x0
GameManager *v48; // x21
void (__fastcall *v49)(GameManager *, float *); // x2
void (__fastcall *v50)(GameManager *, float *); // x2
int v51; // w1
float v52; // [xsp+58h] [xbp+58h] BYREF
float v53; // [xsp+5Ch] [xbp+5Ch]
float v54; // [xsp+60h] [xbp+60h]
float v55; // [xsp+64h] [xbp+64h]
v2 = *((_DWORD *)this + 257);
if ( v2 <= 1528 )
{
if ( v2 < 1521 )
{
if ( v2 > 680 )
{
if ( v2 > 1052 )
{
if ( v2 <= 1061 )
{
if ( v2 >= 1058 )
{
LABEL_155:
GameObject::setDefaultMainColorMode(this, 1007);
v37 = *((unsigned __int8 *)this + 1388);
*((_DWORD *)this + 230) = 7;
*((_DWORD *)this + 262) = 9;
*((_DWORD *)this + 279) = 3;
if ( v37 )
goto LABEL_30;
LABEL_70:
v13 = rand();
v14 = 0;
v15 = (float)v13;
LABEL_108:
EnhancedGameObject::createRotateAction(this, (float)((float)(v15 * 4.6566e-10) * 90.0) + 270.0, v14);
goto LABEL_30;
}
if ( v2 > 1054 )
{
GameObject::setDefaultMainColorMode(this, 1007);
*((_BYTE *)this + 968) = 1;
*((_BYTE *)this + 1054) = 1;
*((_DWORD *)this + 230) = 7;
v12 = *((unsigned __int8 *)this + 1388);
*((_DWORD *)this + 262) = 9;
*((_DWORD *)this + 279) = 3;
*((_DWORD *)this + 264) = 1061997773;
*((_DWORD *)this + 265) = 1067030938;
if ( v12 )
goto LABEL_30;
goto LABEL_70;
}
goto LABEL_71;
}
if ( v2 == 1516 )
{
GameObject::setDefaultMainColorMode(this, 1);
*((_DWORD *)this + 230) = 7;
*((_DWORD *)this + 262) = 9;
*((_BYTE *)this + 1386) = (unsigned __int8)&dword_0 + 1;
*((_DWORD *)this + 279) = 3;
*((_BYTE *)this + 1053) = (unsigned __int8)&dword_0 + 1;
goto LABEL_73;
}
if ( v2 > 1516 )
{
if ( (unsigned int)(v2 - 1518) > 1 )
goto LABEL_73;
goto LABEL_151;
}
if ( v2 != 1330 )
goto LABEL_73;
*((_DWORD *)this + 230) = 32;
*((_BYTE *)this + 968) = 1;
*((_DWORD *)this + 262) = 12;
*((_DWORD *)this + 279) = 3;
*((_DWORD *)this + 227) = 1067030938;
*((_DWORD *)this + 228) = 1067030938;
GameObject::setDefaultMainColorMode(this, 0);
if ( !*((_BYTE *)this + 649) )
{
v47 = GameObject::createAndAddParticle(
(__int64)this,
*((_DWORD *)this + 230),
(__int64)"ringEffect.plist",
4u,
2u);
v48 = v47;
if ( v47 )
{
(*(void (__fastcall **)(GameManager *, __int64))(*(_QWORD *)v47 + 1568LL))(v47, 2);
v49 = *(void (__fastcall **)(GameManager *, float *))(*(_QWORD *)v48 + 1360LL);
v52 = 1.0;
v53 = 1.0;
v54 = 1.0;
v55 = 1.0;
v49(v48, &v52);
v50 = *(void (__fastcall **)(GameManager *, float *))(*(_QWORD *)v48 + 1392LL);
v55 = 1.0;
v52 = 0.0;
v53 = 0.0;
v54 = 0.0;
v50(v48, &v52);
}
}
}
else
{
if ( v2 >= 1050 )
{
v16 = 1007;
goto LABEL_72;
}
if ( v2 <= 924 )
{
if ( v2 < 923 )
{
if ( v2 < 740 )
goto LABEL_73;
if ( v2 <= 742 )
{
v18 = *((unsigned __int8 *)this + 1388);
*((_DWORD *)this + 230) = 2;
*((_DWORD *)this + 262) = 1;
*((_BYTE *)this + 1072) = 1;
if ( !v18 )
{
if ( v2 == 740 )
v19 = 300.0;
else
v19 = 360.0;
EnhancedGameObject::createRotateAction(this, v19, 0);
v2 = *((_DWORD *)this + 257);
}
*((_BYTE *)this + 1387) = 1;
if ( v2 == 740 )
goto LABEL_181;
if ( v2 != 741 )
goto LABEL_83;
goto LABEL_101;
}
if ( (unsigned int)(v2 - 920) > 1 )
goto LABEL_73;
}
goto LABEL_151;
}
if ( v2 <= 1021 )
{
if ( v2 >= 1019 )
{
GameObject::setDefaultMainColorMode(this, 1005);
v41 = *((float *)this + 192);
*((_DWORD *)this + 230) = 7;
v42 = v41 + v41;
*((_DWORD *)this + 262) = 9;
v43 = *((unsigned __int8 *)this + 1388);
*((_DWORD *)this + 279) = 3;
*((_BYTE *)this + 1212) = 1;
*((float *)this + 191) = v42;
*((float *)this + 192) = v42;
if ( !v43 )
{
byte_155C688 ^= 1u;
v44 = rand();
EnhancedGameObject::createRotateAction(
this,
(float)((float)((float)v44 * 4.6566e-10) * 135.0) + 45.0,
0);
}
goto LABEL_30;
}
if ( (unsigned int)(v2 - 997) > 3 )
goto LABEL_73;
goto LABEL_26;
}
if ( v2 != 1022 )
goto LABEL_73;
*((_DWORD *)this + 230) = 29;
*((_BYTE *)this + 968) = 1;
*((_DWORD *)this + 262) = 12;
*((_DWORD *)this + 279) = 3;
*((_DWORD *)this + 227) = 1067030938;
*((_DWORD *)this + 228) = 1067030938;
GameObject::setDefaultMainColorMode(this, 0);
if ( !*((_BYTE *)this + 649) )
{
v23 = GameObject::createAndAddParticle(
(__int64)this,
*((_DWORD *)this + 230),
(__int64)"ringEffect.plist",
4u,
2u);
v24 = v23;
if ( v23 )
{
(*(void (__fastcall **)(GameManager *, __int64))(*(_QWORD *)v23 + 1568LL))(v23, 2);
v25 = *(void (__fastcall **)(GameManager *, float *))(*(_QWORD *)v24 + 1360LL);
v53 = 1.0;
v52 = 0.29412;
v54 = 0.29412;
v55 = 1.0;
v25(v24, &v52);
v26 = *(void (__fastcall **)(GameManager *, float *))(*(_QWORD *)v24 + 1392LL);
v53 = 1.0;
v52 = 0.0;
v54 = 0.0;
v55 = 1.0;
v26(v24, &v52);
}
}
}
if ( !*((_BYTE *)this + 1388) )
EnhancedGameObject::createRotateAction(this, 270.0, 0);
goto LABEL_30;
}
if ( v2 >= 678 )
goto LABEL_87;
if ( v2 <= 182 )
{
if ( v2 >= 180 )
goto LABEL_60;
if ( v2 != 97 )
{
if ( v2 <= 97 )
{
if ( v2 < 85 )
goto LABEL_73;
if ( v2 > 87 )
{
if ( v2 > 89 )
goto LABEL_73;
goto LABEL_131;
}
}
else
{
if ( v2 <= 139 )
{
if ( v2 < 137 )
{
if ( v2 != 98 )
goto LABEL_73;
goto LABEL_131;
}
LABEL_60:
GameObject::setDefaultMainColorMode(this, 1006);
v10 = *((unsigned __int8 *)this + 1388);
*((_DWORD *)this + 230) = 7;
*((_DWORD *)this + 262) = 9;
*((_DWORD *)this + 279) = 3;
if ( !v10 )
{
v11 = rand();
EnhancedGameObject::createRotateAction(this, (float)((float)((float)v11 * 4.6566e-10) * 90.0) + 90.0, 0);
}
goto LABEL_30;
}
if ( (unsigned int)(v2 - 154) > 2 )
goto LABEL_73;
}
}
LABEL_26:
GameObject::setDefaultMainColorMode(this, 1005);
v4 = *((_DWORD *)this + 257);
*((_DWORD *)this + 230) = 7;
*((_DWORD *)this + 262) = 9;
*((_DWORD *)this + 279) = 3;
if ( (unsigned int)(v4 - 154) > 2 )
v5 = 1.0;
else
v5 = 1.5;
if ( !*((_BYTE *)this + 1388) )
{
v6 = rand();
EnhancedGameObject::createRotateAction(
this,
(float)((float)((float)((float)v6 * 4.6566e-10) * 90.0) + 90.0) * v5,
0);
}
goto LABEL_30;
}
if ( v2 > 378 )
{
if ( v2 > 399 )
{
if ( v2 < 675 )
goto LABEL_73;
goto LABEL_131;
}
if ( v2 >= 397 )
goto LABEL_131;
if ( v2 < 394 )
goto LABEL_73;
goto LABEL_26;
}
if ( v2 < 375 )
{
if ( v2 <= 188 )
goto LABEL_87;
if ( (unsigned int)(v2 - 222) > 2 )
goto LABEL_73;
goto LABEL_26;
}
}
*((_DWORD *)this + 230) = 7;
*((_DWORD *)this + 262) = 9;
*((_DWORD *)this + 279) = 3;
if ( v2 != 1522 )
{
if ( v2 > 1522 )
{
if ( v2 != 1525 )
{
if ( v2 <= 1525 )
{
if ( v2 != 1523 )
goto LABEL_165;
}
else if ( v2 != 1527 )
{
if ( v2 >= 1527 )
{
LABEL_165:
GameObject::setDefaultMainColorMode(this, 1006);
v38 = 0.8;
goto LABEL_166;
}
goto LABEL_191;
}
goto LABEL_231;
}
goto LABEL_229;
}
if ( v2 == 377 )
{
LABEL_231:
v38 = 1.0;
GameObject::setDefaultMainColorMode(this, 1005);
LABEL_166:
if ( !*((_BYTE *)this + 1388) )
{
if ( (float)((float)rand() * 4.6566e-10) <= 0.5 )
v39 = -1;
else
v39 = 1;
v40 = rand();
EnhancedGameObject::createRotateAction(
this,
(float)((float)((float)((float)((float)v40 * 4.6566e-10) * 90.0) + 90.0) * v38) * (float)v39,
0);
}
goto LABEL_30;
}
if ( v2 > 377 )
{
if ( v2 == 378 )
goto LABEL_165;
goto LABEL_229;
}
if ( v2 == 375 )
{
LABEL_229:
GameObject::setDefaultMainColorMode(this, 1005);
v38 = 1.4;
goto LABEL_166;
}
}
LABEL_191:
GameObject::setDefaultMainColorMode(this, 1006);
v38 = 1.2;
goto LABEL_166;
}
if ( v2 > 1939 )
{
if ( v2 > 3002 )
{
if ( v2 > 3484 )
{
if ( v2 != 4211 )
{
if ( v2 > 4211 )
{
if ( v2 != 4300 )
goto LABEL_73;
}
else if ( (unsigned int)(v2 - 3492) > 1 )
{
goto LABEL_73;
}
}
}
else if ( v2 < 3482 && v2 != 3219 )
{
if ( v2 > 3219 )
{
if ( (unsigned int)(v2 - 3303) > 1 )
goto LABEL_73;
}
else if ( (unsigned int)(v2 - 3119) > 2 )
{
goto LABEL_73;
}
}
goto LABEL_44;
}
if ( v2 < 3000 )
{
if ( v2 > 2630 )
{
if ( v2 > 2865 )
{
if ( (unsigned int)(v2 - 2867) > 0x1B )
goto LABEL_73;
}
else if ( v2 < 2864 )
{
if ( v2 != 2694 )
goto LABEL_73;
goto LABEL_44;
}
LABEL_122:
*((_DWORD *)this + 230) = 7;
GameObject::setDefaultMainColorMode(this, 1);
*((_BYTE *)this + 1386) = 1;
*((_BYTE *)this + 1053) = 1;
v30 = rand();
*((_BYTE *)this + 1408) = 1;
*((float *)this + 343) = (float)((float)((float)v30 * 4.6566e-10) * 0.4) + 0.8;
if ( (float)((float)rand() * 4.6566e-10) <= 0.7 )
{
v46 = rand();
*((_BYTE *)this + 1053) = 0;
*((float *)this + 338) = (float)((float)v46 * 4.6566e-10) * 0.5;
}
else
{
*((_BYTE *)this + 1368) = 1;
*((_BYTE *)this + 1053) = 0;
*((float *)this + 339) = -1.0;
}
goto LABEL_73;
}
if ( v2 < 2629 && v2 != 2223 )
{
if ( v2 > 2223 )
{
if ( v2 != 2246 && v2 != 2605 )
goto LABEL_73;
goto LABEL_44;
}
if ( (unsigned int)(v2 - 2020) > 0x23 )
goto LABEL_73;
goto LABEL_122;
}
LABEL_44:
GameObject::setDefaultMainColorMode(this, 1);
v7 = *((_DWORD *)this + 257);
*((_DWORD *)this + 230) = 7;
*((_DWORD *)this + 262) = 9;
*((_BYTE *)this + 1053) = 1;
*((_DWORD *)this + 279) = 3;
*((_BYTE *)this + 1386) = 1;
if ( v7 != 2694 && v7 != 2605 )
*((float *)this + 343) = (float)((float)((float)rand() * 4.6566e-10) * 0.4) + 0.8;
GameObject::setupPixelScale(this);
goto LABEL_73;
}
LABEL_71:
v16 = 1;
LABEL_72:
GameObject::setDefaultMainColorMode(this, v16);
*((_DWORD *)this + 230) = 7;
*((_DWORD *)this + 262) = 9;
*((_DWORD *)this + 279) = 3;
*((_BYTE *)this + 1386) = 1;
goto LABEL_73;
}
if ( v2 >= 1936 )
{
LABEL_151:
*((_DWORD *)this + 230) = 7;
GameObject::setDefaultMainColorMode(this, 1011);
*((_BYTE *)this + 1386) = 1;
v35 = rand();
*((_BYTE *)this + 1408) = 1;
v34 = (float)v35;
goto LABEL_148;
}
if ( v2 > 1710 )
{
if ( v2 > 1834 )
{
if ( v2 > 1858 )
{
if ( v2 != 1860 )
goto LABEL_73;
}
else if ( v2 < 1849 )
{
if ( (unsigned int)(v2 - 1839) <= 3 )
{
*((_BYTE *)this + 1416) = 1;
GameObject::setDefaultMainColorMode(this, 1);
*((_BYTE *)this + 1386) = 1;
*((_DWORD *)this + 230) = 7;
*((_DWORD *)this + 262) = 9;
*((_DWORD *)this + 279) = (unsigned int)&dword_0 + 3;
}
goto LABEL_73;
}
*((_DWORD *)this + 230) = 7;
GameObject::setDefaultMainColorMode(this, 1011);
v33 = *((_DWORD *)this + 257);
*((_BYTE *)this + 1386) = 1;
if ( v33 != 1860 && v33 != 1857 )
*((_BYTE *)this + 1053) = 1;
v34 = (float)rand();
*((_BYTE *)this + 1408) = 1;
LABEL_148:
*((float *)this + 343) = (float)((float)(v34 * 4.6566e-10) * 0.4) + 0.8;
if ( (float)((float)rand() * 4.6566e-10) <= 0.7 )
{
*((float *)this + 338) = (float)((float)rand() * 4.6566e-10) * 0.5;
}
else
{
*((_BYTE *)this + 1368) = 1;
*((float *)this + 339) = -1.0;
}
goto LABEL_73;
}
if ( v2 < 1831 )
{
if ( v2 < 1734 )
goto LABEL_73;
if ( v2 > 1736 )
{
if ( v2 != 1752 )
goto LABEL_73;
GameObject::setDefaultMainColorMode(this, 1007);
v22 = *((unsigned __int8 *)this + 1388);
*((_DWORD *)this + 230) = 7;
*((_DWORD *)this + 262) = 9;
*((_DWORD *)this + 279) = 3;
if ( v22 )
goto LABEL_30;
v15 = (float)rand();
v14 = 1;
goto LABEL_108;
}
LABEL_131:
*((_DWORD *)this + 230) = 2;
v31 = *((float *)this + 191);
if ( v2 == 677 )
goto LABEL_187;
if ( v2 <= 677 )
{
if ( v2 == 397 )
goto LABEL_240;
if ( v2 <= 397 )
{
if ( v2 == 88 )
goto LABEL_239;
if ( v2 != 89 )
goto LABEL_138;
goto LABEL_234;
}
if ( v2 == 675 )
{
LABEL_225:
v32 = 240.0;
*((_DWORD *)this + 225) = 1107296256;
goto LABEL_139;
}
if ( v2 <= 675 )
{
if ( v2 != 398 )
goto LABEL_138;
goto LABEL_187;
}
}
else
{
if ( v2 == 1709 )
goto LABEL_187;
if ( v2 <= 1709 )
{
if ( v2 != 1706 )
{
if ( v2 != 1708 )
{
if ( v2 != 1705 )
{
LABEL_138:
v32 = 360.0;
*((float *)this + 225) = v31 * 0.3;
LABEL_139:
if ( !*((_BYTE *)this + 1388) )
{
EnhancedGameObject::createRotateAction(this, v32, 0);
v2 = *((_DWORD *)this + 257);
}
*((_BYTE *)this + 1387) = 1;
*((_BYTE *)this + 1073) = 1;
*((_BYTE *)this + 1074) = 1;
*((_DWORD *)this + 262) = 1;
if ( (unsigned int)(v2 - 1705) <= 5 )
GameObject::setDefaultMainColorMode(this, 1010);
goto LABEL_73;
}
LABEL_239:
v32 = 300.0;
*((_DWORD *)this + 225) = 1107374899;
goto LABEL_139;
}
LABEL_240:
v32 = 300.0;
*((_DWORD *)this + 225) = 1105670963;
goto LABEL_139;
}
LABEL_234:
v32 = 360.0;
*((float *)this + 225) = v31 * 0.36;
goto LABEL_139;
}
if ( v2 != 1735 )
{
if ( v2 != 1736 )
{
if ( v2 != 1734 )
goto LABEL_138;
goto LABEL_225;
}
LABEL_187:
v32 = 360.0;
*((float *)this + 225) = v31 * 0.32;
goto LABEL_139;
}
}
v32 = 300.0;
*((float *)this + 225) = v31 * 0.34;
goto LABEL_139;
}
goto LABEL_155;
}
if ( v2 >= 1705 )
goto LABEL_131;
if ( v2 == 1614 )
{
GameObject::commonInteractiveSetup(this);
*((_BYTE *)this + 1386) = 1;
*((float *)this + 191) = 25.0;
*((float *)this + 192) = 20.0;
goto LABEL_73;
}
if ( v2 <= 1614 )
{
if ( v2 == 1591 )
{
LABEL_154:
GameObject::setDefaultMainColorMode(this, 1);
*((_BYTE *)this + 1053) = 1;
*((_DWORD *)this + 230) = 7;
*((_BYTE *)this + 1386) = 1;
*((_DWORD *)this + 262) = 9;
*((_DWORD *)this + 279) = 3;
v36 = rand();
*((_BYTE *)this + 1408) = 1;
v9 = (float)v36;
*((_DWORD *)this + 357) = 1;
goto LABEL_52;
}
if ( v2 <= 1591 )
{
if ( v2 != 1582 )
{
if ( v2 == 1583 )
{
GameObject::setDefaultMainColorMode(this, 1);
*((_BYTE *)this + 1053) = 1;
*((_DWORD *)this + 230) = 2;
*((_DWORD *)this + 262) = 9;
*((_DWORD *)this + 279) = 3;
*((_BYTE *)this + 968) = 1;
*((_BYTE *)this + 1054) = 1;
*((_BYTE *)this + 1386) = 1;
*((_BYTE *)this + 1288) = 1;
*((_DWORD *)this + 264) = 1063675494;
*((float *)this + 225) = 4.0;
*((_DWORD *)this + 265) = 1066192077;
v3 = rand();
*((_BYTE *)this + 1408) = 1;
*((float *)this + 343) = (float)((float)((float)v3 * 4.6566e-10) * 0.4) + 0.8;
if ( (float)((float)rand() * 4.6566e-10) <= 0.7 )
{
*((float *)this + 338) = (float)((float)rand() * 4.6566e-10) * 0.5;
}
else
{
*((_BYTE *)this + 1368) = 1;
*((float *)this + 339) = -1.0;
}
if ( !*((_BYTE *)this + 649) )
{
if ( !*((_BYTE *)this + 1044) )
GameObject::createAndAddParticle(
(__int64)this,
*((_DWORD *)this + 230),
(__int64)"fireballEffect.plist",
0xFFFFFFFE,
1u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v52, 0.0, 0.0);
cocos2d::CCPoint::operator=((char *)this + 812, &v52);
*((_BYTE *)this + 809) = 1;
*((_BYTE *)this + 1064) = 1;
}
}
goto LABEL_73;
}
GameObject::setDefaultMainColorMode(this, 1);
*((_BYTE *)this + 1053) = 1;
*((_BYTE *)this + 968) = 1;
*((_BYTE *)this + 1054) = 1;
*((_DWORD *)this + 230) = 2;
v28 = *((unsigned __int8 *)this + 1388);
*((_DWORD *)this + 262) = 9;
*((_DWORD *)this + 264) = 1063675494;
*((_DWORD *)this + 279) = 3;
*((float *)this + 225) = 4.0;
*((_DWORD *)this + 265) = 1067030938;
if ( !v28 )
{
v29 = rand();
EnhancedGameObject::createRotateAction(
this,
(float)((float)((float)((float)v29 * 4.6566e-10) * 0.4) + 0.8) * 270.0,
1);
}
LABEL_30:
*((_BYTE *)this + 1387) = (unsigned __int8)&dword_0 + 1;
goto LABEL_73;
}
if ( v2 != 1592 )
{
if ( v2 != 1593 )
goto LABEL_73;
goto LABEL_154;
}
goto LABEL_71;
}
if ( v2 <= 1620 )
{
if ( v2 < 1619 )
{
if ( v2 != 1618 )
goto LABEL_73;
GameObject::setDefaultMainColorMode(this, 1011);
*((_BYTE *)this + 1386) = 1;
*((_DWORD *)this + 230) = 7;
*((_DWORD *)this + 262) = 9;
*((_DWORD *)this + 279) = 3;
v8 = rand();
*((_BYTE *)this + 1408) = 1;
v9 = (float)v8;
LABEL_52:
*((float *)this + 338) = (float)(v9 * 4.6566e-10) * 0.5;
*((float *)this + 343) = (float)((float)((float)rand() * 4.6566e-10) * 0.4) + 0.8;
goto LABEL_73;
}
LABEL_87:
*((_DWORD *)this + 262) = 1;
*((_DWORD *)this + 230) = 2;
*((_BYTE *)this + 1387) = 1;
if ( v2 == 1619 )
{
v51 = *((unsigned __int8 *)this + 1388);
*((_BYTE *)this + 1073) = 1;
*((_BYTE *)this + 1053) = 0;
if ( v51 )
goto LABEL_244;
v20 = 720.0;
v21 = -1;
}
else if ( v2 > 1619 )
{
v45 = *((unsigned __int8 *)this + 1388);
*((_BYTE *)this + 1073) = 1;
*((_BYTE *)this + 1053) = 0;
if ( v45 )
goto LABEL_238;
v20 = 1080.0;
v21 = -1;
}
else
{
if ( (unsigned int)(v2 - 678) > 2 )
*((_BYTE *)this + 1073) = 1;
else
*((_DWORD *)this + 262) = 0;
if ( *((_BYTE *)this + 1388) )
{
LABEL_96:
if ( v2 != 187 )
{
if ( v2 <= 187 )
{
if ( v2 == 184 )
{
*((float *)this + 225) = *((float *)this + 191) * 0.34;
goto LABEL_73;
}
if ( v2 != 186 )
{
if ( v2 == 183 )
goto LABEL_101;
LABEL_83:
*((float *)this + 225) = *((float *)this + 191) * 0.3;
goto LABEL_73;
}
LABEL_181:
*((_DWORD *)this + 225) = 1107374899;
goto LABEL_73;
}
if ( v2 == 679 )
goto LABEL_101;
if ( v2 <= 679 )
{
if ( v2 == 678 )
{
*((_DWORD *)this + 225) = 1106457395;
goto LABEL_73;
}
goto LABEL_83;
}
if ( v2 != 1619 )
{
if ( v2 != 1620 )
goto LABEL_83;
LABEL_238:
*((float *)this + 225) = 15.0;
goto LABEL_73;
}
LABEL_244:
*((float *)this + 225) = 25.0;
goto LABEL_73;
}
LABEL_101:
*((float *)this + 225) = *((float *)this + 191) * 0.36;
goto LABEL_73;
}
if ( v2 == 186 )
v20 = 300.0;
else
v20 = 360.0;
v21 = 0;
}
EnhancedGameObject::createRotateAction(this, v20, v21);
v2 = *((_DWORD *)this + 257);
goto LABEL_96;
}
if ( (unsigned int)(v2 - 1697) <= 2 )
{
GameObject::setDefaultMainColorMode(this, 1006);
*((_BYTE *)this + 1386) = 1;
*((_DWORD *)this + 230) = 7;
*((_DWORD *)this + 262) = 9;
*((_DWORD *)this + 279) = 3;
v27 = rand();
*((_BYTE *)this + 1408) = 1;
*((float *)this + 338) = (float)((float)v27 * 4.6566e-10) * 0.5;
*((float *)this + 343) = (float)((float)((float)rand() * 4.6566e-10) * 0.5) + 0.8;
}
LABEL_73:
GameObject::customSetup(this);
return _stack_chk_guard;
}