// // SFXTriggerGameObject::customObjectSetup from 0x75d62c to 0x75de40 (2068 bytes) // // 3 xrefs: // > SongTriggerGameObject::customObjectSetup @ 0x75de5c // > @ 0x327f0 // > @ 0x116d3a8 // // 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 SFXTriggerGameObject::customObjectSetup( SFXTriggerGameObject *a1, std::vector *a2, std::vector *a3) { void **m_start; // x21 int v7; // w0 void *v8; // x1 int v9; // w0 void *v10; // x1 int v11; // w0 void *v12; // x1 double v13; // d0 __int64 v14; // x0 bool v15; // zf void *v16; // x0 bool v17; // w1 void *v18; // x0 bool v19; // w1 void *v20; // x0 bool v21; // w1 void *v22; // x0 bool v23; // w1 void *v24; // x0 bool v25; // w1 int v26; // w0 void *v27; // x1 void *v28; // x0 bool v29; // w1 int v30; // w0 void *v31; // x1 int v32; // w0 void *v33; // x1 int v34; // w0 void *v35; // x1 int v36; // w0 void *v37; // x1 void *v38; // x0 bool v39; // w1 void *v40; // x0 bool v41; // w1 void *v42; // x0 bool v43; // w1 int v44; // w0 int v45; // w0 void **v46; // x21 double v47; // d0 __int64 v48; // x0 double v49; // d0 __int64 v50; // x0 double v51; // d0 __int64 v52; // x0 int v53; // w0 void *v54; // x1 int v55; // w0 void *v56; // x1 int v57; // w0 void *v58; // x1 int v59; // w0 void *v60; // x1 void *v61; // x0 bool v62; // w1 void *v63; // x0 bool v64; // w1 void *v65; // x0 bool v66; // w1 void *v67; // x0 bool v68; // w1 double v69; // d0 __int64 v70; // x0 void *v71; // x0 bool v72; // w1 double v73; // d0 __int64 v74; // x0 int v75; // w0 void *v76; // x1 int v77; // w0 void *v78; // x1 double v79; // d0 __int64 v80; // x0 FMODReverbPreset v81; // w0 void *v82; // x1 void *v83; // x0 bool v84; // w1 void *v85; // x0 bool v86; // w1 int v87; // w0 void *v88; // x1 int v89; // w0 void *v90; // x1 float v91; // s0 __int64 v92; // x0 void *v93; // x0 void *v94; // x0 void *v95; // x0 void *v96; // x0 void *v97; // x0 void *v98; // x0 void *v99; // x1 void *v100; // x0 void *v101; // x1 void *v102; // x1 void *v103; // x1 void *v104; // x1 void *v105; // x0 void *v106; // x0 void *v107; // x0 void *v108; // x0 void *v109; // x0 void *v110; // x0 void *v111; // x1 void *v112; // x1 void *v113; // x1 void *v114; // x1 void *v115; // x0 void *v116; // x0 void *v117; // x0 void *v118; // x0 void *v119; // x0 void *v120; // x0 void *v121; // x0 void *v122; // x1 void *v123; // x1 void *v124; // x0 void *v125; // x1 void *v126; // x0 void *v127; // x0 void *v128; // x1 void *v129; // x1 void *v130; // x0 void *v131; // x1 EffectGameObject::customObjectSetup(a1, a2, a3); m_start = a3->m_start; if ( *((_QWORD *)a3->m_start + 392) ) { v7 = atoi((const char *)a2->m_start[392].m_data.m_data); v8 = m_start[404]; a1->m_soundID = v7; if ( v8 ) { LABEL_3: v9 = atoi((const char *)a2->m_start[404].m_data.m_data); goto LABEL_4; } } else { v131 = m_start[404]; a1->m_soundID = 0; if ( v131 ) goto LABEL_3; } v9 = 0; LABEL_4: v10 = m_start[405]; a1->m_speed = v9; if ( v10 ) v11 = atoi((const char *)a2->m_start[405].m_data.m_data); else v11 = 0; v12 = m_start[406]; a1->m_pitchIndex = v11; if ( v12 ) { v13 = atof((const char *)a2->m_start[406].m_data.m_data); m_start = a3->m_start; *(float *)&v13 = v13; v14 = *((_QWORD *)a3->m_start + 407); a1->m_volume = *(float *)&v13; if ( v14 ) goto LABEL_8; LABEL_103: v94 = m_start[412]; a1->m_reverb = 0; if ( v94 ) goto LABEL_12; LABEL_104: v95 = m_start[413]; a1->m_fastFourierTransform = 0; if ( v95 ) goto LABEL_16; LABEL_105: v96 = m_start[414]; a1->m_loop = 0; if ( v96 ) goto LABEL_20; LABEL_106: v97 = m_start[415]; a1->m_stopLoop = 0; if ( v97 ) goto LABEL_24; LABEL_107: v98 = m_start[416]; a1->m_unique = 0; if ( v98 ) goto LABEL_28; goto LABEL_108; } v93 = m_start[407]; a1->m_volume = 0.0; if ( !v93 ) goto LABEL_103; LABEL_8: v15 = atoi((const char *)a2->m_start[407].m_data.m_data) == 0; v16 = m_start[412]; v17 = !v15; a1->m_reverb = v17; if ( !v16 ) goto LABEL_104; LABEL_12: v15 = atoi((const char *)a2->m_start[412].m_data.m_data) == 0; v18 = m_start[413]; v19 = !v15; a1->m_fastFourierTransform = v19; if ( !v18 ) goto LABEL_105; LABEL_16: v15 = atoi((const char *)a2->m_start[413].m_data.m_data) == 0; v20 = m_start[414]; v21 = !v15; a1->m_loop = v21; if ( !v20 ) goto LABEL_106; LABEL_20: v15 = atoi((const char *)a2->m_start[414].m_data.m_data) == 0; v22 = m_start[415]; v23 = !v15; a1->m_stopLoop = v23; if ( !v22 ) goto LABEL_107; LABEL_24: v15 = atoi((const char *)a2->m_start[415].m_data.m_data) == 0; v24 = m_start[416]; v25 = !v15; a1->m_unique = v25; if ( v24 ) { LABEL_28: v26 = atoi((const char *)a2->m_start[416].m_data.m_data); v27 = m_start[420]; a1->m_sfxUniqueID = v26; if ( v27 ) goto LABEL_29; LABEL_109: v100 = m_start[408]; a1->m_override = 0; if ( v100 ) goto LABEL_33; goto LABEL_110; } LABEL_108: v99 = m_start[420]; a1->m_sfxUniqueID = 0; if ( !v99 ) goto LABEL_109; LABEL_29: v15 = atoi((const char *)a2->m_start[420].m_data.m_data) == 0; v28 = m_start[408]; v29 = !v15; a1->m_override = v29; if ( v28 ) { LABEL_33: v30 = atoi((const char *)a2->m_start[408].m_data.m_data); v31 = m_start[409]; a1->m_start = v30; if ( v31 ) goto LABEL_34; goto LABEL_111; } LABEL_110: v101 = m_start[409]; a1->m_start = 0; if ( v101 ) { LABEL_34: v32 = atoi((const char *)a2->m_start[409].m_data.m_data); v33 = m_start[410]; a1->m_fadeIn = v32; if ( v33 ) goto LABEL_35; goto LABEL_112; } LABEL_111: v102 = m_start[410]; a1->m_fadeIn = 0; if ( v102 ) { LABEL_35: v34 = atoi((const char *)a2->m_start[410].m_data.m_data); v35 = m_start[411]; a1->m_end = v34; if ( v35 ) goto LABEL_36; goto LABEL_113; } LABEL_112: v103 = m_start[411]; a1->m_end = 0; if ( v103 ) { LABEL_36: v36 = atoi((const char *)a2->m_start[411].m_data.m_data); v37 = m_start[417]; a1->m_fadeOut = v36; if ( v37 ) goto LABEL_37; LABEL_114: v105 = m_start[418]; a1->m_stop = 0; if ( v105 ) goto LABEL_41; LABEL_115: v106 = m_start[419]; a1->m_changeSpeed = 0; if ( v106 ) goto LABEL_45; LABEL_116: v107 = m_start[51]; a1->m_changeVolume = 0; if ( v107 ) goto LABEL_49; goto LABEL_117; } LABEL_113: v104 = m_start[417]; a1->m_fadeOut = 0; if ( !v104 ) goto LABEL_114; LABEL_37: v15 = atoi((const char *)a2->m_start[417].m_data.m_data) == 0; v38 = m_start[418]; v39 = !v15; a1->m_stop = v39; if ( !v38 ) goto LABEL_115; LABEL_41: v15 = atoi((const char *)a2->m_start[418].m_data.m_data) == 0; v40 = m_start[419]; v41 = !v15; a1->m_changeSpeed = v41; if ( !v40 ) goto LABEL_116; LABEL_45: v15 = atoi((const char *)a2->m_start[419].m_data.m_data) == 0; v42 = m_start[51]; v43 = !v15; a1->m_changeVolume = v43; if ( v42 ) { LABEL_49: v44 = atoi((const char *)a2->m_start[51].m_data.m_data); EffectGameObject::setTargetID(a1, v44); if ( *((_QWORD *)a3->m_start + 71) ) goto LABEL_50; goto LABEL_118; } LABEL_117: EffectGameObject::setTargetID(a1, 0); if ( *((_QWORD *)a3->m_start + 71) ) { LABEL_50: v45 = atoi((const char *)a2->m_start[71].m_data.m_data); EffectGameObject::setTargetID2(a1, v45); v46 = a3->m_start; if ( *((_QWORD *)a3->m_start + 421) ) goto LABEL_51; goto LABEL_119; } LABEL_118: EffectGameObject::setTargetID2(a1, 0); v46 = a3->m_start; if ( *((_QWORD *)a3->m_start + 421) ) { LABEL_51: v47 = atof((const char *)a2->m_start[421].m_data.m_data); v46 = a3->m_start; *(float *)&v47 = v47; v48 = *((_QWORD *)a3->m_start + 422); a1->m_volumeNear = *(float *)&v47; if ( v48 ) goto LABEL_52; goto LABEL_120; } LABEL_119: v108 = v46[422]; a1->m_volumeNear = 0.0; if ( v108 ) { LABEL_52: v49 = atof((const char *)a2->m_start[422].m_data.m_data); v46 = a3->m_start; *(float *)&v49 = v49; v50 = *((_QWORD *)a3->m_start + 423); a1->m_volumeMedium = *(float *)&v49; if ( v50 ) goto LABEL_53; goto LABEL_121; } LABEL_120: v109 = v46[423]; a1->m_volumeMedium = 0.0; if ( v109 ) { LABEL_53: v51 = atof((const char *)a2->m_start[423].m_data.m_data); v46 = a3->m_start; *(float *)&v51 = v51; v52 = *((_QWORD *)a3->m_start + 424); a1->m_volumeFar = *(float *)&v51; if ( v52 ) goto LABEL_54; LABEL_122: v111 = v46[425]; a1->m_minDistNear = 0; if ( v111 ) goto LABEL_57; LABEL_123: v112 = v46[426]; a1->m_minDistMedium = 0; if ( v112 ) goto LABEL_60; LABEL_124: v113 = v46[458]; a1->m_minDistFar = 0; if ( v113 ) goto LABEL_63; goto LABEL_125; } LABEL_121: v110 = v46[424]; a1->m_volumeFar = 0.0; if ( !v110 ) goto LABEL_122; LABEL_54: v53 = atoi((const char *)a2->m_start[424].m_data.m_data); v54 = v46[425]; if ( v53 < 0 ) v53 = 0; a1->m_minDistNear = v53; if ( !v54 ) goto LABEL_123; LABEL_57: v55 = atoi((const char *)a2->m_start[425].m_data.m_data); v56 = v46[426]; if ( v55 < 0 ) v55 = 0; a1->m_minDistMedium = v55; if ( !v56 ) goto LABEL_124; LABEL_60: v57 = atoi((const char *)a2->m_start[426].m_data.m_data); v58 = v46[458]; if ( v57 < 0 ) v57 = 0; a1->m_minDistFar = v57; if ( v58 ) { LABEL_63: v59 = atoi((const char *)a2->m_start[458].m_data.m_data); v60 = v46[138]; a1->m_proximityMode = v59; if ( v60 ) goto LABEL_64; LABEL_126: v115 = v46[200]; a1->m_targetPlayer1 = 0; if ( v115 ) goto LABEL_68; LABEL_127: v116 = v46[428]; a1->m_targetPlayer2 = 0; if ( v116 ) goto LABEL_72; LABEL_128: v117 = v46[489]; a1->m_cameraDistance = 0; if ( v117 ) goto LABEL_76; LABEL_129: v118 = v46[10]; a1->m_ignoreVolumeTest = 0; if ( v118 ) goto LABEL_80; goto LABEL_130; } LABEL_125: v114 = v46[138]; a1->m_proximityMode = 0; if ( !v114 ) goto LABEL_126; LABEL_64: v15 = atoi((const char *)a2->m_start[138].m_data.m_data) == 0; v61 = v46[200]; v62 = !v15; a1->m_targetPlayer1 = v62; if ( !v61 ) goto LABEL_127; LABEL_68: v15 = atoi((const char *)a2->m_start[200].m_data.m_data) == 0; v63 = v46[428]; v64 = !v15; a1->m_targetPlayer2 = v64; if ( !v63 ) goto LABEL_128; LABEL_72: v15 = atoi((const char *)a2->m_start[428].m_data.m_data) == 0; v65 = v46[489]; v66 = !v15; a1->m_cameraDistance = v66; if ( !v65 ) goto LABEL_129; LABEL_76: v15 = atoi((const char *)a2->m_start[489].m_data.m_data) == 0; v67 = v46[10]; v68 = !v15; a1->m_ignoreVolumeTest = v68; if ( v67 ) { LABEL_80: v69 = atof((const char *)a2->m_start[10].m_data.m_data); v46 = a3->m_start; *(float *)&v69 = v69; v70 = *((_QWORD *)a3->m_start + 433); a1->m_duration = *(float *)&v69; if ( v70 ) goto LABEL_81; LABEL_131: v120 = v46[434]; a1->m_preload = 0; if ( v120 ) goto LABEL_85; goto LABEL_132; } LABEL_130: v119 = v46[433]; a1->m_duration = 0.0; if ( !v119 ) goto LABEL_131; LABEL_81: v15 = atoi((const char *)a2->m_start[433].m_data.m_data) == 0; v71 = v46[434]; v72 = !v15; a1->m_preload = v72; if ( v71 ) { LABEL_85: v73 = atof((const char *)a2->m_start[434].m_data.m_data); v46 = a3->m_start; *(float *)&v73 = v73; v74 = *((_QWORD *)a3->m_start + 455); a1->m_minInterval = *(float *)&v73; if ( v74 ) goto LABEL_86; goto LABEL_133; } LABEL_132: v121 = v46[455]; a1->m_minInterval = 0.0; if ( v121 ) { LABEL_86: v75 = atoi((const char *)a2->m_start[455].m_data.m_data); v76 = v46[457]; a1->m_sfxGroup = v75; if ( v76 ) goto LABEL_87; goto LABEL_134; } LABEL_133: v122 = v46[457]; a1->m_sfxGroup = 0; if ( v122 ) { LABEL_87: v77 = atoi((const char *)a2->m_start[457].m_data.m_data); v78 = v46[490]; a1->m_groupID = v77; if ( v78 ) goto LABEL_88; goto LABEL_135; } LABEL_134: v123 = v46[490]; a1->m_groupID = 0; if ( v123 ) { LABEL_88: v79 = atof((const char *)a2->m_start[490].m_data.m_data); v46 = a3->m_start; *(float *)&v79 = v79; v80 = *((_QWORD *)a3->m_start + 502); a1->m_soundDuration = *(float *)&v79; if ( v80 ) goto LABEL_89; goto LABEL_136; } LABEL_135: v124 = v46[502]; a1->m_soundDuration = 0.0; if ( v124 ) { LABEL_89: v81 = atoi((const char *)a2->m_start[502].m_data.m_data); v82 = v46[503]; a1->m_reverbPreset = v81; if ( v82 ) goto LABEL_90; LABEL_137: v126 = v46[595]; a1->m_reverbEnabled = 0; if ( v126 ) goto LABEL_94; LABEL_138: v127 = v46[596]; a1->m_dontReset = 0; if ( v127 ) goto LABEL_98; goto LABEL_139; } LABEL_136: v125 = v46[503]; a1->m_reverbPreset = Generic; if ( !v125 ) goto LABEL_137; LABEL_90: v15 = atoi((const char *)a2->m_start[503].m_data.m_data) == 0; v83 = v46[595]; v84 = !v15; a1->m_reverbEnabled = v84; if ( !v83 ) goto LABEL_138; LABEL_94: v15 = atoi((const char *)a2->m_start[595].m_data.m_data) == 0; v85 = v46[596]; v86 = !v15; a1->m_dontReset = v86; if ( v85 ) { LABEL_98: v87 = atoi((const char *)a2->m_start[596].m_data.m_data); v88 = v46[597]; a1->m_speedVariance = v87; if ( v88 ) goto LABEL_99; goto LABEL_140; } LABEL_139: v128 = v46[597]; a1->m_speedVariance = 0; if ( v128 ) { LABEL_99: v89 = atoi((const char *)a2->m_start[597].m_data.m_data); v90 = v46[598]; a1->m_pitchVariance = v89; if ( v90 ) goto LABEL_100; LABEL_141: v130 = v46[599]; a1->m_volumeVariance = 0.0; if ( v130 ) goto LABEL_101; goto LABEL_142; } LABEL_140: v129 = v46[598]; a1->m_pitchVariance = 0; if ( !v129 ) goto LABEL_141; LABEL_100: v91 = atof((const char *)a2->m_start[598].m_data.m_data); v92 = *((_QWORD *)a3->m_start + 599); a1->m_volumeVariance = v91; if ( v92 ) { LABEL_101: a1->m_pitchSteps = atoi((const char *)a2->m_start[599].m_data.m_data) != 0; return; } LABEL_142: a1->m_pitchSteps = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source