// // GradientTriggerObject::customObjectSetup from 0x10037ae24 to 0x10037b0a8 (644 bytes) // // 1 xrefs: // > @ 0x1007fc6f0 // // 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 GradientTriggerObject::customObjectSetup( GradientTriggerObject *a1, std::vector *a2, std::vector *a3) { std::__vector_base::pointer begin; // x22 __int64 v7; // x8 std::__vector_base::pointer capacitym1; // x0 std::__vector_base::pointer v9; // x0 int v10; // w21 std::__vector_base::pointer v11; // x0 int v12; // w0 std::__vector_base::pointer v13; // x0 int v14; // w0 std::__vector_base::pointer v15; // x0 int v16; // w0 std::__vector_base::pointer v17; // x0 int v18; // w0 void *v19; // x8 std::__vector_base::pointer v20; // x0 void *v21; // x8 std::__vector_base::pointer v22; // x0 void *v23; // x8 std::__vector_base::pointer v24; // x0 std::__vector_base::pointer v25; // x0 int v26; // w0 std::__vector_base::pointer v27; // x0 float v28; // s0 EffectGameObject::customObjectSetup(a1, a2, a3); begin = a3->__begin_; v7 = *((_QWORD *)a3->__begin_ + 174); if ( v7 ) { capacitym1 = a2->__begin_ + 174; if ( a2->__begin_[174].m_data.m_short.shortStorage.__elems_[22] < 0 ) capacitym1 = (std::__vector_base::pointer)capacitym1->m_data.m_long.capacitym1; LODWORD(v7) = (int)atof((const char *)capacitym1); } a1->m_blendingMode = v7; if ( begin[202] ) { v9 = a2->__begin_ + 202; if ( a2->__begin_[202].m_data.m_short.shortStorage.__elems_[22] < 0 ) v9 = (std::__vector_base::pointer)v9->m_data.m_long.capacitym1; v10 = atoi((const char *)v9); } else { v10 = 0; } a1->m_blendingLayer = v10; if ( begin[203] ) { v11 = a2->__begin_ + 203; if ( a2->__begin_[203].m_data.m_short.shortStorage.__elems_[22] < 0 ) v11 = (std::__vector_base::pointer)v11->m_data.m_long.capacitym1; v12 = atoi((const char *)v11); } else { v12 = 0; } a1->m_upBottomLeftID = v12; if ( begin[204] ) { v13 = a2->__begin_ + 204; if ( a2->__begin_[204].m_data.m_short.shortStorage.__elems_[22] < 0 ) v13 = (std::__vector_base::pointer)v13->m_data.m_long.capacitym1; v14 = atoi((const char *)v13); } else { v14 = 0; } a1->m_downBottomRightID = v14; if ( begin[205] ) { v15 = a2->__begin_ + 205; if ( a2->__begin_[205].m_data.m_short.shortStorage.__elems_[22] < 0 ) v15 = (std::__vector_base::pointer)v15->m_data.m_long.capacitym1; v16 = atoi((const char *)v15); } else { v16 = 0; } a1->m_leftTopLeftID = v16; if ( begin[206] ) { v17 = a2->__begin_ + 206; if ( a2->__begin_[206].m_data.m_short.shortStorage.__elems_[22] < 0 ) v17 = (std::__vector_base::pointer)v17->m_data.m_long.capacitym1; v18 = atoi((const char *)v17); } else { v18 = 0; } a1->m_rightTopRightID = v18; v19 = begin[207]; if ( v19 ) { v20 = a2->__begin_ + 207; if ( a2->__begin_[207].m_data.m_short.shortStorage.__elems_[22] < 0 ) v20 = (std::__vector_base::pointer)v20->m_data.m_long.capacitym1; LOBYTE(v19) = atoi((const char *)v20) != 0; } a1->m_vertexMode = (char)v19; v21 = begin[208]; if ( v21 ) { v22 = a2->__begin_ + 208; if ( a2->__begin_[208].m_data.m_short.shortStorage.__elems_[22] < 0 ) v22 = (std::__vector_base::pointer)v22->m_data.m_long.capacitym1; LOBYTE(v21) = atoi((const char *)v22) != 0; } a1->m_disable = (char)v21; v23 = begin[508]; if ( v23 ) { v24 = a2->__begin_ + 508; if ( a2->__begin_[508].m_data.m_short.shortStorage.__elems_[22] < 0 ) v24 = (std::__vector_base::pointer)v24->m_data.m_long.capacitym1; LOBYTE(v23) = atoi((const char *)v24) != 0; } a1->m_disableAll = (char)v23; if ( begin[209] ) { v25 = a2->__begin_ + 209; if ( a2->__begin_[209].m_data.m_short.shortStorage.__elems_[22] < 0 ) v25 = (std::__vector_base::pointer)v25->m_data.m_long.capacitym1; v26 = atoi((const char *)v25); } else { v26 = 0; } a1->m_gradientID = v26; if ( begin[456] ) { v27 = a2->__begin_ + 456; if ( a2->__begin_[456].m_data.m_short.shortStorage.__elems_[22] < 0 ) v27 = (std::__vector_base::pointer)v27->m_data.m_long.capacitym1; v28 = atof((const char *)v27); } else { v28 = 0.0; } a1->m_previewOpacity = v28; if ( v10 <= 0 ) a1->m_blendingLayer = 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source