//
// png_get_PLTE from 0xbce388 to 0xbce3bc (52 bytes)
//
// 1 xrefs:
// > ??> @ 0x9a020
//
// 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
//
__int64 __fastcall png_get_PLTE(__int64 a1, __int64 a2, _QWORD *a3, _DWORD *a4)
{
if ( !a1 || !a2 || !a3 || (*(_DWORD *)(a2 + 8) & 8) == 0 )
return 0;
*a3 = *(_QWORD *)(a2 + 24);
*a4 = *(unsigned __int16 *)(a2 + 32);
return 8;
}