// // cocos2d::CCFadeOutTRTiles::testFunc from 0x18003c010 to 0x18003c092 (130 bytes) // // 3 xrefs: // > @ 0x1800f04c0 // > @ 0x18014cf68 // > @ 0x1801bb074 // // 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::CCFadeOutTRTiles::testFunc( cocos2d::CCFadeOutTRTiles *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 ( (float)(v7 + v6) == 0.0 ) return 1.0; else return powf((float)(*((float *)a2 + 1) + *(float *)a2) / (float)(v7 + v6), 6.0); }