//
// sub_1004A0FB4 from 0x1004a0fb4 to 0x1004a1018 (100 bytes)
//
// 2 xrefs:
// > sub_10049E474 @ 0x10049f8dc
// > sub_10049E474 @ 0x10049ff8c
//
// 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 11:06:02 +0000
//
__int64 __fastcall sub_1004A0FB4(__int64 a1, __int64 a2)
{
_QWORD *v3; // x20
__int64 v4; // x0
v3 = GJSpecialColorSelect::create(*(unsigned int *)(a1 + 1176), a1 + 1024, 1);
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
(*(void (__fastcall **)(_QWORD *, __int64))(*v3 + 72LL))(v3, v4);
return (*(__int64 (__fastcall **)(_QWORD *))(*v3 + 1312LL))(v3);
}