// // LevelEditorLayer::stopTriggersInGroup from 0x4676c8 to 0x467804 (316 bytes) // // 1 xrefs: // > LevelEditorLayer::activateTriggerEffect @ 0x467c98 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:48:57 +0000 // void __fastcall LevelEditorLayer::stopTriggersInGroup(GJEffectManager **this, int a2, float a3) { cocos2d::CCObject *TriggerGroup; // r0 GameObject ***v7; // r9 char **v8; // r10 _DWORD *v9; // r2 int *v10; // r5 int *v11; // r10 int v12; // r7 int v13; // t1 GJEffectManager *v14; // r11 GameObject ***v15; // r3 unsigned int v16; // r5 char *v17; // r5 GJEffectManager *v18; // r0 int ColorAction; // r0 ColorAction *v20; // r9 float v21; // s15 GameObject **v22; // [sp+0h] [bp-Ch] BYREF TriggerGroup = LevelEditorLayer::getTriggerGroup((LevelEditorLayer *)this, a2); if ( TriggerGroup ) { v9 = *((_DWORD **)TriggerGroup + 13); if ( *v9 ) { v10 = (int *)v9[3]; v11 = &v10[*v9 - 1]; while ( v10 <= v11 ) { v13 = *v10++; v12 = v13; if ( !v13 ) break; if ( *(_BYTE *)(v12 + 1092) ) { v18 = *(this + 381); if ( *(_BYTE *)(v12 + 1090) ) { ColorAction = GJEffectManager::getColorAction(v18, *(_DWORD *)(v12 + 888)); v20 = (ColorAction *)ColorAction; if ( *(_DWORD *)(ColorAction + 124) == *(_DWORD *)(v12 + 780) ) { v21 = *(float *)(ColorAction + 144); *(_DWORD *)(ColorAction + 148) = 0; *(_DWORD *)(ColorAction + 64) = 0; ColorAction::step((ColorAction *)ColorAction, a3 - v21); *((_BYTE *)v20 + 52) = 1; GJEffectManager::updateColorAction(*(this + 381), v20); } } else { GJEffectManager::controlActionsForTrigger(v18); } } } } } v7 = (GameObject ***)*(this + 3058); v8 = (char **)(this + 3059); while ( v7 != (GameObject ***)*v8 ) { v14 = (GJEffectManager *)(v7 + 1); v22 = *v7; if ( GameObject::belongsToGroup(*v22, a2) ) { v15 = (GameObject ***)*(this + 3062); if ( v15 == (GameObject ***)*(this + 3063) ) { std::vector::__push_back_slow_path((int)(this + 3061), &v22); } else { if ( v15 ) *v15 = v22; *(this + 3062) = (GJEffectManager *)((char *)*(this + 3062) + 4); } v16 = *(this + 3059) - v14; if ( v16 >> 2 ) memmove(v7, v7 + 1, *(this + 3059) - v14); v17 = (char *)v7 + v16; while ( v17 != *v8 ) *v8 -= 4; } else { ++v7; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source