//
// sub_F26A4C from 0xf26a4c to 0xf26aa8 (92 bytes)
//
// 5 xrefs:
// > sub_F164E8 @ 0xf16910
// > sub_F164E8 @ 0xf17290
// > sub_F17328 @ 0xf17a00
// > sub_F17328 @ 0xf17c38
// > WebPEncode @ 0xf2bf20
//
// 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:12:46 +0000
//
__int64 __fastcall sub_F26A4C(__int64 a1)
{
int v2; // w20
__int64 result; // x0
__int64 v4; // x19
__int64 v5; // x0
sub_F2D628(a1 + 64);
v2 = 0;
result = *(unsigned int *)(a1 + 60);
v4 = a1 + 112;
if ( (int)result > 0 )
{
do
{
v5 = v4;
++v2;
v4 += 48;
sub_F2D628(v5);
result = *(unsigned int *)(a1 + 60);
}
while ( (int)result > v2 );
}
return result;
}