// // LevelEditorLayer::runColorEffect from 0x78c6ac to 0x78c7f8 (332 bytes) // // 3 xrefs: // > LevelEditorLayer::activateTriggerEffect @ 0x795770 // > LevelEditorLayer::activateTriggerEffect @ 0x795908 // > @ 0x6d558 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:53:27 +0000 // __int64 __fastcall LevelEditorLayer::runColorEffect( GJEffectManager **this, EffectGameObject *a2, __int64 a3, float a4, float a5, unsigned __int8 a6) { float v10; // s10 unsigned int v11; // w21 __int64 ColorAction; // x1 float v13; // s0 __int64 v14; // x2 __int64 result; // x0 __int64 v16; // [xsp+50h] [xbp+40h] ColorAction *v18; // [xsp+58h] [xbp+48h] v10 = *((float *)a2 + 363); v11 = a6; ColorAction = GJEffectManager::getColorAction(*(this + 269), a3); v13 = *(float *)(ColorAction + 160); v14 = a3; if ( v13 == 0.0 ) goto LABEL_4; if ( (v10 <= 0.0) >= v11 || *(float *)(ColorAction + 68) != 0.0 && !*(_BYTE *)(ColorAction + 56) || (result = 0, *(int *)(ColorAction + 120) <= 0) ) { v16 = a3; v18 = (ColorAction *)ColorAction; *(_DWORD *)(ColorAction + 164) = 0; *(_DWORD *)(ColorAction + 68) = 0; ColorAction::step((ColorAction *)ColorAction, a4 - v13); GJEffectManager::updateColorAction(*(this + 269), v18); v14 = v16; LABEL_4: result = (*((__int64 (__fastcall **)(GJEffectManager **, char *, __int64, _QWORD, char *, _QWORD, _QWORD, EffectGameObject *, float, float, _DWORD, _DWORD))*this + 154))( this, (char *)a2 + 1448, v14, *((unsigned __int8 *)a2 + 1487), (char *)a2 + 1612, *((unsigned int *)a2 + 407), *((unsigned __int8 *)a2 + 1632), a2, *((float *)a2 + 363), *((float *)a2 + 364), *((_DWORD *)a2 + 229), *((_DWORD *)a2 + 418)); *(float *)(result + 160) = a4; *(float *)(result + 164) = a5; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source