//
// sub_736DF8 from 0x736df8 to 0x736e2c (52 bytes)
//
// 9 xrefs:
// > sub_6FA024 @ 0x6fa078
// > sub_6FA0BC @ 0x6fa134
// > sub_6FA0BC @ 0x6fa166
// > sub_6FA0BC @ 0x6fa18a
// > WebPPictureRescale @ 0x72b982
// > WebPPictureRescale @ 0x72ba00
// > WebPPictureRescale @ 0x72ba88
// > WebPPictureRescale @ 0x72bae0
// > WebPPictureRescale @ 0x72bb8c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall sub_736DF8(_DWORD *a1)
{
int v1; // r5
if ( a1[14] <= a1[16] || (int)a1[6] > 0 )
return 0;
v1 = 0;
while ( 1 )
{
++v1;
sub_712CB0(a1);
if ( a1[14] <= a1[16] )
break;
if ( (int)a1[6] > 0 )
return v1;
}
return v1;
}