//
// sub_EDC37C from 0xedc37c to 0xedc3d8 (92 bytes)
//
// 4 xrefs:
// > sub_EDC7B0 @ 0xedcb98
// > WebPIDelete @ 0xedd1e0
// > sub_EE2278 @ 0xee2324
// > sub_EE2278 @ 0xee2480
//
// 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:11:46 +0000
//
__int64 __fastcall sub_EDC37C(__int64 a1, __int64 a2)
{
__int64 v3; // x0
unsigned int v4; // w19
__int64 v5; // x0
void (__fastcall *v6)(__int64); // x2
__int64 v8; // [xsp+28h] [xbp+28h]
v3 = *(unsigned int *)(a1 + 200);
v4 = 1;
if ( (int)v3 > 0 )
{
v8 = a2;
v5 = WebPGetWorkerInterface(v3);
v4 = (*(__int64 (__fastcall **)(__int64))(v5 + 16))(a1 + 152);
a2 = v8;
}
v6 = *(void (__fastcall **)(__int64))(a2 + 80);
if ( v6 )
v6(a2);
return v4;
}