// // SpawnParticleGameObject::customObjectSetup from 0x1003987c8 to 0x100398a8c (708 bytes) // // 1 xrefs: // > @ 0x100809140 // // 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 SpawnParticleGameObject::customObjectSetup( SpawnParticleGameObject *a1, std::vector *a2, std::vector *a3) { __n128 v6; // q0 __n128 v7; // q1 std::__vector_base::pointer begin; // x22 std::__vector_base::pointer capacitym1; // x0 int v10; // w0 int v11; // w8 std::__vector_base::pointer v12; // x0 int v13; // w0 int v14; // w8 float v15; // s8 float v16; // s9 std::__vector_base::pointer v17; // x0 std::__vector_base::pointer v18; // x0 __n128 v19; // q0 __n128 v20; // q1 std::__vector_base::pointer v21; // x22 float v22; // s8 float v23; // s9 std::__vector_base::pointer v24; // x0 std::__vector_base::pointer v25; // x0 std::__vector_base::pointer v26; // x21 void *v27; // x8 std::__vector_base::pointer v28; // x0 float v29; // s8 float v30; // s0 std::__vector_base::pointer v31; // x0 std::__vector_base::pointer v32; // x0 float v33; // s8 float v34; // s0 std::__vector_base::pointer v35; // x0 std::__vector_base::pointer v36; // x0 double v37; // [xsp+8h] [xbp-48h] BYREF EffectGameObject::customObjectSetup(a1, a2, a3); begin = a3->__begin_; if ( *((_QWORD *)a3->__begin_ + 51) ) { capacitym1 = a2->__begin_ + 51; if ( a2->__begin_[51].m_data.m_short.shortStorage.__elems_[22] < 0 ) capacitym1 = (std::__vector_base::pointer)capacitym1->m_data.m_long.capacitym1; v10 = atoi((const char *)capacitym1); } else { v10 = 0; } v11 = v10 & ~(v10 >> 31); if ( v11 >= 9999 ) v11 = 9999; a1->m_targetGroupID = v11; if ( begin[71] ) { v12 = a2->__begin_ + 71; if ( a2->__begin_[71].m_data.m_short.shortStorage.__elems_[22] < 0 ) v12 = (std::__vector_base::pointer)v12->m_data.m_long.capacitym1; v13 = atoi((const char *)v12); } else { v13 = 0; } v14 = v13 & ~(v13 >> 31); if ( v14 >= 9999 ) v14 = 9999; a1->m_centerGroupID = v14; v15 = 0.0; v16 = 0.0; if ( begin[547] ) { v17 = a2->__begin_ + 547; if ( a2->__begin_[547].m_data.m_short.shortStorage.__elems_[22] < 0 ) v17 = (std::__vector_base::pointer)v17->m_data.m_long.capacitym1; v6.n128_f64[0] = atof((const char *)v17); v16 = v6.n128_f64[0]; } if ( begin[548] ) { v18 = a2->__begin_ + 548; if ( a2->__begin_[548].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); v15 = v6.n128_f64[0]; } v6.n128_f32[0] = v16; v7.n128_f32[0] = v15; sub_100022980(v6, v7, &v37); v19.n128_f64[0] = sub_1000229D0(&a1->m_offset, &v37); v21 = a3->__begin_; v22 = 0.0; v23 = 0.0; if ( *((_QWORD *)a3->__begin_ + 549) ) { v24 = a2->__begin_ + 549; if ( a2->__begin_[549].m_data.m_short.shortStorage.__elems_[22] < 0 ) v24 = (std::__vector_base::pointer)v24->m_data.m_long.capacitym1; v19.n128_f64[0] = atof((const char *)v24); v23 = v19.n128_f64[0]; } if ( v21[550] ) { v25 = a2->__begin_ + 550; if ( a2->__begin_[550].m_data.m_short.shortStorage.__elems_[22] < 0 ) v25 = (std::__vector_base::pointer)v25->m_data.m_long.capacitym1; v19.n128_f64[0] = atof((const char *)v25); v22 = v19.n128_f64[0]; } v19.n128_f32[0] = v23; v20.n128_f32[0] = v22; sub_100022980(v19, v20, &v37); sub_1000229D0(&a1->m_offsetVariance, &v37); v26 = a3->__begin_; v27 = v26[551]; if ( v27 ) { v28 = a2->__begin_ + 551; if ( a2->__begin_[551].m_data.m_short.shortStorage.__elems_[22] < 0 ) v28 = (std::__vector_base::pointer)v28->m_data.m_long.capacitym1; LOBYTE(v27) = atoi((const char *)v28) != 0; } a1->m_matchRotation = (char)v27; v29 = 0.0; v30 = 0.0; if ( v26[552] ) { v31 = a2->__begin_ + 552; if ( a2->__begin_[552].m_data.m_short.shortStorage.__elems_[22] < 0 ) v31 = (std::__vector_base::pointer)v31->m_data.m_long.capacitym1; v30 = atof((const char *)v31); } a1->m_rotation = v30; if ( v26[553] ) { v32 = a2->__begin_ + 553; if ( a2->__begin_[553].m_data.m_short.shortStorage.__elems_[22] < 0 ) v32 = (std::__vector_base::pointer)v32->m_data.m_long.capacitym1; v29 = atof((const char *)v32); } a1->m_rotationVariance = v29; v33 = 0.0; v34 = 0.0; if ( v26[554] ) { v35 = a2->__begin_ + 554; if ( a2->__begin_[554].m_data.m_short.shortStorage.__elems_[22] < 0 ) v35 = (std::__vector_base::pointer)v35->m_data.m_long.capacitym1; v34 = atof((const char *)v35); } a1->m_scale = v34; if ( v26[555] ) { v36 = a2->__begin_ + 555; if ( a2->__begin_[555].m_data.m_short.shortStorage.__elems_[22] < 0 ) v36 = (std::__vector_base::pointer)v36->m_data.m_long.capacitym1; v33 = atof((const char *)v36); } a1->m_scaleVariance = v33; }
GD Web Decomp Icon

GD Web Decomp

Raw Source