//
// cocos2d::CCFadeOutDownTiles::testFunc from 0xac7ea8 to 0xac7f48 (160 bytes)
//
// 2 xrefs:
// > ??> @ 0xa2a68
// > ??> @ 0x11ff748
//
// 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::CCFadeOutDownTiles::testFunc(cocos2d::CCFadeOutDownTiles *a1, const cocos2d::CCSize *a2, float a3)
{
float result; // s0
float height; // s2
float v7; // [xsp+4Ch] [xbp+4Ch]
cocos2d::CCPoint v8; // [xsp+50h] [xbp+50h] BYREF
cocos2d::CCPoint::CCPoint(&v8, *((float *)&a1->m_bFirstTick + 1), *(float *)&a1[1].__vftable);
cocos2d::CCPoint::operator*(&v8, 1.0 - a3);
result = 1.0;
height = a2->height;
if ( height != 0.0 )
return powf(v7 / height, 6.0);
return result;
}