// // LevelEditorLayer::runColorEffect from 0x1000c3440 to 0x1000c357e (318 bytes) // // 2 xrefs: // > LevelEditorLayer::activateTriggerEffect @ 0x1000c2bc9 // > LevelEditorLayer::activateTriggerEffect @ 0x1000c2c0a // // This function is hookable on this platform (idp: pc, 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:20:35 +0000 // __int64 __fastcall LevelEditorLayer::runColorEffect( _QWORD *a1, __int64 a2, unsigned int a3, unsigned __int8 a4, float a5, float a6, double a7) { __int64 ColorAction; // rax double v10; // xmm1_8 __int64 result; // rax __int64 v12; // r12 float v14; // [rsp+8h] [rbp-28h] v14 = *(float *)(a2 + 1452); ColorAction = GJEffectManager::getColorAction(a1[269], a3); *(_QWORD *)&v10 = *(unsigned int *)(ColorAction + 160); if ( *(float *)&v10 != 0.0 ) { if ( !((v14 <= 0.0) | a4 ^ 1) ) { a7 = 0.0; if ( (*(float *)(ColorAction + 68) == 0.0 || *(_BYTE *)(ColorAction + 56) == 1) && *(int *)(ColorAction + 120) > 0 ) return 0; } *(_DWORD *)(ColorAction + 164) = 0; *(_DWORD *)(ColorAction + 68) = 0; v12 = ColorAction; ColorAction::step(ColorAction, a5 - *(float *)&v10); GJEffectManager::updateColorAction( a1[269], v12, a5 - *(float *)&v10, v10, a7, COERCE_DOUBLE((unsigned __int64)LODWORD(a5))); } result = (*(__int64 (__fastcall **)(_QWORD *, __int64, _QWORD, _QWORD, __int64, _QWORD, float, float, _QWORD, __int64, _QWORD, _QWORD))(*a1 + 1232LL))( a1, a2 + 1448, a3, *(unsigned __int8 *)(a2 + 1487), a2 + 1612, *(unsigned int *)(a2 + 1628), *(float *)(a2 + 1452), *(float *)(a2 + 1456), *(unsigned __int8 *)(a2 + 1632), a2, *(unsigned int *)(a2 + 916), *(unsigned int *)(a2 + 1672)); *(float *)(result + 160) = a5; *(float *)(result + 164) = a6; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source