//
// sub_907DE0 from 0x907de0 to 0x907e0c (44 bytes)
//
// 4 xrefs:
// > sub_90817C @ 0x908456
// > WebPIDelete @ 0x908848
// > sub_90BF60 @ 0x90bfdc
// > sub_90BF60 @ 0x90c0d8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:04:19 +0000
//
int __fastcall sub_907DE0(int a1, int a2)
{
int v4; // r5
int v5; // r0
void (__fastcall *v6)(int); // r3
if ( *(int *)(a1 + 148) > 0 )
{
v5 = WebPGetWorkerInterface(a1);
v4 = (*(int (__fastcall **)(int))(v5 + 8))(a1 + 124);
}
else
{
v4 = 1;
}
v6 = *(void (__fastcall **)(int))(a2 + 52);
if ( v6 )
v6(a2);
return v4;
}