// // ForceBlockGameObject::customObjectSetup from 0x1001ecac0 to 0x1001ecc88 (456 bytes) // // 1 xrefs: // > @ 0x1008d5878 // // 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 ForceBlockGameObject::customObjectSetup( ForceBlockGameObject *a1, std::vector *a2, std::vector *a3) { std::__vector_base::pointer begin; // r12 float v6; // xmm1_4 float v7; // xmm0_4 std::__vector_base::pointer v8; // rdi const char *longStorage; // rdi std::__vector_base::pointer v10; // rdi const char *elems; // rdi std::__vector_base::pointer v12; // rdi const char *v13; // rdi int v14; // r15d float v15; // xmm0_4 std::__vector_base::pointer v16; // rdi const char *v17; // rdi std::__vector_base::pointer v18; // rdi const char *v19; // rdi std::__vector_base::pointer v20; // rdi const char *v21; // rdi EffectGameObject::customObjectSetup(a1, a2, a3); begin = a3->__begin_; v6 = 0.0; v7 = 0.0; if ( *((_QWORD *)a3->__begin_ + 149) ) { v8 = a2->__begin_; if ( (a2->__begin_[149].m_data.m_short.sizex2 & 1) != 0 ) longStorage = v8[149].m_data.m_long.longStorage; else longStorage = v8[149].m_data.m_short.shortStorage.__elems_; v7 = atof(longStorage); v6 = 0.0; } a1->m_force = v7; if ( begin[526] ) { v10 = a2->__begin_; if ( (a2->__begin_[526].m_data.m_short.sizex2 & 1) != 0 ) elems = v10[526].m_data.m_long.longStorage; else elems = v10[526].m_data.m_short.shortStorage.__elems_; v6 = atof(elems); } a1->m_minForce = v6; if ( !begin[527] ) { a1->m_maxForce = 0.0; if ( begin[528] ) goto LABEL_20; LABEL_15: a1->m_relativeForce = 0; v14 = 0; if ( begin[529] ) goto LABEL_24; LABEL_16: a1->m_forceRange = 0; if ( !begin[530] ) goto LABEL_32; goto LABEL_28; } v12 = a2->__begin_; if ( (a2->__begin_[527].m_data.m_short.sizex2 & 1) != 0 ) v13 = v12[527].m_data.m_long.longStorage; else v13 = v12[527].m_data.m_short.shortStorage.__elems_; v15 = atof(v13); a1->m_maxForce = v15; if ( !begin[528] ) goto LABEL_15; LABEL_20: v16 = a2->__begin_; if ( (a2->__begin_[528].m_data.m_short.sizex2 & 1) != 0 ) v17 = v16[528].m_data.m_long.longStorage; else v17 = v16[528].m_data.m_short.shortStorage.__elems_; a1->m_relativeForce = atoi(v17) != 0; v14 = 0; if ( !begin[529] ) goto LABEL_16; LABEL_24: v18 = a2->__begin_; if ( (a2->__begin_[529].m_data.m_short.sizex2 & 1) != 0 ) v19 = v18[529].m_data.m_long.longStorage; else v19 = v18[529].m_data.m_short.shortStorage.__elems_; a1->m_forceRange = atoi(v19) != 0; if ( begin[530] ) { LABEL_28: v20 = a2->__begin_; if ( (a2->__begin_[530].m_data.m_short.sizex2 & 1) != 0 ) v21 = v20[530].m_data.m_long.longStorage; else v21 = v20[530].m_data.m_short.shortStorage.__elems_; v14 = atoi(v21); } LABEL_32: a1->m_forceID = v14; }
GD Web Decomp Icon

GD Web Decomp

Raw Source