//
// cocos2d::CCFadeOutTRTiles::testFunc from 0x5baa48 to 0x5baab8 (112 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::CCFadeOutTRTiles::testFunc(cocos2d::CCFadeOutTRTiles *a1, const cocos2d::CCSize *a2, float a3)
{
float v6; // [sp+4h] [bp-18h] BYREF
float v7; // [sp+8h] [bp-14h]
cocos2d::CCPoint v8; // [sp+Ch] [bp-10h] BYREF
cocos2d::CCPoint::CCPoint(&v8, *(float *)&a1[1].__vftable, *(float *)&a1[1].m_uID);
cocos2d::CCPoint::operator*(&v6, &v8, LODWORD(a3));
if ( (float)(v6 + v7) == 0.0 )
return 1.0;
else
return powf((float)(a2->width + a2->height) / (float)(v6 + v7), 6.0);
}