// // GJEffectManager::processColors from 0x1002c9080 to 0x1002c920c (396 bytes) // // 6 xrefs: // > PlayLayer::updateVisibility @ 0x10008495a // > LevelEditorLayer::updateGameObjects @ 0x1000ad16f // > LevelEditorLayer::updateGameObjects @ 0x1000ad809 // > LevelEditorLayer::onPlaytest @ 0x1000c5b72 // > LevelEditorLayer::postUpdate @ 0x1000c733c // > GJBaseGameLayer::loadUpToPosition @ 0x10012c83b // // 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:28:09 +0000 // __int64 __fastcall GJEffectManager::processColors(_QWORD *a1) { __int64 v1; // rax __int64 v2; // rax __int64 i; // r15 __int64 v4; // r12 __int64 v5; // rax int v6; // eax __int64 v7; // r14 __int64 v8; // r15 unsigned __int64 v9; // r13 char *ColorAction; // rax __int64 v11; // r12 __int64 v12; // rax int v14; // [rsp+0h] [rbp-2Ch] BYREF v14 = HIDWORD(v1); v2 = a1[42]; if ( v2 ) { for ( i = *(_QWORD *)(v2 + 56); i; *(_WORD *)(v4 + 323) = v14 ) { v4 = *(_QWORD *)(i + 264); i = *(_QWORD *)(i + 288); v5 = *(_QWORD *)(v4 + 336); BYTE2(v14) = *(_BYTE *)(v4 + 322); LOWORD(v14) = *(_WORD *)(v4 + 320); if ( v5 && *(int *)(v5 + 120) > 0 && !*(_BYTE *)(v5 + 126) ) { v6 = GameToolbox::transformColor_1(&v14, *(_QWORD *)(v5 + 112), *(double *)(v5 + 104)); LOWORD(v14) = v6; BYTE2(v14) = BYTE2(v6); } *(_BYTE *)(v4 + 325) = BYTE2(v14); } } v7 = a1[43]; if ( a1[44] != v7 ) { v8 = 0; v9 = 0; do { ColorAction = GJEffectManager::getColorAction((__int64)a1, *(_DWORD *)(v7 + v8 + 20)); if ( !*(_DWORD *)(v7 + v8 + 52) && !*((_DWORD *)ColorAction + 30) ) { v11 = *((_QWORD *)ColorAction + 18); v12 = GJEffectManager::colorForPulseEffect(a1, v11 + 323, v8 + v7); *(_WORD *)(v11 + 323) = v12; *(_BYTE *)(v11 + 325) = BYTE2(v12); } ++v9; v7 = a1[43]; v8 += 72; } while ( 0x8E38E38E38E38E39LL * ((a1[44] - v7) >> 3) > v9 ); } GJEffectManager::processInheritedColors(a1); return GJEffectManager::processCopyColorPulseActions(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source