// // cocos2d::CCFadeOutTRTiles::testFunc from 0xac7ca8 to 0xac7d58 (176 bytes) // // 2 xrefs: // > @ 0x9abc0 // > @ 0x11ff538 // // 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 cocos2d::CCFadeOutTRTiles::testFunc(cocos2d::CCFadeOutTRTiles *a1, const cocos2d::CCSize *a2, float a3) { float v6; // [xsp+48h] [xbp+48h] float v7; // [xsp+4Ch] [xbp+4Ch] cocos2d::CCPoint v8; // [xsp+50h] [xbp+50h] BYREF cocos2d::CCPoint::CCPoint(&v8, *((float *)&a1->m_bFirstTick + 1), *(float *)&a1[1].__vftable); cocos2d::CCPoint::operator*(&v8, a3); if ( (float)(v6 + v7) == 0.0 ) return 1.0; else return powf((float)(a2->width + a2->height) / (float)(v6 + v7), 6.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source