// // CountTriggerGameObject::customObjectSetup from 0x100390a24 to 0x100390d24 (768 bytes) // // 1 xrefs: // > @ 0x100802870 // // 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 CountTriggerGameObject::customObjectSetup( CountTriggerGameObject *a1, std::vector *a2, std::vector *a3) { int m_objectID; // w8 std::__vector_base::pointer v7; // x21 std::__vector_base::pointer v8; // x0 int v9; // w0 std::__vector_base::pointer v10; // x21 std::__vector_base::pointer v11; // x0 int v12; // w0 std::__vector_base::pointer begin; // x21 std::__vector_base::pointer capacitym1; // x0 int v15; // w0 std::__vector_base::pointer v16; // x0 int v17; // w0 std::__vector_base::pointer v18; // x0 int v19; // w0 std::__vector_base::pointer v20; // x0 int v21; // w0 void *v22; // x8 std::__vector_base::pointer v23; // x0 std::__vector_base::pointer v24; // x0 int v25; // w0 void *v26; // x8 std::__vector_base::pointer v27; // x0 std::__vector_base::pointer v28; // x0 float v29; // s0 std::__vector_base::pointer v30; // x0 int v31; // w0 std::__vector_base::pointer v32; // x0 int v33; // w0 std::__vector_base::pointer v34; // x0 int v35; // w0 void *v36; // x8 std::__vector_base::pointer v37; // x0 void *v38; // x8 std::__vector_base::pointer v39; // x0 EffectGameObject::customObjectSetup(a1, a2, a3); m_objectID = a1->m_objectID; switch ( m_objectID ) { case 1817: begin = a3->__begin_; if ( begin[80] ) { capacitym1 = a2->__begin_ + 80; if ( a2->__begin_[80].m_data.m_short.shortStorage.__elems_[22] < 0 ) capacitym1 = (std::__vector_base::pointer)capacitym1->m_data.m_long.capacitym1; v15 = atoi((const char *)capacitym1); } else { v15 = 0; } a1->m_itemID = v15; if ( begin[77] ) { v24 = a2->__begin_ + 77; if ( a2->__begin_[77].m_data.m_short.shortStorage.__elems_[22] < 0 ) v24 = (std::__vector_base::pointer)v24->m_data.m_long.capacitym1; v25 = atoi((const char *)v24); } else { v25 = 0; } a1->m_pickupCount = v25; v26 = begin[139]; if ( v26 ) { v27 = a2->__begin_ + 139; if ( a2->__begin_[139].m_data.m_short.shortStorage.__elems_[22] < 0 ) v27 = (std::__vector_base::pointer)v27->m_data.m_long.capacitym1; LOBYTE(v26) = atoi((const char *)v27) != 0; } a1->m_isOverride = (char)v26; if ( begin[449] ) { v28 = a2->__begin_ + 449; if ( a2->__begin_[449].m_data.m_short.shortStorage.__elems_[22] < 0 ) v28 = (std::__vector_base::pointer)v28->m_data.m_long.capacitym1; v29 = atof((const char *)v28); } else { v29 = 0.0; } a1->m_pickupTriggerMultiplier = v29; if ( begin[88] ) { v30 = a2->__begin_ + 88; if ( a2->__begin_[88].m_data.m_short.shortStorage.__elems_[22] < 0 ) v30 = (std::__vector_base::pointer)v30->m_data.m_long.capacitym1; v31 = atoi((const char *)v30); } else { v31 = 0; } a1->m_pickupTriggerMode = v31; break; case 1811: v10 = a3->__begin_; if ( v10[80] ) { v11 = a2->__begin_ + 80; if ( a2->__begin_[80].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_itemID = v12; if ( v10[51] ) { v16 = a2->__begin_ + 51; if ( a2->__begin_[51].m_data.m_short.shortStorage.__elems_[22] < 0 ) v16 = (std::__vector_base::pointer)v16->m_data.m_long.capacitym1; v17 = atoi((const char *)v16); } else { v17 = 0; } a1->m_targetGroupID = v17; if ( v10[77] ) { v18 = a2->__begin_ + 77; if ( a2->__begin_[77].m_data.m_short.shortStorage.__elems_[22] < 0 ) v18 = (std::__vector_base::pointer)v18->m_data.m_long.capacitym1; v19 = atoi((const char *)v18); } else { v19 = 0; } a1->m_pickupCount = v19; if ( v10[88] ) { v20 = a2->__begin_ + 88; if ( a2->__begin_[88].m_data.m_short.shortStorage.__elems_[22] < 0 ) v20 = (std::__vector_base::pointer)v20->m_data.m_long.capacitym1; v21 = atoi((const char *)v20); } else { v21 = 0; } a1->m_pickupTriggerMode = v21; v22 = v10[56]; if ( v22 ) { v23 = a2->__begin_ + 56; if ( a2->__begin_[56].m_data.m_short.shortStorage.__elems_[22] < 0 ) v23 = (std::__vector_base::pointer)v23->m_data.m_long.capacitym1; LOBYTE(v22) = atoi((const char *)v23) != 0; } a1->m_activateGroup = (char)v22; break; case 1611: v7 = a3->__begin_; if ( v7[80] ) { v8 = a2->__begin_ + 80; if ( a2->__begin_[80].m_data.m_short.shortStorage.__elems_[22] < 0 ) v8 = (std::__vector_base::pointer)v8->m_data.m_long.capacitym1; v9 = atoi((const char *)v8); } else { v9 = 0; } a1->m_itemID = v9; if ( v7[51] ) { v32 = a2->__begin_ + 51; if ( a2->__begin_[51].m_data.m_short.shortStorage.__elems_[22] < 0 ) v32 = (std::__vector_base::pointer)v32->m_data.m_long.capacitym1; v33 = atoi((const char *)v32); } else { v33 = 0; } a1->m_targetGroupID = v33; if ( v7[77] ) { v34 = a2->__begin_ + 77; if ( a2->__begin_[77].m_data.m_short.shortStorage.__elems_[22] < 0 ) v34 = (std::__vector_base::pointer)v34->m_data.m_long.capacitym1; v35 = atoi((const char *)v34); } else { v35 = 0; } a1->m_pickupCount = v35; v36 = v7[56]; if ( v36 ) { v37 = a2->__begin_ + 56; if ( a2->__begin_[56].m_data.m_short.shortStorage.__elems_[22] < 0 ) v37 = (std::__vector_base::pointer)v37->m_data.m_long.capacitym1; LOBYTE(v36) = atoi((const char *)v37) != 0; } a1->m_activateGroup = (char)v36; v38 = v7[104]; if ( v38 ) { v39 = a2->__begin_ + 104; if ( a2->__begin_[104].m_data.m_short.shortStorage.__elems_[22] < 0 ) v39 = (std::__vector_base::pointer)v39->m_data.m_long.capacitym1; LOBYTE(v38) = atoi((const char *)v39) != 0; } a1->m_multiActivate = (char)v38; break; } }