//
// sub_1004A4920 from 0x1004a4920 to 0x1004a49b4 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b52a10
//
// 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:30:54 +0000
//
id __fastcall sub_1004A4920(__int64 a1, unsigned __int8 *a2)
{
NSColor *v2; // r14
id v3; // rax
v2 = +[NSColor colorWithCalibratedRed:green:blue:alpha:](
&OBJC_CLASS___NSColor,
"colorWithCalibratedRed:green:blue:alpha:",
(float)((float)*a2 / 255.0),
(float)((float)a2[1] / 255.0),
(float)((float)a2[2] / 255.0),
1.0);
v3 = objc_msgSend(*(id *)(a1 + 56), "textField");
return objc_msgSend(v3, "setTextColor:", v2);
}