//
// sub_1003C97E0 from 0x1003c97e0 to 0x1003c9823 (67 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092eeb0
//
// 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
//
char __fastcall sub_1003C97E0(__int64 a1, cocos2d::CCTexture2D *a2)
{
char result; // al
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 8) + 104LL))(*(_QWORD *)(a1 + 8));
if ( a2 )
{
result = cocos2d::CCTexture2D::hasPremultipliedAlpha(a2);
if ( !result && *(_DWORD *)(a1 + 16) == 1 && *(_DWORD *)(a1 + 20) == 771 )
*(_DWORD *)(a1 + 16) = 770;
}
return result;
}