//
// sub_F6B084 from 0xf6b084 to 0xf6b1b0 (300 bytes)
//
// 0 xrefs:
//
// 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:13:36 +0000
//
std::__shared_count *__fastcall sub_F6B084(_QWORD *a1, __int64 a2)
{
int v4; // w20
unsigned __int64 v5; // x1
std::__shared_count *result; // x0
__int64 v7; // x8
__int64 v8; // x9
unsigned __int64 v9; // x10
unsigned int v10; // w20
*a1 = off_1534130;
a1[1] = -1;
v4 = (_DWORD)a1 + 16;
if ( (unsigned __int64)((__int64)(*(_QWORD *)(a2 + 24) - *(_QWORD *)(a2 + 16)) >> 3) <= 0x1C )
v5 = 28;
else
v5 = (__int64)(*(_QWORD *)(a2 + 24) - *(_QWORD *)(a2 + 16)) >> 3;
sub_F6A0C8((__int64)(a1 + 2), v5);
result = (std::__shared_count *)std::string::basic_string((unsigned __int64)(a1 + 36), (_QWORD *)(a2 + 288));
if ( a1 != (_QWORD *)a2 )
result = (std::__shared_count *)sub_F7878C(v4, *(void **)(a2 + 16));
v7 = a1[2];
v8 = a1[3];
if ( v8 != v7 )
{
v9 = 0;
v10 = 1;
do
{
result = *(std::__shared_count **)(v7 + 8 * v9);
if ( result )
{
result = (std::__shared_count *)std::__shared_count::__add_shared(result);
v7 = a1[2];
v8 = a1[3];
}
v9 = v10++;
}
while ( v9 < (v8 - v7) >> 3 );
}
return result;
}