//
// sub_100270358 from 0x100270358 to 0x1002703ac (84 bytes)
//
// 3 xrefs:
// > ??> @ 0x1008b91c8
// > ??> @ 0x1009176b0
// > ??> @ 0x100942070
//
// 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 11:01:46 +0000
//
__int64 __fastcall sub_100270358(__int64 a1)
{
__int64 v2; // x0
__int64 result; // x0
int v4; // w8
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 8) + 104LL))(*(_QWORD *)(a1 + 8));
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 8) + 96LL))(*(_QWORD *)(a1 + 8));
result = cocos2d::CCTexture2D::hasPremultipliedAlpha(v2);
if ( (_DWORD)result )
v4 = 1;
else
v4 = 770;
*(_DWORD *)(a1 + 16) = v4;
*(_DWORD *)(a1 + 20) = 771;
return result;
}