//
// cocos2d::CCFadeOutDownTiles::testFunc from 0x18003bf80 to 0x18003c001 (129 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800f0688
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bb068
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:37 +0000
//
float __fastcall cocos2d::CCFadeOutDownTiles::testFunc(
cocos2d::CCFadeOutDownTiles *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 = *((float *)a2 + 1);
if ( v5 == 0.0 )
return 1.0;
else
return powf(v8 / v5, 6.0);
}