//
// cocos2d::CCFadeOutBLTiles::testFunc from 0x18003b7c0 to 0x18003b84b (139 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800ea4f8
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0f30
//
// 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::CCFadeOutBLTiles::testFunc(
cocos2d::CCFadeOutBLTiles *this,
const struct cocos2d::CCSize *a2,
float a3)
{
float *v4; // rax
float v5; // xmm2_4
float v7; // [rsp+40h] [rbp+8h] BYREF
float v8; // [rsp+44h] [rbp+Ch]
float v9; // [rsp+48h] [rbp+10h] BYREF
v4 = kmVec2Fill(&v9, *((float *)this + 24), *((float *)this + 25));
cocos2d::CCSize::operator*(v4, &v7, 1.0 - a3);
v5 = a2->height + a2->width;
if ( v5 == 0.0 )
return 1.0;
else
return powf((float)(v8 + v7) / v5, 6.0);
}