// // EnhancedGameObject::customSetup from 0x459b94 to 0x45aad0 (3900 bytes) // // 2 xrefs: // > EffectGameObject::customSetup @ 0x4e85f2 // > ParticleGameObject::customSetup @ 0x4f5c04 // // 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:48:48 +0000 // _DWORD *__fastcall EnhancedGameObject::customSetup(EnhancedGameObject *this) { int v2; // r3 unsigned int v3; // r3 bool v4; // cc unsigned int v5; // r3 int v6; // r0 float *v7; // r3 float v8; // s15 bool v9; // cc int v10; // r2 bool v11; // cc unsigned int v12; // r3 int v13; // r3 int v14; // r1 char v15; // r3 int v16; // r0 int v17; // r2 int v18; // r0 int v19; // r5 unsigned int v20; // s14 EnhancedGameObject *v21; // r0 float v22; // r1 int v23; // r2 float v24; // s16 unsigned int v25; // s14 float v26; // s15 unsigned int v27; // s13 float v28; // s15 float v29; // s15 float v30; // s15 float v31; // s14 unsigned int v32; // s13 float v33; // s13 bool v34; // zf float v35; // s16 int v36; // r7 int v37; // r5 int v38; // r0 int v39; // s15 unsigned int v40; // s13 int v41; // r0 unsigned int v42; // s13 float v43; // s15 float v44; // s14 int v45; // r3 float v46; // r1 int v47; // r2 float v48; // r1 int v49; // r3 int v50; // r3 float v51; // s15 float v52; // s14 float v53; // r1 int v54; // r3 GameManager *v55; // r0 GameManager *v56; // r5 void (__fastcall *v57)(GameManager *, _DWORD *); // r9 void (__fastcall *v58)(GameManager *, _DWORD *); // r9 GameManager *v59; // r0 GameManager *v60; // r5 void (__fastcall *v61)(GameManager *, _DWORD *); // r9 void (__fastcall *v62)(GameManager *, _DWORD *); // r9 _DWORD v64[4]; // [sp+Ch] [bp-18h] BYREF v2 = *((_DWORD *)this + 223); if ( v2 <= 1528 ) { if ( v2 > 1520 ) goto LABEL_164; if ( v2 <= 680 ) { if ( v2 >= 678 ) goto LABEL_233; if ( v2 <= 182 ) { if ( v2 >= 180 ) goto LABEL_151; if ( v2 == 97 ) { LABEL_156: GameObject::setDefaultMainColorMode(this, 1005); v24 = 1.5; *((_DWORD *)this + 196) = 7; *((_DWORD *)this + 228) = 9; *((_DWORD *)this + 243) = 3; v19 = *((unsigned __int8 *)this + 1208); if ( (unsigned int)(*((_DWORD *)this + 223) - 154) > 2 ) v24 = 1.0; if ( *((_BYTE *)this + 1208) ) goto LABEL_155; v25 = rand(); v21 = this; v26 = v24 * (float)((float)(vcvts_n_f32_s32(v25, 0x1Fu) * 90.0) + 90.0); goto LABEL_196; } if ( v2 <= 97 ) { if ( v2 < 85 ) return GameObject::customSetup(this); if ( v2 > 87 ) { if ( v2 > 89 ) return GameObject::customSetup(this); goto LABEL_199; } goto LABEL_156; } if ( v2 <= 139 ) { if ( v2 < 137 ) { if ( v2 != 98 ) return GameObject::customSetup(this); goto LABEL_199; } LABEL_151: GameObject::setDefaultMainColorMode(this, 1006); v19 = *((unsigned __int8 *)this + 1208); *((_DWORD *)this + 196) = 7; *((_DWORD *)this + 228) = 9; *((_DWORD *)this + 243) = 3; if ( !v19 ) { v20 = rand(); v21 = this; v22 = (float)(vcvts_n_f32_s32(v20, 0x1Fu) * 90.0) + 90.0; LABEL_153: v23 = v19; LABEL_154: EnhancedGameObject::createRotateAction((unsigned int)v21, v22, v23); } LABEL_155: *((_BYTE *)this + 1207) = 1; return GameObject::customSetup(this); } v3 = v2 - 154; goto LABEL_22; } if ( v2 > 378 ) { if ( v2 >= 400 ) { if ( v2 < 675 ) return GameObject::customSetup(this); goto LABEL_199; } if ( v2 > 396 ) goto LABEL_199; if ( v2 < 394 ) return GameObject::customSetup(this); goto LABEL_156; } if ( v2 <= 374 ) { if ( v2 > 188 ) { v3 = v2 - 222; LABEL_22: v4 = v3 > 2; goto LABEL_39; } LABEL_233: *((_DWORD *)this + 196) = 2; *((_DWORD *)this + 228) = 1; *((_BYTE *)this + 1207) = 1; if ( v2 > 1618 ) { *((_BYTE *)this + 937) = 1; *((_BYTE *)this + 917) = 0; } else if ( (unsigned int)(v2 - 678) > 2 ) { *((_BYTE *)this + 937) = 1; } else { *((_DWORD *)this + 228) = 0; } v47 = *((unsigned __int8 *)this + 1208); if ( *((_BYTE *)this + 1208) ) goto LABEL_248; if ( v2 == 1619 ) { v48 = 720.0; } else { if ( v2 != 1620 ) { if ( v2 == 186 ) v48 = 300.0; else v48 = 360.0; goto LABEL_247; } v48 = 1080.0; } v47 = -1; LABEL_247: EnhancedGameObject::createRotateAction((unsigned int)this, v48, v47); LABEL_248: v49 = *((_DWORD *)this + 223); if ( v49 == 187 ) goto LABEL_263; if ( v49 <= 187 ) { if ( v49 == 184 ) { v51 = *((float *)this + 162); v52 = 0.34; LABEL_277: *((float *)this + 191) = v51 * v52; return GameObject::customSetup(this); } if ( v49 != 186 ) { if ( v49 == 183 ) goto LABEL_263; goto LABEL_265; } goto LABEL_274; } if ( v49 == 679 ) { LABEL_263: v51 = *((float *)this + 162); LABEL_275: v52 = 0.36; goto LABEL_277; } if ( v49 >= 680 ) { if ( v49 == 1619 ) { v50 = 1103626240; goto LABEL_262; } if ( v49 == 1620 ) { v50 = 1097859072; goto LABEL_262; } } else if ( v49 == 678 ) { v50 = 1106457395; LABEL_262: *((_DWORD *)this + 191) = v50; return GameObject::customSetup(this); } LABEL_265: v51 = *((float *)this + 162); goto LABEL_276; } LABEL_164: *((_DWORD *)this + 196) = 7; *((_DWORD *)this + 228) = 9; *((_DWORD *)this + 243) = 3; if ( v2 != 1522 ) { if ( v2 <= 1522 ) { if ( v2 != 377 ) { if ( v2 < 378 ) { if ( v2 != 375 ) goto LABEL_182; LABEL_181: GameObject::setDefaultMainColorMode(this, 1005); v35 = 1.4; LABEL_186: v36 = *((unsigned __int8 *)this + 1208); if ( *((_BYTE *)this + 1208) ) goto LABEL_155; if ( (float)((float)rand() * 4.6566e-10) <= 0.5 ) v37 = -1; else v37 = 1; v38 = rand(); v23 = v36; v39 = v38; v21 = this; v22 = (float)(v35 * (float)((float)((float)((float)v39 * 4.6566e-10) * 90.0) + 90.0)) * (float)v37; goto LABEL_154; } if ( v2 != 378 ) goto LABEL_181; LABEL_184: GameObject::setDefaultMainColorMode(this, 1006); v35 = 0.8; goto LABEL_186; } goto LABEL_183; } if ( v2 == 1525 ) goto LABEL_181; if ( v2 <= 1525 ) { if ( v2 != 1523 ) { v34 = v2 == 1524; goto LABEL_179; } LABEL_183: GameObject::setDefaultMainColorMode(this, 1005); goto LABEL_185; } if ( v2 == 1527 ) goto LABEL_183; if ( v2 >= 1527 ) { v34 = v2 == 1528; LABEL_179: if ( v34 ) goto LABEL_184; LABEL_185: v35 = 1.0; goto LABEL_186; } } LABEL_182: GameObject::setDefaultMainColorMode(this, 1006); v35 = 1.2; goto LABEL_186; } if ( v2 <= 1052 ) { if ( v2 < 1050 ) { if ( v2 <= 924 ) { if ( v2 < 923 ) { if ( v2 < 740 ) return GameObject::customSetup(this); if ( v2 <= 742 ) { *((_DWORD *)this + 196) = 2; *((_DWORD *)this + 228) = 1; *((_BYTE *)this + 936) = 1; if ( !*((_BYTE *)this + 1208) ) { if ( v2 == 740 ) v53 = 300.0; else v53 = 360.0; EnhancedGameObject::createRotateAction((unsigned int)this, v53, *((unsigned __int8 *)this + 1208)); } *((_BYTE *)this + 1207) = 1; v54 = *((_DWORD *)this + 223); if ( v54 != 740 ) { v51 = *((float *)this + 162); if ( v54 == 741 ) goto LABEL_275; LABEL_276: v52 = 0.3; goto LABEL_277; } LABEL_274: v50 = 1107374899; goto LABEL_262; } v5 = v2 - 920; goto LABEL_53; } LABEL_137: *((_DWORD *)this + 196) = 7; GameObject::setDefaultMainColorMode(this, 1011); *((_BYTE *)this + 1206) = 1; *((float *)this + 298) = (float)((float)((float)rand() * 4.6566e-10) * 0.4) + 0.8; *((_BYTE *)this + 1228) = 1; LABEL_138: if ( (float)((float)rand() * 4.6566e-10) > 0.7 ) { *((_BYTE *)this + 1188) = 1; *((_DWORD *)this + 294) = -1082130432; return GameObject::customSetup(this); } v18 = rand(); v7 = (float *)((char *)this + 1172); v8 = (float)((float)v18 * 4.6566e-10) * 0.5; goto LABEL_129; } if ( v2 <= 1021 ) { if ( v2 < 1019 ) { v4 = (unsigned int)(v2 - 997) > 3; LABEL_39: if ( v4 ) return GameObject::customSetup(this); goto LABEL_156; } GameObject::setDefaultMainColorMode(this, 1005); v28 = *((float *)this + 163); v19 = *((unsigned __int8 *)this + 1208); *((_DWORD *)this + 196) = 7; *((_DWORD *)this + 228) = 9; v29 = v28 + v28; *((_DWORD *)this + 243) = 3; *((_BYTE *)this + 1048) = 1; *((float *)this + 162) = v29; *((float *)this + 163) = v29; if ( v19 ) goto LABEL_155; byte_D2B888 ^= 1u; v30 = 45.0; v31 = 135.0; v32 = rand(); v21 = this; v33 = vcvts_n_f32_s32(v32, 0x1Fu); LABEL_195: v26 = v30 + (float)(v33 * v31); LABEL_196: v22 = v26; goto LABEL_153; } if ( v2 != 1022 ) return GameObject::customSetup(this); *((_DWORD *)this + 196) = 29; *((_BYTE *)this + 832) = 1; *((_DWORD *)this + 193) = 1067030938; *((_DWORD *)this + 194) = 1067030938; *((_DWORD *)this + 228) = 12; *((_DWORD *)this + 243) = 3; GameObject::setDefaultMainColorMode(this, 0); if ( !*((_BYTE *)this + 549) ) { v59 = GameObject::createAndAddParticle((int)this, *((_DWORD *)this + 196), (int)"ringEffect.plist", 4, 2); v60 = v59; if ( v59 ) { (*(void (__fastcall **)(GameManager *, int))(*(_DWORD *)v59 + 784))(v59, 2); v61 = *(void (__fastcall **)(GameManager *, _DWORD *))(*(_DWORD *)v60 + 680); v64[3] = 1065353216; v64[1] = 1065353216; v64[0] = 1050056343; v64[2] = 1050056343; v61(v60, v64); v62 = *(void (__fastcall **)(GameManager *, _DWORD *))(*(_DWORD *)v60 + 696); memset(v64, 0, sizeof(v64)); v64[3] = 1065353216; v64[1] = 1065353216; v62(v60, v64); } } LABEL_281: if ( *((_BYTE *)this + 1208) ) goto LABEL_155; v21 = this; v22 = 270.0; v23 = 0; goto LABEL_154; } v14 = 1007; goto LABEL_124; } if ( v2 <= 1061 ) { if ( v2 < 1058 ) { if ( v2 <= 1054 ) goto LABEL_123; GameObject::setDefaultMainColorMode(this, 1007); *((_DWORD *)this + 196) = 7; *((_DWORD *)this + 228) = 9; *((_DWORD *)this + 230) = 1061997773; *((_DWORD *)this + 243) = 3; *((_BYTE *)this + 832) = 1; *((_DWORD *)this + 231) = 1067030938; *((_BYTE *)this + 918) = 1; LABEL_193: v19 = *((unsigned __int8 *)this + 1208); if ( *((_BYTE *)this + 1208) ) goto LABEL_155; v30 = 270.0; v31 = 90.0; v40 = rand(); v21 = this; v33 = vcvts_n_f32_s32(v40, 0x1Fu); goto LABEL_195; } LABEL_192: GameObject::setDefaultMainColorMode(this, 1007); *((_DWORD *)this + 196) = 7; *((_DWORD *)this + 228) = 9; *((_DWORD *)this + 243) = 3; goto LABEL_193; } if ( v2 != 1516 ) { if ( v2 > 1516 ) { v5 = v2 - 1518; LABEL_53: if ( v5 > 1 ) return GameObject::customSetup(this); goto LABEL_137; } if ( v2 != 1330 ) return GameObject::customSetup(this); *((_DWORD *)this + 196) = 32; *((_BYTE *)this + 832) = 1; *((_DWORD *)this + 193) = 1067030938; *((_DWORD *)this + 194) = 1067030938; *((_DWORD *)this + 228) = 12; *((_DWORD *)this + 243) = 3; GameObject::setDefaultMainColorMode(this, 0); if ( !*((_BYTE *)this + 549) ) { v55 = GameObject::createAndAddParticle((int)this, *((_DWORD *)this + 196), (int)"ringEffect.plist", 4, 2); v56 = v55; if ( v55 ) { (*(void (__fastcall **)(GameManager *, int))(*(_DWORD *)v55 + 784))(v55, 2); v57 = *(void (__fastcall **)(GameManager *, _DWORD *))(*(_DWORD *)v56 + 680); v64[3] = 1065353216; v64[0] = 1065353216; v64[1] = 1065353216; v64[2] = 1065353216; v57(v56, v64); v58 = *(void (__fastcall **)(GameManager *, _DWORD *))(*(_DWORD *)v56 + 696); memset(v64, 0, sizeof(v64)); v64[3] = 1065353216; v58(v56, v64); } } goto LABEL_281; } GameObject::setDefaultMainColorMode(this, 1); *((_DWORD *)this + 196) = 7; *((_DWORD *)this + 228) = 9; *((_DWORD *)this + 243) = 3; v15 = 1; *((_BYTE *)this + 1206) = 1; LABEL_149: *((_BYTE *)this + 917) = v15; return GameObject::customSetup(this); } if ( v2 > 1939 ) { if ( v2 <= 3002 ) { if ( v2 >= 3000 ) goto LABEL_123; if ( v2 > 2630 ) { if ( v2 > 2865 ) { v9 = (unsigned int)(v2 - 2867) > 0x1B; LABEL_100: if ( v9 ) return GameObject::customSetup(this); goto LABEL_145; } if ( v2 >= 2864 ) { LABEL_145: *((_DWORD *)this + 196) = 7; GameObject::setDefaultMainColorMode(this, 1); *((_BYTE *)this + 1206) = 1; *((_BYTE *)this + 917) = 1; *((float *)this + 298) = (float)((float)((float)rand() * 4.6566e-10) * 0.4) + 0.8; *((_BYTE *)this + 1228) = 1; if ( (float)((float)rand() * 4.6566e-10) <= 0.7 ) { *((float *)this + 293) = (float)((float)rand() * 4.6566e-10) * 0.5; } else { *((_BYTE *)this + 1188) = 1; *((_DWORD *)this + 294) = -1082130432; } v15 = 0; goto LABEL_149; } v10 = 2694; goto LABEL_117; } if ( v2 < 2629 && v2 != 2223 ) { if ( v2 < 2224 ) { v9 = (unsigned int)(v2 - 2020) > 0x23; goto LABEL_100; } if ( v2 != 2246 ) { v10 = 2605; goto LABEL_117; } } LABEL_118: GameObject::setDefaultMainColorMode(this, 1); *((_DWORD *)this + 196) = 7; *((_DWORD *)this + 228) = 9; *((_DWORD *)this + 243) = 3; *((_BYTE *)this + 917) = 1; *((_BYTE *)this + 1206) = 1; v13 = *((_DWORD *)this + 223); if ( v13 != 2605 && v13 != 2694 ) *((float *)this + 298) = (float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.4) + 0.8; GameObject::setupPixelScale(this); return GameObject::customSetup(this); } if ( v2 > 3484 ) { if ( v2 == 4211 ) goto LABEL_118; if ( v2 > 4211 ) { v10 = 4300; LABEL_117: if ( v2 != v10 ) return GameObject::customSetup(this); goto LABEL_118; } v12 = v2 - 3492; } else { if ( v2 >= 3482 || v2 == 3219 ) goto LABEL_118; if ( v2 <= 3219 ) { v11 = (unsigned int)(v2 - 3119) > 2; goto LABEL_114; } v12 = v2 - 3303; } v11 = v12 > 1; LABEL_114: if ( v11 ) return GameObject::customSetup(this); goto LABEL_118; } if ( v2 >= 1936 ) goto LABEL_137; if ( v2 > 1710 ) { if ( v2 <= 1834 ) { if ( v2 < 1831 ) { if ( v2 < 1734 ) return GameObject::customSetup(this); if ( v2 <= 1736 ) { LABEL_199: *((_DWORD *)this + 196) = 2; v43 = *((float *)this + 162); if ( v2 == 677 ) goto LABEL_227; if ( v2 <= 677 ) { if ( v2 != 397 ) { if ( v2 < 398 ) { if ( v2 != 88 ) { if ( v2 != 89 ) goto LABEL_219; LABEL_221: v44 = 0.36; goto LABEL_228; } goto LABEL_220; } if ( v2 != 675 ) { if ( v2 < 676 ) { if ( v2 != 398 ) goto LABEL_219; LABEL_227: v44 = 0.32; goto LABEL_228; } LABEL_225: *((float *)this + 191) = v43 * 0.34; goto LABEL_226; } goto LABEL_224; } LABEL_222: v45 = 1105670963; goto LABEL_223; } if ( v2 == 1709 ) goto LABEL_227; if ( v2 > 1709 ) { switch ( v2 ) { case 1735: goto LABEL_225; case 1736: goto LABEL_227; case 1734: LABEL_224: v46 = 240.0; *((_DWORD *)this + 191) = 1107296256; LABEL_229: if ( !*((_BYTE *)this + 1208) ) EnhancedGameObject::createRotateAction((unsigned int)this, v46, *((unsigned __int8 *)this + 1208)); *((_BYTE *)this + 1207) = 1; *((_BYTE *)this + 937) = 1; *((_BYTE *)this + 938) = 1; *((_DWORD *)this + 228) = 1; if ( (unsigned int)(*((_DWORD *)this + 223) - 1705) <= 5 ) GameObject::setDefaultMainColorMode(this, 1010); return GameObject::customSetup(this); } } else { switch ( v2 ) { case 1706: goto LABEL_221; case 1708: goto LABEL_222; case 1705: LABEL_220: v45 = 1107374899; LABEL_223: *((_DWORD *)this + 191) = v45; LABEL_226: v46 = 300.0; goto LABEL_229; } } LABEL_219: v44 = 0.3; LABEL_228: v46 = 360.0; *((float *)this + 191) = v43 * v44; goto LABEL_229; } if ( v2 != 1752 ) return GameObject::customSetup(this); GameObject::setDefaultMainColorMode(this, 1007); *((_DWORD *)this + 196) = 7; *((_DWORD *)this + 228) = 9; *((_DWORD *)this + 243) = 3; if ( !*((_BYTE *)this + 1208) ) { v41 = rand(); v23 = 1; v42 = v41; v21 = this; v22 = (float)(vcvts_n_f32_s32(v42, 0x1Fu) * 90.0) + 270.0; goto LABEL_154; } goto LABEL_155; } goto LABEL_192; } if ( v2 > 1858 ) { if ( v2 != 1860 ) return GameObject::customSetup(this); } else if ( v2 <= 1848 ) { if ( (unsigned int)(v2 - 1839) <= 3 ) { *((_BYTE *)this + 1236) = 1; GameObject::setDefaultMainColorMode(this, 1); *((_BYTE *)this + 1206) = 1; *((_DWORD *)this + 196) = 7; *((_DWORD *)this + 228) = 9; *((_DWORD *)this + 243) = 3; } return GameObject::customSetup(this); } *((_DWORD *)this + 196) = 7; GameObject::setDefaultMainColorMode(this, 1011); v17 = *((_DWORD *)this + 223); *((_BYTE *)this + 1206) = 1; if ( v17 != 1857 && v17 != 1860 ) *((_BYTE *)this + 917) = 1; *((float *)this + 298) = (float)((float)((float)rand() * 4.6566e-10) * 0.4) + 0.8; *((_BYTE *)this + 1228) = 1; goto LABEL_138; } if ( v2 > 1704 ) goto LABEL_199; if ( v2 == 1614 ) { GameObject::commonInteractiveSetup(this); *((_DWORD *)this + 162) = 1103626240; *((_DWORD *)this + 163) = 1101004800; goto LABEL_125; } if ( v2 > 1614 ) { if ( v2 > 1620 ) { if ( (unsigned int)(v2 - 1697) > 2 ) return GameObject::customSetup(this); GameObject::setDefaultMainColorMode(this, 1006); *((_BYTE *)this + 1206) = 1; *((_DWORD *)this + 196) = 7; *((_DWORD *)this + 228) = 9; *((_DWORD *)this + 243) = 3; *((float *)this + 293) = (float)((float)rand() * 4.6566e-10) * 0.5; *((_BYTE *)this + 1228) = 1; v6 = rand(); v7 = (float *)((char *)this + 1192); v8 = (float)((float)((float)v6 * 4.6566e-10) * 0.5) + 0.8; LABEL_129: *v7 = v8; return GameObject::customSetup(this); } if ( v2 >= 1619 ) goto LABEL_233; if ( v2 != 1618 ) return GameObject::customSetup(this); GameObject::setDefaultMainColorMode(this, 1011); *((_BYTE *)this + 1206) = 1; *((_DWORD *)this + 196) = 7; *((_DWORD *)this + 228) = 9; *((_DWORD *)this + 243) = 3; *((float *)this + 293) = (float)((float)rand() * 4.6566e-10) * 0.5; *((_BYTE *)this + 1228) = 1; LABEL_128: v16 = rand(); v7 = (float *)((char *)this + 1192); v8 = (float)((float)((float)v16 * 4.6566e-10) * 0.4) + 0.8; goto LABEL_129; } if ( v2 == 1591 ) { LABEL_127: GameObject::setDefaultMainColorMode(this, 1); *((_BYTE *)this + 917) = 1; *((_DWORD *)this + 196) = 7; *((_BYTE *)this + 1206) = 1; *((_DWORD *)this + 228) = 9; *((_DWORD *)this + 243) = 3; *((float *)this + 293) = (float)((float)rand() * 4.6566e-10) * 0.5; *((_BYTE *)this + 1228) = 1; *((_DWORD *)this + 312) = 1; goto LABEL_128; } if ( v2 >= 1592 ) { if ( v2 != 1592 ) { if ( v2 != 1593 ) return GameObject::customSetup(this); goto LABEL_127; } LABEL_123: v14 = 1; LABEL_124: GameObject::setDefaultMainColorMode(this, v14); *((_DWORD *)this + 196) = 7; *((_DWORD *)this + 228) = 9; *((_DWORD *)this + 243) = 3; LABEL_125: *((_BYTE *)this + 1206) = 1; return GameObject::customSetup(this); } if ( v2 == 1582 ) { v19 = 1; GameObject::setDefaultMainColorMode(this, 1); *((_DWORD *)this + 196) = 2; *((_DWORD *)this + 191) = 1082130432; *((_DWORD *)this + 228) = 9; *((_DWORD *)this + 243) = 3; *((_BYTE *)this + 917) = 1; *((_BYTE *)this + 832) = 1; *((_DWORD *)this + 230) = 1063675494; *((_BYTE *)this + 918) = 1; *((_DWORD *)this + 231) = 1067030938; if ( *((_BYTE *)this + 1208) ) goto LABEL_155; v27 = rand(); v21 = this; v26 = (float)((float)(vcvts_n_f32_s32(v27, 0x1Fu) * 0.4) + 0.8) * 270.0; goto LABEL_196; } if ( v2 == 1583 ) { GameObject::setDefaultMainColorMode(this, 1); *((_DWORD *)this + 196) = 2; *((_DWORD *)this + 191) = 1082130432; *((_DWORD *)this + 228) = 9; *((_DWORD *)this + 243) = 3; *((_BYTE *)this + 917) = 1; *((_BYTE *)this + 832) = 1; *((_DWORD *)this + 230) = 1063675494; *((_BYTE *)this + 918) = 1; *((_BYTE *)this + 1206) = 1; *((_DWORD *)this + 231) = 1066192077; *((_BYTE *)this + 1108) = 1; *((float *)this + 298) = (float)((float)((float)rand() * 4.6566e-10) * 0.4) + 0.8; *((_BYTE *)this + 1228) = 1; if ( (float)((float)rand() * 4.6566e-10) <= 0.7 ) { *((float *)this + 293) = (float)((float)rand() * 4.6566e-10) * 0.5; } else { *((_BYTE *)this + 1188) = 1; *((_DWORD *)this + 294) = -1082130432; } if ( !*((_BYTE *)this + 549) ) { if ( !*((_BYTE *)this + 908) ) GameObject::createAndAddParticle((int)this, *((_DWORD *)this + 196), (int)"fireballEffect.plist", -2, 1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v64, 0.0, 0.0); cocos2d::CCPoint::operator=((char *)this + 680, v64); *((_BYTE *)this + 677) = 1; *((_BYTE *)this + 928) = 1; } } return GameObject::customSetup(this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source