//
// sub_1001573D0 from 0x1001573d0 to 0x100157415 (69 bytes)
//
// 4 xrefs:
// > ??> @ 0x100ac6878
// > ??> @ 0x100af06b8
// > ??> @ 0x100b6ab60
// > ??> @ 0x100b870c0
//
// This function is hookable on this platform (idp: pc, 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 12:25:04 +0000
//
__int64 __fastcall sub_1001573D0(__int64 a1)
{
__int64 v1; // rax
bool v2; // zf
__int64 result; // rax
int v4; // ecx
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 8) + 104LL))(*(_QWORD *)(a1 + 8));
v1 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 8) + 96LL))(*(_QWORD *)(a1 + 8));
v2 = (unsigned __int8)cocos2d::CCTexture2D::hasPremultipliedAlpha(v1) == 0;
result = 1;
v4 = 770;
if ( !v2 )
v4 = 1;
*(_DWORD *)(a1 + 16) = v4;
*(_DWORD *)(a1 + 20) = 771;
return result;
}