//
// ColorAction::loadFromState from 0x9f93c4 to 0x9f9470 (172 bytes)
//
// 2 xrefs:
// > GJEffectManager::loadFromState @ 0xa1b884
// > ??> @ 0xfec68
//
// 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:59:15 +0000
//
__int64 __fastcall ColorAction::loadFromState(__int64 result, __int64 a2)
{
__int64 v2; // x5
*(_WORD *)(result + 72) = *(_WORD *)a2;
*(_BYTE *)(result + 74) = *(_BYTE *)(a2 + 2);
*(_WORD *)(result + 75) = *(_WORD *)(a2 + 3);
*(_BYTE *)(result + 77) = *(_BYTE *)(a2 + 5);
*(_WORD *)(result + 58) = *(_WORD *)(a2 + 6);
*(_BYTE *)(result + 60) = *(_BYTE *)(a2 + 8);
*(_BYTE *)(result + 57) = *(_BYTE *)(a2 + 9);
*(_DWORD *)(result + 88) = *(_DWORD *)(a2 + 16);
*(_DWORD *)(result + 80) = *(_DWORD *)(a2 + 32);
*(_DWORD *)(result + 92) = *(_DWORD *)(a2 + 20);
*(_BYTE *)(result + 84) = *(_BYTE *)(a2 + 10);
*(_DWORD *)(result + 96) = *(_DWORD *)(a2 + 36);
*(_DWORD *)(result + 100) = *(_DWORD *)(a2 + 40);
*(_BYTE *)(result + 125) = *(_BYTE *)(a2 + 11);
*(_DWORD *)(result + 120) = *(_DWORD *)(a2 + 24);
v2 = *(_QWORD *)(a2 + 60);
*(_QWORD *)(result + 104) = *(_QWORD *)(a2 + 52);
*(_QWORD *)(result + 112) = v2;
*(_DWORD *)(result + 68) = *(_DWORD *)(a2 + 44);
*(_DWORD *)(result + 128) = *(_DWORD *)(a2 + 28);
*(_BYTE *)(result + 136) = *(_BYTE *)(a2 + 12);
*(_DWORD *)(result + 64) = *(_DWORD *)(a2 + 48);
return result;
}