//
// cocos2d::CCFadeOutBLTiles::testFunc from 0x5baac0 to 0x5bab44 (132 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
//
float cocos2d::CCFadeOutBLTiles::testFunc(cocos2d::CCFadeOutBLTiles *a1, const cocos2d::CCSize *a2, float a3)
{
float v5; // s15
float v7[2]; // [sp+4h] [bp-14h] BYREF
cocos2d::CCPoint v8; // [sp+Ch] [bp-Ch] BYREF
cocos2d::CCPoint::CCPoint(&v8, *(float *)&a1[1].__vftable, *(float *)&a1[1].m_uID);
cocos2d::CCPoint::operator*(v7, &v8, 1.0 - a3);
v5 = a2->width + a2->height;
if ( v5 == 0.0 )
return 1.0;
else
return powf((float)(v7[0] + v7[1]) / v5, 6.0);
}