// // ItemTriggerGameObject::customObjectSetup from 0x1404c0dd0 to 0x1404c1447 (1655 bytes) // // 4 xrefs: // > @ 0x140612460 // > @ 0x1406a8f4c // > @ 0x1406a8f5c // > @ 0x1406dcee4 // // 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 ItemTriggerGameObject::customObjectSetup( ItemTriggerGameObject *a1, std::vector *a2, std::vector *a3) { int v6; // ebx int v7; // eax std::_Vector_val>::pointer v8; // rcx int v9; // eax std::_Vector_val>::pointer v10; // rcx int v11; // eax std::_Vector_val>::pointer v12; // rcx int v13; // eax std::_Vector_val>::pointer v14; // rcx std::_Vector_val>::pointer v15; // rcx int v16; // ebx int v17; // eax std::_Vector_val>::pointer v18; // rcx int v19; // eax std::_Vector_val>::pointer v20; // rcx int v21; // eax std::_Vector_val>::pointer v22; // rcx int v23; // eax std::_Vector_val>::pointer v24; // rcx int v25; // eax std::_Vector_val>::pointer v26; // rcx int v27; // eax std::_Vector_val>::pointer v28; // rcx double v29; // xmm6_8 double v30; // xmm0_8 std::_Vector_val>::pointer v31; // rcx float v32; // xmm0_4 double v33; // xmm0_8 std::_Vector_val>::pointer v34; // rcx float v35; // xmm0_4 int v36; // eax std::_Vector_val>::pointer v37; // rcx int v38; // eax std::_Vector_val>::pointer v39; // rcx int v40; // eax std::_Vector_val>::pointer v41; // rcx std::_Vector_val>::pointer v42; // rcx float v43; // xmm0_4 int v44; // eax std::_Vector_val>::pointer m_bigStorage; // rcx int v46; // eax std::_Vector_val>::pointer v47; // rcx int v48; // eax std::_Vector_val>::pointer v49; // rcx int v50; // eax std::_Vector_val>::pointer v51; // rcx int v52; // eax std::_Vector_val>::pointer v53; // rcx int v54; // eax std::_Vector_val>::pointer v55; // rcx double v56; // xmm0_8 std::_Vector_val>::pointer v57; // rcx float v58; // xmm0_4 int v59; // eax std::_Vector_val>::pointer v60; // rcx int v61; // eax std::_Vector_val>::pointer v62; // rcx int v63; // eax std::_Vector_val>::pointer v64; // rcx int v65; // eax std::_Vector_val>::pointer v66; // rcx int v67; // eax std::_Vector_val>::pointer v68; // rcx int v69; // eax std::_Vector_val>::pointer v70; // rcx std::_Vector_val>::pointer v71; // rcx EffectGameObject::customObjectSetup(a1, a2, a3); if ( a1->m_objectID == 3619 ) { v16 = 0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 80) ) { m_bigStorage = a2->_Mypair._Myval2._Myfirst + 80; if ( a2->_Mypair._Myval2._Myfirst[80].m_data.m_capacity > 0xF ) m_bigStorage = (std::_Vector_val>::pointer)m_bigStorage->m_data.m_bigStorage; v44 = atoi(m_bigStorage->m_data.m_smallStorage._Elems); } else { v44 = 0; } a1->m_itemID = v44; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 95) ) { v47 = a2->_Mypair._Myval2._Myfirst + 95; if ( a2->_Mypair._Myval2._Myfirst[95].m_data.m_capacity > 0xF ) v47 = (std::_Vector_val>::pointer)v47->m_data.m_bigStorage; v46 = atoi(v47->m_data.m_smallStorage._Elems); } else { v46 = 0; } a1->m_itemID2 = v46; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 476) ) { v49 = a2->_Mypair._Myval2._Myfirst + 476; if ( a2->_Mypair._Myval2._Myfirst[476].m_data.m_capacity > 0xF ) v49 = (std::_Vector_val>::pointer)v49->m_data.m_bigStorage; v48 = atoi(v49->m_data.m_smallStorage._Elems); } else { v48 = 0; } a1->m_item1Mode = v48; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 477) ) { v51 = a2->_Mypair._Myval2._Myfirst + 477; if ( a2->_Mypair._Myval2._Myfirst[477].m_data.m_capacity > 0xF ) v51 = (std::_Vector_val>::pointer)v51->m_data.m_bigStorage; v50 = atoi(v51->m_data.m_smallStorage._Elems); } else { v50 = 0; } a1->m_item2Mode = v50; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 478) ) { v53 = a2->_Mypair._Myval2._Myfirst + 478; if ( a2->_Mypair._Myval2._Myfirst[478].m_data.m_capacity > 0xF ) v53 = (std::_Vector_val>::pointer)v53->m_data.m_bigStorage; v52 = atoi(v53->m_data.m_smallStorage._Elems); } else { v52 = 0; } a1->m_targetItemMode = v52; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 51) ) { v55 = a2->_Mypair._Myval2._Myfirst + 51; if ( a2->_Mypair._Myval2._Myfirst[51].m_data.m_capacity > 0xF ) v55 = (std::_Vector_val>::pointer)v55->m_data.m_bigStorage; v54 = atoi(v55->m_data.m_smallStorage._Elems); } else { v54 = 0; } a1->m_targetGroupID = v54; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 479) ) { v57 = a2->_Mypair._Myval2._Myfirst + 479; if ( a2->_Mypair._Myval2._Myfirst[479].m_data.m_capacity > 0xF ) v57 = (std::_Vector_val>::pointer)v57->m_data.m_bigStorage; v56 = atof(v57->m_data.m_smallStorage._Elems); } else { v56 = 0.0; } v58 = v56; a1->m_mod1 = v58; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 480) ) { v60 = a2->_Mypair._Myval2._Myfirst + 480; if ( a2->_Mypair._Myval2._Myfirst[480].m_data.m_capacity > 0xF ) v60 = (std::_Vector_val>::pointer)v60->m_data.m_bigStorage; v59 = atoi(v60->m_data.m_smallStorage._Elems); } else { v59 = 0; } a1->m_resultType1 = v59; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 481) ) { v62 = a2->_Mypair._Myval2._Myfirst + 481; if ( a2->_Mypair._Myval2._Myfirst[481].m_data.m_capacity > 0xF ) v62 = (std::_Vector_val>::pointer)v62->m_data.m_bigStorage; v61 = atoi(v62->m_data.m_smallStorage._Elems); } else { v61 = 0; } a1->m_resultType2 = v61; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 482) ) { v64 = a2->_Mypair._Myval2._Myfirst + 482; if ( a2->_Mypair._Myval2._Myfirst[482].m_data.m_capacity > 0xF ) v64 = (std::_Vector_val>::pointer)v64->m_data.m_bigStorage; v63 = atoi(v64->m_data.m_smallStorage._Elems); } else { v63 = 0; } a1->m_resultType3 = v63; } else { if ( a1->m_objectID != 3620 ) { if ( a1->m_objectID == 3641 ) { v6 = 0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 80) ) { v8 = a2->_Mypair._Myval2._Myfirst + 80; if ( a2->_Mypair._Myval2._Myfirst[80].m_data.m_capacity > 0xF ) v8 = (std::_Vector_val>::pointer)v8->m_data.m_bigStorage; v7 = atoi(v8->m_data.m_smallStorage._Elems); } else { v7 = 0; } a1->m_itemID = v7; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 491) ) { v10 = a2->_Mypair._Myval2._Myfirst + 491; if ( a2->_Mypair._Myval2._Myfirst[491].m_data.m_capacity > 0xF ) v10 = (std::_Vector_val>::pointer)v10->m_data.m_bigStorage; v9 = atoi(v10->m_data.m_smallStorage._Elems); } else { v9 = 0; } a1->m_persistent = v9 != 0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 492) ) { v12 = a2->_Mypair._Myval2._Myfirst + 492; if ( a2->_Mypair._Myval2._Myfirst[492].m_data.m_capacity > 0xF ) v12 = (std::_Vector_val>::pointer)v12->m_data.m_bigStorage; v11 = atoi(v12->m_data.m_smallStorage._Elems); } else { v11 = 0; } a1->m_targetAll = v11 != 0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 493) ) { v14 = a2->_Mypair._Myval2._Myfirst + 493; if ( a2->_Mypair._Myval2._Myfirst[493].m_data.m_capacity > 0xF ) v14 = (std::_Vector_val>::pointer)v14->m_data.m_bigStorage; v13 = atoi(v14->m_data.m_smallStorage._Elems); } else { v13 = 0; } a1->m_reset = v13 != 0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 494) ) { v15 = a2->_Mypair._Myval2._Myfirst + 494; if ( a2->_Mypair._Myval2._Myfirst[494].m_data.m_capacity > 0xF ) v15 = (std::_Vector_val>::pointer)v15->m_data.m_bigStorage; v6 = atoi(v15->m_data.m_smallStorage._Elems); } a1->m_timer = v6 != 0; } return; } v16 = 0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 80) ) { v18 = a2->_Mypair._Myval2._Myfirst + 80; if ( a2->_Mypair._Myval2._Myfirst[80].m_data.m_capacity > 0xF ) v18 = (std::_Vector_val>::pointer)v18->m_data.m_bigStorage; v17 = atoi(v18->m_data.m_smallStorage._Elems); } else { v17 = 0; } a1->m_itemID = v17; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 95) ) { v20 = a2->_Mypair._Myval2._Myfirst + 95; if ( a2->_Mypair._Myval2._Myfirst[95].m_data.m_capacity > 0xF ) v20 = (std::_Vector_val>::pointer)v20->m_data.m_bigStorage; v19 = atoi(v20->m_data.m_smallStorage._Elems); } else { v19 = 0; } a1->m_itemID2 = v19; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 51) ) { v22 = a2->_Mypair._Myval2._Myfirst + 51; if ( a2->_Mypair._Myval2._Myfirst[51].m_data.m_capacity > 0xF ) v22 = (std::_Vector_val>::pointer)v22->m_data.m_bigStorage; v21 = atoi(v22->m_data.m_smallStorage._Elems); } else { v21 = 0; } a1->m_targetGroupID = v21; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 71) ) { v24 = a2->_Mypair._Myval2._Myfirst + 71; if ( a2->_Mypair._Myval2._Myfirst[71].m_data.m_capacity > 0xF ) v24 = (std::_Vector_val>::pointer)v24->m_data.m_bigStorage; v23 = atoi(v24->m_data.m_smallStorage._Elems); } else { v23 = 0; } a1->m_centerGroupID = v23; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 476) ) { v26 = a2->_Mypair._Myval2._Myfirst + 476; if ( a2->_Mypair._Myval2._Myfirst[476].m_data.m_capacity > 0xF ) v26 = (std::_Vector_val>::pointer)v26->m_data.m_bigStorage; v25 = atoi(v26->m_data.m_smallStorage._Elems); } else { v25 = 0; } a1->m_item1Mode = v25; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 477) ) { v28 = a2->_Mypair._Myval2._Myfirst + 477; if ( a2->_Mypair._Myval2._Myfirst[477].m_data.m_capacity > 0xF ) v28 = (std::_Vector_val>::pointer)v28->m_data.m_bigStorage; v27 = atoi(v28->m_data.m_smallStorage._Elems); } else { v27 = 0; } a1->m_item2Mode = v27; v29 = 0.0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 479) ) { v31 = a2->_Mypair._Myval2._Myfirst + 479; if ( a2->_Mypair._Myval2._Myfirst[479].m_data.m_capacity > 0xF ) v31 = (std::_Vector_val>::pointer)v31->m_data.m_bigStorage; v30 = atof(v31->m_data.m_smallStorage._Elems); } else { v30 = 0.0; } v32 = v30; a1->m_mod1 = v32; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 483) ) { v34 = a2->_Mypair._Myval2._Myfirst + 483; if ( a2->_Mypair._Myval2._Myfirst[483].m_data.m_capacity > 0xF ) v34 = (std::_Vector_val>::pointer)v34->m_data.m_bigStorage; v33 = atof(v34->m_data.m_smallStorage._Elems); } else { v33 = 0.0; } v35 = v33; a1->m_mod2 = v35; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 480) ) { v37 = a2->_Mypair._Myval2._Myfirst + 480; if ( a2->_Mypair._Myval2._Myfirst[480].m_data.m_capacity > 0xF ) v37 = (std::_Vector_val>::pointer)v37->m_data.m_bigStorage; v36 = atoi(v37->m_data.m_smallStorage._Elems); } else { v36 = 0; } a1->m_resultType1 = v36; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 481) ) { v39 = a2->_Mypair._Myval2._Myfirst + 481; if ( a2->_Mypair._Myval2._Myfirst[481].m_data.m_capacity > 0xF ) v39 = (std::_Vector_val>::pointer)v39->m_data.m_bigStorage; v38 = atoi(v39->m_data.m_smallStorage._Elems); } else { v38 = 0; } a1->m_resultType2 = v38; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 482) ) { v41 = a2->_Mypair._Myval2._Myfirst + 482; if ( a2->_Mypair._Myval2._Myfirst[482].m_data.m_capacity > 0xF ) v41 = (std::_Vector_val>::pointer)v41->m_data.m_bigStorage; v40 = atoi(v41->m_data.m_smallStorage._Elems); } else { v40 = 0; } a1->m_resultType3 = v40; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 484) ) { v42 = a2->_Mypair._Myval2._Myfirst + 484; if ( a2->_Mypair._Myval2._Myfirst[484].m_data.m_capacity > 0xF ) v42 = (std::_Vector_val>::pointer)v42->m_data.m_bigStorage; v29 = atof(v42->m_data.m_smallStorage._Elems); } v43 = v29; a1->m_tolerance = v43; } if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 485) ) { v66 = a2->_Mypair._Myval2._Myfirst + 485; if ( a2->_Mypair._Myval2._Myfirst[485].m_data.m_capacity > 0xF ) v66 = (std::_Vector_val>::pointer)v66->m_data.m_bigStorage; v65 = atoi(v66->m_data.m_smallStorage._Elems); } else { v65 = 0; } a1->m_roundType1 = v65; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 486) ) { v68 = a2->_Mypair._Myval2._Myfirst + 486; if ( a2->_Mypair._Myval2._Myfirst[486].m_data.m_capacity > 0xF ) v68 = (std::_Vector_val>::pointer)v68->m_data.m_bigStorage; v67 = atoi(v68->m_data.m_smallStorage._Elems); } else { v67 = 0; } a1->m_roundType2 = v67; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 578) ) { v70 = a2->_Mypair._Myval2._Myfirst + 578; if ( a2->_Mypair._Myval2._Myfirst[578].m_data.m_capacity > 0xF ) v70 = (std::_Vector_val>::pointer)v70->m_data.m_bigStorage; v69 = atoi(v70->m_data.m_smallStorage._Elems); } else { v69 = 0; } a1->m_signType1 = v69; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 579) ) { v71 = a2->_Mypair._Myval2._Myfirst + 579; if ( a2->_Mypair._Myval2._Myfirst[579].m_data.m_capacity > 0xF ) v71 = (std::_Vector_val>::pointer)v71->m_data.m_bigStorage; v16 = atoi(v71->m_data.m_smallStorage._Elems); } a1->m_signType2 = v16; }
GD Web Decomp Icon

GD Web Decomp

Raw Source