//
// EffectGameObject::customObjectSetup from 0x100378220 to 0x10037a790 (9584 bytes)
//
// 34 xrefs:
// > EnterEffectObject::customObjectSetup @ 0x1003774c8
// > GradientTriggerObject::customObjectSetup @ 0x10037ae40
// > ShaderGameObject::customObjectSetup @ 0x10037c198
// > AdvancedFollowTriggerObject::customObjectSetup @ 0x10037e8e4
// > GameOptionsTrigger::customObjectSetup @ 0x100380464
// > RingObject::customObjectSetup @ 0x1003827c4
// > KeyframeAnimTriggerObject::customObjectSetup @ 0x100386fd8
// > EnhancedTriggerObject::customObjectSetup @ 0x1003874c8
// > StartPosObject::customObjectSetup @ 0x10038779c
// > TeleportPortalObject::customObjectSetup @ 0x1003884f4
// > RandTriggerGameObject::customObjectSetup @ 0x100389af0
// > SequenceTriggerGameObject::customObjectSetup @ 0x10038a560
// > KeyframeGameObject::customObjectSetup @ 0x10038b360
// > SFXTriggerGameObject::customObjectSetup @ 0x10038d2e4
// > EventLinkTrigger::customObjectSetup @ 0x10038e640
// > SpawnTriggerGameObject::customObjectSetup @ 0x10038efd0
// > CheckpointGameObject::customObjectSetup @ 0x10039064c
// > CountTriggerGameObject::customObjectSetup @ 0x100390a40
// > TransformTriggerGameObject::customObjectSetup @ 0x10039151c
// > EndTriggerGameObject::customObjectSetup @ 0x10039233c
// > UISettingsGameObject::customObjectSetup @ 0x1003928f4
// > CameraTriggerGameObject::customObjectSetup @ 0x100393a98
// > TimerTriggerGameObject::customObjectSetup @ 0x1003948c0
// > ItemTriggerGameObject::customObjectSetup @ 0x100395be8
// > AudioLineGuideGameObject::customObjectSetup @ 0x10039669c
// > ForceBlockGameObject::customObjectSetup @ 0x100396c48
// > ArtTriggerGameObject::customObjectSetup @ 0x100397270
// > PlayerControlGameObject::customObjectSetup @ 0x1003977a4
// > ObjectControlGameObject::customObjectSetup @ 0x100397b9c
// > TriggerControlGameObject::customObjectSetup @ 0x100397f54
// > SpawnParticleGameObject::customObjectSetup @ 0x1003987f0
// > RotateGameplayGameObject::customObjectSetup @ 0x100399144
// > ??> @ 0x1007fa6b0
// > ??> @ 0x10080a160
//
// 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 EffectGameObject::customObjectSetup(
EffectGameObject *a1,
std::vector *a2,
std::vector *a3)
{
__n128 v6; // q0
__n128 v7; // q1
std::__vector_base::pointer begin; // x25
void *v9; // x8
std::__vector_base::pointer capacitym1; // x0
void *v11; // x8
std::__vector_base::pointer v12; // x0
void *v13; // x8
std::__vector_base::pointer v14; // x0
void *v15; // x8
std::__vector_base::pointer v16; // x0
void *v17; // x8
std::__vector_base::pointer v18; // x0
void *v19; // x8
std::__vector_base::pointer v20; // x0
std::__vector_base::pointer v21; // x0
int v22; // w0
std::__vector_base::pointer v23; // x0
int v24; // w0
void *v25; // x8
std::__vector_base::pointer v26; // x0
std::__vector_base::pointer v27; // x0
int v28; // w0
void *v29; // x8
std::__vector_base::pointer v30; // x0
void *v31; // x8
std::__vector_base::pointer v32; // x0
std::__vector_base::pointer v33; // x0
int v34; // w0
void *v35; // x8
std::__vector_base::pointer v36; // x0
void *v37; // x8
std::__vector_base::pointer v38; // x0
void *v39; // x8
std::__vector_base::pointer v40; // x0
std::__vector_base::pointer v41; // x0
int v42; // w0
std::__vector_base::pointer v43; // x0
int v44; // w0
void *v45; // x8
std::__vector_base::pointer v46; // x0
std::__vector_base::pointer v47; // x0
int v48; // w0
std::__vector_base::pointer v49; // x0
int v50; // w0
void *v51; // x8
std::__vector_base::pointer v52; // x0
int m_objectID; // w8
cocos2d::ccColor3B *p_m_triggerTargetColor; // x26
std::__vector_base::pointer v55; // x0
int v56; // w0
float v57; // s8
float v58; // s9
std::__vector_base::pointer v59; // x0
std::__vector_base::pointer v60; // x0
std::__vector_base::pointer v61; // x21
void *v62; // x8
std::__vector_base::pointer v63; // x0
void *v64; // x8
std::__vector_base::pointer v65; // x0
std::__vector_base::pointer v66; // x0
MoveTargetType v67; // w0
std::__vector_base::pointer v68; // x0
float v69; // s0
float *p_m_zoomValue; // x21
float v71; // s8
float v72; // s0
std::__vector_base::pointer v73; // x0
std::__vector_base::pointer v74; // x0
std::__vector_base::pointer v75; // x0
int v76; // w0
std::__vector_base::pointer v77; // x0
int v78; // w0
std::__vector_base::pointer v79; // x0
unsigned __int8 v80; // w22
std::__vector_base::pointer v81; // x0
int v82; // w0
std::__vector_base::pointer v83; // x0
int v84; // w21
std::__vector_base::pointer v85; // x0
int v86; // w0
std::__vector_base::pointer v87; // x0
__int16 v88; // w23
std::__vector_base::pointer v89; // x0
GLubyte v90; // w24
std::__vector_base::pointer v91; // x0
float v92; // s0
std::__vector_base::pointer v93; // x22
__int64 v94; // x8
std::__vector_base::pointer v95; // x0
void *v96; // x8
std::__vector_base::pointer v97; // x0
void *v98; // x8
std::__vector_base::pointer v99; // x0
void *v100; // x8
std::__vector_base::pointer v101; // x0
void *v102; // x8
std::__vector_base::pointer v103; // x0
std::__vector_base::pointer v104; // x0
int v105; // w0
float v106; // s8
std::__vector_base::pointer v107; // x23
std::__vector_base::pointer v108; // x0
const char *v109; // x0
std::__vector_base::pointer v110; // x0
int v111; // w0
void *v112; // x8
std::__vector_base::pointer v113; // x0
void *v114; // x8
std::__vector_base::pointer v115; // x0
float v116; // s8
float v117; // s0
std::__vector_base::pointer v118; // x0
std::__vector_base::pointer v119; // x0
void *v120; // x8
std::__vector_base::pointer v121; // x0
std::__vector_base::pointer v122; // x0
int v123; // w0
std::__vector_base::pointer v124; // x8
std::__vector_base::pointer v125; // x8
__int64 v126; // x1
std::__vector_base::pointer v127; // x21
std::__vector_base::pointer v128; // x0
int v129; // w0
void *v130; // x8
std::__vector_base::pointer v131; // x0
int v132; // w8
std::__vector_base::pointer v133; // x0
int v134; // w0
std::__vector_base::pointer v135; // x0
float v136; // s0
float v137; // s0
std::__vector_base::pointer v138; // x0
int v139; // w0
std::__vector_base::pointer v140; // x0
int v141; // w0
std::__vector_base::pointer v142; // x0
int v143; // w21
float v144; // s9
float v145; // s8
std::__vector_base::pointer v146; // x0
std::__vector_base::pointer v147; // x0
float v148; // s10
std::__vector_base::pointer v149; // x21
std::__vector_base::pointer v150; // x0
std::__vector_base::pointer v151; // x0
EasingType v152; // w0
void *v153; // x8
std::__vector_base::pointer v154; // x0
void *v155; // x8
std::__vector_base::pointer v156; // x0
void *v157; // x8
std::__vector_base::pointer v158; // x0
void *v159; // x8
std::__vector_base::pointer v160; // x0
void *v161; // x8
std::__vector_base::pointer v162; // x0
std::__vector_base::pointer v163; // x0
int v164; // w0
std::__vector_base::pointer v165; // x0
int v166; // w0
float v167; // s8
float v168; // s0
std::__vector_base::pointer v169; // x0
std::__vector_base::pointer v170; // x0
std::__vector_base::pointer v171; // x0
float v172; // s0
std::__vector_base::pointer v173; // x0
float v174; // s0
std::__vector_base::pointer v175; // x0
int v176; // w0
std::__vector_base::pointer v177; // x0
std::__vector_base::pointer v178; // x0
int v179; // w0
void *v180; // x8
std::__vector_base::pointer v181; // x0
std::__vector_base::pointer v182; // x0
int v183; // w0
std::__vector_base::pointer v184; // x0
int v185; // w0
std::__vector_base::pointer v186; // x0
int v187; // w0
float v188; // s9
float v189; // s8
std::__vector_base::pointer v190; // x0
std::__vector_base::pointer v191; // x0
std::__vector_base::pointer v192; // x0
float v193; // s0
std::__vector_base::pointer v194; // x0
int v195; // w0
std::__vector_base::pointer v196; // x0
int v197; // w0
std::__vector_base::pointer v198; // x0
float v199; // s0
std::__vector_base::pointer v200; // x0
int v201; // w0
std::__vector_base::pointer v202; // x0
int v203; // w0
std::__vector_base::pointer v204; // x0
float v205; // s0
std::__vector_base::pointer v206; // x0
int v207; // w0
std::__vector_base::pointer v208; // x0
float v209; // s0
std::__vector_base::pointer v210; // x0
EasingType v211; // w0
void *v212; // x8
std::__vector_base::pointer v213; // x0
void *v214; // x8
std::__vector_base::pointer v215; // x0
void *v216; // x8
std::__vector_base::pointer v217; // x0
void *v218; // x8
std::__vector_base::pointer v219; // x0
void *v220; // x8
std::__vector_base::pointer v221; // x0
float v222; // s8
float v223; // s0
std::__vector_base::pointer v224; // x0
std::__vector_base::pointer v225; // x0
std::__vector_base::pointer v226; // x0
int v227; // w0
void *v228; // x8
std::__vector_base::pointer v229; // x0
void *v230; // x8
std::__vector_base::pointer v231; // x0
void *v232; // x8
std::__vector_base::pointer v233; // x0
void *v234; // x8
std::__vector_base::pointer v235; // x0
void *v236; // x8
std::__vector_base::pointer v237; // x0
void *v238; // x8
std::__vector_base::pointer v239; // x0
std::__vector_base::pointer v240; // x0
int v241; // w0
std::__vector_base::pointer v242; // x0
float v243; // s0
std::__vector_base::pointer v244; // x0
int v245; // w0
void *v246; // x8
std::__vector_base::pointer v247; // x0
float v248; // s10
std::__vector_base::pointer v249; // x0
int v250; // w0
void *v251; // x8
std::__vector_base::pointer v252; // x0
void *v253; // x8
std::__vector_base::pointer v254; // x0
float v255; // s8
float v256; // s9
std::__vector_base::pointer v257; // x0
std::__vector_base::pointer v258; // x0
std::__vector_base::pointer v259; // x21
std::__vector_base::pointer v260; // x0
float v261; // s0
std::__vector_base::pointer v262; // x0
EasingType v263; // w0
std::__vector_base::pointer v264; // x0
_BOOL4 v265; // w22
std::__vector_base::pointer v266; // x0
_BOOL4 v267; // w23
std::__vector_base::pointer v268; // x0
_BOOL4 v269; // w24
std::__vector_base::pointer v270; // x0
_BOOL4 v271; // w25
void *v272; // x8
std::__vector_base::pointer v273; // x0
void *v274; // x8
std::__vector_base::pointer v275; // x0
void *v276; // x8
std::__vector_base::pointer v277; // x0
std::__vector_base::pointer v278; // x0
int v279; // w0
std::__vector_base::pointer v280; // x0
MoveTargetType v281; // w0
std::__vector_base::pointer v282; // x0
int v283; // w0
std::__vector_base::pointer v284; // x0
float v285; // s0
void *v286; // x8
std::__vector_base::pointer v287; // x0
void *v288; // x8
std::__vector_base::pointer v289; // x0
void *v290; // x8
std::__vector_base::pointer v291; // x0
void *v292; // x8
std::__vector_base::pointer v293; // x0
std::__vector_base::pointer v294; // x0
float v295; // s0
std::__vector_base::pointer v296; // x0
float v297; // s0
void *v298; // x8
std::__vector_base::pointer v299; // x0
void *v300; // x8
std::__vector_base::pointer v301; // x0
std::__vector_base::pointer v302; // x0
TouchTriggerType v303; // w0
std::__vector_base::pointer v304; // x0
int v305; // w0
std::__vector_base::pointer v306; // x0
int v307; // w0
float v308; // s8
float v309; // s0
std::__vector_base::pointer v310; // x0
std::__vector_base::pointer v311; // x0
std::__vector_base::pointer v312; // x0
float v313; // s0
std::__vector_base::pointer v314; // x0
int v315; // w0
std::__vector_base::pointer v316; // x0
int v317; // w22
std::__vector_base::pointer v318; // x0
TouchTriggerControl v319; // w0
std::__vector_base::pointer v320; // x0
int v321; // w0
std::__vector_base::pointer v322; // x0
int v323; // w22
std::__vector_base::pointer v324; // x0
int v325; // w0
float v326; // s8
float v327; // s9
std::__vector_base::pointer v328; // x0
std::__vector_base::pointer v329; // x0
std::__vector_base::pointer v330; // x0
float v331; // s0
void *v332; // x8
std::__vector_base::pointer v333; // x0
std::__vector_base::pointer v334; // x0
float v335; // s0
void *v336; // x8
std::__vector_base::pointer v337; // x0
void *v338; // x8
std::__vector_base::pointer v339; // x0
std::__vector_base::pointer v340; // x0
int v341; // w0
void *v342; // x8
std::__vector_base::pointer v343; // x0
void *v344; // x8
std::__vector_base::pointer v345; // x0
void *v346; // x8
std::__vector_base::pointer v347; // x0
void *v348; // x8
std::__vector_base::pointer v349; // x0
void *v350; // x8
std::__vector_base::pointer v351; // x0
void *v352; // x8
std::__vector_base::pointer v353; // x0
void *v354; // x8
std::__vector_base::pointer v355; // x0
std::__vector_base::pointer v356; // x8
std::__vector_base::pointer v357; // x8
std::__vector_base::pointer v358; // x0
unsigned __int8 v359; // w22
int v360; // w8
std::__vector_base::pointer v361; // x0
float v362; // s0
std::__vector_base::pointer v363; // x0
EasingType v364; // w0
std::__vector_base::pointer v365; // x0
float v366; // s0
__int64 v367; // x1
std::__vector_base::pointer v368; // x0
int v369; // w0
std::__vector_base::pointer v370; // x0
__int16 v371; // w23
std::__vector_base::pointer v372; // x0
GLubyte v373; // w0
std::__vector_base::pointer v374; // x0
int v375; // w0
float v376; // s8
float v377; // s0
std::__vector_base::pointer v378; // x0
std::__vector_base::pointer v379; // x0
void *__p[2]; // [xsp+0h] [xbp-80h] BYREF
char *longStorage; // [xsp+10h] [xbp-70h]
EnhancedGameObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
if ( !a1->m_isTouchTriggered )
{
v9 = begin[11];
if ( v9 )
{
capacitym1 = a2->__begin_ + 11;
if ( a2->__begin_[11].m_data.m_short.shortStorage.__elems_[22] < 0 )
capacitym1 = (std::__vector_base::pointer)capacitym1->m_data.m_long.capacitym1;
LOBYTE(v9) = atoi((const char *)capacitym1) != 0;
}
a1->m_isTouchTriggered = (char)v9;
}
v11 = begin[369];
if ( v11 )
{
v12 = a2->__begin_ + 369;
if ( a2->__begin_[369].m_data.m_short.shortStorage.__elems_[22] < 0 )
v12 = (std::__vector_base::pointer)v12->m_data.m_long.capacitym1;
LOBYTE(v11) = atoi((const char *)v12) != 0;
}
a1->m_hasCenterEffect = (char)v11;
v13 = begin[62];
if ( v13 )
{
v14 = a2->__begin_ + 62;
if ( a2->__begin_[62].m_data.m_short.shortStorage.__elems_[22] < 0 )
v14 = (std::__vector_base::pointer)v14->m_data.m_long.capacitym1;
LOBYTE(v13) = atoi((const char *)v14) != 0;
}
a1->m_isSpawnTriggered = (char)v13;
v15 = begin[87];
if ( v15 )
{
v16 = a2->__begin_ + 87;
if ( a2->__begin_[87].m_data.m_short.shortStorage.__elems_[22] < 0 )
v16 = (std::__vector_base::pointer)v16->m_data.m_long.capacitym1;
LOBYTE(v15) = atoi((const char *)v16) != 0;
}
a1->m_isMultiTriggered = (char)v15;
v17 = begin[284];
if ( v17 )
{
v18 = a2->__begin_ + 284;
if ( a2->__begin_[284].m_data.m_short.shortStorage.__elems_[22] < 0 )
v18 = (std::__vector_base::pointer)v18->m_data.m_long.capacitym1;
LOBYTE(v17) = atoi((const char *)v18) != 0;
}
a1->m_isSinglePTouch = (char)v17;
v19 = begin[13];
if ( v19 )
{
v20 = a2->__begin_ + 13;
if ( a2->__begin_[13].m_data.m_short.shortStorage.__elems_[22] < 0 )
v20 = (std::__vector_base::pointer)v20->m_data.m_long.capacitym1;
LOBYTE(v19) = atoi((const char *)v20) != 0;
}
a1->m_shouldPreview = (char)v19;
if ( begin[115] )
{
v21 = a2->__begin_ + 115;
if ( a2->__begin_[115].m_data.m_short.shortStorage.__elems_[22] < 0 )
v21 = (std::__vector_base::pointer)v21->m_data.m_long.capacitym1;
v22 = atoi((const char *)v21);
}
else
{
v22 = 0;
}
a1->m_ordValue = v22;
if ( begin[170] )
{
v23 = a2->__begin_ + 170;
if ( a2->__begin_[170].m_data.m_short.shortStorage.__elems_[22] < 0 )
v23 = (std::__vector_base::pointer)v23->m_data.m_long.capacitym1;
v24 = atoi((const char *)v23);
}
else
{
v24 = 0;
}
a1->m_channelValue = v24;
v25 = begin[117];
if ( v25 )
{
v26 = a2->__begin_ + 117;
if ( a2->__begin_[117].m_data.m_short.shortStorage.__elems_[22] < 0 )
v26 = (std::__vector_base::pointer)v26->m_data.m_long.capacitym1;
LOBYTE(v25) = atoi((const char *)v26) != 0;
}
a1->m_isReverse = (char)v25;
if ( begin[534] )
{
v27 = a2->__begin_ + 534;
if ( a2->__begin_[534].m_data.m_short.shortStorage.__elems_[22] < 0 )
v27 = (std::__vector_base::pointer)v27->m_data.m_long.capacitym1;
v28 = atoi((const char *)v27);
}
else
{
v28 = 0;
}
a1->m_controlID = v28;
v29 = begin[280];
if ( v29 )
{
v30 = a2->__begin_ + 280;
if ( a2->__begin_[280].m_data.m_short.shortStorage.__elems_[22] < 0 )
v30 = (std::__vector_base::pointer)v30->m_data.m_long.capacitym1;
LOBYTE(v29) = atoi((const char *)v30) != 0;
}
a1->m_ignoreGroupParent = (char)v29;
v31 = begin[281];
if ( v31 )
{
v32 = a2->__begin_ + 281;
if ( a2->__begin_[281].m_data.m_short.shortStorage.__elems_[22] < 0 )
v32 = (std::__vector_base::pointer)v32->m_data.m_long.capacitym1;
LOBYTE(v31) = atoi((const char *)v32) != 0;
}
a1->m_ignoreLinkedObjects = (char)v31;
if ( a1->m_objectType == Collectible )
{
if ( begin[51] )
{
v33 = a2->__begin_ + 51;
if ( a2->__begin_[51].m_data.m_short.shortStorage.__elems_[22] < 0 )
v33 = (std::__vector_base::pointer)v33->m_data.m_long.capacitym1;
v34 = atoi((const char *)v33);
}
else
{
v34 = 0;
}
a1->m_targetGroupID = v34;
v35 = begin[78];
if ( v35 )
{
v36 = a2->__begin_ + 78;
if ( a2->__begin_[78].m_data.m_short.shortStorage.__elems_[22] < 0 )
v36 = (std::__vector_base::pointer)v36->m_data.m_long.capacitym1;
LOBYTE(v35) = atoi((const char *)v36) != 0;
}
a1->m_subtractCount = (char)v35;
v37 = begin[381];
if ( v37 )
{
v38 = a2->__begin_ + 381;
if ( a2->__begin_[381].m_data.m_short.shortStorage.__elems_[22] < 0 )
v38 = (std::__vector_base::pointer)v38->m_data.m_long.capacitym1;
LOBYTE(v37) = atoi((const char *)v38) != 0;
}
a1->m_collectibleIsPickupItem = (char)v37;
v39 = begin[382];
if ( v39 )
{
v40 = a2->__begin_ + 382;
if ( a2->__begin_[382].m_data.m_short.shortStorage.__elems_[22] < 0 )
v40 = (std::__vector_base::pointer)v40->m_data.m_long.capacitym1;
LOBYTE(v39) = atoi((const char *)v40) != 0;
}
a1->m_collectibleIsToggleTrigger = (char)v39;
if ( begin[383] )
{
v41 = a2->__begin_ + 383;
if ( a2->__begin_[383].m_data.m_short.shortStorage.__elems_[22] < 0 )
v41 = (std::__vector_base::pointer)v41->m_data.m_long.capacitym1;
v42 = atoi((const char *)v41);
}
else
{
v42 = 0;
}
a1->m_collectiblePoints = v42;
if ( begin[440] )
{
v43 = a2->__begin_ + 440;
if ( a2->__begin_[440].m_data.m_short.shortStorage.__elems_[22] < 0 )
v43 = (std::__vector_base::pointer)v43->m_data.m_long.capacitym1;
v44 = atoi((const char *)v43);
}
else
{
v44 = 0;
}
a1->m_collectibleParticleID = v44;
v45 = begin[463];
if ( v45 )
{
v46 = a2->__begin_ + 463;
if ( a2->__begin_[463].m_data.m_short.shortStorage.__elems_[22] < 0 )
v46 = (std::__vector_base::pointer)v46->m_data.m_long.capacitym1;
LOBYTE(v45) = atoi((const char *)v46) != 0;
}
a1->m_hasNoAnimation = (char)v45;
if ( begin[79] )
{
v47 = a2->__begin_ + 79;
if ( a2->__begin_[79].m_data.m_short.shortStorage.__elems_[22] < 0 )
v47 = (std::__vector_base::pointer)v47->m_data.m_long.capacitym1;
v48 = atoi((const char *)v47);
if ( v48 == 2 )
{
a1->m_collectibleIsToggleTrigger = 1;
}
else if ( v48 == 1 )
{
a1->m_collectibleIsPickupItem = 1;
}
}
if ( begin[80] )
{
v49 = a2->__begin_ + 80;
if ( a2->__begin_[80].m_data.m_short.shortStorage.__elems_[22] < 0 )
v49 = (std::__vector_base::pointer)v49->m_data.m_long.capacitym1;
v50 = atoi((const char *)v49);
}
else
{
v50 = 0;
}
a1->m_itemID = v50;
v51 = begin[56];
if ( v51 )
{
v52 = a2->__begin_ + 56;
if ( a2->__begin_[56].m_data.m_short.shortStorage.__elems_[22] < 0 )
v52 = (std::__vector_base::pointer)v52->m_data.m_long.capacitym1;
LOBYTE(v51) = atoi((const char *)v52) != 0;
}
a1->m_activateGroup = (char)v51;
}
m_objectID = a1->m_objectID;
if ( m_objectID > 1519 )
{
if ( m_objectID <= 1934 )
{
if ( m_objectID <= 1815 )
{
if ( m_objectID <= 1811 )
{
if ( m_objectID == 1520 )
{
v167 = 0.0;
v168 = 0.0;
if ( begin[10] )
{
v169 = a2->__begin_ + 10;
if ( a2->__begin_[10].m_data.m_short.shortStorage.__elems_[22] < 0 )
v169 = (std::__vector_base::pointer)v169->m_data.m_long.capacitym1;
v168 = atof((const char *)v169);
}
a1->m_duration = v168;
if ( begin[75] )
{
v170 = a2->__begin_ + 75;
if ( a2->__begin_[75].m_data.m_short.shortStorage.__elems_[22] < 0 )
v170 = (std::__vector_base::pointer)v170->m_data.m_long.capacitym1;
v167 = atof((const char *)v170);
}
a1->m_shakeStrength = v167;
if ( begin[84] )
{
v171 = a2->__begin_ + 84;
if ( a2->__begin_[84].m_data.m_short.shortStorage.__elems_[22] < 0 )
v171 = (std::__vector_base::pointer)v171->m_data.m_long.capacitym1;
v172 = atof((const char *)v171);
}
else
{
v172 = 0.0;
}
a1->m_shakeInterval = v172;
goto LABEL_935;
}
if ( m_objectID != 1585 )
{
if ( m_objectID == 1595 )
{
if ( begin[51] )
{
v55 = a2->__begin_ + 51;
if ( a2->__begin_[51].m_data.m_short.shortStorage.__elems_[22] < 0 )
v55 = (std::__vector_base::pointer)v55->m_data.m_long.capacitym1;
v56 = atoi((const char *)v55);
}
else
{
v56 = 0;
}
a1->m_targetGroupID = v56;
v298 = begin[56];
if ( v298 )
{
v299 = a2->__begin_ + 56;
if ( a2->__begin_[56].m_data.m_short.shortStorage.__elems_[22] < 0 )
v299 = (std::__vector_base::pointer)v299->m_data.m_long.capacitym1;
LOBYTE(v298) = atoi((const char *)v299) != 0;
}
a1->m_activateGroup = (char)v298;
v300 = begin[81];
if ( v300 )
{
v301 = a2->__begin_ + 81;
if ( a2->__begin_[81].m_data.m_short.shortStorage.__elems_[22] < 0 )
v301 = (std::__vector_base::pointer)v301->m_data.m_long.capacitym1;
LOBYTE(v300) = atoi((const char *)v301) != 0;
}
a1->m_touchHoldMode = (char)v300;
if ( begin[82] )
{
v302 = a2->__begin_ + 82;
if ( a2->__begin_[82].m_data.m_short.shortStorage.__elems_[22] < 0 )
v302 = (std::__vector_base::pointer)v302->m_data.m_long.capacitym1;
v303 = atoi((const char *)v302);
}
else
{
v303 = 0;
}
a1->m_touchToggleMode = v303;
if ( begin[198] )
{
v318 = a2->__begin_ + 198;
if ( a2->__begin_[198].m_data.m_short.shortStorage.__elems_[22] < 0 )
v318 = (std::__vector_base::pointer)v318->m_data.m_long.capacitym1;
v319 = atoi((const char *)v318);
}
else
{
v319 = 0;
}
a1->m_touchPlayerMode = v319;
v332 = begin[89];
if ( v332 )
{
v333 = a2->__begin_ + 89;
if ( a2->__begin_[89].m_data.m_short.shortStorage.__elems_[22] < 0 )
v333 = (std::__vector_base::pointer)v333->m_data.m_long.capacitym1;
LOBYTE(v332) = atoi((const char *)v333) != 0;
}
a1->m_isDualMode = (char)v332;
}
goto LABEL_935;
}
if ( begin[51] )
{
v133 = a2->__begin_ + 51;
if ( a2->__begin_[51].m_data.m_short.shortStorage.__elems_[22] < 0 )
v133 = (std::__vector_base::pointer)v133->m_data.m_long.capacitym1;
v134 = atoi((const char *)v133);
}
else
{
v134 = 0;
}
a1->m_targetGroupID = v134;
goto LABEL_789;
}
if ( m_objectID == 1812 )
goto LABEL_302;
if ( m_objectID == 1814 )
{
if ( begin[51] )
{
v142 = a2->__begin_ + 51;
if ( a2->__begin_[51].m_data.m_short.shortStorage.__elems_[22] < 0 )
v142 = (std::__vector_base::pointer)v142->m_data.m_long.capacitym1;
v143 = atoi((const char *)v142);
}
else
{
v143 = 0;
}
v188 = 0.0;
v189 = 0.0;
if ( begin[10] )
{
v190 = a2->__begin_ + 10;
if ( a2->__begin_[10].m_data.m_short.shortStorage.__elems_[22] < 0 )
v190 = (std::__vector_base::pointer)v190->m_data.m_long.capacitym1;
v189 = atof((const char *)v190);
}
if ( begin[90] )
{
v191 = a2->__begin_ + 90;
if ( a2->__begin_[90].m_data.m_short.shortStorage.__elems_[22] < 0 )
v191 = (std::__vector_base::pointer)v191->m_data.m_long.capacitym1;
v188 = atof((const char *)v191);
}
a1->m_followYSpeed = v188;
if ( begin[91] )
{
v192 = a2->__begin_ + 91;
if ( a2->__begin_[91].m_data.m_short.shortStorage.__elems_[22] < 0 )
v192 = (std::__vector_base::pointer)v192->m_data.m_long.capacitym1;
v193 = atof((const char *)v192);
}
else
{
v193 = 0.0;
}
a1->m_followYDelay = v193;
if ( begin[92] )
{
v202 = a2->__begin_ + 92;
if ( a2->__begin_[92].m_data.m_short.shortStorage.__elems_[22] < 0 )
v202 = (std::__vector_base::pointer)v202->m_data.m_long.capacitym1;
v203 = atoi((const char *)v202);
}
else
{
v203 = 0;
}
a1->m_followYOffset = v203;
if ( begin[105] )
{
v208 = a2->__begin_ + 105;
if ( a2->__begin_[105].m_data.m_short.shortStorage.__elems_[22] < 0 )
v208 = (std::__vector_base::pointer)v208->m_data.m_long.capacitym1;
v209 = atof((const char *)v208);
}
else
{
v209 = 0.0;
}
a1->m_followYMaxSpeed = v209;
a1->m_targetGroupID = v143;
a1->m_duration = v189;
goto LABEL_935;
}
if ( m_objectID != 1815 )
goto LABEL_935;
if ( begin[80] )
{
v75 = a2->__begin_ + 80;
if ( a2->__begin_[80].m_data.m_short.shortStorage.__elems_[22] < 0 )
v75 = (std::__vector_base::pointer)v75->m_data.m_long.capacitym1;
v76 = atoi((const char *)v75);
}
else
{
v76 = 0;
}
a1->m_itemID = v76;
if ( begin[95] )
{
v306 = a2->__begin_ + 95;
if ( a2->__begin_[95].m_data.m_short.shortStorage.__elems_[22] < 0 )
v306 = (std::__vector_base::pointer)v306->m_data.m_long.capacitym1;
v307 = atoi((const char *)v306);
}
else
{
v307 = 0;
}
a1->m_itemID2 = v307;
if ( begin[51] )
{
v320 = a2->__begin_ + 51;
if ( a2->__begin_[51].m_data.m_short.shortStorage.__elems_[22] < 0 )
v320 = (std::__vector_base::pointer)v320->m_data.m_long.capacitym1;
v321 = atoi((const char *)v320);
}
else
{
v321 = 0;
}
a1->m_targetGroupID = v321;
if ( begin[10] )
{
v334 = a2->__begin_ + 10;
if ( a2->__begin_[10].m_data.m_short.shortStorage.__elems_[22] < 0 )
v334 = (std::__vector_base::pointer)v334->m_data.m_long.capacitym1;
v335 = atof((const char *)v334);
}
else
{
v335 = 0.0;
}
a1->m_duration = v335;
v342 = begin[93];
if ( v342 )
{
v343 = a2->__begin_ + 93;
if ( a2->__begin_[93].m_data.m_short.shortStorage.__elems_[22] < 0 )
v343 = (std::__vector_base::pointer)v343->m_data.m_long.capacitym1;
LOBYTE(v342) = atoi((const char *)v343) != 0;
}
a1->m_triggerOnExit = (char)v342;
v344 = begin[56];
if ( v344 )
{
v345 = a2->__begin_ + 56;
if ( a2->__begin_[56].m_data.m_short.shortStorage.__elems_[22] < 0 )
v345 = (std::__vector_base::pointer)v345->m_data.m_long.capacitym1;
LOBYTE(v344) = atoi((const char *)v345) != 0;
}
a1->m_activateGroup = (char)v344;
LABEL_844:
v346 = begin[138];
if ( v346 )
{
v347 = a2->__begin_ + 138;
if ( a2->__begin_[138].m_data.m_short.shortStorage.__elems_[22] < 0 )
v347 = (std::__vector_base::pointer)v347->m_data.m_long.capacitym1;
LOBYTE(v346) = atoi((const char *)v347) != 0;
}
a1->m_targetPlayer1 = (char)v346;
v348 = begin[200];
if ( v348 )
{
v349 = a2->__begin_ + 200;
if ( a2->__begin_[200].m_data.m_short.shortStorage.__elems_[22] < 0 )
v349 = (std::__vector_base::pointer)v349->m_data.m_long.capacitym1;
LOBYTE(v348) = atoi((const char *)v349) != 0;
}
a1->m_targetPlayer2 = (char)v348;
v350 = begin[201];
if ( v350 )
{
v351 = a2->__begin_ + 201;
if ( a2->__begin_[201].m_data.m_short.shortStorage.__elems_[22] < 0 )
v351 = (std::__vector_base::pointer)v351->m_data.m_long.capacitym1;
LOBYTE(v350) = atoi((const char *)v351) != 0;
}
a1->m_followCPP = (char)v350;
goto LABEL_935;
}
if ( m_objectID > 1930 )
{
switch ( m_objectID )
{
case 1931:
if ( begin[51] )
{
v178 = a2->__begin_ + 51;
if ( a2->__begin_[51].m_data.m_short.shortStorage.__elems_[22] < 0 )
v178 = (std::__vector_base::pointer)v178->m_data.m_long.capacitym1;
v179 = atoi((const char *)v178);
}
else
{
v179 = 0;
}
a1->m_targetGroupID = v179;
v251 = begin[118];
if ( v251 )
{
v252 = a2->__begin_ + 118;
if ( a2->__begin_[118].m_data.m_short.shortStorage.__elems_[22] < 0 )
v252 = (std::__vector_base::pointer)v252->m_data.m_long.capacitym1;
LOBYTE(v251) = atoi((const char *)v252) != 0;
}
a1->m_endReversed = (char)v251;
v253 = begin[59];
if ( v253 )
{
v254 = a2->__begin_ + 59;
if ( a2->__begin_[59].m_data.m_short.shortStorage.__elems_[22] < 0 )
v254 = (std::__vector_base::pointer)v254->m_data.m_long.capacitym1;
LOBYTE(v253) = atoi((const char *)v254) != 0;
}
a1->m_lockToPlayerY = (char)v253;
break;
case 1932:
v153 = begin[138];
if ( v153 )
{
v154 = a2->__begin_ + 138;
if ( a2->__begin_[138].m_data.m_short.shortStorage.__elems_[22] < 0 )
v154 = (std::__vector_base::pointer)v154->m_data.m_long.capacitym1;
LOBYTE(v153) = atoi((const char *)v154) != 0;
}
a1->m_targetPlayer1 = (char)v153;
v155 = begin[200];
if ( v155 )
{
v156 = a2->__begin_ + 200;
if ( a2->__begin_[200].m_data.m_short.shortStorage.__elems_[22] < 0 )
v156 = (std::__vector_base::pointer)v156->m_data.m_long.capacitym1;
LOBYTE(v155) = atoi((const char *)v156) != 0;
}
a1->m_targetPlayer2 = (char)v155;
v157 = begin[58];
if ( v157 )
{
v158 = a2->__begin_ + 58;
if ( a2->__begin_[58].m_data.m_short.shortStorage.__elems_[22] < 0 )
v158 = (std::__vector_base::pointer)v158->m_data.m_long.capacitym1;
LOBYTE(v157) = atoi((const char *)v158) != 0;
}
a1->m_lockToPlayerX = (char)v157;
v159 = begin[59];
if ( v159 )
{
v160 = a2->__begin_ + 59;
if ( a2->__begin_[59].m_data.m_short.shortStorage.__elems_[22] < 0 )
v160 = (std::__vector_base::pointer)v160->m_data.m_long.capacitym1;
LOBYTE(v159) = atoi((const char *)v160) != 0;
}
a1->m_lockToPlayerY = (char)v159;
v161 = begin[141];
if ( v161 )
{
v162 = a2->__begin_ + 141;
if ( a2->__begin_[141].m_data.m_short.shortStorage.__elems_[22] < 0 )
v162 = (std::__vector_base::pointer)v162->m_data.m_long.capacitym1;
LOBYTE(v161) = atoi((const char *)v162) != 0;
}
a1->m_lockToCameraX = (char)v161;
break;
case 1933:
goto LABEL_281;
default:
goto LABEL_935;
}
goto LABEL_935;
}
if ( m_objectID == 1816 )
{
if ( begin[80] )
{
v175 = a2->__begin_ + 80;
if ( a2->__begin_[80].m_data.m_short.shortStorage.__elems_[22] < 0 )
v175 = (std::__vector_base::pointer)v175->m_data.m_long.capacitym1;
v176 = atoi((const char *)v175);
}
else
{
v176 = 0;
}
a1->m_itemID = v176;
v246 = begin[94];
if ( v246 )
{
v247 = a2->__begin_ + 94;
if ( a2->__begin_[94].m_data.m_short.shortStorage.__elems_[22] < 0 )
v247 = (std::__vector_base::pointer)v247->m_data.m_long.capacitym1;
LOBYTE(v246) = atoi((const char *)v247) != 0;
}
a1->m_isDynamicBlock = (char)v246;
goto LABEL_935;
}
if ( m_objectID == 1912 )
{
if ( begin[51] )
{
v138 = a2->__begin_ + 51;
if ( a2->__begin_[51].m_data.m_short.shortStorage.__elems_[22] < 0 )
v138 = (std::__vector_base::pointer)v138->m_data.m_long.capacitym1;
v139 = atoi((const char *)v138);
}
else
{
v139 = 0;
}
a1->m_targetGroupID = v139;
if ( begin[71] )
{
v184 = a2->__begin_ + 71;
if ( a2->__begin_[71].m_data.m_short.shortStorage.__elems_[22] < 0 )
v184 = (std::__vector_base::pointer)v184->m_data.m_long.capacitym1;
v185 = atoi((const char *)v184);
}
else
{
v185 = 0;
}
a1->m_centerGroupID = v185;
if ( begin[10] )
{
v198 = a2->__begin_ + 10;
if ( a2->__begin_[10].m_data.m_short.shortStorage.__elems_[22] < 0 )
v198 = (std::__vector_base::pointer)v198->m_data.m_long.capacitym1;
v199 = atof((const char *)v198);
}
else
{
v199 = 0.0;
}
a1->m_duration = v199;
goto LABEL_935;
}
if ( m_objectID != 1913 )
goto LABEL_935;
if ( begin[371] )
{
v68 = a2->__begin_ + 371;
if ( a2->__begin_[371].m_data.m_short.shortStorage.__elems_[22] < 0 )
v68 = (std::__vector_base::pointer)v68->m_data.m_long.capacitym1;
v69 = atof((const char *)v68);
a1->m_zoomValue = v69;
if ( v69 > 0.0 )
goto LABEL_881;
p_m_zoomValue = &a1->m_zoomValue;
}
else
{
p_m_zoomValue = &a1->m_zoomValue;
a1->m_zoomValue = 0.0;
}
if ( begin[109] )
{
v304 = a2->__begin_ + 109;
if ( a2->__begin_[109].m_data.m_short.shortStorage.__elems_[22] < 0 )
v304 = (std::__vector_base::pointer)v304->m_data.m_long.capacitym1;
v305 = atoi((const char *)v304);
}
else
{
v305 = 0;
}
if ( v305 >= 8 )
v360 = 8;
else
v360 = v305;
if ( v360 <= -4 )
v360 = -4;
*p_m_zoomValue = 300.0 / (float)((float)((float)v360 * 30.0) + 300.0);
LABEL_881:
if ( begin[10] )
{
v361 = a2->__begin_ + 10;
if ( a2->__begin_[10].m_data.m_short.shortStorage.__elems_[22] < 0 )
v361 = (std::__vector_base::pointer)v361->m_data.m_long.capacitym1;
v362 = atof((const char *)v361);
}
else
{
v362 = 0.0;
}
a1->m_duration = v362;
if ( begin[30] )
{
v363 = a2->__begin_ + 30;
if ( a2->__begin_[30].m_data.m_short.shortStorage.__elems_[22] < 0 )
v363 = (std::__vector_base::pointer)v363->m_data.m_long.capacitym1;
v364 = atoi((const char *)v363);
}
else
{
v364 = 0;
}
a1->m_easingType = v364;
if ( begin[85] )
{
v365 = a2->__begin_ + 85;
if ( a2->__begin_[85].m_data.m_short.shortStorage.__elems_[22] < 0 )
v365 = (std::__vector_base