// // EndTriggerGameObject::customObjectSetup from 0x1001dca20 to 0x1001dcba3 (387 bytes) // // 1 xrefs: // > @ 0x1008d2818 // // 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 EndTriggerGameObject::customObjectSetup( EndTriggerGameObject *a1, std::vector *a2, std::vector *a3) { std::__vector_base::pointer begin; // r12 int v6; // r15d int v7; // eax std::__vector_base::pointer v8; // rdi const char *longStorage; // rdi int v10; // r13d std::__vector_base::pointer v11; // rdi const char *elems; // rdi bool v13; // al std::__vector_base::pointer v14; // rdi const char *v15; // rdi std::__vector_base::pointer v16; // rdi const char *v17; // rdi bool v18; // al std::__vector_base::pointer v19; // rdi const char *v20; // rdi EffectGameObject::customObjectSetup(a1, a2, a3); begin = a3->__begin_; v6 = 0; v7 = 0; if ( begin[51] ) { v8 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) longStorage = v8[51].m_data.m_long.longStorage; else longStorage = v8[51].m_data.m_short.shortStorage.__elems_; v7 = atoi(longStorage); } if ( v7 <= 0 ) v7 = 0; v10 = 9999; if ( v7 >= 9999 ) v7 = 9999; a1->m_targetGroupID = v7; if ( begin[71] ) { v11 = a2->__begin_; if ( (a2->__begin_[71].m_data.m_short.sizex2 & 1) != 0 ) elems = v11[71].m_data.m_long.longStorage; else elems = v11[71].m_data.m_short.shortStorage.__elems_; v6 = atoi(elems); } v13 = 0; if ( v6 <= 0 ) v6 = 0; if ( v6 < 9999 ) v10 = v6; a1->m_centerGroupID = v10; if ( begin[460] ) { v14 = a2->__begin_; if ( (a2->__begin_[460].m_data.m_short.sizex2 & 1) != 0 ) v15 = v14[460].m_data.m_long.longStorage; else v15 = v14[460].m_data.m_short.shortStorage.__elems_; v13 = atoi(v15) != 0; } a1->m_noEffects = v13; if ( begin[461] ) { v16 = a2->__begin_; if ( (a2->__begin_[461].m_data.m_short.sizex2 & 1) != 0 ) v17 = v16[461].m_data.m_long.longStorage; else v17 = v16[461].m_data.m_short.shortStorage.__elems_; a1->m_noSFX = atoi(v17) != 0; if ( begin[487] ) goto LABEL_31; LABEL_28: v18 = 0; goto LABEL_35; } a1->m_noSFX = 0; if ( !begin[487] ) goto LABEL_28; LABEL_31: v19 = a2->__begin_; if ( (a2->__begin_[487].m_data.m_short.sizex2 & 1) != 0 ) v20 = v19[487].m_data.m_long.longStorage; else v20 = v19[487].m_data.m_short.shortStorage.__elems_; v18 = atoi(v20) != 0; LABEL_35: a1->m_instant = v18; }