//
// cocos2d::CCFadeOutDownTiles::testFunc from 0x5babb4 to 0x5bac28 (116 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::CCFadeOutDownTiles::testFunc(cocos2d::CCFadeOutDownTiles *a1, const cocos2d::CCSize *a2, float a3)
{
float height; // s15
_BYTE v7[4]; // [sp+4h] [bp-14h] BYREF
float v8; // [sp+8h] [bp-10h]
cocos2d::CCPoint v9; // [sp+Ch] [bp-Ch] BYREF
cocos2d::CCPoint::CCPoint(&v9, *(float *)&a1[1].__vftable, *(float *)&a1[1].m_uID);
cocos2d::CCPoint::operator*(v7, &v9, 1.0 - a3);
height = a2->height;
if ( height == 0.0 )
return 1.0;
else
return powf(v8 / height, 6.0);
}