// // CameraTriggerGameObject::customObjectSetup from 0x1404beac0 to 0x1404bf1d4 (1812 bytes) // // 4 xrefs: // > @ 0x140616520 // > @ 0x1406a8e2c // > @ 0x1406a8e3c // > @ 0x1406dce60 // // 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 CameraTriggerGameObject::customObjectSetup( CameraTriggerGameObject *a1, std::vector *a2, std::vector *a3) { int v6; // edi int v7; // eax std::_Vector_val>::pointer v8; // rcx std::_Vector_val>::pointer v9; // rcx double v10; // xmm6_8 double v11; // xmm0_8 std::_Vector_val>::pointer v12; // rcx float v13; // xmm0_4 std::_Vector_val>::pointer v14; // rcx double v15; // xmm0_8 std::_Vector_val>::pointer v16; // rcx float v17; // xmm1_4 __int64 v18; // rax std::_Vector_val>::pointer v19; // rcx float v20; // xmm0_4 std::_Vector_val>::pointer v21; // rax double v22; // xmm6_8 double v23; // xmm0_8 std::_Vector_val>::pointer v24; // rcx float v25; // xmm7_4 double v26; // xmm0_8 std::_Vector_val>::pointer v27; // rcx float v28; // xmm0_4 int v29; // edi EasingType v30; // eax std::_Vector_val>::pointer v31; // rcx std::_Vector_val>::pointer v32; // rcx float v33; // xmm0_4 int v34; // eax std::_Vector_val>::pointer v35; // rcx std::_Vector_val>::pointer v36; // rcx double v37; // xmm6_8 double v38; // xmm0_8 std::_Vector_val>::pointer v39; // rcx float v40; // xmm9_4 std::_Vector_val>::pointer v41; // rcx double v42; // xmm0_8 std::_Vector_val>::pointer v43; // rcx float v44; // xmm7_4 __int64 v45; // rax std::_Vector_val>::pointer v46; // rcx MoveTargetType v47; // edi float v48; // xmm0_4 EasingType v49; // eax std::_Vector_val>::pointer v50; // rcx std::_Vector_val>::pointer v51; // rcx std::_Vector_val>::pointer Myfirst; // rax double v53; // xmm7_8 double v54; // xmm0_8 std::_Vector_val>::pointer m_bigStorage; // rcx float v56; // xmm6_4 double v57; // xmm0_8 std::_Vector_val>::pointer v58; // rcx float v59; // xmm0_4 int v60; // edi EasingType v61; // eax std::_Vector_val>::pointer v62; // rcx int v63; // eax std::_Vector_val>::pointer v64; // rcx MoveTargetType v65; // eax std::_Vector_val>::pointer v66; // rcx int v67; // eax std::_Vector_val>::pointer v68; // rcx int v69; // eax std::_Vector_val>::pointer v70; // rcx double v71; // xmm0_8 std::_Vector_val>::pointer v72; // rcx float v73; // xmm0_4 int v74; // eax std::_Vector_val>::pointer v75; // rcx std::_Vector_val>::pointer v76; // rcx float v77; // xmm0_4 std::_Vector_val>::pointer v78; // rcx EffectGameObject::customObjectSetup(a1, a2, a3); switch ( a1->m_objectID ) { case 0x77A: Myfirst = a3->_Mypair._Myval2._Myfirst; v53 = 0.0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 85) ) { m_bigStorage = a2->_Mypair._Myval2._Myfirst + 85; if ( a2->_Mypair._Myval2._Myfirst[85].m_data.m_capacity > 0xF ) m_bigStorage = (std::_Vector_val>::pointer)m_bigStorage->m_data.m_bigStorage; v54 = atof(m_bigStorage->m_data.m_smallStorage._Elems); Myfirst = a3->_Mypair._Myval2._Myfirst; } else { v54 = 0.0; } v56 = v54; v57 = 0.0; if ( v56 <= 0.0 ) v56 = 2.0; if ( Myfirst[10] ) { v58 = a2->_Mypair._Myval2._Myfirst + 10; if ( a2->_Mypair._Myval2._Myfirst[10].m_data.m_capacity > 0xF ) v58 = (std::_Vector_val>::pointer)v58->m_data.m_bigStorage; v57 = atof(v58->m_data.m_smallStorage._Elems); } v59 = v57; v60 = 0; a1->m_duration = v59; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 30) ) { v62 = a2->_Mypair._Myval2._Myfirst + 30; if ( a2->_Mypair._Myval2._Myfirst[30].m_data.m_capacity > 0xF ) v62 = (std::_Vector_val>::pointer)v62->m_data.m_bigStorage; v61 = atoi(v62->m_data.m_smallStorage._Elems); } else { v61 = 0; } a1->m_easingRate = v56; a1->m_easingType = v61; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 71) ) { v64 = a2->_Mypair._Myval2._Myfirst + 71; if ( a2->_Mypair._Myval2._Myfirst[71].m_data.m_capacity > 0xF ) v64 = (std::_Vector_val>::pointer)v64->m_data.m_bigStorage; v63 = atoi(v64->m_data.m_smallStorage._Elems); } else { v63 = 0; } a1->m_centerGroupID = v63; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 101) ) { v66 = a2->_Mypair._Myval2._Myfirst + 101; if ( a2->_Mypair._Myval2._Myfirst[101].m_data.m_capacity > 0xF ) v66 = (std::_Vector_val>::pointer)v66->m_data.m_bigStorage; v65 = atoi(v66->m_data.m_smallStorage._Elems); } else { v65 = Both; } a1->m_moveTargetMode = v65; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 110) ) { v68 = a2->_Mypair._Myval2._Myfirst + 110; if ( a2->_Mypair._Myval2._Myfirst[110].m_data.m_capacity > 0xF ) v68 = (std::_Vector_val>::pointer)v68->m_data.m_bigStorage; v67 = atoi(v68->m_data.m_smallStorage._Elems); } else { v67 = 0; } a1->m_exitStatic = v67 != 0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 212) ) { v70 = a2->_Mypair._Myval2._Myfirst + 212; if ( a2->_Mypair._Myval2._Myfirst[212].m_data.m_capacity > 0xF ) v70 = (std::_Vector_val>::pointer)v70->m_data.m_bigStorage; v69 = atoi(v70->m_data.m_smallStorage._Elems); } else { v69 = 0; } a1->m_followObject = v69 != 0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 213) ) { v72 = a2->_Mypair._Myval2._Myfirst + 213; if ( a2->_Mypair._Myval2._Myfirst[213].m_data.m_capacity > 0xF ) v72 = (std::_Vector_val>::pointer)v72->m_data.m_bigStorage; v71 = atof(v72->m_data.m_smallStorage._Elems); } else { v71 = 0.0; } v73 = v71; a1->m_followEasing = v73; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 453) ) { v75 = a2->_Mypair._Myval2._Myfirst + 453; if ( a2->_Mypair._Myval2._Myfirst[453].m_data.m_capacity > 0xF ) v75 = (std::_Vector_val>::pointer)v75->m_data.m_bigStorage; v74 = atoi(v75->m_data.m_smallStorage._Elems); } else { v74 = 0; } a1->m_smoothVelocity = v74 != 0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 454) ) { v76 = a2->_Mypair._Myval2._Myfirst + 454; if ( a2->_Mypair._Myval2._Myfirst[454].m_data.m_capacity > 0xF ) v76 = (std::_Vector_val>::pointer)v76->m_data.m_bigStorage; v53 = atof(v76->m_data.m_smallStorage._Elems); } v77 = v53; a1->m_velocityModifier = v77; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 465) ) { v78 = a2->_Mypair._Myval2._Myfirst + 465; if ( a2->_Mypair._Myval2._Myfirst[465].m_data.m_capacity > 0xF ) v78 = (std::_Vector_val>::pointer)v78->m_data.m_bigStorage; v60 = atoi(v78->m_data.m_smallStorage._Elems); } a1->m_exitInstant = v60 != 0; break; case 0x77C: v37 = 0.0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 28) ) { v39 = a2->_Mypair._Myval2._Myfirst + 28; if ( a2->_Mypair._Myval2._Myfirst[28].m_data.m_capacity > 0xF ) v39 = (std::_Vector_val>::pointer)v39->m_data.m_bigStorage; v38 = atof(v39->m_data.m_smallStorage._Elems); } else { v38 = 0.0; } v40 = v38; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 29) ) { v41 = a2->_Mypair._Myval2._Myfirst + 29; if ( a2->_Mypair._Myval2._Myfirst[29].m_data.m_capacity > 0xF ) v41 = (std::_Vector_val>::pointer)v41->m_data.m_bigStorage; atof(v41->m_data.m_smallStorage._Elems); } if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 85) ) { v43 = a2->_Mypair._Myval2._Myfirst + 85; if ( a2->_Mypair._Myval2._Myfirst[85].m_data.m_capacity > 0xF ) v43 = (std::_Vector_val>::pointer)v43->m_data.m_bigStorage; v42 = atof(v43->m_data.m_smallStorage._Elems); } else { v42 = 0.0; } v44 = v42; if ( v44 <= 0.0 ) v44 = 2.0; cocos2d::CCPoint::CCPoint(0.0, v40); cocos2d::CCPoint::operator=(&a1->m_moveOffset, v45); if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 10) ) { v46 = a2->_Mypair._Myval2._Myfirst + 10; if ( a2->_Mypair._Myval2._Myfirst[10].m_data.m_capacity > 0xF ) v46 = (std::_Vector_val>::pointer)v46->m_data.m_bigStorage; v37 = atof(v46->m_data.m_smallStorage._Elems); } v47 = Both; v48 = v37; a1->m_duration = v48; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 30) ) { v50 = a2->_Mypair._Myval2._Myfirst + 30; if ( a2->_Mypair._Myval2._Myfirst[30].m_data.m_capacity > 0xF ) v50 = (std::_Vector_val>::pointer)v50->m_data.m_bigStorage; v49 = atoi(v50->m_data.m_smallStorage._Elems); } else { v49 = 0; } a1->m_easingRate = v44; a1->m_easingType = v49; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 101) ) { v51 = a2->_Mypair._Myval2._Myfirst + 101; if ( a2->_Mypair._Myval2._Myfirst[101].m_data.m_capacity > 0xF ) v51 = (std::_Vector_val>::pointer)v51->m_data.m_bigStorage; v47 = atoi(v51->m_data.m_smallStorage._Elems); } a1->m_moveTargetMode = v47; break; case 0x7DF: v21 = a3->_Mypair._Myval2._Myfirst; v22 = 0.0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 85) ) { v24 = a2->_Mypair._Myval2._Myfirst + 85; if ( a2->_Mypair._Myval2._Myfirst[85].m_data.m_capacity > 0xF ) v24 = (std::_Vector_val>::pointer)v24->m_data.m_bigStorage; v23 = atof(v24->m_data.m_smallStorage._Elems); v21 = a3->_Mypair._Myval2._Myfirst; } else { v23 = 0.0; } v25 = v23; v26 = 0.0; if ( v25 <= 0.0 ) v25 = 2.0; if ( v21[10] ) { v27 = a2->_Mypair._Myval2._Myfirst + 10; if ( a2->_Mypair._Myval2._Myfirst[10].m_data.m_capacity > 0xF ) v27 = (std::_Vector_val>::pointer)v27->m_data.m_bigStorage; v26 = atof(v27->m_data.m_smallStorage._Elems); } v28 = v26; v29 = 0; a1->m_duration = v28; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 30) ) { v31 = a2->_Mypair._Myval2._Myfirst + 30; if ( a2->_Mypair._Myval2._Myfirst[30].m_data.m_capacity > 0xF ) v31 = (std::_Vector_val>::pointer)v31->m_data.m_bigStorage; v30 = atoi(v31->m_data.m_smallStorage._Elems); } else { v30 = 0; } a1->m_easingRate = v25; a1->m_easingType = v30; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 68) ) { v32 = a2->_Mypair._Myval2._Myfirst + 68; if ( a2->_Mypair._Myval2._Myfirst[68].m_data.m_capacity > 0xF ) v32 = (std::_Vector_val>::pointer)v32->m_data.m_bigStorage; v22 = atof(v32->m_data.m_smallStorage._Elems); } v33 = v22; a1->m_rotationDegrees = v33; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 70) ) { v35 = a2->_Mypair._Myval2._Myfirst + 70; if ( a2->_Mypair._Myval2._Myfirst[70].m_data.m_capacity > 0xF ) v35 = (std::_Vector_val>::pointer)v35->m_data.m_bigStorage; v34 = atoi(v35->m_data.m_smallStorage._Elems); } else { v34 = 0; } a1->m_lockObjectRotation = v34 != 0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 394) ) { v36 = a2->_Mypair._Myval2._Myfirst + 394; if ( a2->_Mypair._Myval2._Myfirst[394].m_data.m_capacity > 0xF ) v36 = (std::_Vector_val>::pointer)v36->m_data.m_bigStorage; v29 = atoi(v36->m_data.m_smallStorage._Elems); } a1->m_isDirectionFollowSnap360 = v29 != 0; break; case 0x7E0: v10 = 0.0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 371) ) { v12 = a2->_Mypair._Myval2._Myfirst + 371; if ( a2->_Mypair._Myval2._Myfirst[371].m_data.m_capacity > 0xF ) v12 = (std::_Vector_val>::pointer)v12->m_data.m_bigStorage; v11 = atof(v12->m_data.m_smallStorage._Elems); } else { v11 = 0.0; } v13 = v11; a1->m_zoomValue = v13; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 29) ) { v14 = a2->_Mypair._Myval2._Myfirst + 29; if ( a2->_Mypair._Myval2._Myfirst[29].m_data.m_capacity > 0xF ) v14 = (std::_Vector_val>::pointer)v14->m_data.m_bigStorage; atof(v14->m_data.m_smallStorage._Elems); } if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 28) ) { v16 = a2->_Mypair._Myval2._Myfirst + 28; if ( a2->_Mypair._Myval2._Myfirst[28].m_data.m_capacity > 0xF ) v16 = (std::_Vector_val>::pointer)v16->m_data.m_bigStorage; v15 = atof(v16->m_data.m_smallStorage._Elems); } else { v15 = 0.0; } v17 = v15; cocos2d::CCPoint::CCPoint(*(float *)&v15, v17); cocos2d::CCPoint::operator=(&a1->m_moveOffset, v18); if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 506) ) { v19 = a2->_Mypair._Myval2._Myfirst + 506; if ( a2->_Mypair._Myval2._Myfirst[506].m_data.m_capacity > 0xF ) v19 = (std::_Vector_val>::pointer)v19->m_data.m_bigStorage; v10 = atof(v19->m_data.m_smallStorage._Elems); } v20 = v10; a1->m_previewOpacity = v20; break; case 0x80E: v6 = 0; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 51) ) { v8 = a2->_Mypair._Myval2._Myfirst + 51; if ( a2->_Mypair._Myval2._Myfirst[51].m_data.m_capacity > 0xF ) v8 = (std::_Vector_val>::pointer)v8->m_data.m_bigStorage; v7 = atoi(v8->m_data.m_smallStorage._Elems); } else { v7 = 0; } a1->m_targetGroupID = v7; if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 164) ) { v9 = a2->_Mypair._Myval2._Myfirst + 164; if ( a2->_Mypair._Myval2._Myfirst[164].m_data.m_capacity > 0xF ) v9 = (std::_Vector_val>::pointer)v9->m_data.m_bigStorage; v6 = atoi(v9->m_data.m_smallStorage._Elems); } a1->m_edgeDirection = v6; break; } }