// // cocos2d::CCFadeOutTRTiles::testFunc from 0x18003b8e0 to 0x18003b962 (130 bytes) // // 3 xrefs: // > @ 0x1800ea460 // > @ 0x1801438a8 // > @ 0x1801b0f48 // // 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::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)(a2->height + a2->width) / (float)(v7 + v6), 6.0); }