//
// sub_701628 from 0x701628 to 0x70165c (52 bytes)
//
// 4 xrefs:
// > sub_6FC848 @ 0x6fca72
// > sub_6FC848 @ 0x6fcbd0
// > WebPPictureRescale @ 0x72bb30
// > WebPPictureRescale @ 0x72bba2
//
// 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_701628(int result, int a2, int a3, int a4, int a5)
{
int v6; // r4
int i; // r5
int v10; // r0
if ( a4 > 0 )
{
v6 = result;
for ( i = 0; i != a4; ++i )
{
v10 = v6;
v6 += a2;
result = off_AD5164(v10, a3, a5);
}
}
return result;
}