// // GradientTriggerObject::customObjectSetup from 0x10019ceb0 to 0x10019d1c7 (791 bytes) // // 1 xrefs: // > @ 0x1008cb678 // // 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; // r13 int v6; // r15d int v7; // eax std::__vector_base::pointer v8; // rdi const char *longStorage; // rdi std::__vector_base::pointer v10; // rdi const char *elems; // rdi int v12; // r12d int v13; // eax std::__vector_base::pointer v14; // rdi const char *v15; // rdi std::__vector_base::pointer v16; // rdi const char *v17; // rdi int v18; // r12d int v19; // eax std::__vector_base::pointer v20; // rdi const char *v21; // rdi std::__vector_base::pointer v22; // rdi const char *v23; // rdi std::__vector_base::pointer v24; // rdi const char *v25; // rdi std::__vector_base::pointer v26; // rdi const char *v27; // rdi std::__vector_base::pointer v28; // rdi const char *v29; // rdi float v30; // xmm0_4 std::__vector_base::pointer v31; // rdi const char *v32; // rdi std::__vector_base::pointer v33; // rdi const char *v34; // rdi EffectGameObject::customObjectSetup(a1, a2, a3); begin = a3->__begin_; v6 = 0; v7 = 0; if ( begin[174] ) { v8 = a2->__begin_; if ( (a2->__begin_[174].m_data.m_short.sizex2 & 1) != 0 ) longStorage = v8[174].m_data.m_long.longStorage; else longStorage = v8[174].m_data.m_short.shortStorage.__elems_; v7 = (int)atof(longStorage); } a1->m_blendingMode = v7; if ( begin[202] ) { v10 = a2->__begin_; if ( (a2->__begin_[202].m_data.m_short.sizex2 & 1) != 0 ) elems = v10[202].m_data.m_long.longStorage; else elems = v10[202].m_data.m_short.shortStorage.__elems_; v6 = atoi(elems); } a1->m_blendingLayer = v6; v12 = 0; v13 = 0; if ( begin[203] ) { v14 = a2->__begin_; if ( (a2->__begin_[203].m_data.m_short.sizex2 & 1) != 0 ) v15 = v14[203].m_data.m_long.longStorage; else v15 = v14[203].m_data.m_short.shortStorage.__elems_; v13 = atoi(v15); } a1->m_upBottomLeftID = v13; if ( begin[204] ) { v16 = a2->__begin_; if ( (a2->__begin_[204].m_data.m_short.sizex2 & 1) != 0 ) v17 = v16[204].m_data.m_long.longStorage; else v17 = v16[204].m_data.m_short.shortStorage.__elems_; v12 = atoi(v17); } a1->m_downBottomRightID = v12; v18 = 0; v19 = 0; if ( begin[205] ) { v20 = a2->__begin_; if ( (a2->__begin_[205].m_data.m_short.sizex2 & 1) != 0 ) v21 = v20[205].m_data.m_long.longStorage; else v21 = v20[205].m_data.m_short.shortStorage.__elems_; v19 = atoi(v21); } a1->m_leftTopLeftID = v19; if ( begin[206] ) { v22 = a2->__begin_; if ( (a2->__begin_[206].m_data.m_short.sizex2 & 1) != 0 ) v23 = v22[206].m_data.m_long.longStorage; else v23 = v22[206].m_data.m_short.shortStorage.__elems_; v18 = atoi(v23); } a1->m_rightTopRightID = v18; if ( !begin[207] ) { a1->m_vertexMode = 0; if ( begin[208] ) goto LABEL_42; LABEL_35: a1->m_disable = 0; if ( begin[508] ) goto LABEL_50; LABEL_36: a1->m_disableAll = 0; if ( begin[209] ) goto LABEL_54; LABEL_37: a1->m_gradientID = 0; if ( !begin[456] ) goto LABEL_58; LABEL_38: v26 = a2->__begin_; if ( (a2->__begin_[456].m_data.m_short.sizex2 & 1) != 0 ) v27 = v26[456].m_data.m_long.longStorage; else v27 = v26[456].m_data.m_short.shortStorage.__elems_; v30 = atof(v27); a1->m_previewOpacity = v30; if ( v6 <= 0 ) goto LABEL_46; return; } v24 = a2->__begin_; if ( (a2->__begin_[207].m_data.m_short.sizex2 & 1) != 0 ) v25 = v24[207].m_data.m_long.longStorage; else v25 = v24[207].m_data.m_short.shortStorage.__elems_; a1->m_vertexMode = atoi(v25) != 0; if ( !begin[208] ) goto LABEL_35; LABEL_42: v28 = a2->__begin_; if ( (a2->__begin_[208].m_data.m_short.sizex2 & 1) != 0 ) v29 = v28[208].m_data.m_long.longStorage; else v29 = v28[208].m_data.m_short.shortStorage.__elems_; a1->m_disable = atoi(v29) != 0; if ( !begin[508] ) goto LABEL_36; LABEL_50: v31 = a2->__begin_; if ( (a2->__begin_[508].m_data.m_short.sizex2 & 1) != 0 ) v32 = v31[508].m_data.m_long.longStorage; else v32 = v31[508].m_data.m_short.shortStorage.__elems_; a1->m_disableAll = atoi(v32) != 0; if ( !begin[209] ) goto LABEL_37; LABEL_54: v33 = a2->__begin_; if ( (a2->__begin_[209].m_data.m_short.sizex2 & 1) != 0 ) v34 = v33[209].m_data.m_long.longStorage; else v34 = v33[209].m_data.m_short.shortStorage.__elems_; a1->m_gradientID = atoi(v34); if ( begin[456] ) goto LABEL_38; LABEL_58: a1->m_previewOpacity = 0.0; if ( v6 <= 0 ) LABEL_46: a1->m_blendingLayer = 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source