// // SpawnTriggerGameObject::customObjectSetup from 0x771218 to 0x7714ac (660 bytes) // // 2 xrefs: // > @ 0x2b038 // > @ 0x116eba8 // // 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 SpawnTriggerGameObject::customObjectSetup( SpawnTriggerGameObject *a1, std::vector *a2, std::vector *a3) { void **m_start; // x19 int v7; // w0 void *v8; // x1 double v9; // d0 __int64 v10; // x0 double v11; // d0 __int64 v12; // x0 bool v13; // zf void *v14; // x0 bool v15; // w1 void *v16; // x0 bool v17; // w1 void *v18; // x0 bool v19; // w1 __int64 v20; // x0 __int64 *v21; // x0 void *v22; // x0 void *v23; // x0 void *v24; // x0 void *v25; // x0 void *v26; // x0 cocos2d::CCArray *v27; // x20 unsigned int v28; // w19 char **p_m_remapObjects; // x21 cocos2d::CCString *v30; // x0 cocos2d::CCString *v31; // x0 int v32; // [xsp+44h] [xbp+44h] BYREF int v33; // [xsp+48h] [xbp+48h] BYREF __int64 v34; // [xsp+50h] [xbp+50h] BYREF EffectGameObject::customObjectSetup(a1, a2, a3); m_start = a3->m_start; if ( *((_QWORD *)a3->m_start + 51) ) v7 = atoi((const char *)a2->m_start[51].m_data.m_data); else v7 = 0; v8 = m_start[63]; a1->m_targetGroupID = v7; if ( v8 ) { v9 = atof((const char *)a2->m_start[63].m_data.m_data); m_start = a3->m_start; *(float *)&v9 = v9; v10 = *((_QWORD *)a3->m_start + 556); a1->m_spawnDelay = *(float *)&v9; if ( v10 ) goto LABEL_5; } else { v22 = m_start[556]; a1->m_spawnDelay = 0.0; if ( v22 ) { LABEL_5: v11 = atof((const char *)a2->m_start[556].m_data.m_data); m_start = a3->m_start; *(float *)&v11 = v11; v12 = *((_QWORD *)a3->m_start + 102); a1->m_delayRange = *(float *)&v11; if ( v12 ) goto LABEL_6; LABEL_23: v24 = m_start[441]; a1->m_previewDisable = 0; if ( v24 ) goto LABEL_10; LABEL_24: v25 = m_start[581]; a1->m_spawnOrdered = 0; if ( v25 ) goto LABEL_14; LABEL_25: v26 = m_start[442]; a1->m_resetRemap = 0; if ( v26 ) goto LABEL_18; goto LABEL_26; } } v23 = m_start[102]; a1->m_delayRange = 0.0; if ( !v23 ) goto LABEL_23; LABEL_6: v13 = atoi((const char *)a2->m_start[102].m_data.m_data) == 0; v14 = m_start[441]; v15 = !v13; a1->m_previewDisable = v15; if ( !v14 ) goto LABEL_24; LABEL_10: v13 = atoi((const char *)a2->m_start[441].m_data.m_data) == 0; v16 = m_start[581]; v17 = !v13; a1->m_spawnOrdered = v17; if ( !v16 ) goto LABEL_25; LABEL_14: v13 = atoi((const char *)a2->m_start[581].m_data.m_data) == 0; v18 = m_start[442]; v19 = !v13; a1->m_resetRemap = v19; if ( v18 ) { LABEL_18: sub_D18D28(&v34); v20 = v34; if ( !*(_QWORD *)(v34 - 24) ) goto LABEL_19; goto LABEL_27; } LABEL_26: sub_D153B8((int)&v34, &byte_F288A0); v20 = v34; if ( !*(_QWORD *)(v34 - 24) ) { LABEL_19: v21 = (__int64 *)(v20 - 24); if ( v21 == &qword_124B6B0 ) return; LABEL_31: sub_74B3A8(v21); return; } LABEL_27: v27 = sub_752D7C(&v34); v28 = 0; p_m_remapObjects = (char **)&a1->m_remapObjects; while ( v28 < (unsigned int)cocos2d::CCArray::count(v27) ) { v30 = cocos2d::CCArray::stringAtIndex(v27, v28); v32 = cocos2d::CCString::intValue(v30); v31 = cocos2d::CCArray::stringAtIndex(v27, v28 + 1); v33 = cocos2d::CCString::intValue(v31); std::vector::emplace_back(p_m_remapObjects, &v32, &v33); v28 += 2; } v21 = (__int64 *)(v34 - 24); if ( (__int64 *)(v34 - 24) != &qword_124B6B0 ) goto LABEL_31; }
GD Web Decomp Icon

GD Web Decomp

Raw Source