// // KeyframeGameObject::customObjectSetup from 0x1001c6c90 to 0x1001c7216 (1414 bytes) // // 1 xrefs: // > @ 0x1008c5de8 // // 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 KeyframeGameObject::customObjectSetup( KeyframeGameObject *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 std::__vector_base::pointer v10; // rdi const char *elems; // rdi std::__vector_base::pointer v12; // rdi const char *v13; // rdi EasingType v14; // r15d std::__vector_base::pointer v15; // rdi const char *v16; // rdi std::__vector_base::pointer v17; // rdi const char *v18; // rdi __m128 v19; // xmm3 __m128 v20; // xmm0 std::__vector_base::pointer v21; // rdi const char *v22; // rdi __m128 v23; // xmm1 std::__vector_base::pointer v24; // rdi const char *v25; // rdi std::__vector_base::pointer v26; // rdi const char *v27; // rdi std::__vector_base::pointer v28; // rdi const char *v29; // rdi std::__vector_base::pointer v30; // rdi const char *v31; // rdi float v32; // xmm0_4 std::__vector_base::pointer v33; // rdi const char *v34; // rdi float v35; // xmm0_4 std::__vector_base::pointer v36; // rdi const char *v37; // rdi std::__vector_base::pointer v38; // rdi const char *v39; // rdi std::__vector_base::pointer v40; // rdi const char *v41; // rdi std::__vector_base::pointer v42; // rdi const char *v43; // rdi std::__vector_base::pointer v44; // rdi const char *v45; // rdi std::__vector_base::pointer v46; // rdi const char *v47; // rdi std::__vector_base::pointer v48; // rdi const char *v49; // rdi std::__vector_base::pointer v50; // rdi const char *v51; // rdi float v52; // xmm0_4 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); } a1->m_targetGroupID = v7; if ( begin[373] ) { v10 = a2->__begin_; if ( (a2->__begin_[373].m_data.m_short.sizex2 & 1) != 0 ) elems = v10[373].m_data.m_long.longStorage; else elems = v10[373].m_data.m_short.shortStorage.__elems_; v6 = atoi(elems); } a1->m_keyframeGroup = v6; if ( !begin[374] ) { a1->m_keyframeIndex = 0; v14 = 0; if ( begin[375] ) goto LABEL_19; LABEL_15: a1->m_referenceOnly = 0; if ( !begin[30] ) goto LABEL_27; goto LABEL_23; } v12 = a2->__begin_; if ( (a2->__begin_[374].m_data.m_short.sizex2 & 1) != 0 ) v13 = v12[374].m_data.m_long.longStorage; else v13 = v12[374].m_data.m_short.shortStorage.__elems_; a1->m_keyframeIndex = atoi(v13); v14 = 0; if ( !begin[375] ) goto LABEL_15; LABEL_19: v15 = a2->__begin_; if ( (a2->__begin_[375].m_data.m_short.sizex2 & 1) != 0 ) v16 = v15[375].m_data.m_long.longStorage; else v16 = v15[375].m_data.m_short.shortStorage.__elems_; a1->m_referenceOnly = atoi(v16) != 0; if ( begin[30] ) { LABEL_23: v17 = a2->__begin_; if ( (a2->__begin_[30].m_data.m_short.sizex2 & 1) != 0 ) v18 = v17[30].m_data.m_long.longStorage; else v18 = v17[30].m_data.m_short.shortStorage.__elems_; v14 = atoi(v18); } LABEL_27: a1->m_easingType = v14; v19.i32[0] = 0; v20 = 0; if ( begin[85] ) { v21 = a2->__begin_; if ( (a2->__begin_[85].m_data.m_short.sizex2 & 1) != 0 ) v22 = v21[85].m_data.m_long.longStorage; else v22 = v21[85].m_data.m_short.shortStorage.__elems_; *(double *)v20.i64 = atof(v22); v20.f32[0] = *(double *)v20.i64; v19.i32[0] = 0; } v23 = _mm_cmpgt_ss(v20, v19); LODWORD(a1->m_easingRate) = _mm_andnot_ps(v23, (__m128)0x40000000u).u32[0] | v20.i32[0] & v23.i32[0]; if ( begin[10] ) { v24 = a2->__begin_; if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 ) v25 = v24[10].m_data.m_long.longStorage; else v25 = v24[10].m_data.m_short.shortStorage.__elems_; v19.f32[0] = atof(v25); } LODWORD(a1->m_duration) = v19.i32[0]; if ( !begin[71] ) { a1->m_centerGroupID = 0; if ( begin[377] ) goto LABEL_46; LABEL_41: a1->m_proximity = 0; if ( begin[557] ) goto LABEL_50; goto LABEL_42; } v26 = a2->__begin_; if ( (a2->__begin_[71].m_data.m_short.sizex2 & 1) != 0 ) v27 = v26[71].m_data.m_long.longStorage; else v27 = v26[71].m_data.m_short.shortStorage.__elems_; a1->m_centerGroupID = atoi(v27); if ( !begin[377] ) goto LABEL_41; LABEL_46: v28 = a2->__begin_; if ( (a2->__begin_[377].m_data.m_short.sizex2 & 1) != 0 ) v29 = v28[377].m_data.m_long.longStorage; else v29 = v28[377].m_data.m_short.shortStorage.__elems_; a1->m_proximity = atoi(v29) != 0; if ( begin[557] ) { LABEL_50: v30 = a2->__begin_; if ( (a2->__begin_[557].m_data.m_short.sizex2 & 1) != 0 ) v31 = v30[557].m_data.m_long.longStorage; else v31 = v30[557].m_data.m_short.shortStorage.__elems_; v32 = atof(v31); a1->m_spawnDelay = v32; if ( !begin[63] ) goto LABEL_59; goto LABEL_54; } LABEL_42: a1->m_spawnDelay = 0.0; if ( !begin[63] ) goto LABEL_59; LABEL_54: v33 = a2->__begin_; if ( (a2->__begin_[63].m_data.m_short.sizex2 & 1) != 0 ) v34 = v33[63].m_data.m_long.longStorage; else v34 = v33[63].m_data.m_short.shortStorage.__elems_; v35 = atof(v34); if ( v35 != 0.0 ) a1->m_spawnDelay = v35; LABEL_59: if ( !begin[378] ) { a1->m_curve = 0; if ( begin[379] ) goto LABEL_68; LABEL_63: a1->m_timeMode = 0; if ( !begin[376] ) goto LABEL_76; goto LABEL_64; } v36 = a2->__begin_; if ( (a2->__begin_[378].m_data.m_short.sizex2 & 1) != 0 ) v37 = v36[378].m_data.m_long.longStorage; else v37 = v36[378].m_data.m_short.shortStorage.__elems_; a1->m_curve = atoi(v37) != 0; if ( !begin[379] ) goto LABEL_63; LABEL_68: v40 = a2->__begin_; if ( (a2->__begin_[379].m_data.m_short.sizex2 & 1) != 0 ) v41 = v40[379].m_data.m_long.longStorage; else v41 = v40[379].m_data.m_short.shortStorage.__elems_; a1->m_timeMode = atoi(v41); if ( !begin[376] ) { LABEL_76: a1->m_closeLoop = 0; if ( !begin[380] ) goto LABEL_77; goto LABEL_72; } LABEL_64: v38 = a2->__begin_; if ( (a2->__begin_[376].m_data.m_short.sizex2 & 1) != 0 ) v39 = v38[376].m_data.m_long.longStorage; else v39 = v38[376].m_data.m_short.shortStorage.__elems_; a1->m_closeLoop = atoi(v39) != 0; if ( !begin[380] ) { LABEL_77: a1->m_previewArt = 0; if ( !begin[459] ) goto LABEL_78; goto LABEL_84; } LABEL_72: v42 = a2->__begin_; if ( (a2->__begin_[380].m_data.m_short.sizex2 & 1) != 0 ) v43 = v42[380].m_data.m_long.longStorage; else v43 = v42[380].m_data.m_short.shortStorage.__elems_; a1->m_previewArt = atoi(v43) != 0; if ( !begin[459] ) { LABEL_78: a1->m_autoLayer = 0; if ( !begin[536] ) goto LABEL_79; goto LABEL_92; } LABEL_84: v46 = a2->__begin_; if ( (a2->__begin_[459].m_data.m_short.sizex2 & 1) != 0 ) v47 = v46[459].m_data.m_long.longStorage; else v47 = v46[459].m_data.m_short.shortStorage.__elems_; a1->m_autoLayer = atoi(v47) != 0; if ( !begin[536] ) { LABEL_79: a1->m_direction = 0; if ( begin[537] ) goto LABEL_80; goto LABEL_98; } LABEL_92: v50 = a2->__begin_; if ( (a2->__begin_[536].m_data.m_short.sizex2 & 1) != 0 ) v51 = v50[536].m_data.m_long.longStorage; else v51 = v50[536].m_data.m_short.shortStorage.__elems_; a1->m_direction = atoi(v51); if ( begin[537] ) { LABEL_80: v44 = a2->__begin_; if ( (a2->__begin_[537].m_data.m_short.sizex2 & 1) != 0 ) v45 = v44[537].m_data.m_long.longStorage; else v45 = v44[537].m_data.m_short.shortStorage.__elems_; a1->m_revolutions = atoi(v45); if ( begin[524] ) goto LABEL_88; LABEL_99: v52 = 0.0; goto LABEL_100; } LABEL_98: a1->m_revolutions = 0; if ( !begin[524] ) goto LABEL_99; LABEL_88: v48 = a2->__begin_; if ( (a2->__begin_[524].m_data.m_short.sizex2 & 1) != 0 ) v49 = v48[524].m_data.m_long.longStorage; else v49 = v48[524].m_data.m_short.shortStorage.__elems_; v52 = atof(v49); LABEL_100: a1->m_lineOpacity = v52; }
GD Web Decomp Icon

GD Web Decomp

Raw Source