// // EffectGameObject::customObjectSetup from 0x100197e80 to 0x10019b251 (13265 bytes) // // 34 xrefs: // > EnterEffectObject::customObjectSetup @ 0x100196e5a // > GradientTriggerObject::customObjectSetup @ 0x10019cec7 // > ShaderGameObject::customObjectSetup @ 0x1001a2277 // > AdvancedFollowTriggerObject::customObjectSetup @ 0x1001ac407 // > GameOptionsTrigger::customObjectSetup @ 0x1001b08c4 // > RingObject::customObjectSetup @ 0x1001b4443 // > KeyframeAnimTriggerObject::customObjectSetup @ 0x1001bc7d6 // > EnhancedTriggerObject::customObjectSetup @ 0x1001bd5f4 // > StartPosObject::customObjectSetup @ 0x1001bda75 // > TeleportPortalObject::customObjectSetup @ 0x1001c0754 // > RandTriggerGameObject::customObjectSetup @ 0x1001c357b // > SequenceTriggerGameObject::customObjectSetup @ 0x1001c4d5b // > KeyframeGameObject::customObjectSetup @ 0x1001c6ca4 // > SFXTriggerGameObject::customObjectSetup @ 0x1001cfa57 // > EventLinkTrigger::customObjectSetup @ 0x1001d25bb // > SpawnTriggerGameObject::customObjectSetup @ 0x1001d365a // > CheckpointGameObject::customObjectSetup @ 0x1001d6887 // > CountTriggerGameObject::customObjectSetup @ 0x1001d6e04 // > TransformTriggerGameObject::customObjectSetup @ 0x1001d9678 // > EndTriggerGameObject::customObjectSetup @ 0x1001dca37 // > UISettingsGameObject::customObjectSetup @ 0x1001ddc38 // > CameraTriggerGameObject::customObjectSetup @ 0x1001e2478 // > TimerTriggerGameObject::customObjectSetup @ 0x1001e4d94 // > ItemTriggerGameObject::customObjectSetup @ 0x1001ea144 // > AudioLineGuideGameObject::customObjectSetup @ 0x1001eb894 // > ForceBlockGameObject::customObjectSetup @ 0x1001ecad4 // > ArtTriggerGameObject::customObjectSetup @ 0x1001ed593 // > PlayerControlGameObject::customObjectSetup @ 0x1001ee683 // > ObjectControlGameObject::customObjectSetup @ 0x1001eeea3 // > TriggerControlGameObject::customObjectSetup @ 0x1001ef994 // > SpawnParticleGameObject::customObjectSetup @ 0x1001f182a // > RotateGameplayGameObject::customObjectSetup @ 0x1001f3624 // > @ 0x1008c9638 // > @ 0x1008d90e8 // // 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) { std::__vector_base::pointer begin; // r13 std::__vector_base::pointer v6; // rdi const char *longStorage; // rdi bool v8; // al std::__vector_base::pointer v9; // rdi const char *elems; // rdi std::__vector_base::pointer v11; // rdi const char *v12; // rdi std::__vector_base::pointer v13; // rdi const char *v14; // rdi std::__vector_base::pointer v15; // rdi const char *v16; // rdi std::__vector_base::pointer v17; // rdi const char *v18; // rdi std::__vector_base::pointer v19; // rdi const char *v20; // rdi std::__vector_base::pointer v21; // rdi const char *v22; // rdi int m_objectID; // eax __int64 v24; // rdx __int64 v25; // rdx std::__vector_base::pointer v26; // rdi const char *v27; // rdi std::__vector_base::pointer v28; // rdi const char *v29; // rdi std::__vector_base::pointer v30; // rdi const char *v31; // rdi std::__vector_base::pointer v32; // rdi const char *v33; // rdi std::__vector_base::pointer v34; // rdi std::__vector_base::pointer v35; // rdi const char *v36; // rdi std::__vector_base::pointer v37; // rdi std::__vector_base::pointer v38; // rdi const char *v39; // rdi std::__vector_base::pointer v40; // rdi const char *v41; // rdi std::__vector_base::pointer v42; // rdi const char *v43; // rdi std::__vector_base::pointer v44; // rdi const char *v45; // rdi std::__vector_base::pointer v46; // rdi int v47; // eax std::__vector_base::pointer v48; // rdi std::__vector_base::pointer v49; // rdi const char *v50; // rdi std::__vector_base::pointer v51; // rdi const char *v52; // rdi float v53; // xmm1_4 float v54; // xmm0_4 std::__vector_base::pointer v55; // rdi const char *v56; // rdi int v57; // r15d int v58; // eax std::__vector_base::pointer v59; // rdi const char *v60; // rdi int v61; // r15d 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 std::__vector_base::pointer v69; // rdi const char *v70; // rdi unsigned __int8 v71; // r12 unsigned __int8 v72; // r14 bool v73; // zf GLubyte v74; // r15 float v75; // xmm0_4 std::__vector_base::pointer v76; // rdi const char *v77; // rdi std::__vector_base::pointer v78; // rdi const char *v79; // rdi std::__vector_base::pointer v80; // rdi const char *v81; // rdi _QWORD *v82; // r15 std::vector *v83; // r14 std::__vector_base::pointer v84; // rdi const char *v85; // rdi std::__vector_base::pointer v86; // rdi const char *v87; // rdi std::__vector_base::pointer v88; // rdi const char *v89; // rdi std::__vector_base::pointer v90; // rdi const char *v91; // rdi std::__vector_base::pointer v92; // rdi const char *v93; // rdi std::__vector_base::pointer v94; // rdi int v95; // eax __m128 v96; // xmm0 std::__vector_base::pointer v97; // r12 const char *v98; // rdi const char *v99; // r12 int v100; // r15d int v101; // eax std::__vector_base::pointer v102; // rdi const char *v103; // rdi std::__vector_base::pointer v104; // rdi const char *v105; // rdi bool v106; // al std::__vector_base::pointer v107; // rdi const char *v108; // rdi float v109; // xmm1_4 float v110; // xmm0_4 std::__vector_base::pointer v111; // rdi const char *v112; // rdi std::__vector_base::pointer v113; // rdi const char *v114; // rdi std::__vector_base::pointer v115; // rdi const char *v116; // rdi std::__vector_base::pointer v117; // rdi const char *v118; // rdi float v119; // xmm1_4 float v120; // xmm0_4 std::__vector_base::pointer v121; // rdi const char *v122; // rdi std::__vector_base::pointer v123; // rdi const char *v124; // rdi int v125; // r15d int v126; // eax std::__vector_base::pointer v127; // rdi const char *v128; // rdi std::__vector_base::pointer v129; // rdi const char *v130; // rdi int v131; // r15d int v132; // r12d 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 int v143; // r15d int v144; // eax std::__vector_base::pointer v145; // rdi const char *v146; // rdi std::__vector_base::pointer v147; // rdi const char *v148; // rdi int v149; // r15d int v150; // eax std::__vector_base::pointer v151; // rdi const char *v152; // rdi float v153; // xmm1_4 float v154; // xmm0_4 std::__vector_base::pointer v155; // rdi const char *v156; // rdi __m128 v157; // xmm0 __m128 v158; // xmm2 std::__vector_base::pointer v159; // rdi const char *v160; // rdi std::__vector_base::pointer v161; // rax std::vector *v162; // r15 std::string *v163; // rax __int64 v164; // rax std::__vector_base::pointer v165; // r15 std::__vector_base::pointer v166; // rdi std::__vector_base::pointer v167; // rdi const char *v168; // rdi bool v169; // al int v170; // eax int v171; // r15d int v172; // eax std::__vector_base::pointer v173; // rdi const char *v174; // rdi int v175; // r15d int v176; // eax std::__vector_base::pointer v177; // rdi const char *v178; // rdi int v179; // eax __m128 v180; // xmm3 float v181; // xmm1_4 std::__vector_base::pointer v182; // rdi const char *v183; // rdi std::__vector_base::pointer v184; // rdi const char *v185; // rdi std::__vector_base::pointer v186; // rdi const char *v187; // rdi float v188; // xmm0_4 std::__vector_base::pointer v189; // rdi const char *v190; // rdi std::__vector_base::pointer v191; // r12 std::__vector_base::pointer v192; // rdi const char *v193; // rdi bool v194; // al MoveTargetType v195; // r15d std::__vector_base::pointer v196; // rdi const char *v197; // rdi bool v198; // al std::__vector_base::pointer v199; // rdi const char *v200; // rdi float v201; // xmm0_4 std::__vector_base::pointer v202; // rdi const char *v203; // rdi bool v204; // al std::__vector_base::pointer v205; // rdi const char *v206; // rdi bool v207; // al std::__vector_base::pointer v208; // rdi const char *v209; // rdi std::__vector_base::pointer v210; // rdi const char *v211; // rdi int v212; // eax float *p_m_zoomValue; // r15 bool v214; // al int v215; // r15d int v216; // eax int v217; // eax int v218; // eax std::__vector_base::pointer v219; // rdi const char *v220; // rdi std::__vector_base::pointer v221; // rdi const char *v222; // rdi float v223; // xmm0_4 std::__vector_base::pointer v224; // rdi const char *v225; // rdi EasingType v226; // eax __m128 v227; // xmm3 __m128 v228; // xmm0 std::__vector_base::pointer v229; // rdi const char *v230; // rdi __m128 v231; // xmm1 std::__vector_base::pointer v232; // rdi const char *v233; // rdi std::__vector_base::pointer v234; // rdi const char *v235; // rdi int v236; // eax std::__vector_base::pointer v237; // rdi const char *v238; // rdi bool v239; // al std::__vector_base::pointer v240; // rdi const char *v241; // rdi bool v242; // al std::__vector_base::pointer v243; // rdi const char *v244; // rdi bool v245; // al std::__vector_base::pointer v246; // rdi const char *v247; // rdi bool v248; // al std::__vector_base::pointer v249; // rdi const char *v250; // rdi bool v251; // al int v252; // r15d std::__vector_base::pointer v253; // rdi const char *v254; // rdi bool v255; // al std::__vector_base::pointer v256; // rdi const char *v257; // rdi std::__vector_base::pointer v258; // rdi const char *v259; // rdi float v260; // xmm0_4 std::__vector_base::pointer v261; // rdi const char *v262; // rdi std::__vector_base::pointer v263; // rdi const char *v264; // rdi float v265; // xmm1_4 float v266; // xmm2_4 std::__vector_base::pointer v267; // rdi const char *v268; // rdi std::__vector_base::pointer v269; // rdi const char *v270; // rdi std::__vector_base::pointer v271; // rdi const char *v272; // rdi float v273; // xmm0_4 std::__vector_base::pointer v274; // rdi const char *v275; // rdi bool v276; // al std::__vector_base::pointer v277; // rdi const char *v278; // rdi bool v279; // al float v280; // xmm0_4 float v281; // xmm0_4 std::__vector_base::pointer v282; // rdi const char *v283; // rdi std::__vector_base::pointer v284; // rdi const char *v285; // rdi std::__vector_base::pointer v286; // rdi const char *v287; // rdi float v288; // xmm0_4 std::__vector_base::pointer v289; // rdi const char *v290; // rdi bool v291; // al std::__vector_base::pointer v292; // rdi const char *v293; // rdi bool v294; // al std::__vector_base::pointer v295; // rdi const char *v296; // rdi bool v297; // al std::__vector_base::pointer v298; // rdi const char *v299; // rdi std::__vector_base::pointer v300; // rdi const char *v301; // rdi std::__vector_base::pointer v302; // rdi const char *v303; // rdi int v304; // eax std::__vector_base::pointer v305; // rdi const char *v306; // rdi float v307; // xmm0_4 std::__vector_base::pointer v308; // rdi const char *v309; // rdi bool v310; // al std::__vector_base::pointer v311; // rdi const char *v312; // rdi bool v313; // al std::__vector_base::pointer v314; // rdi const char *v315; // rdi bool v316; // al std::__vector_base::pointer v317; // rdi const char *v318; // rdi bool v319; // al float v320; // xmm1_4 std::__vector_base::pointer v321; // rdi const char *v322; // rdi float v323; // xmm0_4 std::__vector_base::pointer v324; // rdi const char *v325; // rdi std::__vector_base::pointer v326; // rdi const char *v327; // rdi float v328; // xmm0_4 std::__vector_base::pointer v329; // rdi const char *v330; // rdi int v331; // eax std::__vector_base::pointer v332; // rdi const char *v333; // rdi float v334; // xmm0_4 std::__vector_base::pointer v335; // rdi const char *v336; // rdi std::__vector_base::pointer v337; // rdi const char *v338; // rdi std::__vector_base::pointer v339; // rdi const char *v340; // rdi std::__vector_base::pointer v341; // rdi const char *v342; // rdi float v343; // xmm0_4 __m128 v344; // xmm3 __m128 v345; // xmm0 std::__vector_base::pointer v346; // rdi const char *v347; // rdi int v348; // eax __m128 v349; // xmm2 __m128 v350; // xmm3 float v351; // xmm1_4 float v352; // xmm0_4 std::__vector_base::pointer v353; // rdi const char *v354; // rdi std::vector *v355; // r12 std::__vector_base::pointer v356; // rdi const char *v357; // rdi __m128 *v358; // r15 _QWORD *v359; // r12 std::__vector_base::pointer v360; // rdi const char *v361; // rdi float v362; // xmm0_4 std::__vector_base::pointer v363; // rdi const char *v364; // rdi EasingType v365; // eax float v366; // xmm0_4 std::__vector_base::pointer v367; // rdi const char *v368; // rdi std::__vector_base::pointer v369; // rdi const char *v370; // rdi bool v371; // r13 std::__vector_base::pointer v372; // rdi const char *v373; // rdi bool v374; // al std::__vector_base::pointer v375; // rdi const char *v376; // rdi int v377; // eax std::__vector_base::pointer v378; // rdi const char *v379; // rdi bool v380; // al std::__vector_base::pointer v381; // rdi const char *v382; // rdi bool v383; // al int v384; // r15d std::__vector_base::pointer v385; // rdi const char *v386; // rdi bool v387; // al std::__vector_base::pointer v388; // rdi const char *v389; // rdi int v390; // r15d MoveTargetType v391; // eax std::__vector_base::pointer v392; // rdi const char *v393; // rdi std::__vector_base::pointer v394; // rdi const char *v395; // rdi std::__vector_base::pointer v396; // rdi const char *v397; // rdi float v398; // xmm0_4 std::__vector_base::pointer v399; // rdi const char *v400; // rdi bool v401; // al std::__vector_base::pointer v402; // rdi const char *v403; // rdi bool v404; // al std::__vector_base::pointer v405; // rdi const char *v406; // rdi bool v407; // al std::__vector_base::pointer v408; // rdi const char *v409; // rdi bool v410; // al std::__vector_base::pointer v411; // rdi const char *v412; // rdi std::__vector_base::pointer v413; // rdi const char *v414; // rdi bool v415; // al TouchTriggerType v416; // r15d std::__vector_base::pointer v417; // rdi const char *v418; // rdi bool v419; // al std::__vector_base::pointer v420; // rdi const char *v421; // rdi std::__vector_base::pointer v422; // rdi const char *v423; // rdi TouchTriggerControl v424; // eax std::__vector_base::pointer v425; // rdi const char *v426; // rdi float v427; // xmm1_4 __m128 v428; // xmm0 std::__vector_base::pointer v429; // rdi const char *v430; // rdi std::__vector_base::pointer v431; // rdi const char *v432; // rdi std::__vector_base::pointer v433; // rdi const char *v434; // rdi std::__vector_base::pointer v435; // rdi const char *v436; // rdi int v437; // eax std::__vector_base::pointer v438; // rdi const char *v439; // rdi std::vector *v440; // r12 bool v441; // al int v442; // r15d std::__vector_base::pointer v443; // rdi const char *v444; // rdi bool v445; // al std::__vector_base::pointer v446; // rdi const char *v447; // rdi std::__vector_base::pointer v448; // rdi const char *v449; // rdi bool v450; // al std::vector *v451; // r15 std::__vector_base::pointer v452; // rdi const char *v453; // rdi bool v454; // al std::__vector_base::pointer v455; // rax std::__vector_base::pointer v456; // rax std::__vector_base::pointer v457; // rdi const char *v458; // rdi int v459; // eax std::__vector_base::pointer v460; // rdi const char *v461; // rdi int v462; // r15d int v463; // eax std::__vector_base::pointer v464; // rdi const char *v465; // rdi std::__vector_base::pointer v466; // rdi const char *v467; // rdi std::__vector_base::pointer v468; // rdi const char *v469; // rdi bool v470; // al std::__vector_base::pointer v471; // rdi const char *v472; // rdi bool v473; // al std::__vector_base::pointer v474; // rdi const char *v475; // rdi bool v476; // al std::__vector_base::pointer v477; // rdi const char *v478; // rdi bool v479; // al std::__vector_base::pointer v480; // rdi const char *v481; // rdi std::__vector_base::pointer v482; // rdi const char *v483; // rdi float v484; // xmm0_4 std::__vector_base::pointer v485; // rdi const char *v486; // rdi float v487; // xmm0_4 std::__vector_base::pointer v488; // rdi const char *v489; // rdi std::__vector_base::pointer v490; // rdi const char *v491; // rdi std::vector *v492; // r12 std::__vector_base::pointer v493; // rdi const char *v494; // rdi __m128 v495; // xmm0 __m128 v496; // xmm2 float v497; // xmm0_4 std::__vector_base::pointer v498; // r15 std::__vector_base::pointer v499; // rdi const char *v500; // rdi std::__vector_base::pointer v501; // rdi const char *v502; // rdi EasingType v503; // eax int v504; // ecx int v505; // eax std::__vector_base::pointer v506; // rdi const char *v507; // rdi float v508; // xmm0_4 std::__vector_base::pointer v509; // rdi const char *v510; // rdi EasingType v511; // eax __m128 v512; // xmm2 __m128 v513; // xmm0 std::__vector_base::pointer v514; // rdi const char *v515; // rdi __m128 v516; // xmm1 __int64 v517; // rax std::__vector_base::pointer v518; // rdi const char *v519; // rdi int v520; // eax unsigned __int8 v521; // r12 std::__vector_base::pointer v522; // rdi const char *v523; // rdi unsigned __int8 v524; // r15 std::__vector_base::pointer v525; // rdi const char *v526; // rdi GLubyte v527; // al std::__vector_base::pointer v528; // rdi const char *v529; // rdi int v530; // eax float v531; // xmm1_4 float v532; // xmm0_4 std::__vector_base::pointer v533; // rdi const char *v534; // rdi std::__vector_base::pointer v535; // rdi const char *v536; // rdi float v537; // [rsp+Ch] [rbp-84h] bool v538; // [rsp+10h] [rbp-80h] std::vector *v539; // [rsp+28h] [rbp-68h] __m128 v540; // [rsp+30h] [rbp-60h] BYREF void *__p; // [rsp+40h] [rbp-50h] __m128 v542; // [rsp+50h] [rbp-40h] std::vector *v543; // [rsp+60h] [rbp-30h] EnhancedGameObject::customObjectSetup(a1, a2, a3); begin = a3->__begin_; if ( !a1->m_isTouchTriggered ) { if ( begin[11] ) { v6 = a2->__begin_; if ( (a2->__begin_[11].m_data.m_short.sizex2 & 1) != 0 ) longStorage = v6[11].m_data.m_long.longStorage; else longStorage = v6[11].m_data.m_short.shortStorage.__elems_; v8 = atoi(longStorage) != 0; } else { v8 = 0; } a1->m_isTouchTriggered = v8; } if ( !begin[369] ) { a1->m_hasCenterEffect = 0; if ( begin[62] ) goto LABEL_22; LABEL_13: a1->m_isSpawnTriggered = 0; if ( begin[87] ) goto LABEL_30; LABEL_14: a1->m_isMultiTriggered = 0; if ( begin[284] ) goto LABEL_38; LABEL_15: a1->m_isSinglePTouch = 0; if ( begin[13] ) goto LABEL_54; LABEL_16: a1->m_shouldPreview = 0; if ( begin[115] ) goto LABEL_58; LABEL_17: a1->m_ordValue = 0; if ( !begin[170] ) goto LABEL_62; goto LABEL_18; } v9 = a2->__begin_; if ( (a2->__begin_[369].m_data.m_short.sizex2 & 1) != 0 ) elems = v9[369].m_data.m_long.longStorage; else elems = v9[369].m_data.m_short.shortStorage.__elems_; a1->m_hasCenterEffect = atoi(elems) != 0; if ( !begin[62] ) goto LABEL_13; LABEL_22: v13 = a2->__begin_; if ( (a2->__begin_[62].m_data.m_short.sizex2 & 1) != 0 ) v14 = v13[62].m_data.m_long.longStorage; else v14 = v13[62].m_data.m_short.shortStorage.__elems_; a1->m_isSpawnTriggered = atoi(v14) != 0; if ( !begin[87] ) goto LABEL_14; LABEL_30: v17 = a2->__begin_; if ( (a2->__begin_[87].m_data.m_short.sizex2 & 1) != 0 ) v18 = v17[87].m_data.m_long.longStorage; else v18 = v17[87].m_data.m_short.shortStorage.__elems_; a1->m_isMultiTriggered = atoi(v18) != 0; if ( !begin[284] ) goto LABEL_15; LABEL_38: v21 = a2->__begin_; if ( (a2->__begin_[284].m_data.m_short.sizex2 & 1) != 0 ) v22 = v21[284].m_data.m_long.longStorage; else v22 = v21[284].m_data.m_short.shortStorage.__elems_; a1->m_isSinglePTouch = atoi(v22) != 0; if ( !begin[13] ) goto LABEL_16; LABEL_54: v26 = a2->__begin_; if ( (a2->__begin_[13].m_data.m_short.sizex2 & 1) != 0 ) v27 = v26[13].m_data.m_long.longStorage; else v27 = v26[13].m_data.m_short.shortStorage.__elems_; a1->m_shouldPreview = atoi(v27) != 0; if ( !begin[115] ) goto LABEL_17; LABEL_58: v28 = a2->__begin_; if ( (a2->__begin_[115].m_data.m_short.sizex2 & 1) != 0 ) v29 = v28[115].m_data.m_long.longStorage; else v29 = v28[115].m_data.m_short.shortStorage.__elems_; a1->m_ordValue = atoi(v29); if ( !begin[170] ) { LABEL_62: a1->m_channelValue = 0; if ( !begin[117] ) goto LABEL_63; goto LABEL_26; } LABEL_18: v11 = a2->__begin_; if ( (a2->__begin_[170].m_data.m_short.sizex2 & 1) != 0 ) v12 = v11[170].m_data.m_long.longStorage; else v12 = v11[170].m_data.m_short.shortStorage.__elems_; a1->m_channelValue = atoi(v12); if ( !begin[117] ) { LABEL_63: a1->m_isReverse = 0; if ( !begin[534] ) goto LABEL_64; goto LABEL_34; } LABEL_26: v15 = a2->__begin_; if ( (a2->__begin_[117].m_data.m_short.sizex2 & 1) != 0 ) v16 = v15[117].m_data.m_long.longStorage; else v16 = v15[117].m_data.m_short.shortStorage.__elems_; a1->m_isReverse = atoi(v16) != 0; if ( !begin[534] ) { LABEL_64: a1->m_controlID = 0; if ( begin[280] ) goto LABEL_65; LABEL_42: a1->m_ignoreGroupParent = 0; if ( begin[281] ) goto LABEL_69; LABEL_43: a1->m_ignoreLinkedObjects = 0; if ( a1->m_objectType == Collectible ) goto LABEL_73; LABEL_44: m_objectID = a1->m_objectID; if ( m_objectID > 1519 ) goto LABEL_133; goto LABEL_45; } LABEL_34: v19 = a2->__begin_; if ( (a2->__begin_[534].m_data.m_short.sizex2 & 1) != 0 ) v20 = v19[534].m_data.m_long.longStorage; else v20 = v19[534].m_data.m_short.shortStorage.__elems_; a1->m_controlID = atoi(v20); if ( !begin[280] ) goto LABEL_42; LABEL_65: v30 = a2->__begin_; if ( (a2->__begin_[280].m_data.m_short.sizex2 & 1) != 0 ) v31 = v30[280].m_data.m_long.longStorage; else v31 = v30[280].m_data.m_short.shortStorage.__elems_; a1->m_ignoreGroupParent = atoi(v31) != 0; if ( !begin[281] ) goto LABEL_43; LABEL_69: v32 = a2->__begin_; if ( (a2->__begin_[281].m_data.m_short.sizex2 & 1) != 0 ) v33 = v32[281].m_data.m_long.longStorage; else v33 = v32[281].m_data.m_short.shortStorage.__elems_; a1->m_ignoreLinkedObjects = atoi(v33) != 0; if ( a1->m_objectType != Collectible ) goto LABEL_44; LABEL_73: if ( begin[51] ) { v34 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) { a1->m_targetGroupID = atoi(v34[51].m_data.m_long.longStorage); if ( !begin[78] ) goto LABEL_86; } else { a1->m_targetGroupID = atoi(v34[51].m_data.m_short.shortStorage.__elems_); if ( !begin[78] ) { LABEL_86: a1->m_subtractCount = 0; if ( !begin[381] ) goto LABEL_87; goto LABEL_95; } } } else { a1->m_targetGroupID = 0; if ( !begin[78] ) goto LABEL_86; } v35 = a2->__begin_; if ( (a2->__begin_[78].m_data.m_short.sizex2 & 1) != 0 ) v36 = v35[78].m_data.m_long.longStorage; else v36 = v35[78].m_data.m_short.shortStorage.__elems_; a1->m_subtractCount = atoi(v36) != 0; if ( !begin[381] ) { LABEL_87: a1->m_collectibleIsPickupItem = 0; if ( !begin[382] ) goto LABEL_88; goto LABEL_102; } LABEL_95: v38 = a2->__begin_; if ( (a2->__begin_[381].m_data.m_short.sizex2 & 1) != 0 ) v39 = v38[381].m_data.m_long.longStorage; else v39 = v38[381].m_data.m_short.shortStorage.__elems_; a1->m_collectibleIsPickupItem = atoi(v39) != 0; if ( !begin[382] ) { LABEL_88: a1->m_collectibleIsToggleTrigger = 0; if ( !begin[383] ) goto LABEL_89; goto LABEL_106; } LABEL_102: v40 = a2->__begin_; if ( (a2->__begin_[382].m_data.m_short.sizex2 & 1) != 0 ) v41 = v40[382].m_data.m_long.longStorage; else v41 = v40[382].m_data.m_short.shortStorage.__elems_; a1->m_collectibleIsToggleTrigger = atoi(v41) != 0; if ( !begin[383] ) { LABEL_89: a1->m_collectiblePoints = 0; if ( begin[440] ) goto LABEL_90; LABEL_110: a1->m_collectibleParticleID = 0; if ( !begin[463] ) goto LABEL_98; goto LABEL_111; } LABEL_106: v42 = a2->__begin_; if ( (a2->__begin_[383].m_data.m_short.sizex2 & 1) != 0 ) v43 = v42[383].m_data.m_long.longStorage; else v43 = v42[383].m_data.m_short.shortStorage.__elems_; a1->m_collectiblePoints = atoi(v43); if ( !begin[440] ) goto LABEL_110; LABEL_90: v37 = a2->__begin_; if ( (a2->__begin_[440].m_data.m_short.sizex2 & 1) != 0 ) { a1->m_collectibleParticleID = atoi(v37[440].m_data.m_long.longStorage); if ( !begin[463] ) goto LABEL_98; } else { a1->m_collectibleParticleID = atoi(v37[440].m_data.m_short.shortStorage.__elems_); if ( !begin[463] ) { LABEL_98: a1->m_hasNoAnimation = 0; if ( !begin[79] ) goto LABEL_119; goto LABEL_115; } } LABEL_111: v44 = a2->__begin_; if ( (a2->__begin_[463].m_data.m_short.sizex2 & 1) != 0 ) v45 = v44[463].m_data.m_long.longStorage; else v45 = v44[463].m_data.m_short.shortStorage.__elems_; a1->m_hasNoAnimation = atoi(v45) != 0; if ( !begin[79] ) goto LABEL_119; LABEL_115: v46 = a2->__begin_; if ( (a2->__begin_[79].m_data.m_short.sizex2 & 1) != 0 ) { v47 = atoi(v46[79].m_data.m_long.longStorage); if ( v47 != 2 ) { LABEL_117: if ( v47 == 1 ) a1->m_collectibleIsPickupItem = 1; LABEL_119: if ( begin[80] ) goto LABEL_120; LABEL_125: a1->m_itemID = 0; if ( !begin[56] ) goto LABEL_129; goto LABEL_126; } } else { v47 = atoi(v46[79].m_data.m_short.shortStorage.__elems_); if ( v47 != 2 ) goto LABEL_117; } a1->m_collectibleIsToggleTrigger = 1; if ( !begin[80] ) goto LABEL_125; LABEL_120: v48 = a2->__begin_; if ( (a2->__begin_[80].m_data.m_short.sizex2 & 1) != 0 ) { a1->m_itemID = atoi(v48[80].m_data.m_long.longStorage); if ( !begin[56] ) goto LABEL_129; } else { a1->m_itemID = atoi(v48[80].m_data.m_short.shortStorage.__elems_); if ( !begin[56] ) { LABEL_129: a1->m_activateGroup = 0; m_objectID = a1->m_objectID; if ( m_objectID > 1519 ) goto LABEL_133; LABEL_45: if ( m_objectID > 744 ) { if ( m_objectID > 1006 ) { switch ( m_objectID ) { case 1329: goto LABEL_237; case 1330: case 1332: case 1333: case 1334: case 1335: case 1336: case 1337: case 1338: case 1339: case 1340: case 1341: case 1342: case 1343: case 1344: case 1345: goto LABEL_1093; case 1331: goto LABEL_240; case 1346: v57 = 0; v58 = 0; if ( begin[51] ) { v59 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v60 = v59[51].m_data.m_long.longStorage; else v60 = v59[51].m_data.m_short.shortStorage.__elems_; v58 = atoi(v60); } a1->m_targetGroupID = v58; if ( begin[71] ) { v219 = a2->__begin_; if ( (a2->__begin_[71].m_data.m_short.sizex2 & 1) != 0 ) v220 = v219[71].m_data.m_long.longStorage; else v220 = v219[71].m_data.m_short.shortStorage.__elems_; v57 = atoi(v220); } a1->m_centerGroupID = v57; if ( begin[10] ) { v221 = a2->__begin_; if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 ) v222 = v221[10].m_data.m_long.longStorage; else v222 = v221[10].m_data.m_short.shortStorage.__elems_; v223 = atof(v222); } else { v223 = 0.0; } a1->m_duration = v223; if ( begin[30] ) { v224 = a2->__begin_; if ( (a2->__begin_[30].m_data.m_short.sizex2 & 1) != 0 ) v225 = v224[30].m_data.m_long.longStorage; else v225 = v224[30].m_data.m_short.shortStorage.__elems_; v226 = atoi(v225); } else { v226 = 0; } a1->m_easingType = v226; v227.i32[0] = 0; v228 = 0; if ( begin[85] ) { v229 = a2->__begin_; if ( (a2->__begin_[85].m_data.m_short.sizex2 & 1) != 0 ) v230 = v229[85].m_data.m_long.longStorage; else v230 = v229[85].m_data.m_short.shortStorage.__elems_; *(double *)v228.i64 = atof(v230); v228.f32[0] = *(double *)v228.i64; v227.i32[0] = 0; } v231 = _mm_cmpgt_ss(v228, v227); LODWORD(a1->m_easingRate) = _mm_andnot_ps(v231, (__m128)0x40000000u).u32[0] | v228.i32[0] & v231.i32[0]; if ( begin[68] ) { v232 = a2->__begin_; if ( (a2->__begin_[68].m_data.m_short.sizex2 & 1) != 0 ) v233 = v232[68].m_data.m_long.longStorage; else v233 = v232[68].m_data.m_short.shortStorage.__elems_; v227.f32[0] = atof(v233); } LODWORD(a1->m_rotationDegrees) = v227.i32[0]; if ( begin[69] ) { v234 = a2->__begin_; if ( (a2->__begin_[69].m_data.m_short.sizex2 & 1) != 0 ) v235 = v234[69].m_data.m_long.longStorage; else v235 = v234[69].m_data.m_short.shortStorage.__elems_; v236 = atoi(v235); } else { v236 = 0; } a1->m_times360 = v236; if ( begin[70] ) { v237 = a2->__begin_; if ( (a2->__begin_[70].m_data.m_short.sizex2 & 1) != 0 ) v238 = v237[70].m_data.m_long.longStorage; else v238 = v237[70].m_data.m_short.shortStorage.__elems_; v239 = atoi(v238) != 0; } else { v239 = 0; } a1->m_lockObjectRotation = v239; if ( begin[138] ) { v240 = a2->__begin_; if ( (a2->__begin_[138].m_data.m_short.sizex2 & 1) != 0 ) v241 = v240[138].m_data.m_long.longStorage; else v241 = v240[138].m_data.m_short.shortStorage.__elems_; v242 = atoi(v241) != 0; } else { v242 = 0; } a1->m_targetPlayer1 = v242; if ( begin[200] ) { v243 = a2->__begin_; if ( (a2->__begin_[200].m_data.m_short.sizex2 & 1) != 0 ) v244 = v243[200].m_data.m_long.longStorage; else v244 = v243[200].m_data.m_short.shortStorage.__elems_; v245 = atoi(v244) != 0; } else { v245 = 0; } a1->m_targetPlayer2 = v245; if ( begin[100] ) { v246 = a2->__begin_; if ( (a2->__begin_[100].m_data.m_short.sizex2 & 1) != 0 ) v247 = v246[100].m_data.m_long.longStorage; else v247 = v246[100].m_data.m_short.shortStorage.__elems_; v248 = atoi(v247) != 0; } else { v248 = 0; } a1->m_useMoveTarget = v248; if ( begin[394] ) { v249 = a2->__begin_; if ( (a2->__begin_[394].m_data.m_short.sizex2 & 1) != 0 ) v250 = v249[394].m_data.m_long.longStorage; else v250 = v249[394].m_data.m_short.shortStorage.__elems_; v251 = atoi(v250) != 0; } else { v251 = 0; } a1->m_isDirectionFollowSnap360 = v251; v252 = 0; if ( begin[397] ) { v253 = a2->__begin_; if ( (a2->__begin_[397].m_data.m_short.sizex2 & 1) != 0 ) v254 = v253[397].m_data.m_long.longStorage; else v254 = v253[397].m_data.m_short.shortStorage.__elems_; v255 = atoi(v254) != 0; } else { v255 = 0; } a1->m_isDynamicMode = v255; if ( begin[401] ) { v256 = a2->__begin_; if ( (a2->__begin_[401].m_data.m_short.sizex2 & 1) != 0 ) v257 = v256[401].m_data.m_long.longStorage; else v257 = v256[401].m_data.m_short.shortStorage.__elems_; v252 = atoi(v257); } a1->m_rotationTargetID = v252; if ( begin[402] ) { v258 = a2->__begin_; if ( (a2->__begin_[402].m_data.m_short.sizex2 & 1) != 0 ) v259 = v258[402].m_data.m_long.longStorage; else v259 = v258[402].m_data.m_short.shortStorage.__elems_; v260 = atof(v259); } else { v260 = 0.0; } a1->m_rotationOffset = v260; if ( begin[403] ) { v261 = a2->__begin_; if ( (a2->__begin_[403].m_data.m_short.sizex2 & 1) != 0 ) v262 = v261[403].m_data.m_long.longStorage; else v262 = v261[403].m_data.m_short.shortStorage.__elems_; a1->m_dynamicModeEasing = atoi(v262); } else { a1->m_dynamicModeEasing = 0; } break; case 1347: v131 = 0; v132 = 0; if ( begin[51] ) { v133 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v134 = v133[51].m_data.m_long.longStorage; else v134 = v133[51].m_data.m_short.shortStorage.__elems_; v132 = atoi(v134); } if ( begin[71] ) { v263 = a2->__begin_; if ( (a2->__begin_[71].m_data.m_short.sizex2 & 1) != 0 ) v264 = v263[71].m_data.m_long.longStorage; else v264 = v263[71].m_data.m_short.shortStorage.__elems_; v131 = atoi(v264); } v265 = 0.0; v266 = 0.0; if ( begin[10] ) { v267 = a2->__begin_; if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 ) v268 = v267[10].m_data.m_long.longStorage; else v268 = v267[10].m_data.m_short.shortStorage.__elems_; v266 = atof(v268); v265 = 0.0; } v73 = begin[72] == nullptr; *(float *)&v543 = v266; if ( !v73 ) { v269 = a2->__begin_; if ( (a2->__begin_[72].m_data.m_short.sizex2 & 1) != 0 ) v270 = v269[72].m_data.m_long.longStorage; else v270 = v269[72].m_data.m_short.shortStorage.__elems_; v265 = atof(v270); v266 = *(float *)&v543; } if ( begin[73] ) { v271 = a2->__begin_; v73 = (a2->__begin_[73].m_data.m_short.sizex2 & 1) == 0; v542.f32[0] = v265; if ( v73 ) v272 = v271[73].m_data.m_short.shortStorage.__elems_; else v272 = v271[73].m_data.m_long.longStorage; v273 = atof(v272); v265 = v542.f32[0]; v266 = *(float *)&v543; } else { v273 = 0.0; } a1->m_targetGroupID = v132; a1->m_centerGroupID = v131; a1->m_duration = v266; a1->m_followXMod = v265; a1->m_followYMod = v273; break; default: if ( m_objectID == 1007 ) goto LABEL_1076; if ( m_objectID == 1049 ) { LABEL_269: if ( begin[51] ) { v117 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v118 = v117[51].m_data.m_long.longStorage; else v118 = v117[51].m_data.m_short.shortStorage.__elems_; v179 = atoi(v118); } else { v179 = 0; } a1->m_targetGroupID = v179; if ( begin[56] ) { v186 = a2->__begin_; if ( (a2->__begin_[56].m_data.m_short.sizex2 & 1) != 0 ) v187 = v186[56].m_data.m_long.longStorage; else v187 = v186[56].m_data.m_short.shortStorage.__elems_; a1->m_activateGroup = atoi(v187) != 0; } else { a1->m_activateGroup = 0; } } break; } goto LABEL_1093; } if ( m_objectID > 900 ) { if ( m_objectID == 901 ) { v157.i32[0] = 0; v158 = 0; if ( begin[85] ) { v159 = a2->__begin_; if ( (a2->__begin_[85].m_data.m_short.sizex2 & 1) != 0 ) v160 = v159[85].m_data.m_long.longStorage; else v160 = v159[85].m_data.m_short.shortStorage.__elems_; v158 = 0; v158.f32[0] = atof(v160); v157.i32[0] = 0; } v344 = _mm_cmpgt_ss(v158, v157); v345 = (__m128)0x40000000u; if ( begin[51] ) { v346 = a2->__begin_; v73 = (a2->__begin_[51].m_data.m_short.sizex2 & 1) == 0; v542 = v344; if ( v73 ) v347 = v346[51].m_data.m_short.shortStorage.__elems_; else v347 = v346[51].m_data.m_long.longStorage; v348 = atoi(v347); v344 = v542; v345 = (__m128)0x40000000u; } else { v348 = 0; } v349 = _mm_and_ps(v158, v344); v350 = _mm_andnot_ps(v344, v345); a1->m_targetGroupID = v348; v351 = 0.0; v352 = 0.0; if ( begin[28] ) { v353 = a2->__begin_; v73 = (a2->__begin_[28].m_data.m_short.sizex2 & 1) == 0; v542 = v350; if ( v73 ) v354 = v353[28].m_data.m_short.shortStorage.__elems_; else v354 = v353[28].m_data.m_long.longStorage; v352 = atof(v354); v350 = v542; v351 = 0.0; } v355 = a3; v542 = _mm_or_ps(v350, v349); if ( begin[29] ) { v356 = a2->__begin_; v537 = v352; if ( (a2->__begin_[29].m_data.m_short.sizex2 & 1) != 0 ) v357 = v356[29].m_data.m_long.longStorage; else v357 = v356[29].m_data.m_short.shortStorage.__elems_; v351 = atof(v357); v352 = v537; } v358 = &v540; sub_10028CBE0(&v540, v352, v351); sub_10028CC90(); v359 = v355->__begin_; if ( v359[10] ) { v360 = a2->__begin_; if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 ) v361 = v360[10].m_data.m_long.longStorage; else v361 = v360[10].m_data.m_short.shortStorage.__elems_; v362 = atof(v361); } else { v362 = 0.0; } a1->m_duration = v362; if ( v359[30] ) { v363 = a2->__begin_; if ( (a2->__begin_[30].m_data.m_short.sizex2 & 1) != 0 ) v364 = v363[30].m_data.m_long.longStorage; else v364 = v363[30].m_data.m_short.shortStorage.__elems_; v365 = atoi(v364); } else { v365 = 0; } v366 = v542.f32[0]; a1->m_easingType = v365; a1->m_easingRate = v366; if ( v359[58] ) { v367 = a2->__begin_; if ( (a2->__begin_[58].m_data.m_short.sizex2 & 1) != 0 ) v368 = v367[58].m_data.m_long.longStorage; else v368 = v367[58].m_data.m_short.shortStorage.__elems_; LOBYTE(v358) = atoi(v368) != 0; } else { LODWORD(v358) = 0; } a1->m_lockToPlayerX = (char)v358; if ( v359[59] ) { v369 = a2->__begin_; if ( (a2->__begin_[59].m_data.m_short.sizex2 & 1) != 0 ) v370 = v369[59].m_data.m_long.longStorage; else v370 = v369[59].m_data.m_short.shortStorage.__elems_; v371 = atoi(v370) != 0; } else { v371 = 0; } a1->m_lockToPlayerY = v371; if ( v359[141] ) { v372 = a2->__begin_; if ( (a2->__begin_[141].m_data.m_short.sizex2 & 1) != 0 ) v373 = v372[141].m_data.m_long.longStorage; else v373 = v372[141].m_data.m_short.shortStorage.__elems_; v374 = atoi(v373) != 0; } else { v374 = 0; } a1->m_lockToCameraX = v374; v538 = v374; if ( v359[142] ) { v375 = a2->__begin_; if ( (a2->__begin_[142].m_data.m_short.sizex2 & 1) != 0 ) v376 = v375[142].m_data.m_long.longStorage; else v376 = v375[142].m_data.m_short.shortStorage.__elems_; v377 = atoi(v376); LOBYTE(v377) = v377 != 0; } else { v377 = 0; } a1->m_lockToCameraY = v377; v73 = v359[393] == 0; v542.i32[0] = v377; if ( v73 ) { v380 = 0; } else { v378 = a2->__begin_; if ( (a2->__begin_[393].m_data.m_short.sizex2 & 1) != 0 ) v379 = v378[393].m_data.m_long.longStorage; else v379 = v378[393].m_data.m_short.shortStorage.__elems_; v380 = atoi(v379) != 0; } a1->m_smallStep = v380; v73 = v359[394] == 0; LODWORD(v543) = (_DWORD)v358; if ( v73 ) { v383 = 0; } else { v381 = a2->__begin_; if ( (a2->__begin_[394].m_data.m_short.sizex2 & 1) != 0 ) v382 = v381[394].m_data.m_long.longStorage; else v382 = v381[394].m_data.m_short.shortStorage.__elems_; v383 = atoi(v382) != 0; } a1->m_isDirectionFollowSnap360 = v383; v384 = 0; if ( v359[100] ) { v385 = a2->__begin_; if ( (a2->__begin_[100].m_data.m_short.sizex2 & 1) != 0 ) v386 = v385[100].m_data.m_long.longStorage; else v386 = v385[100].m_data.m_short.shortStorage.__elems_; v387 = atoi(v386) != 0; } else { v387 = 0; } a1->m_useMoveTarget = v387; if ( v359[71] ) { v388 = a2->__begin_; if ( (a2->__begin_[71].m_data.m_short.sizex2 & 1) != 0 ) v389 = v388[71].m_data.m_long.longStorage; else v389 = v388[71].m_data.m_short.shortStorage.__elems_; v384 = atoi(v389); } a1->m_centerGroupID = v384; v390 = 0; v391 = Both; if ( v359[101] ) { v392 = a2->__begin_; if ( (a2->__begin_[101].m_data.m_short.sizex2 & 1) != 0 ) v393 = v392[101].m_data.m_long.longStorage; else v393 = v392[101].m_data.m_short.shortStorage.__elems_; v391 = atoi(v393); } a1->m_moveTargetMode = v391; if ( v359[395] ) { v394 = a2->__begin_; if ( (a2->__begin_[395].m_data.m_short.sizex2 & 1) != 0 ) v395 = v394[395].m_data.m_long.longStorage; else v395 = v394[395].m_data.m_short.shortStorage.__elems_; v390 = atoi(v395); } a1->m_targetModCenterID = v390; if ( v359[396] ) { v396 = a2->__begin_; if ( (a2->__begin_[396].m_data.m_short.sizex2 & 1) != 0 ) v397 = v396[396].m_data.m_long.longStorage; else v397 = v396[396].m_data.m_short.shortStorage.__elems_; v398 = atof(v397); } else { v398 = 0.0; } a1->m_directionModeDistance = v398; if ( v359[397] ) { v399 = a2->__begin_; if ( (a2->__begin_[397].m_data.m_short.sizex2 & 1) != 0 ) v400 = v399[397].m_data.m_long.longStorage; else v400 = v399[397].m_data.m_short.shortStorage.__elems_; v401 = atoi(v400) != 0; } else { v401 = 0; } a1->m_isDynamicMode = v401; if ( v359[544] ) { v402 = a2->__begin_; if ( (a2->__begin_[544].m_data.m_short.sizex2 & 1) != 0 ) v403 = v402[544].m_data.m_long.longStorage; else v403 = v402[544].m_data.m_short.shortStorage.__elems_; v404 = atoi(v403) != 0; } else { v404 = 0; } a1->m_isSilent = v404; if ( v359[138] ) { v405 = a2->__begin_; if ( (a2->__begin_[138].m_data.m_short.sizex2 & 1) != 0 ) v406 = v405[138].m_data.m_long.longStorage; else v406 = v405[138].m_data.m_short.shortStorage.__elems_; v407 = atoi(v406) != 0; } else { v407 = 0; } a1->m_targetPlayer1 = v407; if ( v359[200] ) { v408 = a2->__begin_; if ( (a2->__begin_[200].m_data.m_short.sizex2 & 1) != 0 ) v409 = v408[200].m_data.m_long.longStorage; else v409 = v408[200].m_data.m_short.shortStorage.__elems_; v410 = atoi(v409) != 0; } else { v410 = 0; } a1->m_targetPlayer2 = v410; if ( (_BYTE)v543 || v538 ) { if ( v359[143] ) { v411 = a2->__begin_; v412 = (a2->__begin_[143].m_data.m_short.sizex2 & 1) != 0 ? v411[143].m_data.m_long.longStorage : (const char *)&v411[143].m_data.m_short.shortStorage; v484 = atof(v412); if ( v484 != 0.0 ) a1->m_moveModX = v484; } } if ( v371 || v542.i8[0] ) { if ( v359[144] ) { v485 = a2->__begin_; v486 = (a2->__begin_[144].m_data.m_short.sizex2 & 1) != 0 ? v485[144].m_data.m_long.longStorage : (const char *)&v485[144].m_data.m_short.shortStorage; v487 = atof(v486); if ( v487 != 0.0 ) a1->m_moveModY = v487; } } goto LABEL_1093; } if ( m_objectID != 915 ) { if ( m_objectID == 1006 ) { if ( begin[51] ) { v67 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v68 = v67[51].m_data.m_long.longStorage; else v68 = v67[51].m_data.m_short.shortStorage.__elems_; v218 = atoi(v68); } else { v218 = 0; } a1->m_targetGroupID = v218; v427 = 0.0; v428 = 0; if ( begin[45] ) { v429 = a2->__begin_; if ( (a2->__begin_[45].m_data.m_short.sizex2 & 1) != 0 ) v430 = v429[45].m_data.m_long.longStorage; else v430 = v429[45].m_data.m_short.shortStorage.__elems_; v428.f32[0] = atof(v430); v427 = 0.0; } LODWORD(a1->m_fadeInDuration) = v428.i32[0]; if ( begin[46] ) { v431 = a2->__begin_; if ( (a2->__begin_[46].m_data.m_short.sizex2 & 1) != 0 ) v432 = v431[46].m_data.m_long.longStorage; else v432 = v431[46].m_data.m_short.shortStorage.__elems_; v427 = atof(v432); } a1->m_holdDuration = v427; if ( begin[47] ) { v433 = a2->__begin_; if ( (a2->__begin_[47].m_data.m_short.sizex2 & 1) != 0 ) v434 = v433[47].m_data.m_long.longStorage; else v434 = v433[47].m_data.m_short.shortStorage.__elems_; *(double *)v428.i64 = atof(v434); v428.f32[0] = *(double *)v428.i64; } else { v428 = 0; } LODWORD(a1->m_fadeOutDuration) = v428.i32[0]; if ( begin[48] ) { v435 = a2->__begin_; if ( (a2->__begin_[48].m_data.m_short.sizex2 & 1) != 0 ) v436 = v435[48].m_data.m_long.longStorage; else v436 = v435[48].m_data.m_short.shortStorage.__elems_; v437 = atoi(v436); } else { v437 = 0; } a1->m_pulseMode = v437; v73 = begin[65] == nullptr; v542.i32[0] = v437; if ( v73 ) { v440 = a3; v441 = 0; } else { v438 = a2->__begin_; if ( (a2->__begin_[65].m_data.m_short.sizex2 & 1) != 0 ) v439 = v438[65].m_data.m_long.longStorage; else v439 = v438[65].m_data.m_short.shortStorage.__elems_; v440 = a3; v441 = atoi(v439) != 0; } a1->m_pulseMainOnly = v441; v442 = 0; if ( begin[66] ) { v443 = a2->__begin_; if ( (a2->__begin_[66].m_data.m_short.sizex2 & 1) != 0 ) v444 = v443[66].m_data.m_long.longStorage; else v444 = v443[66].m_data.m_short.shortStorage.__elems_; v445 = atoi(v444) != 0; } else { v445 = 0; } a1->m_pulseDetailOnly = v445; if ( begin[52] ) { v446 = a2->__begin_; if ( (a2->__begin_[52].m_data.m_short.sizex2 & 1) != 0 ) v447 = v446[52].m_data.m_long.longStorage; else v447 = v446[52].m_data.m_short.shortStorage.__elems_; v442 = atoi(v447); } a1->m_pulseTargetType = v442; if ( begin[86] ) { v448 = a2->__begin_; if ( (a2->__begin_[86].m_data.m_short.sizex2 & 1) != 0 ) v449 = v448[86].m_data.m_long.longStorage; else v449 = v448[86].m_data.m_short.shortStorage.__elems_; v451 = v440; v450 = atoi(v449) != 0; } else { v450 = 0; v451 = v440; } a1->m_pulseExclusive = v450; if ( begin[210] ) { v452 = a2->__begin_; if ( (a2->__begin_[210].m_data.m_short.sizex2 & 1) != 0 ) v453 = v452[210].m_data.m_long.longStorage; else v453 = v452[210].m_data.m_short.shortStorage.__elems_; v454 = atoi(v453) != 0; } else { v454 = 0; } a1->m_legacyHSV = v454; if ( v542.i32[0] ) { if ( begin[49] ) { v455 = a2->__begin_; if ( (a2->__begin_[49].m_data.m_short.sizex2 & 1) != 0 ) { sub_100006B70( &v540, v455[49].m_data.m_long.longStorage, v455[49].m_data.m_long.size, *(double *)v428.i64); } else { v456 = v455 + 49; __p = v456->m_data.m_long.longStorage; v428 = *(__m128 *)&v456->m_data.m_short.sizex2; v540 = *(__m128 *)&v456->m_data.m_short.sizex2; } } else { sub_100030790(&v540, "", *(double *)v428.i64); } v517 = GameToolbox::hsvFromString(&v540, "a"); _mm_storel_ps((double *)&a1->m_hsvValue.h, v428); *(_QWORD *)&a1->m_hsvValue.v = v517; if ( (v540.i8[0] & 1) != 0 ) operator delete(__p); begin = v451->__begin_; if ( *((_QWORD *)v451->__begin_ + 50) ) { v518 = a2->__begin_; if ( (a2->__begin_[50].m_data.m_short.sizex2 & 1) != 0 ) v519 = v518[50].m_data.m_long.longStorage; else v519 = v518[50].m_data.m_short.shortStorage.__elems_; v520 = atoi(v519); } else { v520 = 0; } a1->m_copyColorID = v520; } else { if ( begin[7] ) { v457 = a2->__begin_; if ( (a2->__begin_[7].m_data.m_short.sizex2 & 1) != 0 ) v458 = v457[7].m_data.m_long.longStorage; else v458 = v457[7].m_data.m_short.shortStorage.__elems_; v521 = atoi(v458); } else { v521 = 0; } v73 = begin[8] == nullptr; v543 = v451; if ( v73 ) { v524 = 0; } else { v522 = a2->__begin_; if ( (a2->__begin_[8].m_data.m_short.sizex2 & 1) != 0 ) v523 = v522[8].m_data.m_long.longStorage; else v523 = v522[8].m_data.m_short.shortStorage.__elems_; v524 = atoi(v523); } if ( begin[9] ) { v525 = a2->__begin_; if ( (a2->__begin_[9].m_data.m_short.sizex2 & 1) != 0 ) v526 = v525[9].m_data.m_long.longStorage; else v526 = v525[9].m_data.m_short.shortStorage.__elems_; v527 = atoi(v526); } else { v527 = 0; } a1->m_triggerTargetColor.b = v527; *(_WORD *)&a1->m_triggerTargetColor.r = (v524 << 8) | v521; begin = v543->__begin_; } LABEL_1076: if ( begin[51] ) { v528 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v529 = v528[51].m_data.m_long.longStorage; else v529 = v528[51].m_data.m_short.shortStorage.__elems_; v530 = atoi(v529); } else { v530 = 0; } a1->m_targetGroupID = v530; v531 = 0.0; v532 = 0.0; if ( begin[10] ) { v533 = a2->__begin_; if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 ) v534 = v533[10].m_data.m_long.longStorage; else v534 = v533[10].m_data.m_short.shortStorage.__elems_; v532 = atof(v534); v531 = 0.0; } a1->m_duration = v532; if ( begin[35] ) { v535 = a2->__begin_; if ( (a2->__begin_[35].m_data.m_short.sizex2 & 1) != 0 ) v536 = v535[35].m_data.m_long.longStorage; else v536 = v535[35].m_data.m_short.shortStorage.__elems_; v531 = atof(v536); } a1->m_opacity = v531; } goto LABEL_1093; } } else if ( (unsigned int)(m_objectID - 899) >= 2 ) { if ( m_objectID != 745 ) goto LABEL_1093; goto LABEL_240; } } else if ( m_objectID > 110 ) { if ( m_objectID <= 285 ) { if ( m_objectID == 111 ) goto LABEL_240; if ( m_objectID == 142 ) { LABEL_237: v100 = 0; v101 = 0; if ( begin[51] ) { v102 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v103 = v102[51].m_data.m_long.longStorage; else v103 = v102[51].m_data.m_short.shortStorage.__elems_; v101 = atoi(v103); } a1->m_targetGroupID = v101; if ( begin[12] ) { v184 = a2->__begin_; if ( (a2->__begin_[12].m_data.m_short.sizex2 & 1) != 0 ) v185 = v184[12].m_data.m_long.longStorage; else v185 = v184[12].m_data.m_short.shortStorage.__elems_; v100 = atoi(v185); } a1->m_secretCoinID = v100; } goto LABEL_1093; } if ( (unsigned int)(m_objectID - 286) < 2 || m_objectID == 660 ) goto LABEL_240; if ( m_objectID != 744 ) goto LABEL_1093; } else { if ( (unsigned int)m_objectID > 0x2F ) goto LABEL_50; v24 = 0x800000003000LL; if ( _bittest64(&v24, (unsigned int)m_objectID) ) goto LABEL_240; v25 = 1610612736; if ( !_bittest64(&v25, (unsigned int)m_objectID) ) { LABEL_50: if ( m_objectID != 105 ) goto LABEL_1093; } } if ( begin[7] ) { v69 = a2->__begin_; if ( (a2->__begin_[7].m_data.m_short.sizex2 & 1) != 0 ) v70 = v69[7].m_data.m_long.longStorage; else v70 = v69[7].m_data.m_short.shortStorage.__elems_; v71 = atoi(v70); v539 = a2; if ( begin[8] ) { LABEL_183: v76 = a2->__begin_; if ( (a2->__begin_[8].m_data.m_short.sizex2 & 1) != 0 ) v77 = v76[8].m_data.m_long.longStorage; else v77 = v76[8].m_data.m_short.shortStorage.__elems_; v72 = atoi(v77); v73 = begin[9] == nullptr; v543 = a3; if ( !v73 ) { LABEL_187: v78 = v539->__begin_; if ( (v539->__begin_[9].m_data.m_short.sizex2 & 1) != 0 ) v79 = v78[9].m_data.m_long.longStorage; else v79 = v78[9].m_data.m_short.shortStorage.__elems_; v74 = atoi(v79); if ( begin[10] ) goto LABEL_191; goto LABEL_180; } LABEL_179: v74 = 0; if ( begin[10] ) { LABEL_191: v80 = v539->__begin_; if ( (v539->__begin_[10].m_data.m_short.sizex2 & 1) != 0 ) v81 = v80[10].m_data.m_long.longStorage; else v81 = v80[10].m_data.m_short.shortStorage.__elems_; v75 = atof(v81); LABEL_195: a1->m_triggerTargetColor.b = v74; *(_WORD *)&a1->m_triggerTargetColor.r = (v72 << 8) | v71; a1->m_duration = v75; v82 = v543->__begin_; if ( *((_QWORD *)v543->__begin_ + 14) ) { v83 = v539; v84 = v539->__begin_; if ( (v539->__begin_[14].m_data.m_short.sizex2 & 1) != 0 ) v85 = v84[14].m_data.m_long.longStorage; else v85 = v84[14].m_data.m_short.shortStorage.__elems_; a1->m_tintGround = atoi(v85) != 0; if ( v82[15] ) { LABEL_206: v86 = v83->__begin_; if ( (v83->__begin_[15].m_data.m_short.sizex2 & 1) != 0 ) v87 = v86[15].m_data.m_long.longStorage; else v87 = v86[15].m_data.m_short.shortStorage.__elems_; a1->m_usesPlayerColor1 = atoi(v87) != 0; if ( v82[16] ) { LABEL_210: v88 = v83->__begin_; if ( (v83->__begin_[16].m_data.m_short.sizex2 & 1) != 0 ) v89 = v88[16].m_data.m_long.longStorage; else v89 = v88[16].m_data.m_short.shortStorage.__elems_; a1->m_usesPlayerColor2 = atoi(v89) != 0; if ( v82[17] ) { LABEL_214: v90 = v83->__begin_; if ( (v83->__begin_[17].m_data.m_short.sizex2 & 1) != 0 ) v91 = v90[17].m_data.m_long.longStorage; else v91 = v90[17].m_data.m_short.shortStorage.__elems_; a1->m_usesBlending = atoi(v91) != 0; if ( v82[60] ) { LABEL_218: v92 = v83->__begin_; if ( (v83->__begin_[60].m_data.m_short.sizex2 & 1) != 0 ) v93 = v92[60].m_data.m_long.longStorage; else v93 = v92[60].m_data.m_short.shortStorage.__elems_; a1->m_copyOpacity = atoi(v93) != 0; if ( !v82[23] ) goto LABEL_227; goto LABEL_222; } LABEL_202: a1->m_copyOpacity = 0; if ( !v82[23] ) goto LABEL_227; LABEL_222: v94 = v83->__begin_; if ( (v83->__begin_[23].m_data.m_short.sizex2 & 1) == 0 ) { v95 = atoi(v94[23].m_data.m_short.shortStorage.__elems_); if ( v95 < 2 ) goto LABEL_227; goto LABEL_226; } v95 = atoi(v94[23].m_data.m_long.longStorage); if ( v95 >= 2 ) LABEL_226: a1->m_targetColor = v95; LABEL_227: v96 = (__m128)0x3F800000u; if ( v82[36] ) { v97 = v83->__begin_; v98 = (v83->__begin_[36].m_data.m_short.sizex2 & 1) != 0 ? v97[36].m_data.m_long.longStorage : (const char *)&v97[36].m_data.m_short.shortStorage; v96 = (__m128)0x3F800000u; if ( atoi(v98) > 0 ) { if ( v82[35] ) { if ( (v97[35].m_data.m_short.sizex2 & 1) != 0 ) v99 = v97[35].m_data.m_long.longStorage; else v99 = v97[35].m_data.m_short.shortStorage.__elems_; *(double *)v96.i64 = atof(v99); v96.f32[0] = *(double *)v96.i64; } else { v96 = 0; } } } LODWORD(a1->m_opacity) = v96.i32[0]; if ( v82[49] ) { v161 = v83->__begin_; v162 = v543; if ( (v83->__begin_[49].m_data.m_short.sizex2 & 1) != 0 ) { sub_100006B70( &v540, v161[49].m_data.m_long.longStorage, v161[49].m_data.m_long.size, *(double *)v96.i64); } else { v163 = v161 + 49; __p = v163->m_data.m_long.longStorage; v96 = *(__m128 *)&v163->m_data.m_short.sizex2; v540 = *(__m128 *)&v163->m_data.m_short.sizex2; } } else { v540.i16[0] = 0; v162 = v543; } v164 = GameToolbox::hsvFromString(&v540, "a"); _mm_storel_ps((double *)&a1->m_hsvValue.h, v96); *(_QWORD *)&a1->m_hsvValue.v = v164; if ( (v540.i8[0] & 1) != 0 ) operator delete(__p); v165 = v162->__begin_; if ( v165[50] ) { v166 = v83->__begin_; if ( (v83->__begin_[50].m_data.m_short.sizex2 & 1) == 0 ) { a1->m_copyColorID = atoi(v166[50].m_data.m_short.shortStorage.__elems_); if ( !v165[210] ) goto LABEL_334; LABEL_331: v167 = v83->__begin_; if ( (v83->__begin_[210].m_data.m_short.sizex2 & 1) != 0 ) v168 = v167[210].m_data.m_long.longStorage; else v168 = v167[210].m_data.m_short.shortStorage.__elems_; v169 = atoi(v168) != 0; LABEL_337: a1->m_legacyHSV = v169; v170 = a1->m_objectID; if ( (unsigned int)(v170 - 29) < 2 || v170 == 105 || v170 == 900 ) { a1->m_usesBlending = 0; a1->m_opacity = 1.0; } goto LABEL_1093; } a1->m_copyColorID = atoi(v166[50].m_data.m_long.longStorage); if ( v165[210] ) goto LABEL_331; } else { a1->m_copyColorID = 0; if ( v165[210] ) goto LABEL_331; } LABEL_334: v169 = 0; goto LABEL_337; } LABEL_201: a1->m_usesBlending = 0; if ( v82[60] ) goto LABEL_218; goto LABEL_202; } LABEL_200: a1->m_usesPlayerColor2 = 0; if ( v82[17] ) goto LABEL_214; goto LABEL_201; } } else { v83 = v539; a1->m_tintGround = 0; if ( v82[15] ) goto LABEL_206; } a1->m_usesPlayerColor1 = 0; if ( v82[16] ) goto LABEL_210; goto LABEL_200; } LABEL_180: v75 = 0.0; goto LABEL_195; } } else { v71 = 0; v539 = a2; if ( begin[8] ) goto LABEL_183; } v72 = 0; v73 = begin[9] == nullptr; v543 = a3; if ( !v73 ) goto LABEL_187; goto LABEL_179; } } LABEL_126: v49 = a2->__begin_; if ( (a2->__begin_[56].m_data.m_short.sizex2 & 1) != 0 ) v50 = v49[56].m_data.m_long.longStorage; else v50 = v49[56].m_data.m_short.shortStorage.__elems_; a1->m_activateGroup = atoi(v50) != 0; m_objectID = a1->m_objectID; if ( m_objectID <= 1519 ) goto LABEL_45; LABEL_133: if ( m_objectID <= 2065 ) { if ( m_objectID > 1911 ) { switch ( m_objectID ) { case 1912: v61 = 0; v62 = 0; if ( begin[51] ) { v63 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v64 = v63[51].m_data.m_long.longStorage; else v64 = v63[51].m_data.m_short.shortStorage.__elems_; v62 = atoi(v64); } a1->m_targetGroupID = v62; if ( begin[71] ) { v284 = a2->__begin_; if ( (a2->__begin_[71].m_data.m_short.sizex2 & 1) != 0 ) v285 = v284[71].m_data.m_long.longStorage; else v285 = v284[71].m_data.m_short.shortStorage.__elems_; v61 = atoi(v285); } a1->m_centerGroupID = v61; if ( begin[10] ) { v286 = a2->__begin_; if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 ) v287 = v286[10].m_data.m_long.longStorage; else v287 = v286[10].m_data.m_short.shortStorage.__elems_; v288 = atof(v287); a1->m_duration = v288; } else { a1->m_duration = 0.0; } goto LABEL_1093; case 1913: if ( begin[371] ) { v139 = a2->__begin_; if ( (a2->__begin_[371].m_data.m_short.sizex2 & 1) != 0 ) v140 = v139[371].m_data.m_long.longStorage; else v140 = v139[371].m_data.m_short.shortStorage.__elems_; v281 = atof(v140); a1->m_zoomValue = v281; if ( v281 > 0.0 ) goto LABEL_1032; p_m_zoomValue = &a1->m_zoomValue; } else { p_m_zoomValue = &a1->m_zoomValue; a1->m_zoomValue = 0.0; } if ( begin[109] ) { v282 = a2->__begin_; if ( (a2->__begin_[109].m_data.m_short.sizex2 & 1) != 0 ) v283 = v282[109].m_data.m_long.longStorage; else v283 = v282[109].m_data.m_short.shortStorage.__elems_; v459 = atoi(v283); } else { v459 = 0; } v504 = 8; if ( v459 < 8 ) v504 = v459; v505 = -4; if ( v504 >= -3 ) v505 = v504; *p_m_zoomValue = 300.0 / (float)((float)((float)v505 * 30.0) + 300.0); LABEL_1032: if ( begin[10] ) { v506 = a2->__begin_; if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 ) v507 = v506[10].m_data.m_long.longStorage; else v507 = v506[10].m_data.m_short.shortStorage.__elems_; v508 = atof(v507); } else { v508 = 0.0; } a1->m_duration = v508; if ( begin[30] ) { v509 = a2->__begin_; if ( (a2->__begin_[30].m_data.m_short.sizex2 & 1) != 0 ) v510 = v509[30].m_data.m_long.longStorage; else v510 = v509[30].m_data.m_short.shortStorage.__elems_; v511 = atoi(v510); } else { v511 = 0; } a1->m_easingType = v511; v512.i32[0] = 0; v513 = 0; if ( begin[85] ) { v514 = a2->__begin_; if ( (a2->__begin_[85].m_data.m_short.sizex2 & 1) != 0 ) v515 = v514[85].m_data.m_long.longStorage; else v515 = v514[85].m_data.m_short.shortStorage.__elems_; *(double *)v513.i64 = atof(v515); v513.f32[0] = *(double *)v513.i64; v512.i32[0] = 0; } v516 = _mm_cmpgt_ss(v513, v512); LODWORD(a1->m_easingRate) = _mm_andnot_ps(v516, (__m128)0x40000000u).u32[0] | v513.i32[0] & v516.i32[0]; break; case 1931: if ( begin[51] ) { v135 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v136 = v135[51].m_data.m_long.longStorage; else v136 = v135[51].m_data.m_short.shortStorage.__elems_; v212 = atoi(v136); } else { v212 = 0; } a1->m_targetGroupID = v212; if ( begin[118] ) { v274 = a2->__begin_; if ( (a2->__begin_[118].m_data.m_short.sizex2 & 1) != 0 ) v275 = v274[118].m_data.m_long.longStorage; else v275 = v274[118].m_data.m_short.shortStorage.__elems_; v276 = atoi(v275) != 0; } else { v276 = 0; } a1->m_endReversed = v276; if ( begin[59] ) { v277 = a2->__begin_; if ( (a2->__begin_[59].m_data.m_short.sizex2 & 1) != 0 ) v278 = v277[59].m_data.m_long.longStorage; else v278 = v277[59].m_data.m_short.shortStorage.__elems_; v279 = atoi(v278) != 0; } else { v279 = 0; } a1->m_lockToPlayerY = v279; goto LABEL_1093; case 1932: if ( begin[138] ) { v141 = a2->__begin_; if ( (a2->__begin_[138].m_data.m_short.sizex2 & 1) != 0 ) v142 = v141[138].m_data.m_long.longStorage; else v142 = v141[138].m_data.m_short.shortStorage.__elems_; v214 = atoi(v142) != 0; } else { v214 = 0; } a1->m_targetPlayer1 = v214; if ( begin[200] ) { v289 = a2->__begin_; if ( (a2->__begin_[200].m_data.m_short.sizex2 & 1) != 0 ) v290 = v289[200].m_data.m_long.longStorage; else v290 = v289[200].m_data.m_short.shortStorage.__elems_; v291 = atoi(v290) != 0; } else { v291 = 0; } a1->m_targetPlayer2 = v291; if ( begin[58] ) { v292 = a2->__begin_; if ( (a2->__begin_[58].m_data.m_short.sizex2 & 1) != 0 ) v293 = v292[58].m_data.m_long.longStorage; else v293 = v292[58].m_data.m_short.shortStorage.__elems_; v294 = atoi(v293) != 0; } else { v294 = 0; } a1->m_lockToPlayerX = v294; if ( begin[59] ) { v295 = a2->__begin_; if ( (a2->__begin_[59].m_data.m_short.sizex2 & 1) != 0 ) v296 = v295[59].m_data.m_long.longStorage; else v296 = v295[59].m_data.m_short.shortStorage.__elems_; v297 = atoi(v296) != 0; } else { v297 = 0; } a1->m_lockToPlayerY = v297; if ( begin[141] ) { v298 = a2->__begin_; if ( (a2->__begin_[141].m_data.m_short.sizex2 & 1) != 0 ) v299 = v298[141].m_data.m_long.longStorage; else v299 = v298[141].m_data.m_short.shortStorage.__elems_; a1->m_lockToCameraX = atoi(v299) != 0; } else { a1->m_lockToCameraX = 0; } goto LABEL_1093; case 1933: goto LABEL_240; case 1935: if ( begin[120] ) { v137 = a2->__begin_; if ( (a2->__begin_[120].m_data.m_short.sizex2 & 1) != 0 ) v138 = v137[120].m_data.m_long.longStorage; else v138 = v137[120].m_data.m_short.shortStorage.__elems_; v280 = atof(v138); a1->m_timeWarpTimeMod = v280; } else { a1->m_timeWarpTimeMod = 0.0; } goto LABEL_1093; default: goto LABEL_1093; } } else if ( m_objectID <= 1811 ) { switch ( m_objectID ) { case 1520: v153 = 0.0; v154 = 0.0; if ( begin[10] ) { 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_; v154 = atof(v156); v153 = 0.0; } a1->m_duration = v154; if ( begin[75] ) { v339 = a2->__begin_; if ( (a2->__begin_[75].m_data.m_short.sizex2 & 1) != 0 ) v340 = v339[75].m_data.m_long.longStorage; else v340 = v339[75].m_data.m_short.shortStorage.__elems_; v153 = atof(v340); } a1->m_shakeStrength = v153; if ( begin[84] ) { v341 = a2->__begin_; if ( (a2->__begin_[84].m_data.m_short.sizex2 & 1) != 0 ) v342 = v341[84].m_data.m_long.longStorage; else v342 = v341[84].m_data.m_short.shortStorage.__elems_; v343 = atof(v342); a1->m_shakeInterval = v343; } else { a1->m_shakeInterval = 0.0; } break; case 1585: v149 = 0; v150 = 0; if ( begin[51] ) { v151 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v152 = v151[51].m_data.m_long.longStorage; else v152 = v151[51].m_data.m_short.shortStorage.__elems_; v150 = atoi(v152); } a1->m_targetGroupID = v150; if ( begin[76] ) { v337 = a2->__begin_; if ( (a2->__begin_[76].m_data.m_short.sizex2 & 1) != 0 ) v338 = v337[76].m_data.m_long.longStorage; else v338 = v337[76].m_data.m_short.shortStorage.__elems_; v149 = atoi(v338); } a1->m_animationID = v149; break; case 1595: if ( begin[51] ) { v65 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v66 = v65[51].m_data.m_long.longStorage; else v66 = v65[51].m_data.m_short.shortStorage.__elems_; v217 = atoi(v66); } else { v217 = 0; } a1->m_targetGroupID = v217; if ( begin[56] ) { v413 = a2->__begin_; if ( (a2->__begin_[56].m_data.m_short.sizex2 & 1) != 0 ) v414 = v413[56].m_data.m_long.longStorage; else v414 = v413[56].m_data.m_short.shortStorage.__elems_; v415 = atoi(v414) != 0; } else { v415 = 0; } a1->m_activateGroup = v415; v416 = 0; if ( begin[81] ) { v417 = a2->__begin_; if ( (a2->__begin_[81].m_data.m_short.sizex2 & 1) != 0 ) v418 = v417[81].m_data.m_long.longStorage; else v418 = v417[81].m_data.m_short.shortStorage.__elems_; v419 = atoi(v418) != 0; } else { v419 = 0; } a1->m_touchHoldMode = v419; if ( begin[82] ) { v420 = a2->__begin_; if ( (a2->__begin_[82].m_data.m_short.sizex2 & 1) != 0 ) v421 = v420[82].m_data.m_long.longStorage; else v421 = v420[82].m_data.m_short.shortStorage.__elems_; v416 = atoi(v421); } a1->m_touchToggleMode = v416; if ( begin[198] ) { v422 = a2->__begin_; if ( (a2->__begin_[198].m_data.m_short.sizex2 & 1) != 0 ) v423 = v422[198].m_data.m_long.longStorage; else v423 = v422[198].m_data.m_short.shortStorage.__elems_; v424 = atoi(v423); } else { v424 = 0; } a1->m_touchPlayerMode = v424; if ( begin[89] ) { v425 = a2->__begin_; if ( (a2->__begin_[89].m_data.m_short.sizex2 & 1) != 0 ) v426 = v425[89].m_data.m_long.longStorage; else v426 = v425[89].m_data.m_short.shortStorage.__elems_; a1->m_isDualMode = atoi(v426) != 0; } else { a1->m_isDualMode = 0; } break; } } else { switch ( m_objectID ) { case 1812: goto LABEL_269; case 1814: if ( begin[51] ) { v51 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v52 = v51[51].m_data.m_long.longStorage; else v52 = v51[51].m_data.m_short.shortStorage.__elems_; v215 = atoi(v52); } else { v215 = 0; } v320 = 0.0; v73 = begin[10] == nullptr; LODWORD(v543) = 0; if ( !v73 ) { v321 = a2->__begin_; if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 ) v322 = v321[10].m_data.m_long.longStorage; else v322 = v321[10].m_data.m_short.shortStorage.__elems_; v323 = atof(v322); *(float *)&v543 = v323; v320 = 0.0; } if ( begin[90] ) { v324 = a2->__begin_; if ( (a2->__begin_[90].m_data.m_short.sizex2 & 1) != 0 ) v325 = v324[90].m_data.m_long.longStorage; else v325 = v324[90].m_data.m_short.shortStorage.__elems_; v320 = atof(v325); } a1->m_followYSpeed = v320; if ( begin[91] ) { v326 = a2->__begin_; if ( (a2->__begin_[91].m_data.m_short.sizex2 & 1) != 0 ) v327 = v326[91].m_data.m_long.longStorage; else v327 = v326[91].m_data.m_short.shortStorage.__elems_; v328 = atof(v327); } else { v328 = 0.0; } a1->m_followYDelay = v328; if ( begin[92] ) { v329 = a2->__begin_; if ( (a2->__begin_[92].m_data.m_short.sizex2 & 1) != 0 ) v330 = v329[92].m_data.m_long.longStorage; else v330 = v329[92].m_data.m_short.shortStorage.__elems_; v331 = atoi(v330); } else { v331 = 0; } a1->m_followYOffset = v331; if ( begin[105] ) { v332 = a2->__begin_; if ( (a2->__begin_[105].m_data.m_short.sizex2 & 1) != 0 ) v333 = v332[105].m_data.m_long.longStorage; else v333 = v332[105].m_data.m_short.shortStorage.__elems_; v334 = atof(v333); } else { v334 = 0.0; } a1->m_followYMaxSpeed = v334; a1->m_targetGroupID = v215; LODWORD(a1->m_duration) = (_DWORD)v543; break; case 1815: v143 = 0; v144 = 0; if ( begin[80] ) { v145 = a2->__begin_; if ( (a2->__begin_[80].m_data.m_short.sizex2 & 1) != 0 ) v146 = v145[80].m_data.m_long.longStorage; else v146 = v145[80].m_data.m_short.shortStorage.__elems_; v144 = atoi(v146); } a1->m_itemID = v144; if ( begin[95] ) { v300 = a2->__begin_; if ( (a2->__begin_[95].m_data.m_short.sizex2 & 1) != 0 ) v301 = v300[95].m_data.m_long.longStorage; else v301 = v300[95].m_data.m_short.shortStorage.__elems_; v143 = atoi(v301); } a1->m_itemID2 = v143; if ( begin[51] ) { v302 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v303 = v302[51].m_data.m_long.longStorage; else v303 = v302[51].m_data.m_short.shortStorage.__elems_; v304 = atoi(v303); } else { v304 = 0; } a1->m_targetGroupID = v304; if ( begin[10] ) { v305 = a2->__begin_; if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 ) v306 = v305[10].m_data.m_long.longStorage; else v306 = v305[10].m_data.m_short.shortStorage.__elems_; v307 = atof(v306); } else { v307 = 0.0; } a1->m_duration = v307; if ( begin[93] ) { v308 = a2->__begin_; if ( (a2->__begin_[93].m_data.m_short.sizex2 & 1) != 0 ) v309 = v308[93].m_data.m_long.longStorage; else v309 = v308[93].m_data.m_short.shortStorage.__elems_; v310 = atoi(v309) != 0; } else { v310 = 0; } a1->m_triggerOnExit = v310; if ( begin[56] ) { v311 = a2->__begin_; if ( (a2->__begin_[56].m_data.m_short.sizex2 & 1) != 0 ) v312 = v311[56].m_data.m_long.longStorage; else v312 = v311[56].m_data.m_short.shortStorage.__elems_; v313 = atoi(v312) != 0; } else { v313 = 0; } a1->m_activateGroup = v313; if ( begin[138] ) { v314 = a2->__begin_; if ( (a2->__begin_[138].m_data.m_short.sizex2 & 1) != 0 ) v315 = v314[138].m_data.m_long.longStorage; else v315 = v314[138].m_data.m_short.shortStorage.__elems_; v316 = atoi(v315) != 0; } else { v316 = 0; } a1->m_targetPlayer1 = v316; if ( begin[200] ) { v317 = a2->__begin_; if ( (a2->__begin_[200].m_data.m_short.sizex2 & 1) != 0 ) v318 = v317[200].m_data.m_long.longStorage; else v318 = v317[200].m_data.m_short.shortStorage.__elems_; v319 = atoi(v318) != 0; } else { v319 = 0; } a1->m_targetPlayer2 = v319; if ( !begin[201] ) goto LABEL_651; goto LABEL_411; case 1816: if ( begin[80] ) { v147 = a2->__begin_; if ( (a2->__begin_[80].m_data.m_short.sizex2 & 1) != 0 ) v148 = v147[80].m_data.m_long.longStorage; else v148 = v147[80].m_data.m_short.shortStorage.__elems_; v216 = atoi(v148); } else { v216 = 0; } a1->m_itemID = v216; if ( begin[94] ) { v335 = a2->__begin_; if ( (a2->__begin_[94].m_data.m_short.sizex2 & 1) != 0 ) v336 = v335[94].m_data.m_long.longStorage; else v336 = v335[94].m_data.m_short.shortStorage.__elems_; a1->m_isDynamicBlock = atoi(v336) != 0; } else { a1->m_isDynamicBlock = 0; } break; default: goto LABEL_1093; } } goto LABEL_1093; } if ( m_objectID > 2998 ) { switch ( m_objectID ) { case 3606: case 3612: v53 = 0.0; v54 = 0.0; if ( begin[143] ) { v55 = a2->__begin_; if ( (a2->__begin_[143].m_data.m_short.sizex2 & 1) != 0 ) v56 = v55[143].m_data.m_long.longStorage; else v56 = v55[143].m_data.m_short.shortStorage.__elems_; v54 = atof(v56); v53 = 0.0; } a1->m_moveModX = v54; if ( begin[144] ) { v210 = a2->__begin_; if ( (a2->__begin_[144].m_data.m_short.sizex2 & 1) != 0 ) v211 = v210[144].m_data.m_long.longStorage; else v211 = v210[144].m_data.m_short.shortStorage.__elems_; v53 = atof(v211); } a1->m_moveModY = v53; break; case 3607: case 3608: case 3610: case 3611: case 3613: case 3614: case 3615: case 3616: case 3617: case 3619: case 3620: case 3621: case 3622: case 3623: case 3624: case 3625: case 3626: case 3627: case 3628: case 3629: case 3630: case 3631: case 3632: case 3633: case 3634: case 3635: case 3636: case 3637: case 3638: case 3639: case 3641: case 3642: case 3643: case 3644: case 3645: case 3646: case 3647: case 3648: case 3649: case 3650: case 3651: case 3652: case 3653: case 3654: case 3655: case 3656: case 3657: case 3658: case 3659: case 3660: case 3661: goto LABEL_1093; case 3609: v171 = 0; v172 = 0; if ( begin[80] ) { v173 = a2->__begin_; if ( (a2->__begin_[80].m_data.m_short.sizex2 & 1) != 0 ) v174 = v173[80].m_data.m_long.longStorage; else v174 = v173[80].m_data.m_short.shortStorage.__elems_; v172 = atoi(v174); } a1->m_itemID = v172; if ( begin[95] ) { v460 = a2->__begin_; if ( (a2->__begin_[95].m_data.m_short.sizex2 & 1) != 0 ) v461 = v460[95].m_data.m_long.longStorage; else v461 = v460[95].m_data.m_short.shortStorage.__elems_; v171 = atoi(v461); } a1->m_itemID2 = v171; v462 = 0; v463 = 0; if ( begin[51] ) { v464 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v465 = v464[51].m_data.m_long.longStorage; else v465 = v464[51].m_data.m_short.shortStorage.__elems_; v463 = atoi(v465); } a1->m_targetGroupID = v463; if ( begin[71] ) { v466 = a2->__begin_; if ( (a2->__begin_[71].m_data.m_short.sizex2 & 1) != 0 ) v467 = v466[71].m_data.m_long.longStorage; else v467 = v466[71].m_data.m_short.shortStorage.__elems_; v462 = atoi(v467); } a1->m_centerGroupID = v462; if ( begin[56] ) { v468 = a2->__begin_; if ( (a2->__begin_[56].m_data.m_short.sizex2 & 1) != 0 ) v469 = v468[56].m_data.m_long.longStorage; else v469 = v468[56].m_data.m_short.shortStorage.__elems_; v470 = atoi(v469) != 0; } else { v470 = 0; } a1->m_activateGroup = v470; if ( begin[138] ) { v471 = a2->__begin_; if ( (a2->__begin_[138].m_data.m_short.sizex2 & 1) != 0 ) v472 = v471[138].m_data.m_long.longStorage; else v472 = v471[138].m_data.m_short.shortStorage.__elems_; v473 = atoi(v472) != 0; } else { v473 = 0; } a1->m_targetPlayer1 = v473; if ( begin[200] ) { v474 = a2->__begin_; if ( (a2->__begin_[200].m_data.m_short.sizex2 & 1) != 0 ) v475 = v474[200].m_data.m_long.longStorage; else v475 = v474[200].m_data.m_short.shortStorage.__elems_; v476 = atoi(v475) != 0; } else { v476 = 0; } a1->m_targetPlayer2 = v476; if ( begin[201] ) { v477 = a2->__begin_; if ( (a2->__begin_[201].m_data.m_short.sizex2 & 1) != 0 ) v478 = v477[201].m_data.m_long.longStorage; else v478 = v477[201].m_data.m_short.shortStorage.__elems_; v479 = atoi(v478) != 0; } else { v479 = 0; } a1->m_followCPP = v479; if ( begin[600] ) { v480 = a2->__begin_; if ( (a2->__begin_[600].m_data.m_short.sizex2 & 1) != 0 ) v481 = v480[600].m_data.m_long.longStorage; else v481 = v480[600].m_data.m_short.shortStorage.__elems_; *(&a1->m_unk6f5 + 1) = atoi(v481) != 0; } else { *(&a1->m_unk6f5 + 1) = 0; } break; case 3618: case 3662: if ( begin[51] ) { v129 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v130 = v129[51].m_data.m_long.longStorage; else v130 = v129[51].m_data.m_short.shortStorage.__elems_; a1->m_targetGroupID = atoi(v130); } else { a1->m_targetGroupID = 0; } break; case 3640: v175 = 0; v176 = 0; if ( begin[51] ) { v177 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v178 = v177[51].m_data.m_long.longStorage; else v178 = v177[51].m_data.m_short.shortStorage.__elems_; v176 = atoi(v178); } a1->m_targetGroupID = v176; if ( begin[71] ) { v482 = a2->__begin_; if ( (a2->__begin_[71].m_data.m_short.sizex2 & 1) != 0 ) v483 = v482[71].m_data.m_long.longStorage; else v483 = v482[71].m_data.m_short.shortStorage.__elems_; v175 = atoi(v483); } a1->m_centerGroupID = v175; break; default: if ( m_objectID == 2999 ) { v180 = 0; v181 = 0.0; if ( begin[29] ) { v182 = a2->__begin_; if ( (a2->__begin_[29].m_data.m_short.sizex2 & 1) != 0 ) v183 = v182[29].m_data.m_long.longStorage; else v183 = v182[29].m_data.m_short.shortStorage.__elems_; v181 = atof(v183); v180 = 0; } v492 = a3; if ( begin[85] ) { v493 = a2->__begin_; if ( (a2->__begin_[85].m_data.m_short.sizex2 & 1) != 0 ) v494 = v493[85].m_data.m_long.longStorage; else v494 = v493[85].m_data.m_short.shortStorage.__elems_; v180 = 0; v180.f32[0] = atof(v494); } v495.i32[0] = 0; v496 = _mm_cmpgt_ss(v180, v495); v542 = _mm_or_ps(_mm_andnot_ps(v496, (__m128)0x40000000u), _mm_and_ps(v180, v496)); sub_10028CBE0(&v540, 0.0, v181); sub_10028CC90(); v497 = 0.0; v498 = a3->__begin_; if ( *((_QWORD *)v492->__begin_ + 10) ) { v499 = a2->__begin_; if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 ) v500 = v499[10].m_data.m_long.longStorage; else v500 = v499[10].m_data.m_short.shortStorage.__elems_; v497 = atof(v500); } a1->m_duration = v497; if ( v498[30] ) { v501 = a2->__begin_; if ( (a2->__begin_[30].m_data.m_short.sizex2 & 1) != 0 ) v502 = v501[30].m_data.m_long.longStorage; else v502 = v501[30].m_data.m_short.shortStorage.__elems_; v503 = atoi(v502); } else { v503 = 0; } a1->m_easingType = v503; LODWORD(a1->m_easingRate) = v542.i32[0]; } else if ( m_objectID == 3033 ) { v125 = 0; v126 = 0; if ( begin[51] ) { v127 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v128 = v127[51].m_data.m_long.longStorage; else v128 = v127[51].m_data.m_short.shortStorage.__elems_; v126 = atoi(v128); } a1->m_targetGroupID = v126; if ( begin[71] ) { v488 = a2->__begin_; if ( (a2->__begin_[71].m_data.m_short.sizex2 & 1) != 0 ) v489 = v488[71].m_data.m_long.longStorage; else v489 = v488[71].m_data.m_short.shortStorage.__elems_; v125 = atoi(v489); } a1->m_centerGroupID = v125; if ( begin[76] ) { v490 = a2->__begin_; if ( (a2->__begin_[76].m_data.m_short.sizex2 & 1) != 0 ) v491 = v490[76].m_data.m_long.longStorage; else v491 = v490[76].m_data.m_short.shortStorage.__elems_; a1->m_animationID = atoi(v491); } else { a1->m_animationID = 0; } } break; } goto LABEL_1093; } if ( m_objectID == 2066 ) { if ( begin[148] ) { v123 = a2->__begin_; if ( (a2->__begin_[148].m_data.m_short.sizex2 & 1) != 0 ) v124 = v123[148].m_data.m_long.longStorage; else v124 = v123[148].m_data.m_short.shortStorage.__elems_; v188 = atof(v124); if ( v188 < 0.0 ) { v201 = fmaxf(fminf(v188, -0.1), -2.0); goto LABEL_398; } } else { v188 = 0.0; } v201 = fminf(fmaxf(v188, 0.1), 2.0); LABEL_398: a1->m_gravityValue = v201; if ( begin[138] ) { v202 = a2->__begin_; if ( (a2->__begin_[138].m_data.m_short.sizex2 & 1) != 0 ) v203 = v202[138].m_data.m_long.longStorage; else v203 = v202[138].m_data.m_short.shortStorage.__elems_; v204 = atoi(v203) != 0; } else { v204 = 0; } a1->m_targetPlayer1 = v204; if ( begin[200] ) { v205 = a2->__begin_; if ( (a2->__begin_[200].m_data.m_short.sizex2 & 1) != 0 ) v206 = v205[200].m_data.m_long.longStorage; else v206 = v205[200].m_data.m_short.shortStorage.__elems_; v207 = atoi(v206) != 0; } else { v207 = 0; } a1->m_targetPlayer2 = v207; if ( begin[201] ) { LABEL_411: v208 = a2->__begin_; if ( (a2->__begin_[201].m_data.m_short.sizex2 & 1) != 0 ) v209 = v208[201].m_data.m_long.longStorage; else v209 = v208[201].m_data.m_short.shortStorage.__elems_; a1->m_followCPP = atoi(v209) != 0; } else { LABEL_651: a1->m_followCPP = 0; } goto LABEL_1093; } if ( m_objectID != 2901 ) { if ( m_objectID != 2925 ) goto LABEL_1093; LABEL_240: if ( begin[111] ) { v104 = a2->__begin_; if ( (a2->__begin_[111].m_data.m_short.sizex2 & 1) != 0 ) v105 = v104[111].m_data.m_long.longStorage; else v105 = v104[111].m_data.m_short.shortStorage.__elems_; a1->m_cameraIsFreeMode = atoi(v105) != 0; if ( begin[112] ) goto LABEL_247; } else { a1->m_cameraIsFreeMode = 0; if ( begin[112] ) { LABEL_247: v107 = a2->__begin_; if ( (a2->__begin_[112].m_data.m_short.sizex2 & 1) != 0 ) v108 = v107[112].m_data.m_long.longStorage; else v108 = v107[112].m_data.m_short.shortStorage.__elems_; v106 = atoi(v108) != 0; goto LABEL_251; } } v106 = 0; LABEL_251: a1->m_cameraEditCameraSettings = v106; v109 = 0.0; v110 = 0.0; if ( begin[113] ) { v111 = a2->__begin_; if ( (a2->__begin_[113].m_data.m_short.sizex2 & 1) != 0 ) v112 = v111[113].m_data.m_long.longStorage; else v112 = v111[113].m_data.m_short.shortStorage.__elems_; v110 = atof(v112); v109 = 0.0; } a1->m_cameraEasingValue = v110; if ( begin[114] ) { v113 = a2->__begin_; if ( (a2->__begin_[114].m_data.m_short.sizex2 & 1) != 0 ) v114 = v113[114].m_data.m_long.longStorage; else v114 = v113[114].m_data.m_short.shortStorage.__elems_; v109 = atof(v114); } a1->m_cameraPaddingValue = v109; if ( begin[370] ) { v115 = a2->__begin_; if ( (a2->__begin_[370].m_data.m_short.sizex2 & 1) != 0 ) v116 = v115[370].m_data.m_long.longStorage; else v116 = v115[370].m_data.m_short.shortStorage.__elems_; a1->m_cameraDisableGridSnap = atoi(v116) != 0; } else { a1->m_cameraDisableGridSnap = 0; } goto LABEL_1093; } v119 = 0.0; v120 = 0.0; if ( begin[28] ) { v121 = a2->__begin_; if ( (a2->__begin_[28].m_data.m_short.sizex2 & 1) != 0 ) v122 = v121[28].m_data.m_long.longStorage; else v122 = v121[28].m_data.m_short.shortStorage.__elems_; v120 = atof(v122); v119 = 0.0; } if ( begin[29] ) { v189 = a2->__begin_; v73 = (a2->__begin_[29].m_data.m_short.sizex2 & 1) == 0; v542.f32[0] = v120; if ( v73 ) v190 = v189[29].m_data.m_short.shortStorage.__elems_; else v190 = v189[29].m_data.m_long.longStorage; v119 = atof(v190); v120 = v542.f32[0]; } sub_10028CBE0(&v540, v120, v119); sub_10028CC90(); v191 = a3->__begin_; if ( *((_QWORD *)a3->__begin_ + 58) ) { v192 = a2->__begin_; if ( (a2->__begin_[58].m_data.m_short.sizex2 & 1) != 0 ) v193 = v192[58].m_data.m_long.longStorage; else v193 = v192[58].m_data.m_short.shortStorage.__elems_; v194 = atoi(v193) != 0; } else { v194 = 0; } a1->m_lockToPlayerX = v194; v195 = Both; if ( v191[59] ) { v196 = a2->__begin_; if ( (a2->__begin_[59].m_data.m_short.sizex2 & 1) != 0 ) v197 = v196[59].m_data.m_long.longStorage; else v197 = v196[59].m_data.m_short.shortStorage.__elems_; v198 = atoi(v197) != 0; } else { v198 = 0; } a1->m_lockToPlayerY = v198; if ( v191[101] ) { v199 = a2->__begin_; if ( (a2->__begin_[101].m_data.m_short.sizex2 & 1) != 0 ) v200 = v199[101].m_data.m_long.longStorage; else v200 = v199[101].m_data.m_short.shortStorage.__elems_; v195 = atoi(v200); } a1->m_moveTargetMode = v195; LABEL_1093: if ( a1->m_easingRate <= 0.0 ) a1->m_easingRate = 2.0; *(_QWORD *)&a1->m_targetGroupID = _mm_max_epi32( (__m128i)0LL, _mm_min_epi32( _mm_loadl_epi64((const __m128i *)&a1->m_targetGroupID), (__m128i)xmmword_100816FE0)).u64[0]; }