//
// cocos2d::CCFadeOutBLTiles::testFunc from 0xac7d58 to 0xac7e08 (176 bytes)
//
// 2 xrefs:
// > ??> @ 0xc1638
// > ??> @ 0x11ff5e8
//
// 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 result; // s0
float v5; // s2
float v7; // [xsp+48h] [xbp+48h]
float v8; // [xsp+4Ch] [xbp+4Ch]
cocos2d::CCPoint v9; // [xsp+50h] [xbp+50h] BYREF
cocos2d::CCPoint::CCPoint(&v9, *((float *)&a1->m_bFirstTick + 1), *(float *)&a1[1].__vftable);
cocos2d::CCPoint::operator*(&v9, 1.0 - a3);
result = 1.0;
v5 = a2->width + a2->height;
if ( v5 != 0.0 )
return powf((float)(v7 + v8) / v5, 6.0);
return result;
}