// // SFXTriggerGameObject::customObjectSetup from 0x10038d2c4 to 0x10038dc70 (2476 bytes) // // 2 xrefs: // > SongTriggerGameObject::customObjectSetup @ 0x10038dfb4 // > @ 0x1007f7668 // // 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 SFXTriggerGameObject::customObjectSetup( SFXTriggerGameObject *a1, std::vector *a2, std::vector *a3) { std::__vector_base::pointer begin; // x22 std::__vector_base::pointer capacitym1; // x0 int v8; // w0 std::__vector_base::pointer v9; // x0 int v10; // w0 std::__vector_base::pointer v11; // x0 int v12; // w0 std::__vector_base::pointer v13; // x0 float v14; // s0 void *v15; // x8 std::__vector_base::pointer v16; // x0 void *v17; // x8 std::__vector_base::pointer v18; // x0 void *v19; // x8 std::__vector_base::pointer v20; // x0 void *v21; // x8 std::__vector_base::pointer v22; // x0 void *v23; // x8 std::__vector_base::pointer v24; // x0 std::__vector_base::pointer v25; // x0 int v26; // w0 void *v27; // x8 std::__vector_base::pointer v28; // x0 std::__vector_base::pointer v29; // x0 int v30; // w0 std::__vector_base::pointer v31; // x0 int v32; // w0 std::__vector_base::pointer v33; // x0 int v34; // w0 std::__vector_base::pointer v35; // x0 int v36; // w0 void *v37; // x8 std::__vector_base::pointer v38; // x0 void *v39; // x8 std::__vector_base::pointer v40; // x0 void *v41; // x8 std::__vector_base::pointer v42; // x0 std::__vector_base::pointer v43; // x0 int v44; // w0 int v45; // w8 std::__vector_base::pointer v46; // x0 int v47; // w0 int v48; // w8 float v49; // s8 float v50; // s0 std::__vector_base::pointer v51; // x0 std::__vector_base::pointer v52; // x0 std::__vector_base::pointer v53; // x0 float v54; // s0 std::__vector_base::pointer v55; // x21 int v56; // w0 std::__vector_base::pointer v57; // x21 int v58; // w0 std::__vector_base::pointer v59; // x21 int v60; // w0 std::__vector_base::pointer v61; // x0 int v62; // w0 void *v63; // x8 std::__vector_base::pointer v64; // x0 void *v65; // x8 std::__vector_base::pointer v66; // x0 void *v67; // x8 std::__vector_base::pointer v68; // x0 void *v69; // x8 std::__vector_base::pointer v70; // x0 std::__vector_base::pointer v71; // x0 float v72; // s0 void *v73; // x8 std::__vector_base::pointer v74; // x0 std::__vector_base::pointer v75; // x0 float v76; // s0 std::__vector_base::pointer v77; // x0 int v78; // w0 std::__vector_base::pointer v79; // x0 int v80; // w0 std::__vector_base::pointer v81; // x0 float v82; // s0 std::__vector_base::pointer v83; // x0 FMODReverbPreset v84; // w0 void *v85; // x8 std::__vector_base::pointer v86; // x0 void *v87; // x8 std::__vector_base::pointer v88; // x0 std::__vector_base::pointer v89; // x0 int v90; // w0 std::__vector_base::pointer v91; // x0 int v92; // w0 std::__vector_base::pointer v93; // x0 float v94; // s0 void *v95; // x8 std::__vector_base::pointer v96; // x0 EffectGameObject::customObjectSetup(a1, a2, a3); begin = a3->__begin_; if ( *((_QWORD *)a3->__begin_ + 392) ) { capacitym1 = a2->__begin_ + 392; if ( a2->__begin_[392].m_data.m_short.shortStorage.__elems_[22] < 0 ) capacitym1 = (std::__vector_base::pointer)capacitym1->m_data.m_long.capacitym1; v8 = atoi((const char *)capacitym1); } else { v8 = 0; } a1->m_soundID = v8; if ( begin[404] ) { v9 = a2->__begin_ + 404; if ( a2->__begin_[404].m_data.m_short.shortStorage.__elems_[22] < 0 ) v9 = (std::__vector_base::pointer)v9->m_data.m_long.capacitym1; v10 = atoi((const char *)v9); } else { v10 = 0; } a1->m_speed = v10; if ( begin[405] ) { v11 = a2->__begin_ + 405; if ( a2->__begin_[405].m_data.m_short.shortStorage.__elems_[22] < 0 ) v11 = (std::__vector_base::pointer)v11->m_data.m_long.capacitym1; v12 = atoi((const char *)v11); } else { v12 = 0; } a1->m_pitchIndex = v12; if ( begin[406] ) { v13 = a2->__begin_ + 406; if ( a2->__begin_[406].m_data.m_short.shortStorage.__elems_[22] < 0 ) v13 = (std::__vector_base::pointer)v13->m_data.m_long.capacitym1; v14 = atof((const char *)v13); } else { v14 = 0.0; } a1->m_volume = v14; v15 = begin[407]; if ( v15 ) { v16 = a2->__begin_ + 407; if ( a2->__begin_[407].m_data.m_short.shortStorage.__elems_[22] < 0 ) v16 = (std::__vector_base::pointer)v16->m_data.m_long.capacitym1; LOBYTE(v15) = atoi((const char *)v16) != 0; } a1->m_reverb = (char)v15; v17 = begin[412]; if ( v17 ) { v18 = a2->__begin_ + 412; if ( a2->__begin_[412].m_data.m_short.shortStorage.__elems_[22] < 0 ) v18 = (std::__vector_base::pointer)v18->m_data.m_long.capacitym1; LOBYTE(v17) = atoi((const char *)v18) != 0; } a1->m_fastFourierTransform = (char)v17; v19 = begin[413]; if ( v19 ) { v20 = a2->__begin_ + 413; if ( a2->__begin_[413].m_data.m_short.shortStorage.__elems_[22] < 0 ) v20 = (std::__vector_base::pointer)v20->m_data.m_long.capacitym1; LOBYTE(v19) = atoi((const char *)v20) != 0; } a1->m_loop = (char)v19; v21 = begin[414]; if ( v21 ) { v22 = a2->__begin_ + 414; if ( a2->__begin_[414].m_data.m_short.shortStorage.__elems_[22] < 0 ) v22 = (std::__vector_base::pointer)v22->m_data.m_long.capacitym1; LOBYTE(v21) = atoi((const char *)v22) != 0; } a1->m_stopLoop = (char)v21; v23 = begin[415]; if ( v23 ) { v24 = a2->__begin_ + 415; if ( a2->__begin_[415].m_data.m_short.shortStorage.__elems_[22] < 0 ) v24 = (std::__vector_base::pointer)v24->m_data.m_long.capacitym1; LOBYTE(v23) = atoi((const char *)v24) != 0; } a1->m_unique = (char)v23; if ( begin[416] ) { v25 = a2->__begin_ + 416; if ( a2->__begin_[416].m_data.m_short.shortStorage.__elems_[22] < 0 ) v25 = (std::__vector_base::pointer)v25->m_data.m_long.capacitym1; v26 = atoi((const char *)v25); } else { v26 = 0; } a1->m_sfxUniqueID = v26; v27 = begin[420]; if ( v27 ) { v28 = a2->__begin_ + 420; if ( a2->__begin_[420].m_data.m_short.shortStorage.__elems_[22] < 0 ) v28 = (std::__vector_base::pointer)v28->m_data.m_long.capacitym1; LOBYTE(v27) = atoi((const char *)v28) != 0; } a1->m_override = (char)v27; if ( begin[408] ) { v29 = a2->__begin_ + 408; if ( a2->__begin_[408].m_data.m_short.shortStorage.__elems_[22] < 0 ) v29 = (std::__vector_base::pointer)v29->m_data.m_long.capacitym1; v30 = atoi((const char *)v29); } else { v30 = 0; } a1->m_start = v30; if ( begin[409] ) { v31 = a2->__begin_ + 409; if ( a2->__begin_[409].m_data.m_short.shortStorage.__elems_[22] < 0 ) v31 = (std::__vector_base::pointer)v31->m_data.m_long.capacitym1; v32 = atoi((const char *)v31); } else { v32 = 0; } a1->m_fadeIn = v32; if ( begin[410] ) { v33 = a2->__begin_ + 410; if ( a2->__begin_[410].m_data.m_short.shortStorage.__elems_[22] < 0 ) v33 = (std::__vector_base::pointer)v33->m_data.m_long.capacitym1; v34 = atoi((const char *)v33); } else { v34 = 0; } a1->m_end = v34; if ( begin[411] ) { v35 = a2->__begin_ + 411; if ( a2->__begin_[411].m_data.m_short.shortStorage.__elems_[22] < 0 ) v35 = (std::__vector_base::pointer)v35->m_data.m_long.capacitym1; v36 = atoi((const char *)v35); } else { v36 = 0; } a1->m_fadeOut = v36; v37 = begin[417]; if ( v37 ) { v38 = a2->__begin_ + 417; if ( a2->__begin_[417].m_data.m_short.shortStorage.__elems_[22] < 0 ) v38 = (std::__vector_base::pointer)v38->m_data.m_long.capacitym1; LOBYTE(v37) = atoi((const char *)v38) != 0; } a1->m_stop = (char)v37; v39 = begin[418]; if ( v39 ) { v40 = a2->__begin_ + 418; if ( a2->__begin_[418].m_data.m_short.shortStorage.__elems_[22] < 0 ) v40 = (std::__vector_base::pointer)v40->m_data.m_long.capacitym1; LOBYTE(v39) = atoi((const char *)v40) != 0; } a1->m_changeSpeed = (char)v39; v41 = begin[419]; if ( v41 ) { v42 = a2->__begin_ + 419; if ( a2->__begin_[419].m_data.m_short.shortStorage.__elems_[22] < 0 ) v42 = (std::__vector_base::pointer)v42->m_data.m_long.capacitym1; LOBYTE(v41) = atoi((const char *)v42) != 0; } a1->m_changeVolume = (char)v41; if ( begin[51] ) { v43 = a2->__begin_ + 51; if ( a2->__begin_[51].m_data.m_short.shortStorage.__elems_[22] < 0 ) v43 = (std::__vector_base::pointer)v43->m_data.m_long.capacitym1; v44 = atoi((const char *)v43); } else { v44 = 0; } v45 = v44 & ~(v44 >> 31); if ( v45 >= 9999 ) v45 = 9999; a1->m_targetGroupID = v45; if ( begin[71] ) { v46 = a2->__begin_ + 71; if ( a2->__begin_[71].m_data.m_short.shortStorage.__elems_[22] < 0 ) v46 = (std::__vector_base::pointer)v46->m_data.m_long.capacitym1; v47 = atoi((const char *)v46); } else { v47 = 0; } v48 = v47 & ~(v47 >> 31); if ( v48 >= 9999 ) v48 = 9999; a1->m_centerGroupID = v48; v49 = 0.0; v50 = 0.0; if ( begin[421] ) { v51 = a2->__begin_ + 421; if ( a2->__begin_[421].m_data.m_short.shortStorage.__elems_[22] < 0 ) v51 = (std::__vector_base::pointer)v51->m_data.m_long.capacitym1; v50 = atof((const char *)v51); } a1->m_volumeNear = v50; if ( begin[422] ) { v52 = a2->__begin_ + 422; if ( a2->__begin_[422].m_data.m_short.shortStorage.__elems_[22] < 0 ) v52 = (std::__vector_base::pointer)v52->m_data.m_long.capacitym1; v49 = atof((const char *)v52); } a1->m_volumeMedium = v49; if ( begin[423] ) { v53 = a2->__begin_ + 423; if ( a2->__begin_[423].m_data.m_short.shortStorage.__elems_[22] < 0 ) v53 = (std::__vector_base::pointer)v53->m_data.m_long.capacitym1; v54 = atof((const char *)v53); } else { v54 = 0.0; } a1->m_volumeFar = v54; if ( begin[424] ) { v55 = a2->__begin_ + 424; if ( a2->__begin_[424].m_data.m_short.shortStorage.__elems_[22] < 0 ) { v55 = (std::__vector_base::pointer)v55->m_data.m_long.capacitym1; if ( atoi((const char *)v55) > 0 ) goto LABEL_112; } else if ( atoi((const char *)&a2->__begin_[424]) >= 1 ) { LABEL_112: v56 = atoi((const char *)v55); goto LABEL_115; } } v56 = 0; LABEL_115: a1->m_minDistNear = v56; if ( begin[425] ) { v57 = a2->__begin_ + 425; if ( a2->__begin_[425].m_data.m_short.shortStorage.__elems_[22] < 0 ) { v57 = (std::__vector_base::pointer)v57->m_data.m_long.capacitym1; if ( atoi((const char *)v57) > 0 ) goto LABEL_118; } else if ( atoi((const char *)&a2->__begin_[425]) >= 1 ) { LABEL_118: v58 = atoi((const char *)v57); goto LABEL_121; } } v58 = 0; LABEL_121: a1->m_minDistMedium = v58; if ( begin[426] ) { v59 = a2->__begin_ + 426; if ( a2->__begin_[426].m_data.m_short.shortStorage.__elems_[22] < 0 ) { v59 = (std::__vector_base::pointer)v59->m_data.m_long.capacitym1; if ( atoi((const char *)v59) > 0 ) goto LABEL_124; } else if ( atoi((const char *)&a2->__begin_[426]) >= 1 ) { LABEL_124: v60 = atoi((const char *)v59); goto LABEL_127; } } v60 = 0; LABEL_127: a1->m_minDistFar = v60; if ( begin[458] ) { v61 = a2->__begin_ + 458; if ( a2->__begin_[458].m_data.m_short.shortStorage.__elems_[22] < 0 ) v61 = (std::__vector_base::pointer)v61->m_data.m_long.capacitym1; v62 = atoi((const char *)v61); } else { v62 = 0; } a1->m_proximityMode = v62; v63 = begin[138]; if ( v63 ) { v64 = a2->__begin_ + 138; if ( a2->__begin_[138].m_data.m_short.shortStorage.__elems_[22] < 0 ) v64 = (std::__vector_base::pointer)v64->m_data.m_long.capacitym1; LOBYTE(v63) = atoi((const char *)v64) != 0; } a1->m_targetPlayer1 = (char)v63; v65 = begin[200]; if ( v65 ) { v66 = a2->__begin_ + 200; if ( a2->__begin_[200].m_data.m_short.shortStorage.__elems_[22] < 0 ) v66 = (std::__vector_base::pointer)v66->m_data.m_long.capacitym1; LOBYTE(v65) = atoi((const char *)v66) != 0; } a1->m_targetPlayer2 = (char)v65; v67 = begin[428]; if ( v67 ) { v68 = a2->__begin_ + 428; if ( a2->__begin_[428].m_data.m_short.shortStorage.__elems_[22] < 0 ) v68 = (std::__vector_base::pointer)v68->m_data.m_long.capacitym1; LOBYTE(v67) = atoi((const char *)v68) != 0; } a1->m_cameraDistance = (char)v67; v69 = begin[489]; if ( v69 ) { v70 = a2->__begin_ + 489; if ( a2->__begin_[489].m_data.m_short.shortStorage.__elems_[22] < 0 ) v70 = (std::__vector_base::pointer)v70->m_data.m_long.capacitym1; LOBYTE(v69) = atoi((const char *)v70) != 0; } a1->m_ignoreVolumeTest = (char)v69; if ( begin[10] ) { v71 = a2->__begin_ + 10; if ( a2->__begin_[10].m_data.m_short.shortStorage.__elems_[22] < 0 ) v71 = (std::__vector_base::pointer)v71->m_data.m_long.capacitym1; v72 = atof((const char *)v71); } else { v72 = 0.0; } a1->m_duration = v72; v73 = begin[433]; if ( v73 ) { v74 = a2->__begin_ + 433; if ( a2->__begin_[433].m_data.m_short.shortStorage.__elems_[22] < 0 ) v74 = (std::__vector_base::pointer)v74->m_data.m_long.capacitym1; LOBYTE(v73) = atoi((const char *)v74) != 0; } a1->m_preload = (char)v73; if ( begin[434] ) { v75 = a2->__begin_ + 434; if ( a2->__begin_[434].m_data.m_short.shortStorage.__elems_[22] < 0 ) v75 = (std::__vector_base::pointer)v75->m_data.m_long.capacitym1; v76 = atof((const char *)v75); } else { v76 = 0.0; } a1->m_minInterval = v76; if ( begin[455] ) { v77 = a2->__begin_ + 455; if ( a2->__begin_[455].m_data.m_short.shortStorage.__elems_[22] < 0 ) v77 = (std::__vector_base::pointer)v77->m_data.m_long.capacitym1; v78 = atoi((const char *)v77); } else { v78 = 0; } a1->m_sfxGroup = v78; if ( begin[457] ) { v79 = a2->__begin_ + 457; if ( a2->__begin_[457].m_data.m_short.shortStorage.__elems_[22] < 0 ) v79 = (std::__vector_base::pointer)v79->m_data.m_long.capacitym1; v80 = atoi((const char *)v79); } else { v80 = 0; } a1->m_groupID = v80; if ( begin[490] ) { v81 = a2->__begin_ + 490; if ( a2->__begin_[490].m_data.m_short.shortStorage.__elems_[22] < 0 ) v81 = (std::__vector_base::pointer)v81->m_data.m_long.capacitym1; v82 = atof((const char *)v81); } else { v82 = 0.0; } a1->m_soundDuration = v82; if ( begin[502] ) { v83 = a2->__begin_ + 502; if ( a2->__begin_[502].m_data.m_short.shortStorage.__elems_[22] < 0 ) v83 = (std::__vector_base::pointer)v83->m_data.m_long.capacitym1; v84 = atoi((const char *)v83); } else { v84 = Generic; } a1->m_reverbPreset = v84; v85 = begin[503]; if ( v85 ) { v86 = a2->__begin_ + 503; if ( a2->__begin_[503].m_data.m_short.shortStorage.__elems_[22] < 0 ) v86 = (std::__vector_base::pointer)v86->m_data.m_long.capacitym1; LOBYTE(v85) = atoi((const char *)v86) != 0; } a1->m_reverbEnabled = (char)v85; v87 = begin[595]; if ( v87 ) { v88 = a2->__begin_ + 595; if ( a2->__begin_[595].m_data.m_short.shortStorage.__elems_[22] < 0 ) v88 = (std::__vector_base::pointer)v88->m_data.m_long.capacitym1; LOBYTE(v87) = atoi((const char *)v88) != 0; } a1->m_dontReset = (char)v87; if ( begin[596] ) { v89 = a2->__begin_ + 596; if ( a2->__begin_[596].m_data.m_short.shortStorage.__elems_[22] < 0 ) v89 = (std::__vector_base::pointer)v89->m_data.m_long.capacitym1; v90 = atoi((const char *)v89); } else { v90 = 0; } a1->m_speedVariance = v90; if ( begin[597] ) { v91 = a2->__begin_ + 597; if ( a2->__begin_[597].m_data.m_short.shortStorage.__elems_[22] < 0 ) v91 = (std::__vector_base::pointer)v91->m_data.m_long.capacitym1; v92 = atoi((const char *)v91); } else { v92 = 0; } a1->m_pitchVariance = v92; if ( begin[598] ) { v93 = a2->__begin_ + 598; if ( a2->__begin_[598].m_data.m_short.shortStorage.__elems_[22] < 0 ) v93 = (std::__vector_base::pointer)v93->m_data.m_long.capacitym1; v94 = atof((const char *)v93); } else { v94 = 0.0; } a1->m_volumeVariance = v94; v95 = begin[599]; if ( v95 ) { v96 = a2->__begin_ + 599; if ( a2->__begin_[599].m_data.m_short.shortStorage.__elems_[22] < 0 ) v96 = (std::__vector_base::pointer)v96->m_data.m_long.capacitym1; LOBYTE(v95) = atoi((const char *)v96) != 0; } a1->m_pitchSteps = (char)v95; }
GD Web Decomp Icon

GD Web Decomp

Raw Source