//
// sub_1001D7DF4 from 0x1001d7df4 to 0x1001d7e48 (84 bytes)
//
// 3 xrefs:
// > ??> @ 0x10076cea0
// > ??> @ 0x1007bf800
// > ??> @ 0x1007e9f58
//
// 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
//
bool __fastcall sub_1001D7DF4(__int64 a1)
{
cocos2d::CCTexture2D *v2; // x0
_BOOL8 result; // x0
int v4; // w8
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 8) + 104LL))(*(_QWORD *)(a1 + 8));
v2 = (cocos2d::CCTexture2D *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 8) + 96LL))(*(_QWORD *)(a1 + 8));
result = cocos2d::CCTexture2D::hasPremultipliedAlpha(v2);
if ( result )
v4 = 1;
else
v4 = 770;
*(_DWORD *)(a1 + 16) = v4;
*(_DWORD *)(a1 + 20) = 771;
return result;
}