// // CameraTriggerGameObject::customObjectSetup from 0x1001e2460 to 0x1001e2d2d (2253 bytes) // // 1 xrefs: // > @ 0x1008d3838 // // 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 CameraTriggerGameObject::customObjectSetup( CameraTriggerGameObject *a1, std::vector *a2, std::vector *a3) { int m_objectID; // eax std::__vector_base::pointer v6; // r12 int v7; // r15d int v8; // eax std::__vector_base::pointer v9; // rdi const char *v10; // rdi std::__vector_base::pointer v11; // r12 float v12; // xmm1_4 float v13; // xmm0_4 std::__vector_base::pointer v14; // rdi const char *v15; // rdi std::__vector_base::pointer v16; // r15 __m128 v17; // xmm3 __m128 v18; // xmm0 std::__vector_base::pointer v19; // rdi const char *v20; // rdi std::__vector_base::pointer begin; // r12 float v22; // xmm0_4 float v23; // xmm1_4 std::__vector_base::pointer v24; // rdi const char *longStorage; // rdi std::__vector_base::pointer v26; // r12 __m128 v27; // xmm3 __m128 v28; // xmm0 std::__vector_base::pointer v29; // rdi const char *v30; // rdi __m128 v31; // xmm2 std::__vector_base::pointer v32; // rdi const char *v33; // rdi std::__vector_base::pointer v34; // rdi const char *v35; // rdi EasingType v36; // eax std::__vector_base::pointer v37; // rdi const char *v38; // rdi float v39; // xmm0_4 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 *elems; // rdi float v46; // xmm1_4 std::__vector_base::pointer v47; // rdi bool v48; // zf const char *v49; // rdi float v50; // xmm0_4 std::__vector_base::pointer v51; // rdi const char *v52; // rdi __m128 v53; // xmm2 std::__vector_base::pointer v54; // rdi const char *v55; // rdi int v56; // r15d EasingType v57; // eax std::__vector_base::pointer v58; // rdi const char *v59; // rdi std::__vector_base::pointer v60; // rdi const char *v61; // rdi std::__vector_base::pointer v62; // rdi const char *v63; // rdi std::__vector_base::pointer v64; // rdi const char *v65; // rdi std::__vector_base::pointer v66; // rdi const char *v67; // rdi std::__vector_base::pointer v68; // rdi const char *v69; // rdi float v70; // xmm0_4 std::__vector_base::pointer v71; // rdi const char *v72; // rdi std::__vector_base::pointer v73; // rdi const char *v74; // rdi 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 __m128 v82; // xmm3 __m128 v83; // xmm0 std::__vector_base::pointer v84; // rdi const char *v85; // rdi __m128 v86; // xmm2 float v87; // xmm0_4 std::__vector_base::pointer v88; // r12 std::__vector_base::pointer v89; // rdi const char *v90; // rdi MoveTargetType v91; // r15d EasingType v92; // eax std::__vector_base::pointer v93; // rdi const char *v94; // rdi std::__vector_base::pointer v95; // rdi const char *v96; // rdi _BYTE v97[8]; // [rsp+0h] [rbp-40h] BYREF float v98; // [rsp+8h] [rbp-38h] float v99; // [rsp+Ch] [rbp-34h] __m128 v100; // [rsp+10h] [rbp-30h] EffectGameObject::customObjectSetup(a1, a2, a3); m_objectID = a1->m_objectID; if ( m_objectID > 2014 ) { if ( m_objectID != 2015 ) { if ( m_objectID == 2016 ) { begin = a3->__begin_; v22 = 0.0; v23 = 0.0; if ( *((_QWORD *)a3->__begin_ + 371) ) { v24 = a2->__begin_; if ( (a2->__begin_[371].m_data.m_short.sizex2 & 1) != 0 ) longStorage = v24[371].m_data.m_long.longStorage; else longStorage = v24[371].m_data.m_short.shortStorage.__elems_; v23 = atof(longStorage); v22 = 0.0; } a1->m_zoomValue = v23; if ( begin[28] ) { v44 = a2->__begin_; if ( (a2->__begin_[28].m_data.m_short.sizex2 & 1) != 0 ) elems = v44[28].m_data.m_long.longStorage; else elems = v44[28].m_data.m_short.shortStorage.__elems_; v22 = atof(elems); } v46 = 0.0; if ( begin[29] ) { v47 = a2->__begin_; v48 = (a2->__begin_[29].m_data.m_short.sizex2 & 1) == 0; v100.f32[0] = v22; if ( v48 ) v49 = v47[29].m_data.m_short.shortStorage.__elems_; else v49 = v47[29].m_data.m_long.longStorage; v46 = atof(v49); v22 = v100.f32[0]; } sub_10028CBE0(v97, v22, v46); sub_10028CC90(); v50 = 0.0; if ( *((_QWORD *)a3->__begin_ + 506) ) { v51 = a2->__begin_; if ( (a2->__begin_[506].m_data.m_short.sizex2 & 1) != 0 ) v52 = v51[506].m_data.m_long.longStorage; else v52 = v51[506].m_data.m_short.shortStorage.__elems_; v50 = atof(v52); } a1->m_previewOpacity = v50; } else if ( m_objectID == 2062 ) { v6 = a3->__begin_; v7 = 0; v8 = 0; if ( v6[51] ) { v9 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v10 = v9[51].m_data.m_long.longStorage; else v10 = v9[51].m_data.m_short.shortStorage.__elems_; v8 = atoi(v10); } a1->m_targetGroupID = v8; if ( v6[164] ) { v78 = a2->__begin_; if ( (a2->__begin_[164].m_data.m_short.sizex2 & 1) != 0 ) v79 = v78[164].m_data.m_long.longStorage; else v79 = v78[164].m_data.m_short.shortStorage.__elems_; v7 = atoi(v79); } a1->m_edgeDirection = v7; } return; } v16 = a3->__begin_; v17.i32[0] = 0; v18 = 0; if ( v16[85] ) { v19 = a2->__begin_; if ( (a2->__begin_[85].m_data.m_short.sizex2 & 1) != 0 ) v20 = v19[85].m_data.m_long.longStorage; else v20 = v19[85].m_data.m_short.shortStorage.__elems_; *(double *)v18.i64 = atof(v20); v18.f32[0] = *(double *)v18.i64; v17.i32[0] = 0; } v31 = _mm_cmpgt_ss(v18, v17); v100 = _mm_or_ps(_mm_andnot_ps(v31, (__m128)0x40000000u), _mm_and_ps(v18, v31)); if ( v16[10] ) { v32 = a2->__begin_; if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 ) v33 = v32[10].m_data.m_long.longStorage; else v33 = v32[10].m_data.m_short.shortStorage.__elems_; v17.f32[0] = atof(v33); } LODWORD(a1->m_duration) = v17.i32[0]; if ( v16[30] ) { v34 = a2->__begin_; if ( (a2->__begin_[30].m_data.m_short.sizex2 & 1) != 0 ) v35 = v34[30].m_data.m_long.longStorage; else v35 = v34[30].m_data.m_short.shortStorage.__elems_; v36 = atoi(v35); } else { v36 = 0; } a1->m_easingType = v36; LODWORD(a1->m_easingRate) = v100.i32[0]; if ( v16[68] ) { v37 = a2->__begin_; if ( (a2->__begin_[68].m_data.m_short.sizex2 & 1) != 0 ) v38 = v37[68].m_data.m_long.longStorage; else v38 = v37[68].m_data.m_short.shortStorage.__elems_; v39 = atof(v38); a1->m_rotationDegrees = v39; if ( v16[70] ) { LABEL_43: v40 = a2->__begin_; if ( (a2->__begin_[70].m_data.m_short.sizex2 & 1) != 0 ) v41 = v40[70].m_data.m_long.longStorage; else v41 = v40[70].m_data.m_short.shortStorage.__elems_; a1->m_lockObjectRotation = atoi(v41) != 0; if ( v16[394] ) goto LABEL_47; goto LABEL_40; } } else { a1->m_rotationDegrees = 0.0; if ( v16[70] ) goto LABEL_43; } a1->m_lockObjectRotation = 0; if ( v16[394] ) { LABEL_47: v42 = a2->__begin_; if ( (a2->__begin_[394].m_data.m_short.sizex2 & 1) != 0 ) v43 = v42[394].m_data.m_long.longStorage; else v43 = v42[394].m_data.m_short.shortStorage.__elems_; a1->m_isDirectionFollowSnap360 = atoi(v43) != 0; return; } LABEL_40: a1->m_isDirectionFollowSnap360 = 0; return; } if ( m_objectID == 1914 ) { v26 = a3->__begin_; v27.i32[0] = 0; v28 = 0; if ( *((_QWORD *)a3->__begin_ + 85) ) { v29 = a2->__begin_; if ( (a2->__begin_[85].m_data.m_short.sizex2 & 1) != 0 ) v30 = v29[85].m_data.m_long.longStorage; else v30 = v29[85].m_data.m_short.shortStorage.__elems_; *(double *)v28.i64 = atof(v30); v28.f32[0] = *(double *)v28.i64; v27.i32[0] = 0; } v53 = _mm_cmpgt_ss(v28, v27); v100 = _mm_or_ps(_mm_andnot_ps(v53, (__m128)0x40000000u), _mm_and_ps(v28, v53)); if ( v26[10] ) { v54 = a2->__begin_; if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 ) v55 = v54[10].m_data.m_long.longStorage; else v55 = v54[10].m_data.m_short.shortStorage.__elems_; v27.f32[0] = atof(v55); } LODWORD(a1->m_duration) = v27.i32[0]; v56 = 0; v57 = 0; if ( v26[30] ) { v58 = a2->__begin_; if ( (a2->__begin_[30].m_data.m_short.sizex2 & 1) != 0 ) v59 = v58[30].m_data.m_long.longStorage; else v59 = v58[30].m_data.m_short.shortStorage.__elems_; v57 = atoi(v59); } a1->m_easingType = v57; LODWORD(a1->m_easingRate) = v100.i32[0]; if ( v26[71] ) { v60 = a2->__begin_; if ( (a2->__begin_[71].m_data.m_short.sizex2 & 1) != 0 ) v61 = v60[71].m_data.m_long.longStorage; else v61 = v60[71].m_data.m_short.shortStorage.__elems_; v56 = atoi(v61); } a1->m_centerGroupID = v56; if ( v26[101] ) { v62 = a2->__begin_; if ( (a2->__begin_[101].m_data.m_short.sizex2 & 1) != 0 ) v63 = v62[101].m_data.m_long.longStorage; else v63 = v62[101].m_data.m_short.shortStorage.__elems_; a1->m_moveTargetMode = atoi(v63); if ( v26[110] ) { LABEL_98: v64 = a2->__begin_; if ( (a2->__begin_[110].m_data.m_short.sizex2 & 1) != 0 ) v65 = v64[110].m_data.m_long.longStorage; else v65 = v64[110].m_data.m_short.shortStorage.__elems_; a1->m_exitStatic = atoi(v65) != 0; if ( v26[212] ) { LABEL_102: v66 = a2->__begin_; if ( (a2->__begin_[212].m_data.m_short.sizex2 & 1) != 0 ) v67 = v66[212].m_data.m_long.longStorage; else v67 = v66[212].m_data.m_short.shortStorage.__elems_; a1->m_followObject = atoi(v67) != 0; if ( v26[213] ) { LABEL_106: v68 = a2->__begin_; if ( (a2->__begin_[213].m_data.m_short.sizex2 & 1) != 0 ) v69 = v68[213].m_data.m_long.longStorage; else v69 = v68[213].m_data.m_short.shortStorage.__elems_; v70 = atof(v69); a1->m_followEasing = v70; if ( v26[453] ) { LABEL_110: v71 = a2->__begin_; if ( (a2->__begin_[453].m_data.m_short.sizex2 & 1) != 0 ) v72 = v71[453].m_data.m_long.longStorage; else v72 = v71[453].m_data.m_short.shortStorage.__elems_; a1->m_smoothVelocity = atoi(v72) != 0; if ( v26[454] ) { LABEL_114: v73 = a2->__begin_; if ( (a2->__begin_[454].m_data.m_short.sizex2 & 1) != 0 ) v74 = v73[454].m_data.m_long.longStorage; else v74 = v73[454].m_data.m_short.shortStorage.__elems_; v75 = atof(v74); a1->m_velocityModifier = v75; if ( v26[465] ) goto LABEL_118; goto LABEL_95; } LABEL_94: a1->m_velocityModifier = 0.0; if ( v26[465] ) { LABEL_118: v76 = a2->__begin_; if ( (a2->__begin_[465].m_data.m_short.sizex2 & 1) != 0 ) v77 = v76[465].m_data.m_long.longStorage; else v77 = v76[465].m_data.m_short.shortStorage.__elems_; a1->m_exitInstant = atoi(v77) != 0; return; } LABEL_95: a1->m_exitInstant = 0; return; } LABEL_93: a1->m_smoothVelocity = 0; if ( v26[454] ) goto LABEL_114; goto LABEL_94; } LABEL_92: a1->m_followEasing = 0.0; if ( v26[453] ) goto LABEL_110; goto LABEL_93; } LABEL_91: a1->m_followObject = 0; if ( v26[213] ) goto LABEL_106; goto LABEL_92; } } else { a1->m_moveTargetMode = Both; if ( v26[110] ) goto LABEL_98; } a1->m_exitStatic = 0; if ( v26[212] ) goto LABEL_102; goto LABEL_91; } if ( m_objectID == 1916 ) { v11 = a3->__begin_; v12 = 0.0; v13 = 0.0; if ( *((_QWORD *)a3->__begin_ + 28) ) { v14 = a2->__begin_; if ( (a2->__begin_[28].m_data.m_short.sizex2 & 1) != 0 ) v15 = v14[28].m_data.m_long.longStorage; else v15 = v14[28].m_data.m_short.shortStorage.__elems_; v13 = atof(v15); v12 = 0.0; } v98 = v13; if ( v11[29] ) { v80 = a2->__begin_; if ( (a2->__begin_[29].m_data.m_short.sizex2 & 1) != 0 ) v81 = v80[29].m_data.m_long.longStorage; else v81 = v80[29].m_data.m_short.shortStorage.__elems_; v12 = atof(v81); } v82.i32[0] = 0; v83 = 0; if ( v11[85] ) { v84 = a2->__begin_; v48 = (a2->__begin_[85].m_data.m_short.sizex2 & 1) == 0; v99 = v12; if ( v48 ) v85 = v84[85].m_data.m_short.shortStorage.__elems_; else v85 = v84[85].m_data.m_long.longStorage; *(double *)v83.i64 = atof(v85); v83.f32[0] = *(double *)v83.i64; v12 = v99; v82.i32[0] = 0; } v86 = _mm_cmpgt_ss(v83, v82); v100 = _mm_or_ps(_mm_andnot_ps(v86, (__m128)0x40000000u), _mm_and_ps(v83, v86)); sub_10028CBE0(v97, v98, v12); sub_10028CC90(); v87 = 0.0; v88 = a3->__begin_; if ( *((_QWORD *)a3->__begin_ + 10) ) { v89 = a2->__begin_; if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 ) v90 = v89[10].m_data.m_long.longStorage; else v90 = v89[10].m_data.m_short.shortStorage.__elems_; v87 = atof(v90); } a1->m_duration = v87; v91 = Both; v92 = 0; if ( v88[30] ) { v93 = a2->__begin_; if ( (a2->__begin_[30].m_data.m_short.sizex2 & 1) != 0 ) v94 = v93[30].m_data.m_long.longStorage; else v94 = v93[30].m_data.m_short.shortStorage.__elems_; v92 = atoi(v94); } a1->m_easingType = v92; LODWORD(a1->m_easingRate) = v100.i32[0]; if ( v88[101] ) { v95 = a2->__begin_; if ( (a2->__begin_[101].m_data.m_short.sizex2 & 1) != 0 ) v96 = v95[101].m_data.m_long.longStorage; else v96 = v95[101].m_data.m_short.shortStorage.__elems_; v91 = atoi(v96); } a1->m_moveTargetMode = v91; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source