// // RingObject::customObjectSetup from 0x1001b4430 to 0x1001b457b (331 bytes) // // 2 xrefs: // > DashRingObject::customObjectSetup @ 0x1001b5223 // > @ 0x1008cd6b8 // // 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 RingObject::customObjectSetup(RingObject *a1, std::vector *a2, std::vector *a3) { std::__vector_base::pointer begin; // r15 std::__vector_base::pointer v6; // rdi const char *longStorage; // rdi bool v8; // al std::__vector_base::pointer v9; // rdi const char *elems; // rdi std::__vector_base::pointer v11; // rdi const char *v12; // rdi std::__vector_base::pointer v13; // rdi const char *v14; // rdi EffectGameObject::customObjectSetup(a1, a2, a3); if ( a1->m_objectType == CustomRing ) { begin = a3->__begin_; if ( begin[51] ) { v6 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) longStorage = v6[51].m_data.m_long.longStorage; else longStorage = v6[51].m_data.m_short.shortStorage.__elems_; a1->m_targetGroupID = atoi(longStorage); if ( begin[56] ) { LABEL_11: v9 = a2->__begin_; if ( (a2->__begin_[56].m_data.m_short.sizex2 & 1) != 0 ) elems = v9[56].m_data.m_long.longStorage; else elems = v9[56].m_data.m_short.shortStorage.__elems_; a1->m_activateGroup = atoi(elems) != 0; if ( begin[445] ) { LABEL_15: v11 = a2->__begin_; if ( (a2->__begin_[445].m_data.m_short.sizex2 & 1) != 0 ) v12 = v11[445].m_data.m_long.longStorage; else v12 = v11[445].m_data.m_short.shortStorage.__elems_; a1->m_claimTouch = atoi(v12) != 0; if ( begin[504] ) goto LABEL_19; goto LABEL_8; } LABEL_7: a1->m_claimTouch = 0; if ( begin[504] ) { LABEL_19: v13 = a2->__begin_; if ( (a2->__begin_[504].m_data.m_short.sizex2 & 1) != 0 ) v14 = v13[504].m_data.m_long.longStorage; else v14 = v13[504].m_data.m_short.shortStorage.__elems_; v8 = atoi(v14) != 0; goto LABEL_23; } LABEL_8: v8 = 0; LABEL_23: a1->m_isSpawnOnly = v8; return; } } else { a1->m_targetGroupID = 0; if ( begin[56] ) goto LABEL_11; } a1->m_activateGroup = 0; if ( begin[445] ) goto LABEL_15; goto LABEL_7; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source