// // EnhancedGameObject::customSetup from 0x652b64 to 0x653c24 (4288 bytes) // // 6 xrefs: // > ParticleGameObject::customSetup @ 0x74a7c4 // > EffectGameObject::customSetup @ 0x75e9a0 // > @ 0x41f88 // > @ 0x1154160 // > @ 0x1166ae0 // > @ 0x11682e0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void EnhancedGameObject::customSetup(EnhancedGameObject *a1) { int m_objectID; // w1 int v3; // w0 float v4; // s0 float v5; // s1 int v6; // w0 float v7; // s8 int v8; // w0 int v9; // w1 int v10; // w0 float v11; // s0 _BOOL4 v12; // w0 int v13; // w0 _BOOL4 v14; // w1 int v15; // w0 int v16; // w1 float v17; // s0 int v18; // w1 _BOOL4 v19; // w2 float v20; // s0 float v21; // s0 int v22; // w1 _BOOL4 v23; // w0 cocos2d::CCParticleSystemQuad *v24; // x0 cocos2d::CCParticleSystemQuad *v25; // x21 void (__fastcall *v26)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // x3 void (__fastcall *v27)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // x2 int v28; // w0 _BOOL4 v29; // w1 int v30; // w0 int v31; // w0 float m_width; // s1 float v33; // s0 int v34; // w0 float v35; // s1 int v36; // w0 int v37; // w0 _BOOL4 m_disableRotation; // w0 float v39; // s8 int v40; // w21 int v41; // w0 float m_height; // s0 float v43; // s0 _BOOL4 v44; // w0 int v45; // w0 _BOOL4 v46; // w1 int v47; // w0 cocos2d::CCParticleSystemQuad *v48; // x0 cocos2d::CCParticleSystemQuad *v49; // x21 void (__fastcall *setStartColor)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // x2 void (__fastcall *setEndColor)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // x2 _BOOL4 v52; // w1 cocos2d::CCPoint v53; // [xsp+58h] [xbp+58h] BYREF float v54; // [xsp+60h] [xbp+60h] float v55; // [xsp+64h] [xbp+64h] m_objectID = a1->m_objectID; if ( m_objectID <= 1528 ) { if ( m_objectID < 1521 ) { if ( m_objectID > 680 ) { if ( m_objectID > 1052 ) { if ( m_objectID <= 1061 ) { if ( m_objectID >= 1058 ) { LABEL_155: GameObject::setDefaultMainColorMode(a1, 1007); m_disableRotation = a1->m_disableRotation; a1->m_objectType = Decoration; a1->m_defaultZOrder = 9; a1->m_defaultZLayer = B1; if ( m_disableRotation ) goto LABEL_30; LABEL_70: v15 = rand(); v16 = 0; v17 = (float)v15; LABEL_108: EnhancedGameObject::createRotateAction(a1, (float)((float)(v17 * 4.6566e-10) * 90.0) + 270.0, v16); goto LABEL_30; } if ( m_objectID > 1054 ) { GameObject::setDefaultMainColorMode(a1, 1007); a1->m_usesAudioScale = 1; a1->m_customAudioScale = 1; a1->m_objectType = Decoration; v14 = a1->m_disableRotation; a1->m_defaultZOrder = 9; a1->m_defaultZLayer = B1; a1->m_minAudioScale = 0.8; a1->m_maxAudioScale = 1.2; if ( v14 ) goto LABEL_30; goto LABEL_70; } goto LABEL_71; } if ( m_objectID == 1516 ) { GameObject::setDefaultMainColorMode(a1, 1); a1->m_objectType = Decoration; a1->m_defaultZOrder = 9; a1->m_hasCustomAnimation = (unsigned __int8)&dword_0 + 1; a1->m_defaultZLayer = B1; a1->m_colorZLayerRelated = (unsigned __int8)&dword_0 + 1; goto LABEL_73; } if ( m_objectID > 1516 ) { if ( (unsigned int)(m_objectID - 1518) > 1 ) goto LABEL_73; goto LABEL_151; } if ( m_objectID != 1330 ) goto LABEL_73; a1->m_objectType = DropRing; a1->m_usesAudioScale = 1; a1->m_defaultZOrder = 12; a1->m_defaultZLayer = B1; a1->m_spriteWidthScale = 1.2; a1->m_spriteHeightScale = 1.2; GameObject::setDefaultMainColorMode(a1, 0); if ( !a1->m_editorEnabled ) { v48 = GameObject::createAndAddParticle(a1, a1->m_objectType, "ringEffect.plist", 4, kCCPositionTypeGrouped); v49 = v48; if ( v48 ) { v48->setPositionType(v48, kCCPositionTypeGrouped); setStartColor = v49->setStartColor; v53.x = 1.0; v53.y = 1.0; v54 = 1.0; v55 = 1.0; setStartColor(v49, (const cocos2d::ccColor4F *)&v53); setEndColor = v49->setEndColor; v55 = 1.0; v53.x = 0.0; v53.y = 0.0; v54 = 0.0; setEndColor(v49, (const cocos2d::ccColor4F *)&v53); } } } else { if ( m_objectID >= 1050 ) { v18 = 1007; goto LABEL_72; } if ( m_objectID <= 924 ) { if ( m_objectID < 923 ) { if ( m_objectID < 740 ) goto LABEL_73; if ( m_objectID <= 742 ) { v19 = a1->m_disableRotation; a1->m_objectType = Hazard; a1->m_defaultZOrder = 1; a1->m_isInvisibleBlock = 1; if ( !v19 ) { if ( m_objectID == 740 ) v20 = 300.0; else v20 = 360.0; EnhancedGameObject::createRotateAction(a1, v20, 0); m_objectID = a1->m_objectID; } a1->m_hasCustomRotation = 1; if ( m_objectID == 740 ) goto LABEL_181; if ( m_objectID != 741 ) goto LABEL_83; goto LABEL_101; } if ( (unsigned int)(m_objectID - 920) > 1 ) goto LABEL_73; } goto LABEL_151; } if ( m_objectID <= 1021 ) { if ( m_objectID >= 1019 ) { GameObject::setDefaultMainColorMode(a1, 1005); m_height = a1->m_height; a1->m_objectType = Decoration; v43 = m_height + m_height; a1->m_defaultZOrder = 9; v44 = a1->m_disableRotation; a1->m_defaultZLayer = B1; a1->m_updateCustomContentSize = 1; a1->m_width = v43; a1->m_height = v43; if ( !v44 ) { byte_1242088 ^= 1u; v45 = rand(); EnhancedGameObject::createRotateAction(a1, (float)((float)((float)v45 * 4.6566e-10) * 135.0) + 45.0, 0); } goto LABEL_30; } if ( (unsigned int)(m_objectID - 997) > 3 ) goto LABEL_73; goto LABEL_26; } if ( m_objectID != 1022 ) goto LABEL_73; a1->m_objectType = GreenRing; a1->m_usesAudioScale = 1; a1->m_defaultZOrder = 12; a1->m_defaultZLayer = B1; a1->m_spriteWidthScale = 1.2; a1->m_spriteHeightScale = 1.2; GameObject::setDefaultMainColorMode(a1, 0); if ( !a1->m_editorEnabled ) { v24 = GameObject::createAndAddParticle(a1, a1->m_objectType, "ringEffect.plist", 4, kCCPositionTypeGrouped); v25 = v24; if ( v24 ) { v24->setPositionType(v24, kCCPositionTypeGrouped); v26 = v25->setStartColor; v53.y = 1.0; v53.x = 0.29412; v54 = 0.29412; v55 = 1.0; v26(v25, (const cocos2d::ccColor4F *)&v53); v27 = v25->setEndColor; v53.y = 1.0; v53.x = 0.0; v54 = 0.0; v55 = 1.0; v27(v25, (const cocos2d::ccColor4F *)&v53); } } } if ( !a1->m_disableRotation ) EnhancedGameObject::createRotateAction(a1, 270.0, 0); goto LABEL_30; } if ( m_objectID >= 678 ) goto LABEL_87; if ( m_objectID <= 182 ) { if ( m_objectID >= 180 ) goto LABEL_60; if ( m_objectID != 97 ) { if ( m_objectID <= 97 ) { if ( m_objectID < 85 ) goto LABEL_73; if ( m_objectID > 87 ) { if ( m_objectID > 89 ) goto LABEL_73; goto LABEL_131; } } else { if ( m_objectID <= 139 ) { if ( m_objectID < 137 ) { if ( m_objectID != 98 ) goto LABEL_73; goto LABEL_131; } LABEL_60: GameObject::setDefaultMainColorMode(a1, 1006); v12 = a1->m_disableRotation; a1->m_objectType = Decoration; a1->m_defaultZOrder = 9; a1->m_defaultZLayer = B1; if ( !v12 ) { v13 = rand(); EnhancedGameObject::createRotateAction(a1, (float)((float)((float)v13 * 4.6566e-10) * 90.0) + 90.0, 0); } goto LABEL_30; } if ( (unsigned int)(m_objectID - 154) > 2 ) goto LABEL_73; } } LABEL_26: GameObject::setDefaultMainColorMode(a1, 1005); v6 = a1->m_objectID; a1->m_objectType = Decoration; a1->m_defaultZOrder = 9; a1->m_defaultZLayer = B1; if ( (unsigned int)(v6 - 154) > 2 ) v7 = 1.0; else v7 = 1.5; if ( !a1->m_disableRotation ) { v8 = rand(); EnhancedGameObject::createRotateAction( a1, (float)((float)((float)((float)v8 * 4.6566e-10) * 90.0) + 90.0) * v7, 0); } goto LABEL_30; } if ( m_objectID > 378 ) { if ( m_objectID > 399 ) { if ( m_objectID < 675 ) goto LABEL_73; goto LABEL_131; } if ( m_objectID >= 397 ) goto LABEL_131; if ( m_objectID < 394 ) goto LABEL_73; goto LABEL_26; } if ( m_objectID < 375 ) { if ( m_objectID <= 188 ) goto LABEL_87; if ( (unsigned int)(m_objectID - 222) > 2 ) goto LABEL_73; goto LABEL_26; } } a1->m_objectType = Decoration; a1->m_defaultZOrder = 9; a1->m_defaultZLayer = B1; if ( m_objectID != 1522 ) { if ( m_objectID > 1522 ) { if ( m_objectID != 1525 ) { if ( m_objectID <= 1525 ) { if ( m_objectID != 1523 ) goto LABEL_165; } else if ( m_objectID != 1527 ) { if ( m_objectID >= 1527 ) { LABEL_165: GameObject::setDefaultMainColorMode(a1, 1006); v39 = 0.8; goto LABEL_166; } goto LABEL_191; } goto LABEL_231; } goto LABEL_229; } if ( m_objectID == 377 ) { LABEL_231: v39 = 1.0; GameObject::setDefaultMainColorMode(a1, 1005); LABEL_166: if ( !a1->m_disableRotation ) { if ( (float)((float)rand() * 4.6566e-10) <= 0.5 ) v40 = -1; else v40 = 1; v41 = rand(); EnhancedGameObject::createRotateAction( a1, (float)((float)((float)((float)((float)v41 * 4.6566e-10) * 90.0) + 90.0) * v39) * (float)v40, 0); } goto LABEL_30; } if ( m_objectID > 377 ) { if ( m_objectID == 378 ) goto LABEL_165; goto LABEL_229; } if ( m_objectID == 375 ) { LABEL_229: GameObject::setDefaultMainColorMode(a1, 1005); v39 = 1.4; goto LABEL_166; } } LABEL_191: GameObject::setDefaultMainColorMode(a1, 1006); v39 = 1.2; goto LABEL_166; } if ( m_objectID > 1939 ) { if ( m_objectID > 3002 ) { if ( m_objectID > 3484 ) { if ( m_objectID != 4211 ) { if ( m_objectID > 4211 ) { if ( m_objectID != 4300 ) goto LABEL_73; } else if ( (unsigned int)(m_objectID - 3492) > 1 ) { goto LABEL_73; } } } else if ( m_objectID < 3482 && m_objectID != 3219 ) { if ( m_objectID > 3219 ) { if ( (unsigned int)(m_objectID - 3303) > 1 ) goto LABEL_73; } else if ( (unsigned int)(m_objectID - 3119) > 2 ) { goto LABEL_73; } } goto LABEL_44; } if ( m_objectID < 3000 ) { if ( m_objectID > 2630 ) { if ( m_objectID > 2865 ) { if ( (unsigned int)(m_objectID - 2867) > 0x1B ) goto LABEL_73; } else if ( m_objectID < 2864 ) { if ( m_objectID != 2694 ) goto LABEL_73; goto LABEL_44; } LABEL_122: a1->m_objectType = Decoration; GameObject::setDefaultMainColorMode(a1, 1); a1->m_hasCustomAnimation = 1; a1->m_colorZLayerRelated = 1; v31 = rand(); a1->m_animationRandomizedStart = 1; a1->m_randomFrameTime = (float)((float)((float)v31 * 4.6566e-10) * 0.4) + 0.8; if ( (float)((float)rand() * 4.6566e-10) <= 0.7 ) { v47 = rand(); a1->m_colorZLayerRelated = 0; *(float *)&a1->m_animationRandomizedStartValue = (float)((float)v47 * 4.6566e-10) * 0.5; } else { a1->m_unk548 = 1; a1->m_colorZLayerRelated = 0; a1->m_animationStart = -1.0; } goto LABEL_73; } if ( m_objectID < 2629 && m_objectID != 2223 ) { if ( m_objectID > 2223 ) { if ( m_objectID != 2246 && m_objectID != 2605 ) goto LABEL_73; goto LABEL_44; } if ( (unsigned int)(m_objectID - 2020) > 0x23 ) goto LABEL_73; goto LABEL_122; } LABEL_44: GameObject::setDefaultMainColorMode(a1, 1); v9 = a1->m_objectID; a1->m_objectType = Decoration; a1->m_defaultZOrder = 9; a1->m_colorZLayerRelated = 1; a1->m_defaultZLayer = B1; a1->m_hasCustomAnimation = 1; if ( v9 != 2694 && v9 != 2605 ) a1->m_randomFrameTime = (float)((float)((float)rand() * 4.6566e-10) * 0.4) + 0.8; GameObject::setupPixelScale(a1); goto LABEL_73; } LABEL_71: v18 = 1; LABEL_72: GameObject::setDefaultMainColorMode(a1, v18); a1->m_objectType = Decoration; a1->m_defaultZOrder = 9; a1->m_defaultZLayer = B1; a1->m_hasCustomAnimation = 1; goto LABEL_73; } if ( m_objectID >= 1936 ) { LABEL_151: a1->m_objectType = Decoration; GameObject::setDefaultMainColorMode(a1, 1011); a1->m_hasCustomAnimation = 1; v36 = rand(); a1->m_animationRandomizedStart = 1; v35 = (float)v36; goto LABEL_148; } if ( m_objectID > 1710 ) { if ( m_objectID > 1834 ) { if ( m_objectID > 1858 ) { if ( m_objectID != 1860 ) goto LABEL_73; } else if ( m_objectID < 1849 ) { if ( (unsigned int)(m_objectID - 1839) <= 3 ) { a1->m_animationShouldUseSpeed = 1; GameObject::setDefaultMainColorMode(a1, 1); a1->m_hasCustomAnimation = 1; a1->m_objectType = Decoration; a1->m_defaultZOrder = 9; a1->m_defaultZLayer = (unsigned int)&dword_0 + 3; } goto LABEL_73; } a1->m_objectType = Decoration; GameObject::setDefaultMainColorMode(a1, 1011); v34 = a1->m_objectID; a1->m_hasCustomAnimation = 1; if ( v34 != 1860 && v34 != 1857 ) a1->m_colorZLayerRelated = 1; v35 = (float)rand(); a1->m_animationRandomizedStart = 1; LABEL_148: a1->m_randomFrameTime = (float)((float)(v35 * 4.6566e-10) * 0.4) + 0.8; if ( (float)((float)rand() * 4.6566e-10) <= 0.7 ) { *(float *)&a1->m_animationRandomizedStartValue = (float)((float)rand() * 4.6566e-10) * 0.5; } else { a1->m_unk548 = 1; a1->m_animationStart = -1.0; } goto LABEL_73; } if ( m_objectID < 1831 ) { if ( m_objectID < 1734 ) goto LABEL_73; if ( m_objectID > 1736 ) { if ( m_objectID != 1752 ) goto LABEL_73; GameObject::setDefaultMainColorMode(a1, 1007); v23 = a1->m_disableRotation; a1->m_objectType = Decoration; a1->m_defaultZOrder = 9; a1->m_defaultZLayer = B1; if ( v23 ) goto LABEL_30; v17 = (float)rand(); v16 = 1; goto LABEL_108; } LABEL_131: a1->m_objectType = Hazard; m_width = a1->m_width; if ( m_objectID == 677 ) goto LABEL_187; if ( m_objectID <= 677 ) { if ( m_objectID == 397 ) goto LABEL_240; if ( m_objectID <= 397 ) { if ( m_objectID == 88 ) goto LABEL_239; if ( m_objectID != 89 ) goto LABEL_138; goto LABEL_234; } if ( m_objectID == 675 ) { LABEL_225: v33 = 240.0; a1->m_objectRadius = 32.0; goto LABEL_139; } if ( m_objectID <= 675 ) { if ( m_objectID != 398 ) goto LABEL_138; goto LABEL_187; } } else { if ( m_objectID == 1709 ) goto LABEL_187; if ( m_objectID <= 1709 ) { if ( m_objectID != 1706 ) { if ( m_objectID != 1708 ) { if ( m_objectID != 1705 ) { LABEL_138: v33 = 360.0; a1->m_objectRadius = m_width * 0.3; LABEL_139: if ( !a1->m_disableRotation ) { EnhancedGameObject::createRotateAction(a1, v33, 0); m_objectID = a1->m_objectID; } a1->m_hasCustomRotation = 1; a1->m_customGlowColor = 1; a1->m_glowColorIsLBG = 1; a1->m_defaultZOrder = 1; if ( (unsigned int)(m_objectID - 1705) <= 5 ) GameObject::setDefaultMainColorMode(a1, 1010); goto LABEL_73; } LABEL_239: v33 = 300.0; a1->m_objectRadius = 32.3; goto LABEL_139; } LABEL_240: v33 = 300.0; a1->m_objectRadius = 28.9; goto LABEL_139; } LABEL_234: v33 = 360.0; a1->m_objectRadius = m_width * 0.36; goto LABEL_139; } if ( m_objectID != 1735 ) { if ( m_objectID != 1736 ) { if ( m_objectID != 1734 ) goto LABEL_138; goto LABEL_225; } LABEL_187: v33 = 360.0; a1->m_objectRadius = m_width * 0.32; goto LABEL_139; } } v33 = 300.0; a1->m_objectRadius = m_width * 0.34; goto LABEL_139; } goto LABEL_155; } if ( m_objectID >= 1705 ) goto LABEL_131; if ( m_objectID == 1614 ) { GameObject::commonInteractiveSetup(a1); a1->m_hasCustomAnimation = 1; a1->m_width = 25.0; a1->m_height = 20.0; goto LABEL_73; } if ( m_objectID <= 1614 ) { if ( m_objectID == 1591 ) { LABEL_154: GameObject::setDefaultMainColorMode(a1, 1); a1->m_colorZLayerRelated = 1; a1->m_objectType = Decoration; a1->m_hasCustomAnimation = 1; a1->m_defaultZOrder = 9; a1->m_defaultZLayer = B1; v37 = rand(); a1->m_animationRandomizedStart = 1; v11 = (float)v37; a1->m_unkAnimationInt = 1; goto LABEL_52; } if ( m_objectID <= 1591 ) { if ( m_objectID != 1582 ) { if ( m_objectID == 1583 ) { GameObject::setDefaultMainColorMode(a1, 1); a1->m_colorZLayerRelated = 1; a1->m_objectType = Hazard; a1->m_defaultZOrder = 9; a1->m_defaultZLayer = B1; a1->m_usesAudioScale = 1; a1->m_customAudioScale = 1; a1->m_hasCustomAnimation = 1; a1->m_unk4F8 = 1; a1->m_minAudioScale = 0.9; a1->m_objectRadius = 4.0; a1->m_maxAudioScale = 1.1; v3 = rand(); a1->m_animationRandomizedStart = 1; a1->m_randomFrameTime = (float)((float)((float)v3 * 4.6566e-10) * 0.4) + 0.8; if ( (float)((float)rand() * 4.6566e-10) <= 0.7 ) { *(float *)&a1->m_animationRandomizedStartValue = (float)((float)rand() * 4.6566e-10) * 0.5; } else { a1->m_unk548 = 1; a1->m_animationStart = -1.0; } if ( !a1->m_editorEnabled ) { if ( !a1->m_hasNoEffects ) GameObject::createAndAddParticle( a1, a1->m_objectType, "fireballEffect.plist", -2, kCCPositionTypeRelative); cocos2d::CCPoint::CCPoint(&v53, 0.0, 0.0); cocos2d::CCPoint::operator=(&a1->m_particleOffset, v4, v5); a1->m_particleUseObjectColor = 1; a1->m_particleLocked = 1; } } goto LABEL_73; } GameObject::setDefaultMainColorMode(a1, 1); a1->m_colorZLayerRelated = 1; a1->m_usesAudioScale = 1; a1->m_customAudioScale = 1; a1->m_objectType = Hazard; v29 = a1->m_disableRotation; a1->m_defaultZOrder = 9; a1->m_minAudioScale = 0.9; a1->m_defaultZLayer = B1; a1->m_objectRadius = 4.0; a1->m_maxAudioScale = 1.2; if ( !v29 ) { v30 = rand(); EnhancedGameObject::createRotateAction( a1, (float)((float)((float)((float)v30 * 4.6566e-10) * 0.4) + 0.8) * 270.0, 1); } LABEL_30: a1->m_hasCustomRotation = (unsigned __int8)&dword_0 + 1; goto LABEL_73; } if ( m_objectID != 1592 ) { if ( m_objectID != 1593 ) goto LABEL_73; goto LABEL_154; } goto LABEL_71; } if ( m_objectID <= 1620 ) { if ( m_objectID < 1619 ) { if ( m_objectID != 1618 ) goto LABEL_73; GameObject::setDefaultMainColorMode(a1, 1011); a1->m_hasCustomAnimation = 1; a1->m_objectType = Decoration; a1->m_defaultZOrder = 9; a1->m_defaultZLayer = B1; v10 = rand(); a1->m_animationRandomizedStart = 1; v11 = (float)v10; LABEL_52: *(float *)&a1->m_animationRandomizedStartValue = (float)(v11 * 4.6566e-10) * 0.5; a1->m_randomFrameTime = (float)((float)((float)rand() * 4.6566e-10) * 0.4) + 0.8; goto LABEL_73; } LABEL_87: a1->m_defaultZOrder = 1; a1->m_objectType = Hazard; a1->m_hasCustomRotation = 1; if ( m_objectID == 1619 ) { v52 = a1->m_disableRotation; a1->m_customGlowColor = 1; a1->m_colorZLayerRelated = 0; if ( v52 ) goto LABEL_244; v21 = 720.0; v22 = -1; } else if ( m_objectID > 1619 ) { v46 = a1->m_disableRotation; a1->m_customGlowColor = 1; a1->m_colorZLayerRelated = 0; if ( v46 ) goto LABEL_238; v21 = 1080.0; v22 = -1; } else { if ( (unsigned int)(m_objectID - 678) > 2 ) a1->m_customGlowColor = 1; else a1->m_defaultZOrder = 0; if ( a1->m_disableRotation ) { LABEL_96: if ( m_objectID != 187 ) { if ( m_objectID <= 187 ) { if ( m_objectID == 184 ) { a1->m_objectRadius = a1->m_width * 0.34; goto LABEL_73; } if ( m_objectID != 186 ) { if ( m_objectID == 183 ) goto LABEL_101; LABEL_83: a1->m_objectRadius = a1->m_width * 0.3; goto LABEL_73; } LABEL_181: a1->m_objectRadius = 32.3; goto LABEL_73; } if ( m_objectID == 679 ) goto LABEL_101; if ( m_objectID <= 679 ) { if ( m_objectID == 678 ) { a1->m_objectRadius = 30.4; goto LABEL_73; } goto LABEL_83; } if ( m_objectID != 1619 ) { if ( m_objectID != 1620 ) goto LABEL_83; LABEL_238: a1->m_objectRadius = 15.0; goto LABEL_73; } LABEL_244: a1->m_objectRadius = 25.0; goto LABEL_73; } LABEL_101: a1->m_objectRadius = a1->m_width * 0.36; goto LABEL_73; } if ( m_objectID == 186 ) v21 = 300.0; else v21 = 360.0; v22 = 0; } EnhancedGameObject::createRotateAction(a1, v21, v22); m_objectID = a1->m_objectID; goto LABEL_96; } if ( (unsigned int)(m_objectID - 1697) <= 2 ) { GameObject::setDefaultMainColorMode(a1, 1006); a1->m_hasCustomAnimation = 1; a1->m_objectType = Decoration; a1->m_defaultZOrder = 9; a1->m_defaultZLayer = B1; v28 = rand(); a1->m_animationRandomizedStart = 1; *(float *)&a1->m_animationRandomizedStartValue = (float)((float)v28 * 4.6566e-10) * 0.5; a1->m_randomFrameTime = (float)((float)((float)rand() * 4.6566e-10) * 0.5) + 0.8; } LABEL_73: GameObject::customSetup(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source