// // EnhancedGameObject::customObjectSetup from 0x10026321c to 0x1002634d8 (700 bytes) // // 5 xrefs: // > EffectGameObject::customObjectSetup @ 0x100378250 // > ParticleGameObject::customObjectSetup @ 0x100380c64 // > SpecialAnimGameObject::customObjectSetup @ 0x100382334 // > @ 0x1007d05c8 // > @ 0x1007f5648 // // 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 EnhancedGameObject::customObjectSetup( EnhancedGameObject *a1, std::vector *a2, std::vector *a3) { std::__vector_base::pointer begin; // x22 __int64 v7; // x8 std::__vector_base::pointer capacitym1; // x0 void *v9; // x8 std::__vector_base::pointer v10; // x0 void *v11; // x8 std::__vector_base::pointer v12; // x0 std::__vector_base::pointer v13; // x0 float v14; // s0 std::__vector_base::pointer v15; // x22 __int64 v16; // x8 std::__vector_base::pointer v17; // x0 std::__vector_base::pointer v18; // x0 float v19; // s0 std::__vector_base::pointer v20; // x0 _BOOL4 v21; // w23 void *v22; // x8 std::__vector_base::pointer v23; // x0 void *v24; // x8 std::__vector_base::pointer v25; // x0 void *v26; // x8 std::__vector_base::pointer v27; // x0 std::__vector_base::pointer v28; // x0 int v29; // w0 void *v30; // x8 std::__vector_base::pointer v31; // x0 begin = a3->__begin_; v7 = *((_QWORD *)a3->__begin_ + 99); if ( v7 ) { capacitym1 = a2->__begin_ + 99; if ( a2->__begin_[99].m_data.m_short.shortStorage.__elems_[22] < 0 ) capacitym1 = (std::__vector_base::pointer)capacitym1->m_data.m_long.capacitym1; LOBYTE(v7) = atoi((const char *)capacitym1) != 0; } a1->m_isMultiActivate = v7; v9 = begin[444]; if ( v9 ) { v10 = a2->__begin_ + 444; if ( a2->__begin_[444].m_data.m_short.shortStorage.__elems_[22] < 0 ) v10 = (std::__vector_base::pointer)v10->m_data.m_long.capacitym1; LOBYTE(v9) = atoi((const char *)v10) != 0; } a1->m_isNoMultiActivate = (char)v9; if ( a1->m_hasCustomRotation ) { v11 = begin[98]; if ( v11 ) { v12 = a2->__begin_ + 98; if ( a2->__begin_[98].m_data.m_short.shortStorage.__elems_[22] < 0 ) v12 = (std::__vector_base::pointer)v12->m_data.m_long.capacitym1; LOBYTE(v11) = atoi((const char *)v12) != 0; } a1->m_disableRotation = (char)v11; if ( begin[97] ) { v13 = a2->__begin_ + 97; if ( a2->__begin_[97].m_data.m_short.shortStorage.__elems_[22] < 0 ) v13 = (std::__vector_base::pointer)v13->m_data.m_long.capacitym1; v14 = atof((const char *)v13); } else { v14 = 0.0; } a1->m_rotationSpeed = v14; EnhancedGameObject::createRotateAction(a1, a1->m_rotationAngle, 0); } if ( a1->m_hasCustomAnimation ) { v15 = a3->__begin_; v16 = *((_QWORD *)a3->__begin_ + 106); if ( v16 ) { v17 = a2->__begin_ + 106; if ( a2->__begin_[106].m_data.m_short.shortStorage.__elems_[22] < 0 ) v17 = (std::__vector_base::pointer)v17->m_data.m_long.capacitym1; LOBYTE(v16) = atoi((const char *)v17) != 0; } a1->m_animationRandomizedStart = v16; if ( v15[107] ) { v18 = a2->__begin_ + 107; if ( a2->__begin_[107].m_data.m_short.shortStorage.__elems_[22] < 0 ) v18 = (std::__vector_base::pointer)v18->m_data.m_long.capacitym1; v19 = atof((const char *)v18); } else { v19 = 0.0; } a1->m_animationSpeed = v19; if ( v15[123] ) { v20 = a2->__begin_ + 123; if ( a2->__begin_[123].m_data.m_short.shortStorage.__elems_[22] < 0 ) v20 = (std::__vector_base::pointer)v20->m_data.m_long.capacitym1; v21 = atoi((const char *)v20) != 0; } else { v21 = 0; } a1->m_animateOnTrigger = v21; if ( !a1->m_animationShouldUseSpeed ) { v22 = v15[122]; if ( v22 ) { v23 = a2->__begin_ + 122; if ( a2->__begin_[122].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_animationShouldUseSpeed = (char)v22; } if ( v21 ) { EnhancedGameObject::waitForAnimationTrigger(a1); v15 = a3->__begin_; } v24 = v15[126]; if ( v24 ) { v25 = a2->__begin_ + 126; if ( a2->__begin_[126].m_data.m_short.shortStorage.__elems_[22] < 0 ) v25 = (std::__vector_base::pointer)v25->m_data.m_long.capacitym1; LOBYTE(v24) = atoi((const char *)v25) != 0; } a1->m_disableDelayedLoop = (char)v24; v26 = v15[214]; if ( v26 ) { v27 = a2->__begin_ + 214; if ( a2->__begin_[214].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_animateOnlyWhenActive = (char)v26; if ( v15[462] ) { v28 = a2->__begin_ + 462; if ( a2->__begin_[462].m_data.m_short.shortStorage.__elems_[22] < 0 ) v28 = (std::__vector_base::pointer)v28->m_data.m_long.capacitym1; v29 = atoi((const char *)v28); } else { v29 = 0; } a1->m_singleFrame = v29; v30 = v15[592]; if ( v30 ) { v31 = a2->__begin_ + 592; if ( a2->__begin_[592].m_data.m_short.shortStorage.__elems_[22] < 0 ) v31 = (std::__vector_base::pointer)v31->m_data.m_long.capacitym1; LOBYTE(v30) = atoi((const char *)v31) != 0; } a1->m_animationOffset = (char)v30; } }