// // ShaderGameObject::customObjectSetup from 0x1001a2260 to 0x1001a2cab (2635 bytes) // // 1 xrefs: // > @ 0x1008cbe88 // // 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 ShaderGameObject::customObjectSetup( ShaderGameObject *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 float v12; // xmm1_4 float v13; // xmm0_4 std::__vector_base::pointer v14; // rdi const char *v15; // rdi std::__vector_base::pointer v16; // rdi const char *v17; // rdi float v18; // xmm1_4 float v19; // xmm0_4 std::__vector_base::pointer v20; // rdi const char *v21; // rdi std::__vector_base::pointer v22; // rdi const char *v23; // rdi float v24; // xmm1_4 float v25; // xmm0_4 std::__vector_base::pointer v26; // rdi const char *v27; // rdi std::__vector_base::pointer v28; // rdi const char *v29; // rdi float v30; // xmm1_4 float v31; // xmm0_4 std::__vector_base::pointer v32; // rdi const char *v33; // rdi std::__vector_base::pointer v34; // rdi const char *v35; // rdi std::__vector_base::pointer v36; // r15 const char *v37; // rdi bool v38; // al float v39; // xmm0_4 const char *v40; // r15 __m128d v41; // xmm0 float v42; // xmm1_4 float v43; // xmm0_4 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 float v50; // xmm0_4 std::__vector_base::pointer v51; // rdi const char *v52; // rdi std::__vector_base::pointer v53; // rdi const char *v54; // rdi std::__vector_base::pointer v55; // rdi const char *v56; // rdi std::__vector_base::pointer v57; // rdi const char *v58; // rdi std::__vector_base::pointer v59; // rdi const char *v60; // rdi std::__vector_base::pointer v61; // rdi const char *v62; // rdi std::__vector_base::pointer v63; // rdi const char *v64; // rdi std::__vector_base::pointer v65; // rdi const char *v66; // rdi std::__vector_base::pointer v67; // rdi const char *v68; // rdi std::__vector_base::pointer v69; // rdi const char *v70; // rdi std::__vector_base::pointer v71; // rdi const char *v72; // rdi std::__vector_base::pointer v73; // rdi const char *v74; // rdi float v75; // xmm0_4 std::__vector_base::pointer v76; // rdi const char *v77; // rdi std::__vector_base::pointer v78; // rdi const char *v79; // rdi int v80; // r15d int v81; // eax std::__vector_base::pointer v82; // rdi const char *v83; // rdi int v84; // r13d std::__vector_base::pointer v85; // rdi const char *v86; // rdi bool v87; // al std::__vector_base::pointer v88; // rdi const char *v89; // rdi std::__vector_base::pointer v90; // rdi const char *v91; // rdi std::__vector_base::pointer v92; // rdi const char *v93; // rdi std::__vector_base::pointer v94; // rdi const char *v95; // rdi int v96; // eax std::__vector_base::pointer v97; // rdi const char *v98; // rdi EffectGameObject::customObjectSetup(a1, a2, a3); begin = a3->__begin_; v6 = 0.0; v7 = 0.0; if ( *((_QWORD *)a3->__begin_ + 175) ) { v8 = a2->__begin_; if ( (a2->__begin_[175].m_data.m_short.sizex2 & 1) != 0 ) longStorage = v8[175].m_data.m_long.longStorage; else longStorage = v8[175].m_data.m_short.shortStorage.__elems_; v7 = atof(longStorage); v6 = 0.0; } a1->m_speed = v7; if ( begin[176] ) { v10 = a2->__begin_; if ( (a2->__begin_[176].m_data.m_short.sizex2 & 1) != 0 ) elems = v10[176].m_data.m_long.longStorage; else elems = v10[176].m_data.m_short.shortStorage.__elems_; v6 = atof(elems); } a1->m_strength = v6; v12 = 0.0; v13 = 0.0; if ( begin[191] ) { v14 = a2->__begin_; if ( (a2->__begin_[191].m_data.m_short.sizex2 & 1) != 0 ) v15 = v14[191].m_data.m_long.longStorage; else v15 = v14[191].m_data.m_short.shortStorage.__elems_; v13 = atof(v15); v12 = 0.0; } a1->m_outer = v13; if ( begin[179] ) { v16 = a2->__begin_; if ( (a2->__begin_[179].m_data.m_short.sizex2 & 1) != 0 ) v17 = v16[179].m_data.m_long.longStorage; else v17 = v16[179].m_data.m_short.shortStorage.__elems_; v12 = atof(v17); } a1->m_waveWidth = v12; v18 = 0.0; v19 = 0.0; if ( begin[180] ) { v20 = a2->__begin_; if ( (a2->__begin_[180].m_data.m_short.sizex2 & 1) != 0 ) v21 = v20[180].m_data.m_long.longStorage; else v21 = v20[180].m_data.m_short.shortStorage.__elems_; v19 = atof(v21); v18 = 0.0; } a1->m_targetX = v19; if ( begin[189] ) { v22 = a2->__begin_; if ( (a2->__begin_[189].m_data.m_short.sizex2 & 1) != 0 ) v23 = v22[189].m_data.m_long.longStorage; else v23 = v22[189].m_data.m_short.shortStorage.__elems_; v18 = atof(v23); } a1->m_targetY = v18; v24 = 0.0; v25 = 0.0; if ( begin[177] ) { v26 = a2->__begin_; if ( (a2->__begin_[177].m_data.m_short.sizex2 & 1) != 0 ) v27 = v26[177].m_data.m_long.longStorage; else v27 = v26[177].m_data.m_short.shortStorage.__elems_; v25 = atof(v27); v24 = 0.0; } a1->m_timeOff = v25; if ( begin[290] ) { v28 = a2->__begin_; if ( (a2->__begin_[290].m_data.m_short.sizex2 & 1) != 0 ) v29 = v28[290].m_data.m_long.longStorage; else v29 = v28[290].m_data.m_short.shortStorage.__elems_; v24 = atof(v29); } a1->m_screenOffsetX = v24; v30 = 0.0; v31 = 0.0; if ( begin[291] ) { v32 = a2->__begin_; if ( (a2->__begin_[291].m_data.m_short.sizex2 & 1) != 0 ) v33 = v32[291].m_data.m_long.longStorage; else v33 = v32[291].m_data.m_short.shortStorage.__elems_; v31 = atof(v33); v30 = 0.0; } a1->m_screenOffsetY = v31; if ( begin[181] ) { v34 = a2->__begin_; if ( (a2->__begin_[181].m_data.m_short.sizex2 & 1) != 0 ) v35 = v34[181].m_data.m_long.longStorage; else v35 = v34[181].m_data.m_short.shortStorage.__elems_; v30 = atof(v35); } a1->m_fadeIn = v30; if ( begin[182] ) { v36 = a2->__begin_; if ( (a2->__begin_[182].m_data.m_short.sizex2 & 1) != 0 ) v37 = v36[182].m_data.m_long.longStorage; else v37 = v36[182].m_data.m_short.shortStorage.__elems_; v39 = atof(v37); a1->m_fadeOut = v39; if ( (v36[182].m_data.m_short.sizex2 & 1) != 0 ) v40 = v36[182].m_data.m_long.longStorage; else v40 = v36[182].m_data.m_short.shortStorage.__elems_; v41.f64[0] = atof(v40); v38 = COERCE_UNSIGNED_INT64(_mm_cmpneq_sd((__m128d)0LL, v41).f64[0]) & 1; } else { a1->m_fadeOut = 0.0; v38 = 0; } a1->m_invert = v38; v42 = 0.0; v43 = 0.0; if ( begin[183] ) { v44 = a2->__begin_; if ( (a2->__begin_[183].m_data.m_short.sizex2 & 1) != 0 ) v45 = v44[183].m_data.m_long.longStorage; else v45 = v44[183].m_data.m_short.shortStorage.__elems_; v43 = atof(v45); v42 = 0.0; } a1->m_inner = v43; if ( begin[512] ) { v46 = a2->__begin_; if ( (a2->__begin_[512].m_data.m_short.sizex2 & 1) != 0 ) v47 = v46[512].m_data.m_long.longStorage; else v47 = v46[512].m_data.m_short.shortStorage.__elems_; v42 = atof(v47); } a1->m_maxSize = v42; if ( !begin[184] ) { a1->m_invert = 0; if ( begin[185] ) goto LABEL_90; LABEL_74: a1->m_flip = 0; if ( begin[186] ) goto LABEL_94; LABEL_75: a1->m_rotate = 0; if ( begin[187] ) goto LABEL_98; LABEL_76: a1->m_dual = 0; if ( begin[188] ) goto LABEL_102; LABEL_77: a1->m_useX = 0; if ( begin[190] ) goto LABEL_106; LABEL_78: a1->m_useY = 0; if ( begin[194] ) goto LABEL_110; LABEL_79: a1->m_snapGrid = 0; if ( begin[515] ) goto LABEL_114; LABEL_80: a1->m_hardEdges = 0; if ( begin[192] ) goto LABEL_118; LABEL_81: a1->m_disableAll = 0; if ( begin[513] ) goto LABEL_122; LABEL_82: a1->m_animate = 0; if ( begin[514] ) goto LABEL_126; LABEL_83: a1->m_relative = 0; if ( begin[531] ) goto LABEL_130; LABEL_84: a1->m_editorDisabled = 0; if ( begin[10] ) goto LABEL_134; LABEL_85: a1->m_duration = 0.0; if ( begin[30] ) goto LABEL_138; goto LABEL_86; } v48 = a2->__begin_; if ( (a2->__begin_[184].m_data.m_short.sizex2 & 1) != 0 ) v49 = v48[184].m_data.m_long.longStorage; else v49 = v48[184].m_data.m_short.shortStorage.__elems_; a1->m_invert = atoi(v49) != 0; if ( !begin[185] ) goto LABEL_74; LABEL_90: v51 = a2->__begin_; if ( (a2->__begin_[185].m_data.m_short.sizex2 & 1) != 0 ) v52 = v51[185].m_data.m_long.longStorage; else v52 = v51[185].m_data.m_short.shortStorage.__elems_; a1->m_flip = atoi(v52) != 0; if ( !begin[186] ) goto LABEL_75; LABEL_94: v53 = a2->__begin_; if ( (a2->__begin_[186].m_data.m_short.sizex2 & 1) != 0 ) v54 = v53[186].m_data.m_long.longStorage; else v54 = v53[186].m_data.m_short.shortStorage.__elems_; a1->m_rotate = atoi(v54) != 0; if ( !begin[187] ) goto LABEL_76; LABEL_98: v55 = a2->__begin_; if ( (a2->__begin_[187].m_data.m_short.sizex2 & 1) != 0 ) v56 = v55[187].m_data.m_long.longStorage; else v56 = v55[187].m_data.m_short.shortStorage.__elems_; a1->m_dual = atoi(v56) != 0; if ( !begin[188] ) goto LABEL_77; LABEL_102: v57 = a2->__begin_; if ( (a2->__begin_[188].m_data.m_short.sizex2 & 1) != 0 ) v58 = v57[188].m_data.m_long.longStorage; else v58 = v57[188].m_data.m_short.shortStorage.__elems_; a1->m_useX = atoi(v58) != 0; if ( !begin[190] ) goto LABEL_78; LABEL_106: v59 = a2->__begin_; if ( (a2->__begin_[190].m_data.m_short.sizex2 & 1) != 0 ) v60 = v59[190].m_data.m_long.longStorage; else v60 = v59[190].m_data.m_short.shortStorage.__elems_; a1->m_useY = atoi(v60) != 0; if ( !begin[194] ) goto LABEL_79; LABEL_110: v61 = a2->__begin_; if ( (a2->__begin_[194].m_data.m_short.sizex2 & 1) != 0 ) v62 = v61[194].m_data.m_long.longStorage; else v62 = v61[194].m_data.m_short.shortStorage.__elems_; a1->m_snapGrid = atoi(v62) != 0; if ( !begin[515] ) goto LABEL_80; LABEL_114: v63 = a2->__begin_; if ( (a2->__begin_[515].m_data.m_short.sizex2 & 1) != 0 ) v64 = v63[515].m_data.m_long.longStorage; else v64 = v63[515].m_data.m_short.shortStorage.__elems_; a1->m_hardEdges = atoi(v64) != 0; if ( !begin[192] ) goto LABEL_81; LABEL_118: v65 = a2->__begin_; if ( (a2->__begin_[192].m_data.m_short.sizex2 & 1) != 0 ) v66 = v65[192].m_data.m_long.longStorage; else v66 = v65[192].m_data.m_short.shortStorage.__elems_; a1->m_disableAll = atoi(v66) != 0; if ( !begin[513] ) goto LABEL_82; LABEL_122: v67 = a2->__begin_; if ( (a2->__begin_[513].m_data.m_short.sizex2 & 1) != 0 ) v68 = v67[513].m_data.m_long.longStorage; else v68 = v67[513].m_data.m_short.shortStorage.__elems_; a1->m_animate = atoi(v68) != 0; if ( !begin[514] ) goto LABEL_83; LABEL_126: v69 = a2->__begin_; if ( (a2->__begin_[514].m_data.m_short.sizex2 & 1) != 0 ) v70 = v69[514].m_data.m_long.longStorage; else v70 = v69[514].m_data.m_short.shortStorage.__elems_; a1->m_relative = atoi(v70) != 0; if ( !begin[531] ) goto LABEL_84; LABEL_130: v71 = a2->__begin_; if ( (a2->__begin_[531].m_data.m_short.sizex2 & 1) != 0 ) v72 = v71[531].m_data.m_long.longStorage; else v72 = v71[531].m_data.m_short.shortStorage.__elems_; a1->m_editorDisabled = atoi(v72) != 0; if ( !begin[10] ) goto LABEL_85; LABEL_134: v73 = a2->__begin_; if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 ) v74 = v73[10].m_data.m_long.longStorage; else v74 = v73[10].m_data.m_short.shortStorage.__elems_; v75 = atof(v74); a1->m_duration = v75; if ( begin[30] ) { LABEL_138: v76 = a2->__begin_; if ( (a2->__begin_[30].m_data.m_short.sizex2 & 1) != 0 ) v77 = v76[30].m_data.m_long.longStorage; else v77 = v76[30].m_data.m_short.shortStorage.__elems_; a1->m_easingType = atoi(v77); if ( begin[85] ) goto LABEL_142; LABEL_87: v50 = 0.0; goto LABEL_146; } LABEL_86: a1->m_easingType = 0; if ( !begin[85] ) goto LABEL_87; LABEL_142: v78 = a2->__begin_; if ( (a2->__begin_[85].m_data.m_short.sizex2 & 1) != 0 ) v79 = v78[85].m_data.m_long.longStorage; else v79 = v78[85].m_data.m_short.shortStorage.__elems_; v50 = atof(v79); LABEL_146: a1->m_easingRate = v50; v80 = 0; v81 = 0; if ( begin[51] ) { v82 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v83 = v82[51].m_data.m_long.longStorage; else v83 = v82[51].m_data.m_short.shortStorage.__elems_; v81 = atoi(v83); } if ( v81 <= 0 ) v81 = 0; v84 = 9999; if ( v81 >= 9999 ) v81 = 9999; a1->m_targetGroupID = v81; if ( begin[71] ) { v85 = a2->__begin_; if ( (a2->__begin_[71].m_data.m_short.sizex2 & 1) != 0 ) v86 = v85[71].m_data.m_long.longStorage; else v86 = v85[71].m_data.m_short.shortStorage.__elems_; v80 = atoi(v86); } v87 = 0; if ( v80 <= 0 ) v80 = 0; if ( v80 < 9999 ) v84 = v80; a1->m_centerGroupID = v84; if ( begin[138] ) { v88 = a2->__begin_; if ( (a2->__begin_[138].m_data.m_short.sizex2 & 1) != 0 ) v89 = v88[138].m_data.m_long.longStorage; else v89 = v88[138].m_data.m_short.shortStorage.__elems_; v87 = atoi(v89) != 0; } a1->m_targetPlayer1 = v87; if ( !begin[200] ) { a1->m_targetPlayer2 = 0; if ( begin[201] ) goto LABEL_179; LABEL_173: a1->m_followCPP = 0; if ( begin[196] ) goto LABEL_185; goto LABEL_174; } v90 = a2->__begin_; if ( (a2->__begin_[200].m_data.m_short.sizex2 & 1) != 0 ) v91 = v90[200].m_data.m_long.longStorage; else v91 = v90[200].m_data.m_short.shortStorage.__elems_; a1->m_targetPlayer2 = atoi(v91) != 0; if ( !begin[201] ) goto LABEL_173; LABEL_179: v94 = a2->__begin_; if ( (a2->__begin_[201].m_data.m_short.sizex2 & 1) != 0 ) v95 = v94[201].m_data.m_long.longStorage; else v95 = v94[201].m_data.m_short.shortStorage.__elems_; a1->m_followCPP = atoi(v95) != 0; if ( begin[196] ) { LABEL_185: v97 = a2->__begin_; if ( (a2->__begin_[196].m_data.m_short.sizex2 & 1) != 0 ) v98 = v97[196].m_data.m_long.longStorage; else v98 = v97[196].m_data.m_short.shortStorage.__elems_; a1->m_zLayerMin = atoi(v98); if ( !begin[197] ) goto LABEL_189; goto LABEL_175; } LABEL_174: a1->m_zLayerMin = 0; if ( !begin[197] ) { LABEL_189: v96 = 0; goto LABEL_190; } LABEL_175: v92 = a2->__begin_; if ( (a2->__begin_[197].m_data.m_short.sizex2 & 1) != 0 ) v93 = v92[197].m_data.m_long.longStorage; else v93 = v92[197].m_data.m_short.shortStorage.__elems_; v96 = atoi(v93); LABEL_190: a1->m_zLayerMax = v96; }
GD Web Decomp Icon

GD Web Decomp

Raw Source