// // GJEffectManager::calculateBaseActiveColors from 0x1002c9210 to 0x1002c92c1 (177 bytes) // // 1 xrefs: // > PlayLayer::loadDefaultColors @ 0x10007f474 // // 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::calculateBaseActiveColors(__int64 a1) { __int64 result; // rax __int64 i; // r14 __int64 v3; // r15 __int64 v4; // rax int v5; // eax __int64 v6; // [rsp-28h] [rbp-28h] BYREF result = *(_QWORD *)(a1 + 336); if ( result ) { v6 = *(_QWORD *)(a1 + 336); for ( i = *(_QWORD *)(result + 56); i; *(_WORD *)(v3 + 323) = WORD2(v6) ) { v3 = *(_QWORD *)(i + 264); i = *(_QWORD *)(i + 288); v4 = *(_QWORD *)(v3 + 336); BYTE6(v6) = *(_BYTE *)(v3 + 322); WORD2(v6) = *(_WORD *)(v3 + 320); if ( v4 && *(int *)(v4 + 120) > 0 && !*(_BYTE *)(v4 + 126) ) { v5 = GameToolbox::transformColor_1((char *)&v6 + 4, *(_QWORD *)(v4 + 112), *(double *)(v4 + 104)); WORD2(v6) = v5; BYTE6(v6) = BYTE2(v5); } *(_BYTE *)(v3 + 325) = BYTE6(v6); result = WORD2(v6); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source