// // RandTriggerGameObject::customObjectSetup from 0x770dc8 to 0x770f54 (396 bytes) // // 2 xrefs: // > @ 0x79bf0 // > @ 0x116bba8 // // 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 RandTriggerGameObject::customObjectSetup( RandTriggerGameObject *a1, std::vector *a2, std::vector *a3) { void **m_start; // x19 bool v7; // zf void *v8; // x0 bool v9; // w1 cocos2d::CCArray *v10; // x20 unsigned int v11; // w19 char **p_m_chanceObjects; // x21 cocos2d::CCString *v13; // x0 cocos2d::CCString *v14; // x0 void *v15; // x0 int v16; // [xsp+44h] [xbp+44h] BYREF int v17; // [xsp+48h] [xbp+48h] BYREF __int64 v18; // [xsp+50h] [xbp+50h] BYREF EffectGameObject::customObjectSetup(a1, a2, a3); m_start = a3->m_start; if ( m_start[56] ) { v7 = atoi((const char *)a2->m_start[56].m_data.m_data) == 0; v8 = m_start[152]; v9 = !v7; a1->m_activateGroup = v9; if ( v8 ) goto LABEL_6; LABEL_14: sub_D153B8((int)&v18, &byte_F288A0); goto LABEL_7; } v15 = m_start[152]; a1->m_activateGroup = 0; if ( !v15 ) goto LABEL_14; LABEL_6: sub_D18D28(&v18); LABEL_7: v10 = sub_752D7C(&v18); v11 = 0; p_m_chanceObjects = (char **)&a1->m_chanceObjects; while ( v11 < (unsigned int)cocos2d::CCArray::count(v10) ) { v13 = cocos2d::CCArray::stringAtIndex(v10, v11); v16 = cocos2d::CCString::intValue(v13); v14 = cocos2d::CCArray::stringAtIndex(v10, v11 + 1); v17 = cocos2d::CCString::intValue(v14); std::vector::emplace_back(p_m_chanceObjects, &v16, &v17); v11 += 2; } if ( (__int64 *)(v18 - 24) != &qword_124B6B0 ) sub_74B3A8((void *)(v18 - 24)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source