// // GameObject::getActiveColorForMode from 0x10069c550 to 0x10069c633 (227 bytes) // // 2 xrefs: // > PlayLayer::addObject @ 0x10007f676 // > PlayLayer::addObject @ 0x10007f692 // // 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:35:16 +0000 // char *__fastcall GameObject::getActiveColorForMode(_QWORD *a1, int a2, char a3) { char *result; // rax __int64 v4; // r14 int v5; // esi _QWORD *v6; // r15 unsigned __int16 *v7; // rax int v8; // ecx result = (char *)&unk_100A0E35B; if ( a2 <= 1010 ) { if ( !a2 ) return result; if ( a2 == 1010 ) return (char *)&unk_100A0E358; LABEL_9: if ( a3 ) return (char *)(a1[158] + 323LL); else return (char *)(a1[159] + 323LL); } if ( a2 == 1011 ) return result; if ( a2 != 1012 ) goto LABEL_9; v4 = a1[160]; if ( a3 ) { v5 = *(unsigned __int16 *)(a1[158] + 323LL) | (*(unsigned __int8 *)(a1[158] + 325LL) << 16); v6 = a1; } else { v6 = a1; v7 = (unsigned __int16 *)(*(__int64 (__fastcall **)(_QWORD *))(*a1 + 944LL))(a1); v5 = *v7 | (*((unsigned __int8 *)v7 + 2) << 16); } v8 = GJEffectManager::colorForEffect(0.0001708983909338713, v4, v5, 0x1003E19999ALL); *(_WORD *)((char *)v6 + 637) = v8; *((_BYTE *)v6 + 639) = BYTE2(v8); return (char *)v6 + 637; }
GD Web Decomp Icon

GD Web Decomp

Raw Source