//
// cocos2d::CCFadeOutUpTiles::testFunc from 0x1007b69c0 to 0x1007b6a32 (114 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009939a0
//
// 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::CCFadeOutUpTiles::testFunc(
cocos2d::CCFadeOutUpTiles *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 *)&v5 + 1) == 0.0 )
return 1.0;
else
return powf(a2->height / *((float *)&v5 + 1), 6.0);
}