// // TeleportPortalObject::customObjectSetup from 0x1001c0740 to 0x1001c0cbe (1406 bytes) // // 1 xrefs: // > @ 0x1008ce6f0 // // 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 TeleportPortalObject::customObjectSetup( TeleportPortalObject *a1, std::vector *a2, std::vector *a3) { int m_objectID; // eax std::__vector_base::pointer begin; // r12 std::__vector_base::pointer v7; // rdi const char *longStorage; // rdi std::__vector_base::pointer v9; // rdi const char *v10; // rdi float v11; // xmm0_4 std::__vector_base::pointer v12; // rdi const char *elems; // rdi std::__vector_base::pointer v14; // rdi const char *v15; // rdi std::__vector_base::pointer v16; // rdi const char *v17; // rdi float v18; // xmm0_4 std::__vector_base::pointer v19; // rdi const char *v20; // rdi bool v21; // al float v22; // xmm1_4 float v23; // xmm0_4 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 std::__vector_base::pointer v35; // rdi const char *v36; // rdi std::__vector_base::pointer v37; // rdi const char *v38; // rdi std::__vector_base::pointer v39; // rdi const char *v40; // rdi std::__vector_base::pointer v41; // rdi const char *v42; // rdi std::__vector_base::pointer v43; // rdi const char *v44; // rdi std::__vector_base::pointer v45; // rdi const char *v46; // rdi bool v47; // al EffectGameObject::customObjectSetup(a1, a2, a3); m_objectID = a1->m_objectID; if ( m_objectID <= 3021 ) { if ( m_objectID != 747 && m_objectID != 2902 ) return; LABEL_7: begin = a3->__begin_; if ( *((_QWORD *)a3->__begin_ + 54) ) { v7 = a2->__begin_; if ( (a2->__begin_[54].m_data.m_short.sizex2 & 1) != 0 ) longStorage = v7[54].m_data.m_long.longStorage; else longStorage = v7[54].m_data.m_short.shortStorage.__elems_; v11 = atof(longStorage); a1->m_teleportYOffset = v11; if ( begin[55] ) { LABEL_17: v12 = a2->__begin_; if ( (a2->__begin_[55].m_data.m_short.sizex2 & 1) != 0 ) elems = v12[55].m_data.m_long.longStorage; else elems = v12[55].m_data.m_short.shortStorage.__elems_; a1->m_teleportEase = atoi(elems) != 0; if ( begin[51] ) { LABEL_25: v16 = a2->__begin_; if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 ) v17 = v16[51].m_data.m_long.longStorage; else v17 = v16[51].m_data.m_short.shortStorage.__elems_; a1->m_targetGroupID = atoi(v17); if ( !begin[345] ) { LABEL_33: a1->m_staticForceEnabled = 0; if ( !begin[346] ) goto LABEL_34; goto LABEL_21; } LABEL_13: v9 = a2->__begin_; if ( (a2->__begin_[345].m_data.m_short.sizex2 & 1) != 0 ) v10 = v9[345].m_data.m_long.longStorage; else v10 = v9[345].m_data.m_short.shortStorage.__elems_; a1->m_staticForceEnabled = atoi(v10) != 0; if ( !begin[346] ) { LABEL_34: a1->m_staticForce = 0.0; if ( !begin[347] ) { LABEL_35: v21 = 0; goto LABEL_38; } LABEL_29: v19 = a2->__begin_; if ( (a2->__begin_[347].m_data.m_short.sizex2 & 1) != 0 ) v20 = v19[347].m_data.m_long.longStorage; else v20 = v19[347].m_data.m_short.shortStorage.__elems_; v21 = atoi(v20) != 0; LABEL_38: a1->m_redirectForceEnabled = v21; v22 = 0.0; v23 = 0.0; if ( begin[350] ) { v24 = a2->__begin_; if ( (a2->__begin_[350].m_data.m_short.sizex2 & 1) != 0 ) v25 = v24[350].m_data.m_long.longStorage; else v25 = v24[350].m_data.m_short.shortStorage.__elems_; v23 = atof(v25); v22 = 0.0; } a1->m_redirectForceMod = v23; if ( begin[348] ) { v26 = a2->__begin_; if ( (a2->__begin_[348].m_data.m_short.sizex2 & 1) != 0 ) v27 = v26[348].m_data.m_long.longStorage; else v27 = v26[348].m_data.m_short.shortStorage.__elems_; v22 = atof(v27); } a1->m_redirectForceMin = v22; if ( begin[349] ) { v28 = a2->__begin_; if ( (a2->__begin_[349].m_data.m_short.sizex2 & 1) != 0 ) v29 = v28[349].m_data.m_long.longStorage; else v29 = v28[349].m_data.m_short.shortStorage.__elems_; v32 = atof(v29); a1->m_redirectForceMax = v32; if ( begin[351] ) { LABEL_60: v33 = a2->__begin_; if ( (a2->__begin_[351].m_data.m_short.sizex2 & 1) != 0 ) v34 = v33[351].m_data.m_long.longStorage; else v34 = v33[351].m_data.m_short.shortStorage.__elems_; a1->m_saveOffset = atoi(v34) != 0; if ( begin[352] ) { LABEL_68: v37 = a2->__begin_; if ( (a2->__begin_[352].m_data.m_short.sizex2 & 1) != 0 ) v38 = v37[352].m_data.m_long.longStorage; else v38 = v37[352].m_data.m_short.shortStorage.__elems_; a1->m_ignoreX = atoi(v38) != 0; if ( begin[353] ) { LABEL_76: v41 = a2->__begin_; if ( (a2->__begin_[353].m_data.m_short.sizex2 & 1) != 0 ) v42 = v41[353].m_data.m_long.longStorage; else v42 = v41[353].m_data.m_short.shortStorage.__elems_; a1->m_ignoreY = atoi(v42) != 0; if ( begin[354] ) { LABEL_84: v45 = a2->__begin_; if ( (a2->__begin_[354].m_data.m_short.sizex2 & 1) != 0 ) v46 = v45[354].m_data.m_long.longStorage; else v46 = v45[354].m_data.m_short.shortStorage.__elems_; a1->m_gravityMode = atoi(v46); if ( !begin[443] ) { LABEL_90: a1->m_staticForceAdditive = 0; if ( !begin[464] ) goto LABEL_91; goto LABEL_64; } LABEL_56: v30 = a2->__begin_; if ( (a2->__begin_[443].m_data.m_short.sizex2 & 1) != 0 ) v31 = v30[443].m_data.m_long.longStorage; else v31 = v30[443].m_data.m_short.shortStorage.__elems_; a1->m_staticForceAdditive = atoi(v31) != 0; if ( !begin[464] ) { LABEL_91: a1->m_instantCamera = 0; if ( !begin[510] ) goto LABEL_92; goto LABEL_72; } LABEL_64: v35 = a2->__begin_; if ( (a2->__begin_[464].m_data.m_short.sizex2 & 1) != 0 ) v36 = v35[464].m_data.m_long.longStorage; else v36 = v35[464].m_data.m_short.shortStorage.__elems_; a1->m_instantCamera = atoi(v36) != 0; if ( !begin[510] ) { LABEL_92: a1->m_snapGround = 0; if ( !begin[591] ) { LABEL_93: v47 = 0; LABEL_94: a1->m_redirectDash = v47; return; } LABEL_80: v43 = a2->__begin_; if ( (a2->__begin_[591].m_data.m_short.sizex2 & 1) != 0 ) v44 = v43[591].m_data.m_long.longStorage; else v44 = v43[591].m_data.m_short.shortStorage.__elems_; v47 = atoi(v44) != 0; goto LABEL_94; } LABEL_72: v39 = a2->__begin_; if ( (a2->__begin_[510].m_data.m_short.sizex2 & 1) != 0 ) v40 = v39[510].m_data.m_long.longStorage; else v40 = v39[510].m_data.m_short.shortStorage.__elems_; a1->m_snapGround = atoi(v40) != 0; if ( !begin[591] ) goto LABEL_93; goto LABEL_80; } LABEL_55: a1->m_gravityMode = 0; if ( !begin[443] ) goto LABEL_90; goto LABEL_56; } LABEL_54: a1->m_ignoreY = 0; if ( begin[354] ) goto LABEL_84; goto LABEL_55; } LABEL_53: a1->m_ignoreX = 0; if ( begin[353] ) goto LABEL_76; goto LABEL_54; } } else { a1->m_redirectForceMax = 0.0; if ( begin[351] ) goto LABEL_60; } a1->m_saveOffset = 0; if ( begin[352] ) goto LABEL_68; goto LABEL_53; } LABEL_21: v14 = a2->__begin_; if ( (a2->__begin_[346].m_data.m_short.sizex2 & 1) != 0 ) v15 = v14[346].m_data.m_long.longStorage; else v15 = v14[346].m_data.m_short.shortStorage.__elems_; v18 = atof(v15); a1->m_staticForce = v18; if ( !begin[347] ) goto LABEL_35; goto LABEL_29; } LABEL_12: a1->m_targetGroupID = 0; if ( !begin[345] ) goto LABEL_33; goto LABEL_13; } } else { a1->m_teleportYOffset = 0.0; if ( begin[55] ) goto LABEL_17; } a1->m_teleportEase = 0; if ( begin[51] ) goto LABEL_25; goto LABEL_12; } if ( m_objectID == 3027 || m_objectID == 3022 ) goto LABEL_7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source