//
// ColorAction2::ColorAction2 from 0xba287c to 0xba2908 (140 bytes)
//
// 2 xrefs:
// > ??> @ 0x8eaf8
// > ??> @ 0xdebb0
//
// 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 13:02:47 +0000
//
// Alternative name is '_ZN12ColorAction2C1EN7cocos2d10_ccColor3BES1_fdbiff'
__int64 __fastcall ColorAction2::ColorAction2(
__int64 result,
int a2,
int a3,
char a4,
int a5,
float a6,
double a7,
float a8,
float a9)
{
__int64 v9; // x6
__int64 v10; // x7
*(_BYTE *)result = 0;
*(_BYTE *)(result + 1) = 0;
*(_DWORD *)(result + 36) = 0;
v9 = qword_155E818;
v10 = qword_155E820;
*(_DWORD *)(result + 64) = 0;
*(_BYTE *)(result + 68) = 0;
*(_BYTE *)(result + 69) = 0;
*(_BYTE *)(result + 70) = 0;
*(_DWORD *)(result + 72) = 0;
*(_BYTE *)(result + 76) = 0;
*(_QWORD *)(result + 80) = 0;
*(_WORD *)(result + 16) = a2;
*(_BYTE *)(result + 18) = BYTE2(a2);
*(_WORD *)(result + 19) = a3;
*(_BYTE *)(result + 21) = BYTE2(a3);
*(_BYTE *)(result + 28) = a4;
*(_DWORD *)(result + 32) = a5;
*(_QWORD *)(result + 48) = v9;
*(_QWORD *)(result + 56) = v10;
*(float *)(result + 8) = 1.0;
*(_DWORD *)(result + 12) = 0;
*(_DWORD *)(result + 88) = 0;
*(_DWORD *)(result + 92) = 0;
*(float *)(result + 24) = a6;
*(float *)(result + 40) = a8;
*(float *)(result + 44) = a9;
return result;
}