// // CountTriggerGameObject::customObjectSetup from 0x1404bb680 to 0x1404bb9d5 (853 bytes) // // 2 xrefs: // > @ 0x14061a0d8 // > @ 0x1406dcd94 // // 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 CountTriggerGameObject::customObjectSetup( CountTriggerGameObject *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 double v13; // xmm0_8 std::_Vector_val>::pointer v14; // rcx float v15; // xmm0_4 std::_Vector_val>::pointer v16; // rcx int v17; // ebx int v18; // eax std::_Vector_val>::pointer v19; // rcx int v20; // eax std::_Vector_val>::pointer v21; // rcx int v22; // eax std::_Vector_val>::pointer v23; // rcx int v24; // eax std::_Vector_val>::pointer v25; // rcx std::_Vector_val>::pointer v26; // rcx int v27; // ebx int v28; // eax std::_Vector_val>::pointer m_bigStorage; // rcx int v30; // eax std::_Vector_val>::pointer v31; // rcx int v32; // eax std::_Vector_val>::pointer v33; // rcx int v34; // eax std::_Vector_val>::pointer v35; // rcx std::_Vector_val>::pointer v36; // rcx EffectGameObject::customObjectSetup(a1, a2, a3); switch ( a1->m_objectID ) { case 0x64B: v27 = 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; v28 = atoi(m_bigStorage->m_data.m_smallStorage._Elems); } else { v28 = 0; } a1->m_itemID = v28; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 51) ) { v31 = a2->_Mypair._Myval2._Myfirst + 51; if ( a2->_Mypair._Myval2._Myfirst[51].m_data.m_capacity > 0xF ) v31 = (std::_Vector_val>::pointer)v31->m_data.m_bigStorage; v30 = atoi(v31->m_data.m_smallStorage._Elems); } else { v30 = 0; } a1->m_targetGroupID = v30; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 77) ) { v33 = a2->_Mypair._Myval2._Myfirst + 77; if ( a2->_Mypair._Myval2._Myfirst[77].m_data.m_capacity > 0xF ) v33 = (std::_Vector_val>::pointer)v33->m_data.m_bigStorage; v32 = atoi(v33->m_data.m_smallStorage._Elems); } else { v32 = 0; } a1->m_pickupCount = v32; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 56) ) { v35 = a2->_Mypair._Myval2._Myfirst + 56; if ( a2->_Mypair._Myval2._Myfirst[56].m_data.m_capacity > 0xF ) v35 = (std::_Vector_val>::pointer)v35->m_data.m_bigStorage; v34 = atoi(v35->m_data.m_smallStorage._Elems); } else { v34 = 0; } a1->m_activateGroup = v34 != 0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 104) ) { v36 = a2->_Mypair._Myval2._Myfirst + 104; if ( a2->_Mypair._Myval2._Myfirst[104].m_data.m_capacity > 0xF ) v36 = (std::_Vector_val>::pointer)v36->m_data.m_bigStorage; v27 = atoi(v36->m_data.m_smallStorage._Elems); } a1->m_multiActivate = v27 != 0; break; case 0x713: v17 = 0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 80) ) { v19 = a2->_Mypair._Myval2._Myfirst + 80; if ( a2->_Mypair._Myval2._Myfirst[80].m_data.m_capacity > 0xF ) v19 = (std::_Vector_val>::pointer)v19->m_data.m_bigStorage; v18 = atoi(v19->m_data.m_smallStorage._Elems); } else { v18 = 0; } a1->m_itemID = v18; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 51) ) { v21 = a2->_Mypair._Myval2._Myfirst + 51; if ( a2->_Mypair._Myval2._Myfirst[51].m_data.m_capacity > 0xF ) v21 = (std::_Vector_val>::pointer)v21->m_data.m_bigStorage; v20 = atoi(v21->m_data.m_smallStorage._Elems); } else { v20 = 0; } a1->m_targetGroupID = v20; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 77) ) { v23 = a2->_Mypair._Myval2._Myfirst + 77; if ( a2->_Mypair._Myval2._Myfirst[77].m_data.m_capacity > 0xF ) v23 = (std::_Vector_val>::pointer)v23->m_data.m_bigStorage; v22 = atoi(v23->m_data.m_smallStorage._Elems); } else { v22 = 0; } a1->m_pickupCount = v22; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 88) ) { v25 = a2->_Mypair._Myval2._Myfirst + 88; if ( a2->_Mypair._Myval2._Myfirst[88].m_data.m_capacity > 0xF ) v25 = (std::_Vector_val>::pointer)v25->m_data.m_bigStorage; v24 = atoi(v25->m_data.m_smallStorage._Elems); } else { v24 = 0; } a1->m_pickupTriggerMode = v24; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 56) ) { v26 = a2->_Mypair._Myval2._Myfirst + 56; if ( a2->_Mypair._Myval2._Myfirst[56].m_data.m_capacity > 0xF ) v26 = (std::_Vector_val>::pointer)v26->m_data.m_bigStorage; v17 = atoi(v26->m_data.m_smallStorage._Elems); } a1->m_activateGroup = v17 != 0; break; case 0x719: 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 + 77) ) { v10 = a2->_Mypair._Myval2._Myfirst + 77; if ( a2->_Mypair._Myval2._Myfirst[77].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_pickupCount = v9; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 139) ) { v12 = a2->_Mypair._Myval2._Myfirst + 139; if ( a2->_Mypair._Myval2._Myfirst[139].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_isOverride = v11 != 0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 449) ) { v14 = a2->_Mypair._Myval2._Myfirst + 449; if ( a2->_Mypair._Myval2._Myfirst[449].m_data.m_capacity > 0xF ) v14 = (std::_Vector_val>::pointer)v14->m_data.m_bigStorage; v13 = atof(v14->m_data.m_smallStorage._Elems); } else { v13 = 0.0; } v15 = v13; a1->m_pickupTriggerMultiplier = v15; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 88) ) { v16 = a2->_Mypair._Myval2._Myfirst + 88; if ( a2->_Mypair._Myval2._Myfirst[88].m_data.m_capacity > 0xF ) v16 = (std::_Vector_val>::pointer)v16->m_data.m_bigStorage; v6 = atoi(v16->m_data.m_smallStorage._Elems); } a1->m_pickupTriggerMode = v6; break; } }