//
// sub_100087B48 from 0x100087b48 to 0x100087ba0 (88 bytes)
//
// 1 xrefs:
// > sub_10039A2FC @ 0x10039a3d0
//
// 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 10:58:19 +0000
//
__int64 __fastcall sub_100087B48(_BYTE *a1, __int64 a2)
{
int isFlipX; // w0
__int64 result; // x0
isFlipX = cocos2d::CCSprite::isFlipX();
if ( isFlipX != (_DWORD)a2 )
(*(void (__fastcall **)(_BYTE *, float))(*(_QWORD *)a1 + 128LL))(a1, (float)(isFlipX ^ 1u));
result = cocos2d::CCSprite::setFlipX(a1, a2);
a1[616] = 1;
return result;
}