// // TriggerControlGameObject::customObjectSetup from 0x100397f38 to 0x100398014 (220 bytes) // // 1 xrefs: // > @ 0x100808930 // // 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 TriggerControlGameObject::customObjectSetup( TriggerControlGameObject *a1, std::vector *a2, std::vector *a3) { std::__vector_base::pointer begin; // x21 std::__vector_base::pointer capacitym1; // x0 int v8; // w0 int v9; // w8 void *v10; // x8 std::__vector_base::pointer v11; // x0 std::__vector_base::pointer v12; // x0 GJActionCommand v13; // w0 EffectGameObject::customObjectSetup(a1, a2, a3); begin = a3->__begin_; if ( begin[51] ) { capacitym1 = a2->__begin_ + 51; if ( a2->__begin_[51].m_data.m_short.shortStorage.__elems_[22] < 0 ) capacitym1 = (std::__vector_base::pointer)capacitym1->m_data.m_long.capacitym1; v8 = atoi((const char *)capacitym1); } else { v8 = 0; } v9 = v8 & ~(v8 >> 31); if ( v9 >= 9999 ) v9 = 9999; a1->m_targetGroupID = v9; v10 = begin[535]; if ( v10 ) { v11 = a2->__begin_ + 535; if ( a2->__begin_[535].m_data.m_short.shortStorage.__elems_[22] < 0 ) v11 = (std::__vector_base::pointer)v11->m_data.m_long.capacitym1; LOBYTE(v10) = atoi((const char *)v11) != 0; } a1->m_targetControlID = (char)v10; if ( begin[580] ) { v12 = a2->__begin_ + 580; if ( a2->__begin_[580].m_data.m_short.shortStorage.__elems_[22] < 0 ) v12 = (std::__vector_base::pointer)v12->m_data.m_long.capacitym1; v13 = atoi((const char *)v12); } else { v13 = Stop; } a1->m_customTriggerValue = v13; TriggerControlGameObject::updateTriggerControlFrame(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source