// // LevelEditorLayer::resetEffectTriggerOptim from 0x3686a8 to 0x3686fe (86 bytes) // // 3 xrefs: // > ColorSelectPopup::closeColorSelect @ 0x3dc87a // > SetupPortalPopup::onClose @ 0x503196 // > SetupTriggerPopup::onClose @ 0x542358 // // 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 LevelEditorLayer::resetEffectTriggerOptim(LevelEditorLayer *a1, GameObject *a2, cocos2d::CCArray *a3) { cocos2d::ccArray *data; // r2 cocos2d::CCObject **arr; // r5 cocos2d::CCObject **v5; // r4 int v6; // r0 int v7; // t1 if ( a2 ) { if ( a2->m_dontIgnoreDuration ) cocos2d::CCPoint::operator=( (PlayerObject *)&a2[1].m_sQuad.br.vertices.y, COERCE_FLOAT(&flt_AC5CF0), (int)a3, a2->m_dontIgnoreDuration); } else if ( a3 ) { data = a3->data; if ( data->num ) { arr = data->arr; v5 = &arr[data->num] + 0x3FFFFFFF; while ( arr <= v5 ) { v7 = (int)*arr++; v6 = v7; if ( !v7 ) break; if ( *(_BYTE *)(v6 + 1083) ) cocos2d::CCPoint::operator=( (PlayerObject *)(v6 + 1608), COERCE_FLOAT(&flt_AC5CF0), (int)data, *(_BYTE *)(v6 + 1083)); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source