//
// cocos2d::CCFadeOutTRTiles::testFunc from 0x1007b6420 to 0x1007b649b (123 bytes)
//
// 1 xrefs:
// > ??> @ 0x100993820
//
// 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 __fastcall cocos2d::CCFadeOutTRTiles::testFunc(
cocos2d::CCFadeOutTRTiles *a1,
const cocos2d::CCSize *a2,
float a3)
{
unsigned __int64 v4; // [rsp+Ch] [rbp-24h] BYREF
double v5; // [rsp+14h] [rbp-1Ch] BYREF
float v6; // [rsp+1Ch] [rbp-14h]
v6 = a3;
sub_10028CBE0((float *)&v4, *((float *)&a1->m_bFirstTick + 1), *(float *)&a1[1].__vftable);
sub_10028CD40(&v5, &v4, (__m128)LODWORD(v6));
if ( (float)(*(float *)&v5 + *((float *)&v5 + 1)) == 0.0 )
return 1.0;
else
return powf((float)(a2->width + a2->height) / (float)(*(float *)&v5 + *((float *)&v5 + 1)), 6.0);
}