//
// GameToolbox::transformColor from 0x69d260 to 0x69d2c0 (96 bytes)
//
// 11 xrefs:
// > PlayLayer::updateVisibility @ 0x700dac
// > PlayLayer::updateVisibility @ 0x700e20
// > LevelEditorLayer::updateObjectColors @ 0x78bdcc
// > LevelEditorLayer::updateVisibility @ 0x78e2ec
// > GJBaseGameLayer::visitWithColorFlash @ 0x9abd8c
// > GJBaseGameLayer::visitWithColorFlash @ 0x9abdc8
// > GJBaseGameLayer::visitWithColorFlash @ 0x9abe04
// > GJBaseGameLayer::preUpdateVisibility @ 0x9da1d4
// > GJEffectManager::calculateLightBGColor @ 0xa19bdc
// > DeathMarkerLayer::init @ 0xca4910
// > ??> @ 0x7a020
//
// 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:50:41 +0000
//
unsigned __int64 __fastcall GameToolbox::transformColor(unsigned __int8 *a1, float a2, float a3, float a4)
{
unsigned __int64 v4; // x0
v4 = GameToolbox::transformColor(
a1,
LODWORD(a2) | ((unsigned __int64)LODWORD(a3) << 32),
LODWORD(a4) | 0x10100000000LL);
return (unsigned __int8)v4
| (unsigned __int64)(unsigned __int16)(BYTE1(v4) << 8)
| ((unsigned __int64)BYTE2(v4) << 16);
}