//
// cocos2d::CCAffineTransformEqualToTransform from 0x100240440 to 0x10024049b (91 bytes)
//
// 0 xrefs:
//
// 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 cocos2d::CCAffineTransformEqualToTransform(
const cocos2d::CCAffineTransform *a1,
const cocos2d::CCAffineTransform *a2)
{
__m128 v2; // rt1
_BOOL4 v3; // eax
if ( a1->a == a2->a && a1->b == a2->b && a1->c == a2->c && a1->d == a2->d && a1->tx == a2->tx )
{
v2.i32[0] = LODWORD(a1->ty);
return _mm_cvtsi128_si32((__m128i)_mm_cmpeq_ss((__m128)LODWORD(a2->ty), v2)) & 1;
}
else
{
LOBYTE(v3) = 0;
}
return v3;
}