//
// sub_1004A4A04 from 0x1004a4a04 to 0x1004a4aa0 (156 bytes)
//
// 1 xrefs:
// > sub_1004A4588 @ 0x1004a4864
//
// 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:04 +0000
//
__int64 __fastcall sub_1004A4A04(_QWORD **a1, int a2, int a3, int a4)
{
int v8; // w8
int v9; // w19
int v10; // w20
void *v11; // x0
__int64 CString; // x1
(*(void (__fastcall **)(_QWORD *, bool))(*a1[77] + 344LL))(a1[77], a3 != 0);
v8 = a4 + a3;
v9 = a3 + 1;
if ( v8 >= a2 )
v10 = a2;
else
v10 = v8;
(*(void (__fastcall **)(_QWORD *, bool))(*a1[76] + 344LL))(a1[76], v8 < a2);
v11 = sub_1003065B0("%i to %i of %i", v9, v10, a2);
CString = cocos2d::CCString::getCString((__int64)v11);
return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1[78] + 928LL))(a1[78], CString);
}