//
// EnterEffectObject::customObjectSetup from 0x100196e40 to 0x100197e5e (4126 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008cae68
//
// 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 __fastcall EnterEffectObject::customObjectSetup(
EnterEffectObject *a1,
std::vector *a2,
std::vector *a3)
{
__m128 v3; // xmm0
std::__vector_base::pointer begin; // r14
int v7; // eax
std::__vector_base::pointer v8; // rdi
const char *longStorage; // rdi
std::__vector_base::pointer v10; // r13
std::uint8_t sizex2; // r12
const char *elems; // r15
const char *v13; // r13
unsigned int v14; // eax
int v15; // ecx
int v16; // r12d
int v17; // eax
std::__vector_base::pointer v18; // rdi
const char *v19; // rdi
std::__vector_base::pointer v20; // rdi
const char *v21; // rdi
int v22; // r12d
int v23; // eax
std::__vector_base::pointer v24; // rdi
const char *v25; // rdi
std::__vector_base::pointer v26; // rdi
const char *v27; // rdi
int v28; // r12d
int v29; // eax
std::__vector_base::pointer v30; // rdi
const char *v31; // rdi
std::__vector_base::pointer v32; // rdi
const char *v33; // rdi
int v34; // r12d
int v35; // eax
std::__vector_base::pointer v36; // rdi
const char *v37; // rdi
std::__vector_base::pointer v38; // rdi
const char *v39; // rdi
int v40; // r12d
int v41; // eax
std::__vector_base::pointer v42; // rdi
const char *v43; // rdi
std::__vector_base::pointer v44; // rdi
const char *v45; // rdi
int v46; // r12d
int v47; // eax
std::__vector_base::pointer v48; // rdi
const char *v49; // rdi
std::__vector_base::pointer v50; // rdi
const char *v51; // rdi
std::__vector_base::pointer v52; // rdi
const char *v53; // rdi
__m128 v54; // xmm0
std::__vector_base::pointer v55; // rdi
const char *v56; // rdi
std::__vector_base::pointer v57; // rdi
const char *v58; // rdi
std::__vector_base::pointer v59; // rdi
const char *v60; // rdi
int v61; // r12d
int v62; // eax
std::__vector_base::pointer v63; // rdi
const char *v64; // rdi
std::__vector_base::pointer v65; // rdi
const char *v66; // rdi
std::__vector_base::pointer v67; // rdi
const char *v68; // rdi
bool v69; // al
float v70; // xmm1_4
float v71; // xmm0_4
std::__vector_base::pointer v72; // rdi
const char *v73; // rdi
std::__vector_base::pointer v74; // rdi
const char *v75; // rdi
float v76; // xmm1_4
float v77; // xmm0_4
std::__vector_base::pointer v78; // rdi
const char *v79; // rdi
std::__vector_base::pointer v80; // rdi
const char *v81; // rdi
std::__vector_base::pointer v82; // rdi
const char *v83; // rdi
float v84; // xmm0_4
int v85; // r12d
int v86; // eax
std::__vector_base::pointer v87; // rdi
const char *v88; // rdi
std::__vector_base::pointer v89; // rdi
const char *v90; // rdi
int v91; // r12d
int v92; // eax
std::__vector_base::pointer v93; // rdi
const char *v94; // rdi
std::__vector_base::pointer v95; // rdi
const char *v96; // rdi
int v97; // r12d
int v98; // eax
std::__vector_base::pointer v99; // rdi
const char *v100; // rdi
std::__vector_base::pointer v101; // rdi
const char *v102; // rdi
std::__vector_base::pointer v103; // rdi
const char *v104; // rdi
bool v105; // al
std::__vector_base::pointer v106; // rdi
const char *v107; // rdi
float v108; // xmm1_4
float v109; // xmm0_4
std::__vector_base::pointer v110; // rdi
const char *v111; // rdi
std::__vector_base::pointer v112; // rdi
const char *v113; // rdi
float v114; // xmm1_4
float v115; // xmm0_4
std::__vector_base::pointer v116; // rdi
const char *v117; // rdi
std::__vector_base::pointer v118; // rdi
const char *v119; // rdi
std::__vector_base::pointer v120; // rdi
const char *v121; // rdi
int v122; // eax
float v123; // xmm1_4
float v124; // xmm0_4
std::__vector_base::pointer v125; // rdi
const char *v126; // rdi
std::__vector_base::pointer v127; // rdi
const char *v128; // rdi
float v129; // xmm1_4
__m128 v130; // xmm0
std::__vector_base::pointer v131; // rdi
const char *v132; // rdi
std::__vector_base::pointer v133; // rdi
const char *v134; // rdi
std::__vector_base::pointer v135; // rdi
const char *v136; // rdi
std::__vector_base::pointer v137; // rdi
const char *v138; // rdi
std::__vector_base::pointer v139; // rdi
const char *v140; // rdi
std::__vector_base::pointer v141; // rdi
const char *v142; // rdi
std::__vector_base::pointer v143; // rdi
const char *v144; // rdi
std::__vector_base::pointer v145; // rdi
const char *v146; // rdi
std::__vector_base::pointer v147; // r15
int v148; // eax
int v149; // eax
std::__vector_base::pointer v150; // r15
__int64 v151; // rax
_QWORD *v152; // r14
std::__vector_base::pointer v153; // rdi
const char *v154; // rdi
std::__vector_base::pointer v155; // rdi
const char *v156; // rdi
float v157; // xmm0_4
std::__vector_base::pointer v158; // rdi
const char *v159; // rdi
float v160; // xmm0_4
std::__vector_base::pointer v161; // rdi
const char *v162; // rdi
std::__vector_base::pointer v163; // rdi
const char *v164; // rdi
std::__vector_base::pointer v165; // rdi
const char *v166; // rdi
std::__vector_base::pointer v167; // rdi
int v168; // eax
std::__vector_base::pointer v169; // rdi
const char *v170; // rdi
int *p_m_centerGroupID; // r14
int *p_m_specialTarget; // rbx
int v173; // eax
std::vector *v174; // [rsp+8h] [rbp-58h]
__m128 v175; // [rsp+10h] [rbp-50h] BYREF
void *__p; // [rsp+20h] [rbp-40h]
int v177; // [rsp+34h] [rbp-2Ch]
EffectGameObject::customObjectSetup(a1, a2, a3);
v174 = a3;
begin = a3->__begin_;
v177 = 0;
v7 = 0;
if ( begin[217] )
{
v8 = a2->__begin_;
if ( (a2->__begin_[217].m_data.m_short.sizex2 & 1) != 0 )
longStorage = v8[217].m_data.m_long.longStorage;
else
longStorage = v8[217].m_data.m_short.shortStorage.__elems_;
v7 = atoi(longStorage);
}
a1->m_enterType = v7;
if ( begin[344] )
{
v10 = a2->__begin_;
sizex2 = a2->__begin_[344].m_data.m_short.sizex2;
if ( (sizex2 & 1) != 0 )
{
elems = v10[344].m_data.m_long.longStorage;
if ( atoi(elems) > 100 )
goto LABEL_14;
}
else
{
elems = v10[344].m_data.m_short.shortStorage.__elems_;
if ( atoi(v10[344].m_data.m_short.shortStorage.__elems_) > 100 )
goto LABEL_12;
}
if ( atoi(elems) <= 0 )
goto LABEL_17;
LABEL_12:
if ( (sizex2 & 1) == 0 )
{
v13 = v10[344].m_data.m_short.shortStorage.__elems_;
goto LABEL_15;
}
LABEL_14:
v13 = v10[344].m_data.m_long.longStorage;
LABEL_15:
v177 = 100;
if ( atoi(v13) <= 100 )
v177 = atoi(v13);
}
LABEL_17:
a1->m_enterChannel = v177;
v14 = a1->m_objectID - 3006;
if ( v14 > 0x12 )
return;
v15 = 457727;
if ( !_bittest(&v15, v14) )
return;
v16 = 0;
v17 = 0;
if ( begin[222] )
{
v18 = a2->__begin_;
if ( (a2->__begin_[222].m_data.m_short.sizex2 & 1) != 0 )
v19 = v18[222].m_data.m_long.longStorage;
else
v19 = v18[222].m_data.m_short.shortStorage.__elems_;
v17 = atoi(v19);
}
a1->m_length = v17;
if ( begin[223] )
{
v20 = a2->__begin_;
if ( (a2->__begin_[223].m_data.m_short.sizex2 & 1) != 0 )
v21 = v20[223].m_data.m_long.longStorage;
else
v21 = v20[223].m_data.m_short.shortStorage.__elems_;
v16 = atoi(v21);
}
a1->m_lengthVariance = v16;
v22 = 0;
v23 = 0;
if ( begin[220] )
{
v24 = a2->__begin_;
if ( (a2->__begin_[220].m_data.m_short.sizex2 & 1) != 0 )
v25 = v24[220].m_data.m_long.longStorage;
else
v25 = v24[220].m_data.m_short.shortStorage.__elems_;
v23 = atoi(v25);
}
a1->m_offset = v23;
if ( begin[221] )
{
v26 = a2->__begin_;
if ( (a2->__begin_[221].m_data.m_short.sizex2 & 1) != 0 )
v27 = v26[221].m_data.m_long.longStorage;
else
v27 = v26[221].m_data.m_short.shortStorage.__elems_;
v22 = atoi(v27);
}
a1->m_offsetVariance = v22;
v28 = 0;
v29 = 0;
if ( begin[252] )
{
v30 = a2->__begin_;
if ( (a2->__begin_[252].m_data.m_short.sizex2 & 1) != 0 )
v31 = v30[252].m_data.m_long.longStorage;
else
v31 = v30[252].m_data.m_short.shortStorage.__elems_;
v29 = atoi(v31);
}
a1->m_offsetY = v29;
if ( begin[253] )
{
v32 = a2->__begin_;
if ( (a2->__begin_[253].m_data.m_short.sizex2 & 1) != 0 )
v33 = v32[253].m_data.m_long.longStorage;
else
v33 = v32[253].m_data.m_short.shortStorage.__elems_;
v28 = atoi(v33);
}
a1->m_offsetYVariance = v28;
v34 = 0;
v35 = 0;
if ( begin[218] )
{
v36 = a2->__begin_;
if ( (a2->__begin_[218].m_data.m_short.sizex2 & 1) != 0 )
v37 = v36[218].m_data.m_long.longStorage;
else
v37 = v36[218].m_data.m_short.shortStorage.__elems_;
v35 = atoi(v37);
}
a1->m_moveDistance = v35;
if ( begin[219] )
{
v38 = a2->__begin_;
if ( (a2->__begin_[219].m_data.m_short.sizex2 & 1) != 0 )
v39 = v38[219].m_data.m_long.longStorage;
else
v39 = v38[219].m_data.m_short.shortStorage.__elems_;
v34 = atoi(v39);
}
a1->m_moveDistanceVariance = v34;
v40 = 0;
v41 = 0;
if ( begin[237] )
{
v42 = a2->__begin_;
if ( (a2->__begin_[237].m_data.m_short.sizex2 & 1) != 0 )
v43 = v42[237].m_data.m_long.longStorage;
else
v43 = v42[237].m_data.m_short.shortStorage.__elems_;
v41 = atoi(v43);
}
a1->m_moveX = v41;
if ( begin[238] )
{
v44 = a2->__begin_;
if ( (a2->__begin_[238].m_data.m_short.sizex2 & 1) != 0 )
v45 = v44[238].m_data.m_long.longStorage;
else
v45 = v44[238].m_data.m_short.shortStorage.__elems_;
v40 = atoi(v45);
}
a1->m_moveXVariance = v40;
v46 = 0;
v47 = 0;
if ( begin[239] )
{
v48 = a2->__begin_;
if ( (a2->__begin_[239].m_data.m_short.sizex2 & 1) != 0 )
v49 = v48[239].m_data.m_long.longStorage;
else
v49 = v48[239].m_data.m_short.shortStorage.__elems_;
v47 = atoi(v49);
}
a1->m_moveY = v47;
if ( begin[240] )
{
v50 = a2->__begin_;
if ( (a2->__begin_[240].m_data.m_short.sizex2 & 1) != 0 )
v51 = v50[240].m_data.m_long.longStorage;
else
v51 = v50[240].m_data.m_short.shortStorage.__elems_;
v46 = atoi(v51);
}
a1->m_moveYVariance = v46;
if ( !begin[242] )
{
a1->m_easingInType = 0;
if ( begin[243] )
goto LABEL_88;
LABEL_83:
v54 = 0;
a1->m_easingInRate = 0.0 / 100.0;
if ( begin[248] )
goto LABEL_92;
goto LABEL_84;
}
v52 = a2->__begin_;
if ( (a2->__begin_[242].m_data.m_short.sizex2 & 1) != 0 )
v53 = v52[242].m_data.m_long.longStorage;
else
v53 = v52[242].m_data.m_short.shortStorage.__elems_;
a1->m_easingInType = atoi(v53);
if ( !begin[243] )
goto LABEL_83;
LABEL_88:
v55 = a2->__begin_;
if ( (a2->__begin_[243].m_data.m_short.sizex2 & 1) != 0 )
v56 = v55[243].m_data.m_long.longStorage;
else
v56 = v55[243].m_data.m_short.shortStorage.__elems_;
*(double *)v3.i64 = atof(v56);
v3.f32[0] = *(double *)v3.i64;
v3.f32[0] = v3.f32[0] * 100.0;
v54 = _mm_cvtepi32_ps(_mm_cvttps_epi32(v3));
a1->m_easingInRate = v54.f32[0] / 100.0;
if ( begin[248] )
{
LABEL_92:
v57 = a2->__begin_;
if ( (a2->__begin_[248].m_data.m_short.sizex2 & 1) != 0 )
v58 = v57[248].m_data.m_long.longStorage;
else
v58 = v57[248].m_data.m_short.shortStorage.__elems_;
a1->m_easingOutType = atoi(v58);
if ( begin[249] )
goto LABEL_96;
LABEL_85:
v54.i32[0] = 0;
goto LABEL_100;
}
LABEL_84:
a1->m_easingOutType = 0;
if ( !begin[249] )
goto LABEL_85;
LABEL_96:
v59 = a2->__begin_;
if ( (a2->__begin_[249].m_data.m_short.sizex2 & 1) != 0 )
v60 = v59[249].m_data.m_long.longStorage;
else
v60 = v59[249].m_data.m_short.shortStorage.__elems_;
*(double *)v54.i64 = atof(v60);
v54.f32[0] = *(double *)v54.i64;
v54.f32[0] = v54.f32[0] * 100.0;
v54.f32[0] = _mm_cvtepi32_ps(_mm_cvttps_epi32(v54)).f32[0];
LABEL_100:
a1->m_easingOutRate = v54.f32[0] / 100.0;
v61 = 0;
v62 = 0;
if ( begin[231] )
{
v63 = a2->__begin_;
if ( (a2->__begin_[231].m_data.m_short.sizex2 & 1) != 0 )
v64 = v63[231].m_data.m_long.longStorage;
else
v64 = v63[231].m_data.m_short.shortStorage.__elems_;
v62 = atoi(v64);
}
a1->m_moveAngle = v62;
if ( begin[232] )
{
v65 = a2->__begin_;
if ( (a2->__begin_[232].m_data.m_short.sizex2 & 1) != 0 )
v66 = v65[232].m_data.m_long.longStorage;
else
v66 = v65[232].m_data.m_short.shortStorage.__elems_;
v61 = atoi(v66);
}
a1->m_moveAngleVariance = v61;
if ( begin[287] )
{
v67 = a2->__begin_;
if ( (a2->__begin_[287].m_data.m_short.sizex2 & 1) != 0 )
v68 = v67[287].m_data.m_long.longStorage;
else
v68 = v67[287].m_data.m_short.shortStorage.__elems_;
v69 = atoi(v68) != 0;
}
else
{
v69 = 0;
}
a1->m_relative = v69;
v70 = 0.0;
v71 = 0.0;
if ( begin[288] )
{
v72 = a2->__begin_;
if ( (a2->__begin_[288].m_data.m_short.sizex2 & 1) != 0 )
v73 = v72[288].m_data.m_long.longStorage;
else
v73 = v72[288].m_data.m_short.shortStorage.__elems_;
v71 = atof(v73);
v70 = 0.0;
}
a1->m_relativeFade = v71;
if ( begin[233] )
{
v74 = a2->__begin_;
if ( (a2->__begin_[233].m_data.m_short.sizex2 & 1) != 0 )
v75 = v74[233].m_data.m_long.longStorage;
else
v75 = v74[233].m_data.m_short.shortStorage.__elems_;
v70 = atof(v75);
}
a1->m_areaScaleX = v70;
v76 = 0.0;
v77 = 0.0;
if ( begin[234] )
{
v78 = a2->__begin_;
if ( (a2->__begin_[234].m_data.m_short.sizex2 & 1) != 0 )
v79 = v78[234].m_data.m_long.longStorage;
else
v79 = v78[234].m_data.m_short.shortStorage.__elems_;
v77 = atof(v79);
v76 = 0.0;
}
a1->m_areaScaleXVariance = v77;
if ( begin[235] )
{
v80 = a2->__begin_;
if ( (a2->__begin_[235].m_data.m_short.sizex2 & 1) != 0 )
v81 = v80[235].m_data.m_long.longStorage;
else
v81 = v80[235].m_data.m_short.shortStorage.__elems_;
v76 = atof(v81);
}
a1->m_areaScaleY = v76;
if ( begin[236] )
{
v82 = a2->__begin_;
if ( (a2->__begin_[236].m_data.m_short.sizex2 & 1) != 0 )
v83 = v82[236].m_data.m_long.longStorage;
else
v83 = v82[236].m_data.m_short.shortStorage.__elems_;
v84 = atof(v83);
}
else
{
v84 = 0.0;
}
a1->m_areaScaleYVariance = v84;
v85 = 0;
v86 = 0;
if ( begin[260] )
{
v87 = a2->__begin_;
if ( (a2->__begin_[260].m_data.m_short.sizex2 & 1) != 0 )
v88 = v87[260].m_data.m_long.longStorage;
else
v88 = v87[260].m_data.m_short.shortStorage.__elems_;
v86 = atoi(v88);
}
a1->m_tintChannelID = v86;
if ( begin[224] )
{
v89 = a2->__begin_;
if ( (a2->__begin_[224].m_data.m_short.sizex2 & 1) != 0 )
v90 = v89[224].m_data.m_long.longStorage;
else
v90 = v89[224].m_data.m_short.shortStorage.__elems_;
v85 = atoi(v90);
}
a1->m_property224 = v85;
v91 = 0;
v92 = 0;
if ( begin[262] )
{
v93 = a2->__begin_;
if ( (a2->__begin_[262].m_data.m_short.sizex2 & 1) != 0 )
v94 = v93[262].m_data.m_long.longStorage;
else
v94 = v93[262].m_data.m_short.shortStorage.__elems_;
v92 = atoi(v94);
}
a1->m_directionType = v92;
if ( begin[51] )
{
v95 = a2->__begin_;
if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 )
v96 = v95[51].m_data.m_long.longStorage;
else
v96 = v95[51].m_data.m_short.shortStorage.__elems_;
v91 = atoi(v96);
}
a1->m_targetGroupID = v91;
v97 = 0;
v98 = 0;
if ( begin[71] )
{
v99 = a2->__begin_;
if ( (a2->__begin_[71].m_data.m_short.sizex2 & 1) != 0 )
v100 = v99[71].m_data.m_long.longStorage;
else
v100 = v99[71].m_data.m_short.shortStorage.__elems_;
v98 = atoi(v100);
}
a1->m_centerGroupID = v98;
if ( begin[538] )
{
v101 = a2->__begin_;
if ( (a2->__begin_[538].m_data.m_short.sizex2 & 1) != 0 )
v102 = v101[538].m_data.m_long.longStorage;
else
v102 = v101[538].m_data.m_short.shortStorage.__elems_;
v97 = atoi(v102);
}
a1->m_specialTarget = v97;
if ( begin[241] )
{
v103 = a2->__begin_;
if ( (a2->__begin_[241].m_data.m_short.sizex2 & 1) != 0 )
v104 = v103[241].m_data.m_long.longStorage;
else
v104 = v103[241].m_data.m_short.shortStorage.__elems_;
a1->m_xyMode = atoi(v104) != 0;
if ( begin[261] )
goto LABEL_179;
LABEL_176:
v105 = 0;
goto LABEL_183;
}
a1->m_xyMode = 0;
if ( !begin[261] )
goto LABEL_176;
LABEL_179:
v106 = a2->__begin_;
if ( (a2->__begin_[261].m_data.m_short.sizex2 & 1) != 0 )
v107 = v106[261].m_data.m_long.longStorage;
else
v107 = v106[261].m_data.m_short.shortStorage.__elems_;
v105 = atoi(v107) != 0;
LABEL_183:
a1->m_easeOutEnabled = v105;
v108 = 0.0;
v109 = 0.0;
if ( begin[263] )
{
v110 = a2->__begin_;
if ( (a2->__begin_[263].m_data.m_short.sizex2 & 1) != 0 )
v111 = v110[263].m_data.m_long.longStorage;
else
v111 = v110[263].m_data.m_short.shortStorage.__elems_;
v109 = atof(v111);
v108 = 0.0;
}
a1->m_modFront = v109;
if ( begin[264] )
{
v112 = a2->__begin_;
if ( (a2->__begin_[264].m_data.m_short.sizex2 & 1) != 0 )
v113 = v112[264].m_data.m_long.longStorage;
else
v113 = v112[264].m_data.m_short.shortStorage.__elems_;
v108 = atof(v113);
}
a1->m_modBack = v108;
v114 = 0.0;
v115 = 0.0;
if ( begin[265] )
{
v116 = a2->__begin_;
if ( (a2->__begin_[265].m_data.m_short.sizex2 & 1) != 0 )
v117 = v116[265].m_data.m_long.longStorage;
else
v117 = v116[265].m_data.m_short.shortStorage.__elems_;
v115 = atof(v117);
v114 = 0.0;
}
a1->m_areaTint = v115;
if ( begin[285] )
{
v118 = a2->__begin_;
if ( (a2->__begin_[285].m_data.m_short.sizex2 & 1) != 0 )
v119 = v118[285].m_data.m_long.longStorage;
else
v119 = v118[285].m_data.m_short.shortStorage.__elems_;
v114 = atof(v119);
}
a1->m_property285 = v114;
if ( begin[225] )
{
v120 = a2->__begin_;
if ( (a2->__begin_[225].m_data.m_short.sizex2 & 1) != 0 )
v121 = v120[225].m_data.m_long.longStorage;
else
v121 = v120[225].m_data.m_short.shortStorage.__elems_;
v122 = atoi(v121);
}
else
{
v122 = 0;
}
a1->m_effectID = v122;
v123 = 0.0;
v124 = 0.0;
if ( begin[270] )
{
v125 = a2->__begin_;
if ( (a2->__begin_[270].m_data.m_short.sizex2 & 1) != 0 )
v126 = v125[270].m_data.m_long.longStorage;
else
v126 = v125[270].m_data.m_short.shortStorage.__elems_;
v124 = atof(v126);
v123 = 0.0;
}
a1->m_areaRotation = v124;
if ( begin[271] )
{
v127 = a2->__begin_;
if ( (a2->__begin_[271].m_data.m_short.sizex2 & 1) != 0 )
v128 = v127[271].m_data.m_long.longStorage;
else
v128 = v127[271].m_data.m_short.shortStorage.__elems_;
v123 = atof(v128);
}
a1->m_areaRotationVariance = v123;
v129 = 0.0;
v130 = 0;
if ( begin[275] )
{
v131 = a2->__begin_;
if ( (a2->__begin_[275].m_data.m_short.sizex2 & 1) != 0 )
v132 = v131[275].m_data.m_long.longStorage;
else
v132 = v131[275].m_data.m_short.shortStorage.__elems_;
*(double *)v130.i64 = atof(v132);
v130.f32[0] = *(double *)v130.i64;
v129 = 0.0;
}
LODWORD(a1->m_toOpacity) = v130.i32[0];
if ( begin[286] )
{
v133 = a2->__begin_;
if ( (a2->__begin_[286].m_data.m_short.sizex2 & 1) != 0 )
v134 = v133[286].m_data.m_long.longStorage;
else
v134 = v133[286].m_data.m_short.shortStorage.__elems_;
*(double *)v130.i64 = atof(v134);
v129 = *(double *)v130.i64;
}
a1->m_fromOpacity = v129;
if ( !begin[276] )
{
a1->m_inbound = 0;
if ( begin[138] )
goto LABEL_241;
LABEL_233:
a1->m_targetPlayer1 = 0;
if ( begin[200] )
goto LABEL_245;
LABEL_234:
a1->m_targetPlayer2 = 0;
if ( begin[201] )
goto LABEL_249;
LABEL_235:
a1->m_followCPP = 0;
if ( begin[65] )
goto LABEL_253;
LABEL_236:
a1->m_pulseMainOnly = 0;
if ( begin[66] )
goto LABEL_257;
LABEL_237:
a1->m_pulseDetailOnly = 0;
if ( begin[278] )
goto LABEL_261;
LABEL_238:
a1->m_hsvEnabled = 0;
goto LABEL_272;
}
v135 = a2->__begin_;
if ( (a2->__begin_[276].m_data.m_short.sizex2 & 1) != 0 )
v136 = v135[276].m_data.m_long.longStorage;
else
v136 = v135[276].m_data.m_short.shortStorage.__elems_;
a1->m_inbound = atoi(v136) != 0;
if ( !begin[138] )
goto LABEL_233;
LABEL_241:
v137 = a2->__begin_;
if ( (a2->__begin_[138].m_data.m_short.sizex2 & 1) != 0 )
v138 = v137[138].m_data.m_long.longStorage;
else
v138 = v137[138].m_data.m_short.shortStorage.__elems_;
a1->m_targetPlayer1 = atoi(v138) != 0;
if ( !begin[200] )
goto LABEL_234;
LABEL_245:
v139 = a2->__begin_;
if ( (a2->__begin_[200].m_data.m_short.sizex2 & 1) != 0 )
v140 = v139[200].m_data.m_long.longStorage;
else
v140 = v139[200].m_data.m_short.shortStorage.__elems_;
a1->m_targetPlayer2 = atoi(v140) != 0;
if ( !begin[201] )
goto LABEL_235;
LABEL_249:
v141 = a2->__begin_;
if ( (a2->__begin_[201].m_data.m_short.sizex2 & 1) != 0 )
v142 = v141[201].m_data.m_long.longStorage;
else
v142 = v141[201].m_data.m_short.shortStorage.__elems_;
a1->m_followCPP = atoi(v142) != 0;
if ( !begin[65] )
goto LABEL_236;
LABEL_253:
v143 = a2->__begin_;
if ( (a2->__begin_[65].m_data.m_short.sizex2 & 1) != 0 )
v144 = v143[65].m_data.m_long.longStorage;
else
v144 = v143[65].m_data.m_short.shortStorage.__elems_;
a1->m_pulseMainOnly = atoi(v144) != 0;
if ( !begin[66] )
goto LABEL_237;
LABEL_257:
v145 = a2->__begin_;
if ( (a2->__begin_[66].m_data.m_short.sizex2 & 1) != 0 )
v146 = v145[66].m_data.m_long.longStorage;
else
v146 = v145[66].m_data.m_short.shortStorage.__elems_;
a1->m_pulseDetailOnly = atoi(v146) != 0;
if ( !begin[278] )
goto LABEL_238;
LABEL_261:
v147 = a2->__begin_;
if ( (a2->__begin_[278].m_data.m_short.sizex2 & 1) != 0 )
{
v149 = atoi(v147[278].m_data.m_long.longStorage);
a1->m_hsvEnabled = v149 != 0;
if ( !v149 )
goto LABEL_272;
}
else
{
v148 = atoi(v147[278].m_data.m_short.shortStorage.__elems_);
a1->m_hsvEnabled = v148 != 0;
if ( !v148 )
goto LABEL_272;
}
if ( begin[49] )
{
if ( (v147[49].m_data.m_short.sizex2 & 1) != 0 )
{
sub_100006B70(&v175, v147[49].m_data.m_long.longStorage, v147[49].m_data.m_long.size, *(double *)v130.i64);
}
else
{
v150 = v147 + 49;
__p = v150->m_data.m_long.longStorage;
v130 = *(__m128 *)&v150->m_data.m_short.sizex2;
v175 = *(__m128 *)&v150->m_data.m_short.sizex2;
}
}
else
{
v175.i16[0] = 0;
}
v151 = GameToolbox::hsvFromString(&v175, "a");
_mm_storel_ps((double *)&a1->m_hsvValue.h, v130);
*(_QWORD *)&a1->m_hsvValue.v = v151;
if ( (v175.i8[0] & 1) != 0 )
operator delete(__p);
LABEL_272:
v152 = v174->__begin_;
if ( !*((_QWORD *)v174->__begin_ + 282) )
{
a1->m_deadzone = 0.0;
if ( v152[283] )
goto LABEL_282;
LABEL_276:
a1->m_twoDirections = 0;
if ( v152[341] )
goto LABEL_290;
LABEL_277:
a1->m_priority = 0;
if ( !v152[10] )
goto LABEL_298;
goto LABEL_278;
}
v153 = a2->__begin_;
if ( (a2->__begin_[282].m_data.m_short.sizex2 & 1) != 0 )
v154 = v153[282].m_data.m_long.longStorage;
else
v154 = v153[282].m_data.m_short.shortStorage.__elems_;
v157 = atof(v154);
a1->m_deadzone = v157;
if ( !v152[283] )
goto LABEL_276;
LABEL_282:
v158 = a2->__begin_;
if ( (a2->__begin_[283].m_data.m_short.sizex2 & 1) != 0 )
v159 = v158[283].m_data.m_long.longStorage;
else
v159 = v158[283].m_data.m_short.shortStorage.__elems_;
a1->m_twoDirections = atoi(v159) != 0;
if ( !v152[341] )
goto LABEL_277;
LABEL_290:
v163 = a2->__begin_;
if ( (a2->__begin_[341].m_data.m_short.sizex2 & 1) != 0 )
v164 = v163[341].m_data.m_long.longStorage;
else
v164 = v163[341].m_data.m_short.shortStorage.__elems_;
a1->m_priority = atoi(v164);
if ( !v152[10] )
{
LABEL_298:
a1->m_duration = 0.0;
if ( !v152[355] )
goto LABEL_299;
goto LABEL_286;
}
LABEL_278:
v155 = a2->__begin_;
if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 )
v156 = v155[10].m_data.m_long.longStorage;
else
v156 = v155[10].m_data.m_short.shortStorage.__elems_;
v160 = atof(v156);
a1->m_duration = v160;
if ( !v152[355] )
{
LABEL_299:
a1->m_useEffectID = 0;
if ( !v152[539] )
goto LABEL_300;
LABEL_294:
v165 = a2->__begin_;
if ( (a2->__begin_[539].m_data.m_short.sizex2 & 1) != 0 )
v166 = v165[539].m_data.m_long.longStorage;
else
v166 = v165[539].m_data.m_short.shortStorage.__elems_;
a1->m_dontEditAreaParent = atoi(v166) != 0;
if ( !v152[226] )
goto LABEL_309;
goto LABEL_304;
}
LABEL_286:
v161 = a2->__begin_;
if ( (a2->__begin_[355].m_data.m_short.sizex2 & 1) != 0 )
v162 = v161[355].m_data.m_long.longStorage;
else
v162 = v161[355].m_data.m_short.shortStorage.__elems_;
a1->m_useEffectID = atoi(v162) != 0;
if ( v152[539] )
goto LABEL_294;
LABEL_300:
a1->m_dontEditAreaParent = 0;
if ( !v152[226] )
goto LABEL_309;
LABEL_304:
v167 = a2->__begin_;
if ( (a2->__begin_[226].m_data.m_short.sizex2 & 1) == 0 )
{
v168 = atoi(v167[226].m_data.m_short.shortStorage.__elems_);
if ( !v168 )
goto LABEL_309;
goto LABEL_308;
}
v168 = atoi(v167[226].m_data.m_long.longStorage);
if ( v168 )
LABEL_308:
a1->m_targetGroupID = v168;
LABEL_309:
if ( v152[342] )
{
v169 = a2->__begin_;
v170 = (a2->__begin_[342].m_data.m_short.sizex2 & 1) != 0
? v169[342].m_data.m_long.longStorage
: (const char *)&v169[342].m_data.m_short.shortStorage;
p_m_centerGroupID = &a1->m_centerGroupID;
p_m_specialTarget = &a1->m_specialTarget;
v173 = atoi(v170);
if ( v173 )
{
if ( v173 < 0 )
p_m_centerGroupID = p_m_specialTarget;
*p_m_centerGroupID = v173;
}
}
}