//
// cocos2d::CCFadeOutUpTiles::testFunc from 0x18003b970 to 0x18003b9e8 (120 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800ea590
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0f54
//
// 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 *this,
const struct cocos2d::CCSize *a2,
float a3)
{
float *v4; // rax
float v6; // [rsp+40h] [rbp+8h] BYREF
float v7; // [rsp+44h] [rbp+Ch]
float v8; // [rsp+58h] [rbp+20h] BYREF
v4 = kmVec2Fill(&v8, *((float *)this + 24), *((float *)this + 25));
cocos2d::CCSize::operator*(v4, &v6, a3);
if ( v7 == 0.0 )
return 1.0;
else
return powf(a2->height / v7, 6.0);
}