// // CameraTriggerGameObject::customObjectSetup from 0x100393a70 to 0x1003940a8 (1592 bytes) // // 1 xrefs: // > @ 0x1008048b0 // // 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) { __n128 v6; // q0 __n128 v7; // q1 int m_objectID; // w8 std::__vector_base::pointer v9; // x21 std::__vector_base::pointer v10; // x0 int v11; // w0 std::__vector_base::pointer v12; // x22 float v13; // s8 float v14; // s9 std::__vector_base::pointer v15; // x0 std::__vector_base::pointer v16; // x0 float v17; // s11 std::__vector_base::pointer v18; // x0 float v19; // s10 std::__vector_base::pointer v20; // x21 std::__vector_base::pointer v21; // x0 std::__vector_base::pointer v22; // x0 EasingType v23; // w0 std::__vector_base::pointer v24; // x21 float v25; // s9 float v26; // s0 std::__vector_base::pointer v27; // x0 float v28; // s8 std::__vector_base::pointer v29; // x0 std::__vector_base::pointer v30; // x0 EasingType v31; // w0 std::__vector_base::pointer v32; // x22 float v33; // s8 std::__vector_base::pointer v34; // x0 std::__vector_base::pointer v35; // x0 float v36; // s9 std::__vector_base::pointer v37; // x0 std::__vector_base::pointer v38; // x0 std::__vector_base::pointer begin; // x21 float v40; // s9 float v41; // s0 std::__vector_base::pointer capacitym1; // x0 float v43; // s8 std::__vector_base::pointer v44; // x0 std::__vector_base::pointer v45; // x0 EasingType v46; // w0 std::__vector_base::pointer v47; // x0 float v48; // s0 void *v49; // x8 std::__vector_base::pointer v50; // x0 void *v51; // x8 std::__vector_base::pointer v52; // x0 std::__vector_base::pointer v53; // x0 int v54; // w0 std::__vector_base::pointer v55; // x0 MoveTargetType v56; // w0 void *v57; // x8 std::__vector_base::pointer v58; // x0 void *v59; // x8 std::__vector_base::pointer v60; // x0 std::__vector_base::pointer v61; // x0 float v62; // s0 void *v63; // x8 std::__vector_base::pointer v64; // x0 std::__vector_base::pointer v65; // x0 float v66; // s0 void *v67; // x8 std::__vector_base::pointer v68; // x0 std::__vector_base::pointer v69; // x0 int v70; // w0 std::__vector_base::pointer v71; // x0 MoveTargetType v72; // w0 double v73; // [xsp+8h] [xbp-48h] BYREF EffectGameObject::customObjectSetup(a1, a2, a3); m_objectID = a1->m_objectID; if ( m_objectID <= 2014 ) { if ( m_objectID == 1914 ) { begin = a3->__begin_; v40 = 0.0; v41 = 0.0; if ( begin[85] ) { capacitym1 = a2->__begin_ + 85; if ( a2->__begin_[85].m_data.m_short.shortStorage.__elems_[22] < 0 ) capacitym1 = (std::__vector_base::pointer)capacitym1->m_data.m_long.capacitym1; v41 = atof((const char *)capacitym1); } if ( v41 <= 0.0 ) v43 = 2.0; else v43 = v41; if ( begin[10] ) { v44 = a2->__begin_ + 10; if ( a2->__begin_[10].m_data.m_short.shortStorage.__elems_[22] < 0 ) v44 = (std::__vector_base::pointer)v44->m_data.m_long.capacitym1; v40 = atof((const char *)v44); } a1->m_duration = v40; if ( begin[30] ) { v45 = a2->__begin_ + 30; if ( a2->__begin_[30].m_data.m_short.shortStorage.__elems_[22] < 0 ) v45 = (std::__vector_base::pointer)v45->m_data.m_long.capacitym1; v46 = atoi((const char *)v45); } else { v46 = 0; } a1->m_easingType = v46; a1->m_easingRate = v43; if ( begin[71] ) { v53 = a2->__begin_ + 71; if ( a2->__begin_[71].m_data.m_short.shortStorage.__elems_[22] < 0 ) v53 = (std::__vector_base::pointer)v53->m_data.m_long.capacitym1; v54 = atoi((const char *)v53); } else { v54 = 0; } a1->m_centerGroupID = v54; if ( begin[101] ) { v55 = a2->__begin_ + 101; if ( a2->__begin_[101].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 = Both; } a1->m_moveTargetMode = v56; v57 = begin[110]; if ( v57 ) { v58 = a2->__begin_ + 110; if ( a2->__begin_[110].m_data.m_short.shortStorage.__elems_[22] < 0 ) v58 = (std::__vector_base::pointer)v58->m_data.m_long.capacitym1; LOBYTE(v57) = atoi((const char *)v58) != 0; } a1->m_exitStatic = (char)v57; v59 = begin[212]; if ( v59 ) { v60 = a2->__begin_ + 212; if ( a2->__begin_[212].m_data.m_short.shortStorage.__elems_[22] < 0 ) v60 = (std::__vector_base::pointer)v60->m_data.m_long.capacitym1; LOBYTE(v59) = atoi((const char *)v60) != 0; } a1->m_followObject = (char)v59; if ( begin[213] ) { v61 = a2->__begin_ + 213; if ( a2->__begin_[213].m_data.m_short.shortStorage.__elems_[22] < 0 ) v61 = (std::__vector_base::pointer)v61->m_data.m_long.capacitym1; v62 = atof((const char *)v61); } else { v62 = 0.0; } a1->m_followEasing = v62; v63 = begin[453]; if ( v63 ) { v64 = a2->__begin_ + 453; if ( a2->__begin_[453].m_data.m_short.shortStorage.__elems_[22] < 0 ) v64 = (std::__vector_base::pointer)v64->m_data.m_long.capacitym1; LOBYTE(v63) = atoi((const char *)v64) != 0; } a1->m_smoothVelocity = (char)v63; if ( begin[454] ) { v65 = a2->__begin_ + 454; if ( a2->__begin_[454].m_data.m_short.shortStorage.__elems_[22] < 0 ) v65 = (std::__vector_base::pointer)v65->m_data.m_long.capacitym1; v66 = atof((const char *)v65); } else { v66 = 0.0; } a1->m_velocityModifier = v66; v67 = begin[465]; if ( v67 ) { v68 = a2->__begin_ + 465; if ( a2->__begin_[465].m_data.m_short.shortStorage.__elems_[22] < 0 ) v68 = (std::__vector_base::pointer)v68->m_data.m_long.capacitym1; LOBYTE(v67) = atoi((const char *)v68) != 0; } a1->m_exitInstant = (char)v67; } else if ( m_objectID == 1916 ) { v12 = a3->__begin_; v13 = 0.0; v14 = 0.0; if ( *((_QWORD *)a3->__begin_ + 28) ) { v15 = a2->__begin_ + 28; if ( a2->__begin_[28].m_data.m_short.shortStorage.__elems_[22] < 0 ) v15 = (std::__vector_base::pointer)v15->m_data.m_long.capacitym1; v6.n128_f64[0] = atof((const char *)v15); v14 = v6.n128_f64[0]; } if ( v12[29] ) { v16 = a2->__begin_ + 29; if ( a2->__begin_[29].m_data.m_short.shortStorage.__elems_[22] < 0 ) v16 = (std::__vector_base::pointer)v16->m_data.m_long.capacitym1; v6.n128_f64[0] = atof((const char *)v16); v13 = v6.n128_f64[0]; } v17 = 0.0; v6.n128_u32[0] = 0; if ( v12[85] ) { v18 = a2->__begin_ + 85; if ( a2->__begin_[85].m_data.m_short.shortStorage.__elems_[22] < 0 ) v18 = (std::__vector_base::pointer)v18->m_data.m_long.capacitym1; v6.n128_f64[0] = atof((const char *)v18); v6.n128_f32[0] = v6.n128_f64[0]; } if ( v6.n128_f32[0] <= 0.0 ) v19 = 2.0; else v19 = v6.n128_f32[0]; v6.n128_f32[0] = v14; v7.n128_f32[0] = v13; sub_100022980(v6, v7, &v73); sub_1000229D0(&a1->m_moveOffset, &v73); v20 = a3->__begin_; if ( v20[10] ) { v21 = a2->__begin_ + 10; if ( a2->__begin_[10].m_data.m_short.shortStorage.__elems_[22] < 0 ) v21 = (std::__vector_base::pointer)v21->m_data.m_long.capacitym1; v17 = atof((const char *)v21); } a1->m_duration = v17; if ( v20[30] ) { v22 = a2->__begin_ + 30; if ( a2->__begin_[30].m_data.m_short.shortStorage.__elems_[22] < 0 ) v22 = (std::__vector_base::pointer)v22->m_data.m_long.capacitym1; v23 = atoi((const char *)v22); } else { v23 = 0; } a1->m_easingType = v23; a1->m_easingRate = v19; if ( v20[101] ) { v71 = a2->__begin_ + 101; if ( a2->__begin_[101].m_data.m_short.shortStorage.__elems_[22] < 0 ) v71 = (std::__vector_base::pointer)v71->m_data.m_long.capacitym1; v72 = atoi((const char *)v71); } else { v72 = Both; } a1->m_moveTargetMode = v72; } } else { switch ( m_objectID ) { case 2015: v24 = a3->__begin_; v25 = 0.0; v26 = 0.0; if ( v24[85] ) { v27 = a2->__begin_ + 85; if ( a2->__begin_[85].m_data.m_short.shortStorage.__elems_[22] < 0 ) v27 = (std::__vector_base::pointer)v27->m_data.m_long.capacitym1; v26 = atof((const char *)v27); } if ( v26 <= 0.0 ) v28 = 2.0; else v28 = v26; if ( v24[10] ) { v29 = a2->__begin_ + 10; if ( a2->__begin_[10].m_data.m_short.shortStorage.__elems_[22] < 0 ) v29 = (std::__vector_base::pointer)v29->m_data.m_long.capacitym1; v25 = atof((const char *)v29); } a1->m_duration = v25; if ( v24[30] ) { v30 = a2->__begin_ + 30; if ( a2->__begin_[30].m_data.m_short.shortStorage.__elems_[22] < 0 ) v30 = (std::__vector_base::pointer)v30->m_data.m_long.capacitym1; v31 = atoi((const char *)v30); } else { v31 = 0; } a1->m_easingType = v31; a1->m_easingRate = v28; if ( v24[68] ) { v47 = a2->__begin_ + 68; if ( a2->__begin_[68].m_data.m_short.shortStorage.__elems_[22] < 0 ) v47 = (std::__vector_base::pointer)v47->m_data.m_long.capacitym1; v48 = atof((const char *)v47); } else { v48 = 0.0; } a1->m_rotationDegrees = v48; v49 = v24[70]; if ( v49 ) { v50 = a2->__begin_ + 70; if ( a2->__begin_[70].m_data.m_short.shortStorage.__elems_[22] < 0 ) v50 = (std::__vector_base::pointer)v50->m_data.m_long.capacitym1; LOBYTE(v49) = atoi((const char *)v50) != 0; } a1->m_lockObjectRotation = (char)v49; v51 = v24[394]; if ( v51 ) { v52 = a2->__begin_ + 394; if ( a2->__begin_[394].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_isDirectionFollowSnap360 = (char)v51; break; case 2016: v32 = a3->__begin_; v33 = 0.0; v6.n128_u32[0] = 0; if ( *((_QWORD *)a3->__begin_ + 371) ) { v34 = a2->__begin_ + 371; if ( a2->__begin_[371].m_data.m_short.shortStorage.__elems_[22] < 0 ) v34 = (std::__vector_base::pointer)v34->m_data.m_long.capacitym1; v6.n128_f64[0] = atof((const char *)v34); v6.n128_f32[0] = v6.n128_f64[0]; } LODWORD(a1->m_zoomValue) = v6.n128_u32[0]; if ( v32[28] ) { v35 = a2->__begin_ + 28; if ( a2->__begin_[28].m_data.m_short.shortStorage.__elems_[22] < 0 ) v35 = (std::__vector_base::pointer)v35->m_data.m_long.capacitym1; v6.n128_f64[0] = atof((const char *)v35); v33 = v6.n128_f64[0]; } v36 = 0.0; v7.n128_u32[0] = 0; if ( v32[29] ) { v37 = a2->__begin_ + 29; if ( a2->__begin_[29].m_data.m_short.shortStorage.__elems_[22] < 0 ) v37 = (std::__vector_base::pointer)v37->m_data.m_long.capacitym1; v6.n128_f64[0] = atof((const char *)v37); v7.n128_f32[0] = v6.n128_f64[0]; } v6.n128_f32[0] = v33; sub_100022980(v6, v7, &v73); sub_1000229D0(&a1->m_moveOffset, &v73); if ( *((_QWORD *)a3->__begin_ + 506) ) { v38 = a2->__begin_ + 506; if ( a2->__begin_[506].m_data.m_short.shortStorage.__elems_[22] < 0 ) v38 = (std::__vector_base::pointer)v38->m_data.m_long.capacitym1; v36 = atof((const char *)v38); } a1->m_previewOpacity = v36; break; case 2062: v9 = a3->__begin_; if ( v9[51] ) { v10 = a2->__begin_ + 51; if ( a2->__begin_[51].m_data.m_short.shortStorage.__elems_[22] < 0 ) v10 = (std::__vector_base::pointer)v10->m_data.m_long.capacitym1; v11 = atoi((const char *)v10); } else { v11 = 0; } a1->m_targetGroupID = v11; if ( v9[164] ) { v69 = a2->__begin_ + 164; if ( a2->__begin_[164].m_data.m_short.shortStorage.__elems_[22] < 0 ) v69 = (std::__vector_base::pointer)v69->m_data.m_long.capacitym1; v70 = atoi((const char *)v69); } else { v70 = 0; } a1->m_edgeDirection = v70; break; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source