//
// sub_C9BB10 from 0xc9bb10 to 0xc9bb6c (92 bytes)
//
// 4 xrefs:
// > sub_CB3F30 @ 0xcb4370
// > sub_CB3F30 @ 0xcb481c
// > sub_CB3F30 @ 0xcb4824
// > sub_CB3F30 @ 0xcb4b0c
//
// 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
//
_QWORD *__fastcall sub_C9BB10(_QWORD *a1)
{
_QWORD *v2; // x0
_QWORD *result; // x0
_QWORD *v4; // x19
v2 = (_QWORD *)a1[2];
if ( v2 )
*v2 = a1[3];
result = (_QWORD *)a1[1];
a1[3] = result;
a1[2] = a1 + 1;
a1[4] = 0;
a1[1] = 0;
if ( result )
{
do
{
v4 = (_QWORD *)*result;
WebPSafeFree(result);
a1[3] = v4;
result = v4;
}
while ( v4 );
}
return result;
}